Simulation/Output/TripInfo

Instantiating within the Simulation
The simulation is forced to generate this output using the option on the command line/within a configuration. This output contains the information about each vehicle's departure time, the time the vehicle wanted to start at (which may be lower than the real departure time) and the time the vehicle has arrived. The information is generated for each vehicle as soon as the vehicle arrived at its destination and is removed from the network.

Generated Output
The format is as following: " \ depart="" departLane="" \ departPos="" departSpeed="" \ departDelay="" \ arrival="" arrivalLane="" \ arrivalPos="" arrivalSpeed="" \ duration="" routeLength="" \ waitSteps="" rerouteNo="" \ devices="" vtype=""/>

... information about further vehicles ...

Please note that, in contrary to the example above, for each time step, all those values are reported in one line. An entry is written each time a vehicle has arrived at his destination. In prior to this, the written values would not be known.

Devices
Single devices may choose to add further output to the tripinfo file. This is currently the case for the "emissions" device which is instantiated using one of the options or. The written emissions depend on the chose emission class of the vehicle (see Definition of Vehicles, Vehicle Types, and Routes and Models/Emissions). The output contains the sum of all emissions/consumption generated/consumed by the vehicle during its journey.

This adds the following line: <tripinfo id="<VEHICLE_ID>" ... vtype="<VEHICLE_TYPE_ID>"> <emissions CO_abs="..." CO2_abs="..." HC_abs="..." PMx_abs="..." NOx_abs="..." fuel_abs="..."/> ... information about further vehicles ...

with units as following