2.3 Hydrodynamic Shockwave Analysis & Traffic Queuing Models

Key Takeaways

  • Traffic shockwaves represent moving boundary interfaces between distinct flow-density states, with velocity defined by the Rankine-Hugoniot jump condition w_AB = (q_B - q_A)/(k_B - k_A); positive velocities propagate downstream while negative velocities propagate upstream against traffic flow.

  • Lighthill-Whitham-Richards (LWR) kinematic wave theory establishes that infinitesimal density disturbances travel at characteristic wave speed c = dq/dk; at capacity (q_max), c = 0 (stationary wave), while in congested regimes c < 0 (backward-moving waves).

  • Deterministic queuing (D/D/1) models cumulative arrival and departure curves (A(t) and D(t)), where the vertical distance represents instantaneous queue length Q(t), horizontal distance represents individual vehicle delay d(t), and the enclosed area represents aggregate system delay.

  • Stochastic queuing models (M/M/1 vs M/D/1) quantify the severe impact of service variance: deterministic service (M/D/1) cuts average queue length and waiting delay exactly in half compared to exponentially distributed service (M/M/1) under identical traffic intensity ρ = λ / μ.

Last updated: August 2026

2.3 Hydrodynamic Shockwave Analysis & Traffic Queuing Models

PTOE Exam Focus: Shockwave analysis and queuing theory represent the core quantitative tools for evaluating bottleneck propagation, incident clearance times, and intersection delays. Master the calculation of shockwave speed (w=Δq/Δkw = \Delta q / \Delta k), queue dissipation duration using Rankine-Hugoniot jump conditions, cumulative delay polygons under deterministic (D/D/1D/D/1) queuing, and stochastic queue metrics (M/M/1M/M/1 vs. M/D/1M/D/1).


1. Hydrodynamic Continuum & LWR Kinematic Wave Theory

In 1955 and 1956, M.J. Lighthill, G.B. Whitham, and P.I. Richards developed the LWR Hydrodynamic Model, treating traffic flow on long, uninterrupted roadways as a continuous 1D compressible fluid governed by the Continuity Equation (Conservation of Vehicles):

∂k∂t+∂q∂x=0\frac{\partial k}{\partial t} + \frac{\partial q}{\partial x} = 0

Where k(x,t)k(x,t) is density and q(x,t)q(x,t) is flow rate at location xx and time tt.

Since macroscopic flow is a function of density (q=q(k)q = q(k)), applying the chain rule gives:

∂k∂t+(dqdk)∂k∂x=0\frac{\partial k}{\partial t} + \left(\frac{dq}{dk}\right) \frac{\partial k}{\partial x} = 0

Characteristic Wave Velocity (ckc_k):

The quantity ck=dqdkc_k = \frac{dq}{dk} represents the speed at which an infinitesimal change in density propagates along the traffic stream:

  1. Uncongested Regime (k<kck < k_c): Slope dqdk>0  ⟹  \frac{dq}{dk} > 0 \implies Small perturbations travel downstream along the roadway.
  2. Capacity Point (k=kck = k_c): Slope dqdk=0  ⟹  \frac{dq}{dk} = 0 \implies Small perturbations remain stationary (ck=0c_k = 0).
  3. Congested Regime (k>kck > k_c): Slope dqdk<0  ⟹  \frac{dq}{dk} < 0 \implies Small perturbations travel upstream against the direction of traffic flow (ck<0c_k < 0).

2. Macroscopic Shockwave Velocity (Rankine-Hugoniot Jump Condition)

When a finite, discontinuous change occurs between two distinct traffic states—State A (qA,kA,uAq_A, k_A, u_A) and State B (qB,kB,uBq_B, k_B, u_B)—a shockwave forms at the boundary. Applying the principle of vehicle conservation across the moving boundary interface yields the Rankine-Hugoniot shockwave jump condition:

wAB=qB−qAkB−kA=ΔqΔkw_{AB} = \frac{q_B - q_A}{k_B - k_A} = \frac{\Delta q}{\Delta k}

Where wABw_{AB} is the propagation velocity of the shockwave boundary in mph or km/h.

 Traffic Flow --->  [ State A: q_A, k_A ]  |  [ State B: q_B, k_B ]
                                         <---
                                  Shockwave Boundary (w_AB)

Directional Rules for Shockwave Velocity:

  • w>0w > 0 (Forward / Downstream): The shockwave moves in the direction of traffic flow.
  • w<0w < 0 (Backward / Upstream): The shockwave moves backward against traffic flow (queue expands upstream).
  • w=0w = 0 (Stationary): The shockwave remains pinned at a fixed physical location (e.g., permanent geometric lane drop or peak crest).

Relative Speed of Vehicles Entering the Shockwave:

νrel,A=uA−wAB\nu_{rel, A} = u_A - w_{AB} νrel,B=uB−wAB\nu_{rel, B} = u_B - w_{AB}

3. Typologies of Traffic Shockwaves

Shockwave TypologyBoundary States ConditionVelocity SignOperational Context & Physical Manifestation
Backward FormingqB<qA,  kB>kAq_B < q_A,\; k_B > k_Aw<0w < 0Upstream traffic encounters bottleneck/incident; queue builds upstream.
Backward RecoveryqB>qA,  kB<kAq_B > q_A,\; k_B < k_Aw<0w < 0Incident cleared or signal turns green; capacity discharge clears queue upstream.
Forward FormingqB>qA,  kB>kAq_B > q_A,\; k_B > k_Aw>0w > 0Upstream demand increases while facility remains uncongested; wave moves downstream.
Forward RecoveryqB<qA,  kB<kAq_B < q_A,\; k_B < k_Aw>0w > 0Upstream demand drops; uncongested recovery wave travels downstream.
Frontal StationaryqB=qA,  kB>kAq_B = q_A,\; k_B > k_Aw=0w = 0Fixed capacity bottleneck (e.g., lane reduction) where arrival matches capacity.

4. Bottleneck Queue Growth & Clearance Analysis

Consider an incident on a freeway where a lane is blocked for duration T0T_0, creating an upstream queue (State B), after which the blockage is cleared, allowing vehicles to discharge at capacity (State C):

  1. Approach State A: Normal free-flow upstream traffic (qA,kAq_A, k_A).
  2. Queued State B: Congested standstill/metered traffic upstream of incident (qB,kBq_B, k_B).
  3. Discharge State C: Unconstrained capacity discharge after incident removal (qC=qmax⁡,kC=kcq_C = q_{\max}, k_C = k_c).

Shockwave Velocities:

  • Queue growth wave: wAB=qB−qAkB−kA<0w_{AB} = \frac{q_B - q_A}{k_B - k_A} < 0
  • Queue clearing wave: wBC=qC−qBkC−kB<0w_{BC} = \frac{q_C - q_B}{k_C - k_B} < 0
  • Downstream recovery wave: wAC=qC−qAkC−kAw_{AC} = \frac{q_C - q_A}{k_C - k_A}

Time to Full Queue Dissipation (TclearT_{\text{clear}}):

Because ∣wBC∣>∣wAB∣|w_{BC}| > |w_{AB}|, the recovery wave catches the forming wave at time TclearT_{\text{clear}} measured from incident onset:

Tclear=T0(wBC−wACwBC−wAB)=T0(wBCwBC−wAB)(if wAC≈0)T_{\text{clear}} = T_0 \left(\frac{w_{BC} - w_{AC}}{w_{BC} - w_{AB}}\right) = T_0 \left(\frac{w_{BC}}{w_{BC} - w_{AB}}\right) \quad \text{(if } w_{AC} \approx 0\text{)}

Maximum Queue Length (Lmax⁡L_{\max}):

Lmax⁡=∣wAB∣×TclearL_{\max} = |w_{AB}| \times T_{\text{clear}}

5. Deterministic Queuing Theory (D/D/1 Models)

Deterministic queuing (D/D/1D/D/1) analyzes bottlenecks where arrival rate λ(t)\lambda(t) and departure capacity μ(t)\mu(t) are known deterministic functions over time. Performance is evaluated using Cumulative Vehicle Diagrams (A(t)A(t) and D(t)D(t)):

 Cumulative Vehicles
     ^
     |                     A(t) [Arrival Curve: slope = λ1]
     |                   *  /
     |                 *   /  A(t) [Demand Drops: slope = λ2]
     |               *    /---
     |      Q(t)   *     /   |
     |       |   *      /    | D(t) [Departure Curve: slope = μ]
     |       v *       /     |
     |       *        /      |
     |     *         /       |
     |   *          /        |
    0+--*----------*---------*-----> Time (t)
        0         T1        t_q

Geometric Properties of Cumulative Curves:

  1. Queue Length (Q(t)Q(t)): The vertical distance between arrival curve A(t)A(t) and departure curve D(t)D(t) at time tt: Q(t)=A(t)−D(t)Q(t) = A(t) - D(t)
  2. Individual Vehicle Delay (d(t)d(t)): The horizontal distance from arrival time tt to departure time t′t', representing the wait time of vehicle NN: d(N)=tdepart(N)−tarrive(N)d(N) = t_{\text{depart}}(N) - t_{\text{arrive}}(N)
  3. Total Aggregate Delay (DtotalD_{\text{total}}): The total area enclosed between A(t)A(t) and D(t)D(t) over the entire queuing interval [0,tq][0, t_q]: Dtotal=∫0tq[A(t)−D(t)] dt(vehicle-hours)D_{\text{total}} = \int_0^{t_q} [A(t) - D(t)]\, dt \quad (\text{vehicle-hours})
  4. Average Delay per Vehicle (dˉ\bar{d}): dˉ=DtotalNtotal\bar{d} = \frac{D_{\text{total}}}{N_{\text{total}}}

Multi-Period Surge Formulations:

If an initial demand surge λ1>μ\lambda_1 > \mu lasts for duration T1T_1, after which demand drops to λ2<μ\lambda_2 < \mu:

  • Maximum Queue: Qmax⁡=(λ1−μ)T1Q_{\max} = (\lambda_1 - \mu) T_1
  • Time to Dissipate Queue (tdisst_{\text{diss}} after T1T_1): tdiss=Qmax⁡μ−λ2t_{\text{diss}} = \frac{Q_{\max}}{\mu - \lambda_2}
  • Total Queue Duration: tq=T1+tdiss=T1(1+λ1−μμ−λ2)=T1(λ1−λ2μ−λ2)t_q = T_1 + t_{\text{diss}} = T_1 \left(1 + \frac{\lambda_1 - \mu}{\mu - \lambda_2}\right) = T_1 \left(\frac{\lambda_1 - \lambda_2}{\mu - \lambda_2}\right)
  • Total Aggregate Delay (Area of Triangle): Dtotal=12Qmax⁡tq=12(λ1−μ)T1⋅tqD_{\text{total}} = \frac{1}{2} Q_{\max} t_q = \frac{1}{2} (\lambda_1 - \mu) T_1 \cdot t_q

6. Stochastic Queuing Systems (M/M/1, M/D/1, and M/G/1)

When arrivals and service times exhibit random variations, deterministic models underestimate delay. Stochastic queuing models use Kendall's notation (A/B/c/K/N/ZA/B/c/K/N/Z):

  • AA = Arrival distribution (MM = Markovian/Poisson, DD = Deterministic, GG = General)
  • BB = Service distribution (MM = Exponential, DD = Constant, GG = General)
  • cc = Number of parallel service channels/servers

A. M/M/1 Queuing System (Poisson Arrivals, Exponential Service, 1 Server)

  • Traffic Intensity / Utilization: ρ=λμ\rho = \frac{\lambda}{\mu} (System is stable if and only if ρ<1\rho < 1).
  • Average Number of Vehicles in System (Waiting + Service): L=ρ1−ρ=λμ−λL = \frac{\rho}{1 - \rho} = \frac{\lambda}{\mu - \lambda}
  • Average Number of Vehicles in Queue (Waiting Line): Lq=ρ21−ρ=λ2μ(μ−λ)=L−ρL_q = \frac{\rho^2}{1 - \rho} = \frac{\lambda^2}{\mu(\mu - \lambda)} = L - \rho
  • Average Time Spent in System (Little's Law: L=λWL = \lambda W): W=Lλ=1μ−λW = \frac{L}{\lambda} = \frac{1}{\mu - \lambda}
  • Average Waiting Time in Queue (Lq=λWqL_q = \lambda W_q): Wq=Lqλ=ρμ−λ=λμ(μ−λ)=W−1μW_q = \frac{L_q}{\lambda} = \frac{\rho}{\mu - \lambda} = \frac{\lambda}{\mu(\mu - \lambda)} = W - \frac{1}{\mu}
  • Probability of nn Vehicles in System: Pn=(1−ρ)ρnP_n = (1 - \rho)\rho^n.

B. M/D/1 Queuing System (Deterministic Constant Service Time)

When service time is perfectly uniform (such as automated toll gates or fixed-cycle metered signals), service variance σs2=0\sigma_s^2 = 0:

Lq=ρ22(1−ρ)L_q = \frac{\rho^2}{2(1 - \rho)} Wq=ρ2μ(1−ρ)W_q = \frac{\rho}{2\mu(1 - \rho)}

Critical PTOE Takeaway: Under identical traffic intensity ρ\rho, an M/D/1M/D/1 queue yields exactly half the queue length and waiting delay of an M/M/1M/M/1 queue (Lq,M/D/1=12Lq,M/M/1L_{q, M/D/1} = \frac{1}{2} L_{q, M/M/1}). Eliminating service variance cuts queuing delays by 50%!

C. M/G/1 Queuing System (Pollaczek-Khinchine Formula)

For general service time distribution with mean service time 1/μ1/\mu and variance σs2\sigma_s^2:

Lq=λ2σs2+ρ22(1−ρ)L_q = \frac{\lambda^2 \sigma_s^2 + \rho^2}{2(1 - \rho)} Wq=Lqλ=λσs2+ρ/μ2(1−ρ)W_q = \frac{L_q}{\lambda} = \frac{\lambda \sigma_s^2 + \rho / \mu}{2(1 - \rho)}
Loading diagram...
Shockwave Typologies, Rankine-Hugoniot Jump Condition, and Queuing Systems
Test Your Knowledge

A three-lane freeway operating at normal flow of 4500 veh/hr and density of 60 veh/mi experiences a complete blockage due to a multi-vehicle collision. The traffic trapped upstream comes to a complete halt at jam density k_j = 360 veh/mi (120 veh/mi/ln). At what speed and in which direction does the backward forming shockwave propagate upstream along the freeway?

A

+15.0 mph downstream toward the incident

B

-25.0 mph upstream away from the incident

C

+12.5 mph downstream toward the incident

D

-15.0 mph upstream away from the incident

Test Your Knowledge

An oversaturated freeway bottleneck with a constant discharge capacity of μ = 3000 veh/hr experiences an arrival surge of λ = 3600 veh/hr lasting for a duration of T = 30 minutes (0.5 hours), after which the arrival rate immediately drops to λ = 2400 veh/hr. What is the total aggregate vehicle delay (D_total) incurred by all queued vehicles before the queue fully dissipates?

A

150 vehicle-hours

B

75 vehicle-hours

C

300 vehicle-hours

D

112.5 vehicle-hours

Test Your Knowledge

An automated electronic toll collection plaza lane operates with an arrival rate of λ = 720 veh/hr (12 veh/min) and a mean processing service rate of μ = 900 veh/hr (15 veh/min). If the lane converts from a manual toll booth with exponentially distributed service times (M/M/1) to an automated transponder gate with perfectly constant/deterministic service times (M/D/1), how will the average vehicle waiting time in queue (W_q) change?

A

W_q decreases from 4.00 minutes to 1.00 minute (75% reduction)

B

W_q remains unchanged at 0.267 minutes because traffic intensity rho = 0.80 is identical

C

W_q decreases from 0.267 minutes (16 seconds) to 0.133 minutes (8 seconds) (50% reduction)

D

W_q decreases from 2.50 minutes to 1.25 minutes (50% reduction)

Sections you finish are checked off in the contents.