The BML traffic automaton
A square lattice has periodic edges. Eastbound vehicles update simultaneously first; southbound vehicles update simultaneously second. A move succeeds only if its destination is empty at the start of that direction's phase.
ALTERNATING UPDATE RULE
East: (i, j) → (i, j + 1) if the target is empty.
South: (i, j) → (i + 1, j) if the target is empty after the east phase.
Indices wrap modulo L. Each full tick contains both directional phases.
MEASURED QUANTITIES
ρ = N / L²
v = successful moves / (N × ticks)
J = successful moves / (L² × ticks) = ρv
v is in cells per vehicle per tick; J is vehicles per site per tick. Live readouts use a rolling window of up to 40 full ticks.
What is simplified: vehicles have one-cell steps, no acceleration, no lane changes, no turning, and no driver variation. The lattice is finite and periodic. The plotted reference curve is an illustrative finite-size ensemble (28 × 28, three random starts per density, each run 800 ticks with the final 200 averaged); it is not a universal phase boundary.
The often-reported transition region near ρ ≈ 0.35 is a textbook approximation for this model, not an exact constant. Finite size, initial conditions, and direction balance shift the observed onset.
✓Independent conservation checkThe exact initial count is N = round(ρL²). The live audit independently recounts occupied sites after every update and compares that count with the closed-form initial value.
Awaiting first update
Illustrative educational model, not affiliated with any real institution or manufacturer.