Skip to content

📁 SUMO Output Files

Comprehensive overview of key SUMO outputs used in this project.

Configuration & Precision

Parameter Description Example
--precision 4 Floating-point precision speed="13.2165"
--netstate-dump.precision 3 Position precision pos="123.456"
--save-state.precision 0 Rounded internal states time="35"

Vehicle Data

Parameter Description Example
--tripinfo-output tripinfo.xml Trip metrics <tripinfo ... />
--vehroute-output routes.xml --vehroute-output.exit-times Edge exit times <vehicle ... />
--fcd-output fcd.xml --fcd-output.acceleration Trajectories + accel <timestep ... />

Emissions & Energy

Parameter Description Example
--emission-output emissions.xml CO2 and fuel <vehicle CO2="..."/>
--battery-output battery.xml Battery charge <vehicle charge="..."/>

Infrastructure Data

Parameter Description Example
--chargingstations-output charging.xml Charging events <chargingStation .../>
--overheadwiresegments-output wires.xml Power segments <segment .../>

Traffic Statistics

Parameter Description Example
--edgedata-output edges.xml Edge flow/occupancy <edge occupancy="..."/>
--queue-output queues.xml Junction queues <junction queueLength="..."/>

Specialized Outputs

Parameter Description Example
--collision-output collisions.xml Collision coords <collision .../>
--lanechange-output lc.xml --lanechange-output.xy Lane-change XY <laneChange .../>

Usage Examples

Basic run with common outputs:

sumo -c config.sumocfg \
  --tripinfo-output tripinfo.xml \
  --emission-output emissions.xml \
  --fcd-output fcd.xml

Advanced with infrastructure:

sumo -c electric_vehicles.sumocfg \
  --battery-output battery.xml \
  --chargingstations-output charging.xml \
  --elechybrid-output hybrid.xml

Debugging traffic flow:

sumo -c debug.sumocfg \
  --edgedata-output edges.xml \
  --queue-output queues.xml \
  --collision-output collisions.xml

References: - SUMO Output Overview: https://sumo.dlr.de/docs/sumo.html#output - Available Output Files: https://sumo.dlr.de/docs/Simulation/Output/#available_output_files