Traffic Flow: Density-Speed-Flow Relationships

simulator beginner ~8 min
Loading simulation...
Flow ≈ 2,860 veh/h — free-flow regime

At 40 veh/km density with 100 km/h free-flow speed on 2 lanes, traffic flows freely at about 71 km/h with a flow rate of approximately 2,860 veh/h per lane.

Formula

q = k × v — fundamental relation (flow = density × speed)
v = v_f × (1 - k / k_j) — Greenshields linear speed-density model
q_max = v_f × k_j / 4 — capacity from Greenshields model

The Physics of Traffic

Traffic flow obeys mathematical laws that are strikingly similar to fluid dynamics. In 1935, Bruce Greenshields proposed the first quantitative model: vehicle speed decreases linearly with density, from free-flow speed at zero density to zero speed at jam density. This simple relationship generates the parabolic fundamental diagram — flow rises with density, peaks at capacity, then falls as congestion takes hold. Despite its simplicity, Greenshields' model captures the essential behavior observed on highways worldwide.

The Fundamental Diagram

The fundamental diagram of traffic flow relates three variables: density (k), speed (v), and flow (q = k × v). Below critical density, traffic is in free flow — vehicles travel near the speed limit and flow increases with density. At critical density (typically k_j / 2 in the Greenshields model), flow reaches its maximum: road capacity. Beyond this point, every additional vehicle slows everyone down, and total throughput actually decreases — the hallmark of congestion.

Shockwaves and Phantom Jams

In 1955, Lighthill and Whitham applied fluid dynamics to traffic, showing that density disturbances propagate as kinematic waves. When traffic operates near capacity, even a minor perturbation — a momentary brake tap — generates a backward-traveling shockwave. Japanese researchers demonstrated this dramatically in 2008 by having cars drive in a circle: with no bottleneck at all, stop-and-go waves spontaneously emerged from tiny speed variations. These phantom jams are an emergent property of the system, not caused by any external event.

Capacity, Level of Service, and Design

Traffic engineers use the fundamental diagram to design roads and set speed limits. The Highway Capacity Manual defines six levels of service (A through F) based on the ratio of actual flow to capacity. Modern intelligent transportation systems use real-time density measurements to implement variable speed limits and ramp metering — actively managing flow to keep density below the critical threshold where capacity-reducing congestion begins.

FAQ

What is the fundamental diagram of traffic flow?

The fundamental diagram plots the relationship between traffic density (vehicles per km), speed, and flow rate (vehicles per hour). It shows that flow increases with density up to a critical point (capacity), beyond which adding more vehicles actually reduces flow — creating congestion.

Why do phantom traffic jams occur?

Phantom jams emerge when density is near critical capacity. A small perturbation — one driver braking slightly — creates a shockwave that propagates backward through traffic. Each following driver brakes a bit harder, amplifying the disturbance into a full stop-and-go wave.

What does 'level of service' mean in traffic engineering?

Level of service (LOS) is graded A through F, where A represents free-flowing traffic with minimal delay and F represents severe congestion with stop-and-go conditions. It is based on the volume-to-capacity ratio and average travel speed.

How do more lanes affect traffic flow?

Additional lanes increase total road capacity proportionally, but induced demand often fills new capacity within years. This phenomenon — called the Braess paradox in networks — means that adding road capacity does not always reduce congestion long-term.

Sources

Embed

<iframe src="https://homo-deus.com/lab/transportation/traffic-flow/embed" width="100%" height="400" frameborder="0"></iframe>
View source on GitHub