Simulation of Urban
MObility SUMO
INTRODUCTION
• Open source, microscopic, multi-modal traffic simulation
including road vehicles, public transport and pedestrians
• Available since 2001
• Organisations
German Aerospace Center (DLR)
University of Cologne
University of Erlangen-Nuremberg
IIT Bombay
• Some contributors
Christian Rössel, Peter Wagner, Daniel Krajzewicz, Julia Ringel,
Eric Nicolay, Michael Behrisch, Yun-Pang Wang, Danilot Teta Boyom,
Sascha Krieg, Lena Kalleske, Laura Bieker, Jakob Erdmann
FEATURES
• Space-continuous and time-discrete vehicle movement
• Different vehicle types
• Multi-lane streets with lane changing
• Different right-of-way rules, traffic lights
• A fast openGL graphical user interface
• Manages networks with several 10.000 edges (streets)
• Fast execution speed (up to 100.000 vehicle updates/s on a 1GHz
machine)
• Network-wide, edge-based, vehicle-based, and detector-based
outputs
• Supports person-based inter-modal trips
• Imports VISUM, Vissim, Shapefiles, OSM, RoboCup, MATsim,
OpenDRIVE, and XML-Descriptions
PROJECTS
International and National
– traffic lights evaluation
– route choice and re-routing
– evaluation of traffic surveillance methods
– simulation of vehicular communications
– traffic forecast
INCLUDED APPLICATIONS
Application
Name
Short Description
SUMO
The microscopic simulation with no visualization;
command line application
SUMO-GUI The microscopic simulation with a graphical user interface
NETCONVERT
Network importer and generator; reads road networks from
different formats and converts them into the SUMO-format
NETEDIT A graphical network editor.
NETGENERATE Generates abstract networks for the SUMO-simulation
DUAROUTER
Computes fastest routes through the network, importing
different types of demand description. Performs the DUA
JTRROUTER Computes routes using junction turning percentages
DFROUTER Computes routes from induction loop measurements
OD2TRIPS Decomposes O/D-matrices into single vehicle trips
POLYCONVERT
Imports polygons from different formats and translates them
into a description that may be visualized by SUMO-GUI
ACTIVITYGEN
Generates a demand based on mobility wishes of a
modelled population
SET UP A SIMULATION IN SUMO
• NETWORK
• DEMAND
• OUTPUT
1. .net.xml – NETCONVERT - .nod.xml; .edg.xml; .con.xml
2. .rou.xml – DUAROUTER - .flows.xml; .duarcfg
3. .add.xml
4. .sumocfg.xml
SUMO ROAD NETWORKS
• Encoded as XML files – ‘.net.xml’
nodes files - .nod.xml
edges files - .edg.xml
types files - .typ.xml
connections files - .con.xml
tllogic files - .tll.xml
SUMO ROAD NETWORKS
• nodes files
 ‘sample.nod.xml’
<nodes>
<node id="1" x="-500.0" y="0.0" type="priority"/>
</nodes>
Attribute
Name
Value Type Description
id id (string) The name of the node
x float
The x-position of the
node on the plane in m
y float
The y-position of the
node on the plane in m
z float
The z-position of the
node on the plane in m
type
enum ( "priority", "traffic_light",
"right_before_left", "unregulated", "priority_stop",
"allway_stop", "rail_signal", "zipper")
An optional type for
the node
radius positive float;
optional turning radius
in m (default 1.5)
SUMO ROAD NETWORKS
• Edges
• Lane specific definitions
Attribute Name
id spreadType
from allow
to disallow
type width
numLanes name
speed endOffset
priority sidewalkWidth
length
Attribute Name
index speed
allow width
disallow endOffset
SUMO ROAD NETWORKS
• Types
Edge attributes
id oneway
allow speed
disallow priority
discard sidewalkWidth
numLanes
Vehicle types attributes
id speedFactor
accel speedDev
decel color
sigma emissionClass
tau guiShape
length width
minGap imgFile
maxSpeed laneChangeModel
SUMO ROAD NETWORKS
• Connections
• Traffic lights
• Pedestrian crossings
Attributes name
from fromLane
to toLane
NETCONVERT
netconvert --node-files=MyNodes.nod.xml --edge-
files=MyEdges.edg.xml --connection-files=MyConnections.con.xml --
type-files=MyTypes.typ.xml --output-file=MySUMONet.net.xml
SUMO DEMAND MODELLING
• Encoded as XML files – ‘.rou.xml’
by hand
flow definitions
OD-matrices
flow definitions and turning ratios
Randomization
• DUAROUTER
• Car following model
Krauss-model
(accel, decel, minGap, tau, sigma)
SUMO OUTPUT
• vehicle-based information, unaggregated
– raw vehicle positions dump
– vehicle type probe
– full output
• simulated detectors
– inductive loop detectors
• values for edges or lanes
– queue output
• vehicle-based information
– trip information
– vehicle routes information
• simulation(network)-based information
• traffic lights-based information
THANK YOU
• http://sourceforge.net/projects/sumo/
• User docmentation

SUMO.pdf

  • 1.
  • 2.
    INTRODUCTION • Open source,microscopic, multi-modal traffic simulation including road vehicles, public transport and pedestrians • Available since 2001 • Organisations German Aerospace Center (DLR) University of Cologne University of Erlangen-Nuremberg IIT Bombay • Some contributors Christian Rössel, Peter Wagner, Daniel Krajzewicz, Julia Ringel, Eric Nicolay, Michael Behrisch, Yun-Pang Wang, Danilot Teta Boyom, Sascha Krieg, Lena Kalleske, Laura Bieker, Jakob Erdmann
  • 3.
    FEATURES • Space-continuous andtime-discrete vehicle movement • Different vehicle types • Multi-lane streets with lane changing • Different right-of-way rules, traffic lights • A fast openGL graphical user interface • Manages networks with several 10.000 edges (streets) • Fast execution speed (up to 100.000 vehicle updates/s on a 1GHz machine) • Network-wide, edge-based, vehicle-based, and detector-based outputs • Supports person-based inter-modal trips • Imports VISUM, Vissim, Shapefiles, OSM, RoboCup, MATsim, OpenDRIVE, and XML-Descriptions
  • 4.
    PROJECTS International and National –traffic lights evaluation – route choice and re-routing – evaluation of traffic surveillance methods – simulation of vehicular communications – traffic forecast
  • 5.
    INCLUDED APPLICATIONS Application Name Short Description SUMO Themicroscopic simulation with no visualization; command line application SUMO-GUI The microscopic simulation with a graphical user interface NETCONVERT Network importer and generator; reads road networks from different formats and converts them into the SUMO-format NETEDIT A graphical network editor. NETGENERATE Generates abstract networks for the SUMO-simulation DUAROUTER Computes fastest routes through the network, importing different types of demand description. Performs the DUA JTRROUTER Computes routes using junction turning percentages DFROUTER Computes routes from induction loop measurements OD2TRIPS Decomposes O/D-matrices into single vehicle trips POLYCONVERT Imports polygons from different formats and translates them into a description that may be visualized by SUMO-GUI ACTIVITYGEN Generates a demand based on mobility wishes of a modelled population
  • 6.
    SET UP ASIMULATION IN SUMO • NETWORK • DEMAND • OUTPUT 1. .net.xml – NETCONVERT - .nod.xml; .edg.xml; .con.xml 2. .rou.xml – DUAROUTER - .flows.xml; .duarcfg 3. .add.xml 4. .sumocfg.xml
  • 7.
    SUMO ROAD NETWORKS •Encoded as XML files – ‘.net.xml’ nodes files - .nod.xml edges files - .edg.xml types files - .typ.xml connections files - .con.xml tllogic files - .tll.xml
  • 8.
    SUMO ROAD NETWORKS •nodes files  ‘sample.nod.xml’ <nodes> <node id="1" x="-500.0" y="0.0" type="priority"/> </nodes> Attribute Name Value Type Description id id (string) The name of the node x float The x-position of the node on the plane in m y float The y-position of the node on the plane in m z float The z-position of the node on the plane in m type enum ( "priority", "traffic_light", "right_before_left", "unregulated", "priority_stop", "allway_stop", "rail_signal", "zipper") An optional type for the node radius positive float; optional turning radius in m (default 1.5)
  • 9.
    SUMO ROAD NETWORKS •Edges • Lane specific definitions Attribute Name id spreadType from allow to disallow type width numLanes name speed endOffset priority sidewalkWidth length Attribute Name index speed allow width disallow endOffset
  • 10.
    SUMO ROAD NETWORKS •Types Edge attributes id oneway allow speed disallow priority discard sidewalkWidth numLanes Vehicle types attributes id speedFactor accel speedDev decel color sigma emissionClass tau guiShape length width minGap imgFile maxSpeed laneChangeModel
  • 11.
    SUMO ROAD NETWORKS •Connections • Traffic lights • Pedestrian crossings Attributes name from fromLane to toLane
  • 12.
    NETCONVERT netconvert --node-files=MyNodes.nod.xml --edge- files=MyEdges.edg.xml--connection-files=MyConnections.con.xml -- type-files=MyTypes.typ.xml --output-file=MySUMONet.net.xml
  • 13.
    SUMO DEMAND MODELLING •Encoded as XML files – ‘.rou.xml’ by hand flow definitions OD-matrices flow definitions and turning ratios Randomization • DUAROUTER • Car following model Krauss-model (accel, decel, minGap, tau, sigma)
  • 14.
    SUMO OUTPUT • vehicle-basedinformation, unaggregated – raw vehicle positions dump – vehicle type probe – full output • simulated detectors – inductive loop detectors • values for edges or lanes – queue output • vehicle-based information – trip information – vehicle routes information • simulation(network)-based information • traffic lights-based information
  • 15.