Lecture06 Macro LWR
Lecture06 Macro LWR
I We have three main macroscopic quantities: density ρ, flow Q, and local speed V .
I There is always the static hydrodynamic relation between these quantities arising
directly by the definitions of ρ, Q, and V :
Q = ρV
I Furthermore, vehicle conservation implies the dynamic continuity equation, e.g., for
a homogeneous road:
∂ρ ∂Q ∂ρ ∂(ρV )
+ = + =0
∂t ∂x ∂t ∂x
So, two model-independent relations between the three quantities are always there. To
make a macroscopic flow model that can be simulated, we need a third equation.
Traffic Flow Dynamics 6. The Lighthill-Whitham-Richards (LWR) Model 6..1 General: Motivation and Equations
LWR Equations
There are two basic possibilities to specify the missing third relation:
I First-order models or Lighthill-Whitham-Richards (LWR) models specify an
additional static traffic stream model/relation between density and flow,
I Second-order models define a second dynamical equation for the speed
ρ
Q(ρ) = V0 ρ 1 − ρmax
Traffic Flow Dynamics 6. The Lighthill-Whitham-Richards (LWR) Model 6.2 LWR Wave Velocity
ρ(x, t) = ρ0 (x − ct)
∂ρ
= ρ00 (x − ct) (−c)
∂t
∂Qe (ρ)
= Q0e (ρ) ρ00 (x − ct)
∂x
This solves the LWR equation for all x and t iff −c + Q0e (ρ) = 0 or
? The wave speed is never larger than the vehicle speed: c = Q0e (ρ) = V + ρVe0 (ρ). Why? base your
answer on plausibility criteria
! Since there are only interactions front-back but not vice versa
Traffic Flow Dynamics 6. The Lighthill-Whitham-Richards (LWR) Model 6.2 LWR Wave Velocity
The density dependent wave speed c = Q0e (ρ) means that the density can be imagined as
layers (as in a 3d printer) independently gliding over each other until a shock is formed
where the solution breaks down.
Traffic Flow Dynamics 6. The Lighthill-Whitham-Richards (LWR) Model 6.3. Formation of Shock Waves
6.3 Problems
? Show that, in the case of a triangular fundamental diagram, the wave velocity is
either equal to the vehicle speed or a constant negative value while the shock-wave
propagation velocity can also takes on any value in between.
! Triangular FD: Q(ρ) = min(Qf (ρ), Qc (ρ));
Free traffic: Qf (ρ) = V0 ρ, cf = Q0f (ρ) = V0 = const. (left slope);
Congested traffic: Qc (ρ) = 1/T (1 − ρ/ρmax ), w = Q0c (ρ) = −1/(T ρmax ) = const. (right slope);
Shock velocity c12 : Slope of any line connecting the free with the congested side of the triangle, so
c ≤ c12 ≤ cf
I Critical density: ρc = 1
V0 T +leff
I Maximum flow: Qmax = V0 TV+l0
eff
I Maximum 1
density: ρmax = leff
Model parameters:
I Desired speed V0
I Effective vehicle length leff or maximum density ρmax = 1
leff
I Effective time gap T or wave speed w = − lTeff
Traffic Flow Dynamics 6. The Lighthill-Whitham-Richards (LWR) Model 6.4 Triangular FD
Pedestrian
Parameter Highway City Traffic
Single File
Desired speed V0 120 km/h 50 km/h 1.2 m/s
Time gap T 1.4 s 1.2 s 1.0 s
Max. density ρmax 120 veh/km 120 veh/km 1.5 peds/m
Traffic Flow Dynamics 6. The Lighthill-Whitham-Richards (LWR) Model 6.4 Triangular FD
if ρ ≤ ρc = QVmax
(
V0 ρ h 0
Qe (ρ) = i
Qmax 1 − Vw0 + wρ if ρ > ρc
Traffic Flow Dynamics 6. The Lighthill-Whitham-Richards (LWR) Model 6.5 Properties of the Triangular FD
In the triangular FD, waves in one regime (free or congested) remain unchanged
Traffic Flow Dynamics 6. The Lighthill-Whitham-Richards (LWR) Model 6.5 Properties of the Triangular FD
The upstream jam front free → congested can be calculated by a time delayed ODE
without solving the whole PDE using boundary conditions (e.g., from a detector) at both
ends:
dx12 Q1 (t − τf ) − Q2 (t − τc )
c12 = =
dt ρ1 (t − τf ) − ρ2 (t − τc )
The downstream jam front is either fixed at a bottleneck or moves upstream at velocity
w
Traffic Flow Dynamics 6. The Lighthill-Whitham-Richards (LWR) Model 6.5 Properties of the Triangular FD
Both times τf and τc are positive ⇒ real prediction based on vehicle conservation!
Traffic Flow Dynamics 6. The Lighthill-Whitham-Richards (LWR) Model 6.5 Properties of the Triangular FD
By calibrating the LWR parameters (essentially w and Qmax since V0 has little influence),
one obtains an unbiased estimate for ρmax
Traffic Flow Dynamics 6. The Lighthill-Whitham-Richards (LWR) Model 6.5 Properties of the Triangular FD
Types of bottlenecks:
I Lane and flow-conservative bottlenecks: no source terms, bottleneck effect only by
spatial change of parameters
I Lane closure bottlenecks: bottleneck effect by source terms in the effective LWR
while the LWR for the total quantities has no sources (flow-conservative)
I Ramp bottlenecks: bottleneck effect by source terms
I Temporary bottlenecks such as traffic lights.
Traffic Flow Dynamics 6. The Lighthill-Whitham-Richards (LWR) Model 6.6 Bottlenecks – an overview
Lane-closing bottleneck
Traffic Flow Dynamics 6. The Lighthill-Whitham-Richards (LWR) Model 6.6 Bottlenecks – an overview
Lane-closing bottleneck
On-ramp bottleneck
Traffic Flow Dynamics 6. The Lighthill-Whitham-Richards (LWR) Model 6.6 Bottlenecks – an overview
On-ramp bottleneck
I Continuous transition
congested-maximum flow state in
merging region
Traffic Flow Dynamics 6. The Lighthill-Whitham-Richards (LWR) Model 6.7 Traffic Lights
I In the LWR approach, a traffic light is a temporry bottleneck with capacity zero
I When the light becomes green, the stationary downstream jam front congested →
free starts to move upstream at velocity w
I Generally, downstream fronts are either “pinned” at the bottleneck or move upstream
at velocity w
? There is a single situation where a downstream front may move downstream. Which?
Traffic Flow Dynamics 6. The Lighthill-Whitham-Richards (LWR) Model 6.7 Traffic Lights
I ρmax times the vertical extension of the red triangle (e.g., from E to D) gives the actual
number of stopped vehicles per lane
I The area of the triangle gives the total waiting time per lane
I This area can be easily calculated by adding the areas of the two rectangular triangles ODE
and DEF’
Traffic Flow Dynamics 6. The Lighthill-Whitham-Richards (LWR) Model 6.7 Traffic Lights
Draw a triangular FD with the traffic states 1 to 4 and also denote graphically the
different shock-wave propagation velocities
Traffic Flow Dynamics 6. The Lighthill-Whitham-Richards (LWR) Model 6.8 Examples: 1.accident
2. Show that the accident leads to a traffic breakdown. Calculate the total and effective
flows in all sections.
I Bottleneck capacity Cbottl = Qmax = 2 016 veh/h is smaller than inflow Qin ⇒ traffic
breakdown.
I Upstream free flow controlled by inflow, Qtot
1 = 3 024 veh/h, and congested flow as well as
the flow in all following segments by the bottleneck: Qtot tot
2 = Q3 = Cbottl = 2 016 veh/h
I Per lane, the effective flows are Q1 = 1 512 veh/h, Q2 = Q3 = 1 008 veh/h
Traffic Flow Dynamics 6. The Lighthill-Whitham-Richards (LWR) Model 6.8 Examples: 1.accident
4. Calculate the velocity of the moving downstream front once the obstruction has been
removed and the time for complete dissolution of the jam.
Once the obstruction has been removed, the maximum flow state always arising at the
dowwnstream end of jams is over both lanes, so the new flows downstream of the congestion are
Qtot
4 = C and Q4 = C/2 = Qmax = 2 016 veh/h and, from the free branch,
ρ4 = Q4 /V0 = 20 vehicles/h. Thus,
Q4 − Q2
cdown = c = c23 = = −19.2 km/h
ρ4 − ρ2
Traffic Flow Dynamics 6. The Lighthill-Whitham-Richards (LWR) Model 6.8 Examples: 1.accident
2. At 4:00 pm, the total traffic demand at x = 0 increases abruptly from 2 000 veh/h to
3 600 veh/h. Does this cause a breakdown? If so, at which time and where?
! Answer: Check where, when going from upstream to downstream (why?) the demand
exceeds the capacity for the first time. The relevant bottleneck is said to be activated
→ tutorial to this lecture
Traffic Flow Dynamics 6. The Lighthill-Whitham-Richards (LWR) Model 6.8 Examples: 1.accident
3. Calculate the dynamics of the developing congestion if the inflow remains constant
! The downstream front is pinned at the activated bottleneck. The upstream front is
determined by the shockwave formula. You need to distinguish the propagation in the
Regions II and I! → tutorial to this lecture
Traffic Flow Dynamics 6. The Lighthill-Whitham-Richards (LWR) Model 6.9 Numerics of the LWR
I The initial condition ρ(x, 0) at time t = 0 is completely known for all x ∈ [0, Lroad ] along
the road
I In case of free traffic ρ(0, t) < ρc , the upstream boundary condition (BC)
ρ(0, t) = ρfree (Qup (t)) is given by the traffic demand Qup per lane
I In case of a downstream congestion, the downstream BC ρ(Lroad , t) = ρcong (Qdown (t)) is
determined by the maximum flow this congestion can take.
I When solving a conservation law, it is crucial to take into account the direction of
information flow.,
I Depending on the situation, 0, 1, or 2 BC apply
Traffic Flow Dynamics 6. The Lighthill-Whitham-Richards (LWR) Model 6.9 Numerics of the LWR
General
LWR models
∆t ≤ |c|max ∆x = V0 ∆x
Traffic Flow Dynamics 6. The Lighthill-Whitham-Richards (LWR) Model 6.9 Numerics of the LWR
General scheme also applies to triangular FDs. However, near capacity, it becomes tricky
to determine whether downwind or upwind finite differences to apply (why?). The
supply-demand method gives a specialized simplified procedure for triangular FDs:
1. Define the supply (maximum flow the downstream cell can receive) and demand
(maximum flow the upstream cell can deliver) functions with capacity Ck = Lk Qmax :
2. As in any trading, the actual flow (amount of delivered products) is given by the minimum of
supply and demand. For the two boundaries of cell k:
Qtot,up
k = Qtot,down
k−1 = min (Sk , Dk−1 ) ,
Qtot,down
k = Qtot,up
k+1 = min (Sk+1 , Dk ) .
I Bottlenecks in the stricter sense and also changes in the number of lanes? are
automatically included in the supply-demand model for straight roads
I Merge bottlenecks? are just two-in-one nodes where the priority (in contrast to
regulations) is given to the ramp
I Diverges? such as cell 1 → cells 2, 3 require the diverging fraction λ3 as additional
input. Congestion arises if λ3 D1 > S3 or (1 − λ3 )D1 > S2 . If λ3 D1 > S3 , we have
S3
Qtot,down
1 =
λ3
leading to a spill-back bottleneck
1. Make this formula plausible! On average, a flow S3 /λ3 can pass the diverge such that Link 3 is
at its supply limit S3 . The excess link-3 drivers wait until they can enter thereby obstructing also the
upstream link-2 drivers
2. Discuss lane changes as sources of off-ramp bottlenecks Lane changes disturb the flow
reducing the maximum flow. This cannot be modelled by LWR models unless special provisions are taken.