22title : Traffic Lights
33---
44
5+ # High level Overview
6+
7+ The purpose of traffic light modelling in SUMO is threefold:
8+
9+ 1 . provide comfortable ways to set up plausible traffic signals for a whole city
10+ 2 . provide functionality to replicate an existing traffic light with high fidelity
11+ 3 . provide functionality to simulate any conceivable traffic light algorithm for research purpose
12+
13+ The first aim is supported by a deep pool of heuristics that construct traffic lights and programs.
14+ The other aims are supported by the following capabilities:
15+
16+ - parameterization of the built-in-algorithms
17+ - loading custom algorithms directly into the simulation with a mini-programming language tailored to traffic light operations
18+ - attaching arbitrary external code to a running simulation via a process-coupling interface (TraCI)
19+
20+ # Workflow
21+
522Normally, [ netconvert] ( ../netconvert.md ) and
623[ netgenerate] ( ../netgenerate.md ) generate traffic lights and
724programs for junctions during the computation of the networks. Still,
@@ -11,8 +28,9 @@ to run [sumo](../sumo.md)/[sumo-gui](../sumo-gui.md) with
1128additional program definitions. Also,
1229[ sumo] ( ../sumo.md ) /[ sumo-gui] ( ../sumo-gui.md ) allow loading
1330definitions which describe when and how a set of traffic lights can
14- switch from one program to another. Both will be discussed in the
15- following subchapters. Another possibility is to edit traffic light plans
31+ [ switch from one program to another] ( #defining_program_switch_times_and_procedure ) .
32+ Both will be discussed in the following subchapters.
33+ Another possibility is to edit traffic light plans
1634visually in [ netedit] ( ../Netedit/editModesNetwork.md#traffic_lights ) .
1735
1836# Automatically Generated TLS-Programs
0 commit comments