Simulation/Railways
Contents
Train Simulation
This page describes simulations of trains in SUMO. To build an intermodal simulation scenario with trains, additional steps have to be take in comparison to a plain vehicular simulation.
The simulation of trains is a developing subject and still carries some difficulties. These are discussed below.
Approaches to train modelling
Currently, no exclusive movement model for trains is implemented. Instead the existing models for vehicle movement need to be re-purposed.
Building a network for train simulation
Railways
Railways can be imported from OSM. They can also be explicitly specified using the existing vClasses.
Rail Signals
The node type rail_signal may be used to define signals which implement Automatic Block Signaling.
Rail Crossings
The node type rail_crossing may be used to define railway crossings. At these nodes trains will always have the right of way and road vehicles get a red light until there is a safe gap between approaching trains.
When importing networks from OpenStreetMap, rail crossings will be imported automatically. For other input data sources the crossings may have to be specified via additional xml files or set via NETEDIT after importing.