Nagel–Schreckenberg Traffic

Deterministic Nagel–Schreckenberg traffic model with seeded runs, visible model-step units, jam preset, and flow history.

About this tool

Nagel–Schreckenberg is a one-dimensional traffic cellular automaton. Each model step accelerates, brakes for a gap, applies random braking, then moves cars. Density is cars per cell, speed is cells per step, and flow is cars per cell per step. The seed makes a run reproducible.