Simulation/Output

generated on 2015-09-02 00:02:07.906208 from the wiki page for Simulation/Output for SUMO 0.24.0

Introduction

SUMO allows to generate a large number of different measures. All write the values they collect into files or a socket connection following the common rules for writing files. Per default, all are disabled, and have to be triggered individually. Some of the available outputs (raw vehicle positions dump, trip information, vehicle routes information, and simulation state statistics) are triggered using command line options, the others have to be defined within "additional files".

Note:
All output files written by SUMO are in XML-format by default. However, with the python tool xml2csv.py you can convert any of them to a flat-file (CSV) format which can be opened with most spread-sheet software. If you need a more compressed but still "standardized" binary version, you can use xml2protobuf.py
.

Available Output Files

Below, the available outputs are listed, joined into groups of topic/aggregation type. Further information about each output can be found by following its link.

vehicle-based information, unaggregated

  • raw vehicle positions dump: all vehicle positions over time
    contains: positions and speeds for all vehicles for all simulated time steps
    used for: obtaining movements of nodes (V2V, for ns-2)
  • vehicle type probe: positions of vehicles over time for a certain vehicle type (or all vehicles)
  • emission output: emission values of all vehicles for every simulation step
  • full output: various informtations for all edges, lanes and vehicles (good for visualisation purposes)
  • vtk output: generates Files in the well known VTK (Visualization Toolkit) format, to show the positions the speed value for every vehicle
  • fcd output: Floating Car Data includes name, position, angle and type for every vehicle
  • trajectories output: Trajectory Data following includes name, position, speed and acceleration for every vehicle following the Amitran standard

simulated detectors

values for edges or lanes

vehicle-based information

simulation(network)-based information

traffic lights-based information

Additional Debugging Outputs

  • The option --link-output <FILE> saves debugging data for the intersection model. This data reveals how long each vehicle intends to occupy an upcoming intersection.
  • The option --movereminder-output <FILE> saves debugging data for the interaction between vehicle devices, lanes and output facilities. It is only available when compiling SUMO with debug flags.

Commandline Output (verbose)

  • Inserted: number vehicles that entered the simulation network
  • Loaded: number of vehicles that were loaded from route files. This may differ from emitted forw two reason:
    • Running with option --scale with a value less than 1.0
    • Having a congested network where not all vehicles could be inserted before the simulation time ended
  • Running: number of vehicles currently active in the simulation network
  • Waiting: number of vehicles which could not yet be inserted into the network due to congestion
  • Teleports: number of of times that vehicles were teleported for any of the following reasons (These reasons are given whenever a teleport warning is issued)
    • Collision: a vehicle violated its minGap requirement in relation to its leader vehicle
    • Timeout: a vehicle was unable to move for --time-to-teleport seconds (default 300)
      • wrong lane: a vehicle was unable to move because it could not continue its route on the current lane and was unable to change to the correct lane
      • yield: a vehicle was unable to cross an intersection where it did not have priority
      • jam: a vehicle could not continue because there was no space on the next lane

This page was last modified on 26 August 2015, at 10:15.