Simulation/Output/FCDOutput

The FCD (floating car data) export contains information about each vehicle where it is located in the network and the actual velocity.

Instantiating within the Simulation

The simulation is forced to generate this output using the option --fcd-output <FILE>. <FILE> is the name of the file the output will be written to. Any other file with this name will be overwritten, the destination folder must exist.

Generated Output

The generated XML file looks like this:

<fcd-export>
  
  <timestep time="<TIME_STEP>">
     <vehicle id="<VEHICLE_ID>" x="<VEHICLE_POS_X>" y="<VEHICLE_POS_Y>" angle="<VEHICLE_ANGLE>" type="<VEHICLE_TYPE>" 
     speed="<VEHICLE_SPEED>"/>
     
     ... more vehicles ...

 </timestep>

 ... next timestep ...

</fcd-export>
Name Type Description
time_step (simulation) seconds The time step described by the values within this timestep-element
id id The id of the vehicle
type id The name of the vehicle type
speed m/s The speed of the vehicle
angle degree The angle of the vehicle
pos_x --- The absolut X coordinate of the vehicle. The value depends on the given geographic projection
pos_y --- The absolut Y coordinate of the vehicle. The value depends on the given geographic projection

When the option --fcd-output.geo is set, the written (x,y)-coordinates will be the lon/lat geo-coordiantes.

NOTES

In combination with the given geometry of the vehicles (shapes) you can build some nice animations, e.g Nasa WorldWind or Google Earth.


This page was last modified on 15 November 2012, at 09:02.