These tutorials assume minor computer skills. If you run into any questions please read the page Basics/Basic Computer Skills.
- Tutorials/Hello World - Creating a simple network and demand scenario with netedit and visualizing it using sumo-gui
- Tutorials/OSMWebWizard - Setting up a scenario with just a few clicks using osmWebWizard.py; getting a network from OpenStreetMap
- Tutorials/quick start - A more complex tutorial with netedit; first steps in SUMO
- Tutorials/Driving in Circles - Work with netedit; define a flow; let vehicles drive in circles using rerouters
- Tutorials/SUMOlympics - Create special lanes and simple traffic lights in netedit, more about flows and vehicle types, working with vehicle
- Tutorials/Autobahn - Build a highway, create a mixed highway flow, visualize vehicle speed, save view settings
- Tutorials/Manhattan - Build a Manhattan mobility model
- Tutorials/Hello SUMO - The simplest net and a single car set up "by hand"
- Tutorials/ScenarioGuide - High level outline of the steps needed to build a simulation scenario
- Tutorials/HighwayDetector - How to create a highway scenario based on induction loop data
- Tutorials/FundamentalDiagram - How to compute a fundamental diagram with SUMO
- Tutorials/PT from OpenStreetMap - Shows how to create a runnable public transit scenario entirely from OpenStreetMap
- Tutorials/TraCI4Traffic Lights - An example for how to connect an external application to SUMO via TraCI for traffic lights control
- Tutorials/TraCIPedCrossing - An example for building a pedestrian-actuated traffic light via TraCI
Curso de Simulação em Mobilidade#
Udemy tutorial in Portuguese courtesy of Ednardo Ferreira.
SUMO User Conference#
- Download the Tutorial Files at http://sumo.dlr.de/daily/ITSC2015_tutorial.zip
Im- and Export#
- Tutorials/Trace File Generation - Shows how to obtain vehicular trace files, usable for simulating vehicular communication
- Tutorials/Calibration/San Pablo Dam - Calibration of car-following parameter using vehicle passing times on observation points as used during the NEARCTIS summer school
Further Sources for Examples#
Using Examples from the Test Suite#
SUMO comes with a large set of tests, just browse them at <SUMO_HOME>/tests. They are set up to be running by using a testing environment, but it is also possible to extract them and execute using sumo and/or the other tools of the package. In order to do so you can either download the complete sumo package or use the online test extraction. In the online tool you enter the path to the test you like (e.g. <SUMO_HOME>/tests/sumo/extended/rerouter/use_routing_device into the form and get a zip containing all the files.
If you have downloaded and unzipped the all inclusive package, you do not need the online form. Just go into the folder and execute the "extractTest.py" script. For example, you may get the same example of using rerouters as following:
cd <SUMO_HOME>/tests ../tools/extractTest.py -o /tmp/test sumo/extended/rerouter/use_routing_device
will extract you an example for rerouting vehicles into /tmp/test.
The following tutorials are not yet completed
- Tutorials/Output Parsing - A complex tutorial using rerouters to drive in circles and analyzing simulation output
The following tutorials are kept for completeness but are superseded by other tutorials/documentation
- Tutorials/Import from OpenStreetMap - Shows how to prepare a map from OpenStreetMap for traffic simulation
- Tutorials/Quick_Start_old_style - Build a scenario by editing the edge and node files in a text editor instead of netedit
- Tutorials/CityMobil - Simulation of a parking lot management using automated buses. This TraCI tutorial was written before the implementation of pedestrians and parkingAreas