Simulation/Output/Multi-Entry Multi-Exit Detectors (E3)

Instantiating within the Simulation
Multi-Entry/Multi-Exit Detectors have to be defined within an additional file which has to be loaded by the simulation.

The descriptions of Multi-Entry/Multi-Exit Detectors have to include the set of entry- and the set of exit-cross-sections. Due to this, it is not possible to use a single tag to specify a detector. Instead, the description consists of the following parts:
 * A beginning tag that describes some global attributes of the detector just as the descriptions of inductive loop detectors and areal detectors do. The format is: " file="" freq="" [timeThreshold=""] [speedThreshold=""]>
 * A set of tags that describe the detector's entry points in the form: " pos="" [friendlyPos="x"]/>
 * A set of tags that describe the detector's exit points in the form: " pos="" [friendlyPos="x"]/>
 * A closing tag that must match the opening tag: 

The definition       will build a Multi-Entry/Multi-Exit Detector starting at either lane 0 or 1 of the edge called "myEdge0" and end at the same lane of "myEdge2". All values will be computed as the default-value for measures is used and aggregated over a time of 300s. They will be written into the file "e3_1.xml" lying in the subfolder of the folder the configuration was read in/the program has been started within.

Generated Output
A single data line within the output of a simulated Multi-Entry/Multi-Exit Detector looks as following: <interval begin="<BEGIN_TIME>" end="<END_TIME>" id="<ID>" meanTravelTime="<MEAN_TT>" meanSpeed="<MEAN_SPEED>" meanHaltsPerVehicle="<MEAN_HALT_NUMBER>" vehicleSum="<#VEHICLES>" meanSpeedWithin="<MEAN_SPEED>" meanHaltsPerVehicleWithin="<MEAN_HALT_NUMBER>" meanDurationWithin="<MEAN_HALT_DURATION>" vehicleSumWithin="<#VEHICLES>" meanIntervalSpeedWithin="<MEAN_SPEED>" meanIntervalHaltsPerVehicleWithin="<MEAN_HALT_NUMBER>" meanIntervalDurationWithin="<MEAN_HALT_DURATION>"/>

As for lane area detectors, the measures generated by Multi-Entry/Multi-Exit Detector may be grouped by the way they are computed. The plain measures take only those vehicles into account that have left the detector area within the described interval. Additionally, measures of the vehicles that are still inside the area are generated (postfix "Within"), containing both measures valid for the whole ride through the area and measures made up of only those samples that were collected within the current interval ("...Interval..."). The value are described one by one in the following table.

Further Notes

 * Simulated multi-entry/multi-exit detectors can be accessed using TraCI
 * You can generate detector definitions automatically. See output tools for more information.