Simulation/Calibrator
Calibrators
These trigger-type objects may be specified within an additional-file and allow the dynamic adaption of traffic flows and speeds. The syntax for such an object is: <calibrator id="<ID>" lane="<LANE_ID>" output="<OUTPUT_FILE>"/>. They can be used to modify simulation scenario based on induction loop mesurements. A calibrator will remove vehicles in excess of the specified flow and it will insert new vehicles if the normal traffic demand of the simulation does not meet the specified number of vehsPerHour. Furthermore, the speed on the edge will be adjusted to the specified speed similar to the workings of a variable speed sign. Calibrators will also remove vehicles if the traffic on their lane is jammend beyond what would be expected given the specified flow and speed. This ensures that invalid jams do not grow upstream past a calibrator.
<additional>
<vType id="t0" speedDev="0.1" speedFactor="1.2" sigma="0"/>
<calibrator id="calibtest" lane="beg_0" pos="0" output="detector.xml">
<route id="c1" edges="beg middle end rend"/>
<flow begin="0" end="1800" route="c1" vehsPerHour="2500" speed="27.8" type="t0" departPos="free" departSpeed="max"/>
<flow begin="1800" end="3600" route="c1" vehsPerHour="2500" speed="15.0" type="t0" departPos="free" departSpeed="max"/>
<flow begin="3600" end="5400" route="c1" vehsPerHour="2500" speed="10.0" type="t0" departPos="free" departSpeed="max"/>
<flow begin="5400" end="7200" route="c1" vehsPerHour="2500" speed="5.0" type="t0" departPos="free" departSpeed="max"/>
</calibrator>
</additional>
The following attributes/elements are used within the calibrator element:
| Attribute Name | Value Type | Description |
|---|---|---|
| id | id (string) | The id of the calibrator |
| lane | id (string) | The id of lane in the simulation network |
| pos | float | The position of the calibrator on the specified lane (currently ignored, see [1] |
| output | file (string) | The output file for writing calibrator information or NULL |
The flow elements which are defined as children of the calibrator definition follow the general format of flow definitions. As the only difference, either the attribute vehsPerHour or speed (or both) must be given.