- Introduced by
- M. J. Lighthill and G. B. Whitham
- Year
- 1955
- Type
- Macroscopic traffic flow modeling using conservation laws
- Family
- Flow dynamics
What does it do?
The Lighthill-Whitham-Richards (LWR) model is a macroscopic traffic flow model that treats traffic as a continuous fluid governed by conservation of vehicles and an empirical flow-density relationship.
Lighthill and Whitham (1955) developed the kinematic wave theory on which it rests, although their paper concerns flood waves in rivers; Richards (1956) applied the same framework to highway traffic. The model predicts the propagation of traffic waves, the formation of congestion, and the behaviour of queues at bottlenecks.
The intuition behind the method
Traffic can be thought of as a fluid moving through a pipe: flow (vehicles per hour) equals density (vehicles per mile) multiplied by speed, and more vehicles per mile generally means slower speeds. In kinematic wave theory, a disturbance in density travels at a speed equal to the slope of the flow-density curve, so changes in traffic state move along the road rather than being felt instantly. When a lane closes or an incident occurs, vehicles bunch up and a shock wave moves backward against the traffic direction. The LWR model captures this with a single conservation equation together with an assumed speed-density (or flow-density) relationship.
History
Lighthill and Whitham (1955) developed kinematic wave theory, in which the flow-concentration relation and the continuity equation alone determine wave speed and shock formation; their worked example concerns flood movement in long rivers. Richards (1956) treated traffic as a continuous fluid with an empirical speed-density relation and showed that shock waves frequently arise. In his analysis of the effect of a traffic signal, disturbances were minor at light traffic but grew abruptly once a critical density was exceeded. Daganzo (1994) introduced the cell transmission model, a cell-based representation of highway traffic consistent with hydrodynamic theory, which is widely used to solve the LWR equations on networks. Microscopic simulators such as VISSIM and CORSIM model individual vehicles and driver behaviour, and they address cases that the macroscopic model does not.
When to use it
Choose LWR for macroscopic questions on long, relatively homogeneous freeway stretches: corridor capacity, the effect of a lane closure or incident on queues, and quick comparisons of demand scenarios. It is suited to planning studies where traffic counts (flow and occupancy) are available but individual vehicle trajectories are not. Do not use it where signal control dominates, such as signalised intersections and arterial streets with frequent stops, or where detailed driver behaviour (lane changing, acceleration profiles) determines the outcome. For networks, the model is applied link by link and coupled with routing, and merges and diverges need extra modelling beyond the basic form.
Limitations and considerations
- Assumes homogeneous traffic (uniform driver behaviour and vehicle types) and therefore does not represent variability or heterogeneity in the stream
- Assumes vehicles adjust instantly to the equilibrium speed for the local density, so transient acceleration and deceleration are not represented
- A single fundamental diagram is used for all conditions, while real flow-density data show considerable scatter, and the model does not represent hysteresis between congested and uncongested branches
- Cannot represent individual lanes or lane changing without multi-lane extensions
- Accuracy decreases in heavily congested, stop-and-go conditions where queue dynamics at the level of individual vehicles dominate
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- The mathematical basis is a single conservation law plus a flow-density relation, which keeps the model computationally light and its assumptions easy to inspect
- Kinematic wave theory gives a clear rule for how disturbances move: waves travel at the derivative of flow with respect to density, and faster waves can catch slower ones to form shocks, which explains how congestion builds and propagates backward
- Suits macroscopic planning studies and quick assessment of lane closure impacts or demand changes on a corridor
- Can be calibrated from aggregate traffic counts (flow, occupancy) without requiring detailed vehicle trajectories
- Admits analytical solutions for idealised cases, which give insight into traffic dynamics before numerical models are built
Applications
- Highway corridor planning and capacity assessment, including identifying bottlenecks and examining whether expansion is justified
- Incident management: estimating queue length and duration to inform decisions on lane reopening and the deployment of recovery vehicles
- Toll plaza queue analysis, where the question is whether demand at the plaza causes queues to spill back onto the approach road
- Climate adaptation: modelling traffic under adverse weather such as rain or snow, where capacity reductions and demand shifts occur
How it works
How it works
Define the road section: number of lanes, capacity per lane, free-flow speed, and the density at which flow stops increasing and congestion begins.
Specify demand entering from on-ramps or the upstream boundary, and supply restrictions such as lane closures or incidents, as functions of time.
Apply the conservation of vehicles, written as the continuity equation ∂k/∂t + ∂q/∂x = 0, where k is density (vehicles per unit length) and q is flow (vehicles per unit time). Close the equation with a fundamental diagram q = Q(k) that links flow to density; speed follows from v = q/k. Disturbances then travel at the kinematic wave speed c = dq/dk, the slope of the diagram. One common example is the parabolic (Greenshields) form q = v_f·k·(1 − k/k_j), where v_f is free-flow speed and k_j is jam density. This form is an assumption to be calibrated against counts, not a law. Solve the resulting equation numerically, for example by finite-difference methods or by the cell transmission model, which Daganzo (1994) proposed as a cell-based representation consistent with the hydrodynamic theory.
Formula
\frac{\partial k}{\partial t}+\frac{\partial q}{\partial x}=0,\quad q=Q(k),\quad c=\frac{dq}{dk}Compute density, speed and flow for each road segment at each time step. Track shock waves, where density changes abruptly, and smoother transitions, where density changes gradually.
Derive travel times, delay, queue lengths and the location of bottlenecks from the computed densities and flows. Compare scenarios, such as an incident or a change in demand, by their effect on throughput.
Common pitfalls
- Using one fundamental diagram for all conditions; flow-density relations differ with time of day, weather and driver population, so the calibration period should match the question
- Ignoring on-ramp and off-ramp dynamics; merging and diverging flows create shock patterns that the homogeneous form does not capture unless ramps are modelled as boundary conditions or separate links
- Assuming constant capacity; incidents, adverse weather and congestion itself can reduce the effective capacity of a segment, and a fixed capacity will understate queues
- Overinterpreting results as precise predictions; LWR is most reliable for trends and qualitative understanding of wave behaviour, not for detailed operational timings
Frequently asked questions
What is the fundamental diagram, and how do I measure it from field data?
The fundamental diagram plots flow (vehicles per hour) against density (vehicles per mile). Density is not measured directly by most detectors; occupancy from inductive loop detectors or cameras is commonly used as a surrogate, but occupancy is related to density through effective vehicle length and detector length, so a scale factor must be estimated or calibrated before fitting. Plot the recorded flow against the scaled density over the period of interest and fit a form that is zero at zero density and at jam density and peaks at capacity, such as a triangular (piecewise linear) or parabolic (Greenshields) curve. A single straight line cannot meet these conditions. The choice of form is an assumption to check against the data, and the calibration period should match the question being studied.
How do I model lane closures or incidents using LWR?
Reduce the capacity (maximum flow) of the affected segment for the duration of the closure. The model automatically generates backup upstream and a shock wave propagating backward. The severity depends on demand relative to reduced capacity.
Can LWR model merging traffic at on-ramps?
Basic LWR assumes homogeneous flow. Merging introduces discontinuities (shock waves). Extended models include on-ramp flow as a boundary condition and use merge rules (first-in-first-out, proportional allocation) to split downstream flow. This requires discretizing on-ramps as separate links.
When does LWR lose accuracy, and should I use a microscopic simulator?
LWR becomes inaccurate in highly congested conditions with stop-and-go traffic, at intersections with signals, or when lane changing and acceleration profiles matter. Use microscopic simulation (agent-based, driver-behavior models) for these cases. LWR is best for preliminary analysis and macroscopic planning.
Related methods
Sources
Lighthill, M. J., & Whitham, G. B. (1955). On kinematic waves I. Flow movement in long rivers. Proceedings of the Royal Society A, 229(1178), 281-316.
Open DOI referenceRichards, P. I. (1956). Shock waves on the highway. Operations Research, 4(1), 42-51.
Open DOI referenceDaganzo, C. F. (1994). The cell transmission model: A dynamic representation of highway traffic consistent with the hydrodynamic theory. Transportation Research Part B, 28(4), 269-287.
Open DOI reference