# Online traffic simulator

In [Traffic Lab](./), a free browser simulator by kommuMIKAtion, you can change the road layout on four maps. See how many vehicles get through when a highway narrows at a bridge, or open a bus lane to cars and see how the queue changes. [Deutsche Modellbeschreibung](../index.md)

Each map has its own URL. Use Back and Forward in your browser to revisit a map. Select "Copy scenario link" to share your settings and arrival sequence.

## [Highway bottleneck](./highway/)

Change the lane count before and on the bridge, the arrival rate, the drivers' desired speed or their attention. The lane comparison uses the same demand for both layouts. The [throughput matrix](./highway/#durchsatz) shows how many vehicles got through in the busiest simulated minute. The [throughput data and measurement method](./throughput/) cover six lane drops.

## [City traffic in Bonn](./city/)

The route crosses two signalised junctions before the Kennedy Bridge. A third signal on the east bank can cause queues to stretch back onto the bridge. The signal timings are model assumptions. Trams run every simulated minute in each direction, and buses stop at the kerb. A vehicle still inside a junction can hold up cross traffic even on green.

Use "General lane" to open the outer lane to cars, or "Bus lane" to reserve it for buses. The clock and measurements continue during the switch. The waiting count includes vehicles outside the entrances. Changing the number of lanes starts a new run. The map uses simplified road layouts and building footprints from [OpenStreetMap data for Bonn](https://www.openstreetmap.org/copyright).

## [Short passing lane](./short-lane/)

Compare a single lane with a short passing lane. Change the lane length, the position of the lights or the merge rule. Delay includes the full wait before entering the map. Once a vehicle enters, it accumulates delay in proportion to how far below its desired speed it travels.

## [Roundabout or traffic lights](./roundabout/)

Compare single-lane, two-lane and turbo roundabouts with a junction controlled by traffic lights. The same cars, trucks and buses go to the same destinations in each design. Vehicles roll into the roundabout when there is a gap, or pass through a clear signalised junction on green. The comparison breaks down results by approach and turn, including the waits of vehicles still on the map.

## Emergency response

You can send an ambulance, a fire engine or a police vehicle through the city or along the highway. In the city, emergency vehicles prefer the tram tracks and can cross a clear junction on red. On the highway, drivers make room for an emergency corridor.
