Home▸Articles▸Algorithms & AI

Car-Following Model: Traffic Shockwaves (Time-Space Diagram)

Understanding how individual vehicle dynamics can lead to complex traffic patterns through mathematical modeling.

mysimulator teamUpdated June 2026≈ 3 min read▶ Open the simulation

What is the Car-Following Model?

The car-following model describes how vehicles adjust their speed based on the distance to and relative velocity of the vehicle in front. This model captures individual driver behavior, which collectively influences traffic flow.

Developed by Herbie Brueckner and later refined into the Intelligent Driver Model (IDM) by Boris Kerner, this approach considers factors like desired gap, free-flow speed, and acceleration/deceleration capabilities of each vehicle.

Emergence of Traffic Shockwaves

When a bottleneck or lane closure occurs, the car-following model predicts that vehicles behind it will decelerate. This sudden change in speed propagates backward through the traffic stream as a shockwave, leading to stop-and-go patterns.

The time-space diagram visualizes these dynamics by plotting each vehicle’s position over time, revealing how individual actions lead to macroscopic traffic phenomena.

live demo · related simulation● LIVE

Rankine-Hugoniot Shock Speed

In the context of traffic flow, the Rankine-Hugoniot shock speed represents the velocity at which a discontinuity (shockwave) propagates through the traffic. This concept is analogous to how a shock wave moves in fluid dynamics.

By measuring this speed on the time-space diagram, researchers can better understand and predict traffic congestion patterns, aiding in the development of effective traffic management strategies.

Real-World Applications

The car-following model is crucial for traffic engineers and urban planners to design efficient road systems. By simulating different scenarios, they can optimize traffic flow and reduce congestion.

Additionally, this model helps in the development of autonomous driving technologies, where vehicles need to predict and respond to the behavior of surrounding vehicles.

Frequently asked questions

How does the IDM differ from other car-following models?

The IDM incorporates both desired gap and free-flow speed into its equations, providing a more realistic representation of driver behavior compared to simpler models that only consider distance or relative velocity.

Why is it important to study traffic shockwaves?

Studying traffic shockwaves helps in understanding how small changes in traffic flow can lead to significant disruptions, enabling better traffic management and the design of more efficient road systems.

Can the car-following model predict traffic jams before they occur?

While the model cannot predict exact times or locations of traffic jams, it can simulate various scenarios and help identify conditions that are likely to lead to congestion, allowing for proactive measures.

How does this model apply to autonomous vehicles?

The car-following model is fundamental in developing algorithms for autonomous vehicles to safely navigate and interact with other vehicles on the road, ensuring smooth traffic flow and reducing accidents.

Try it live

Everything above runs in your browser — open Car-Following Model: Traffic Shockwaves (Time-Space Diagram) and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.

▶ Open Car-Following Model: Traffic Shockwaves (Time-Space Diagram) simulation

What did you find?

Add reproduction steps (optional)