4-Fundamentals Traffic Flow Modeling
4-Fundamentals Traffic Flow Modeling
Associate Professor
Contents
------
-1-
Francesc Soriguera
Associate Professor
digital graphics animation. In spite of being very fancy, calibrating these microsimulators requires many
parameters (e.g. of the order of 30 maybe), some of them without any physical interpretation. This is 10 times
more than the 3 parameters required to calibrate the fundamental diagram in the LWR theory (as you will see
next in this lecture). This means that microscopic models are much less robust with respect to LWR, and that all
results should be validated with the later.
After this brief introduction to traffic flow modeling and its history, this lecture aims to just present the most
fundamental concepts of traffic flow modeling. This includes the definition of traffic variables and the
fundamental equation, and the postulates of LWR macroscopic model (i.e. the conservation equation and traffic
diagrams). We will end the lecture with an example application of this theory.
x
𝑖=1 𝑖=2 𝑖=3 𝑖=4 𝑖=5
𝑥!
ℎ"
Headway
𝑡! 𝑇 t
𝑡"
Figure 1. Headway definition on a time – space diagram.
The time interval between the passage of two consecutive vehicles at a given location 𝑥! is defined as the
headway, ℎ, in units of time (e.g. [s]). In Spanish the headway is named "intérvalo". Note that the headway is
-3-
Francesc Soriguera
Associate Professor
measured taking the same reference point of consecutive vehicles (e.g. the rear bumper in Figure 1), so that, in
addition to the empty time gap between vehicles, it includes the time necessary for the passage of the length of
the vehicle. Also note that in order to measure the headway, we need to measure at a fixed location continuously
in time. This kind of measurement is called a temporal measurement. Consider that we take this temporal
measurement during a long period of time, 𝑇, and that we measure the passage of 𝑚 vehicles (e.g. in Figure 1,
𝑚 = 5). Then we can define the traffic flow, 𝑞, as:
𝑚
𝑞= [𝑣𝑒ℎ/𝑡𝑖𝑚𝑒]
𝑇
Note that the headway is a traffic variable affecting individual vehicles (i.e. a microscopic traffic variable) while
the flow is an aggregated or average variable (i.e. a macroscopic traffic variable). Both variables (i.e. ℎ and 𝑞)
represent different perspectives (i.e. micro or macro) of the same concept, and they can be related as:
𝑚 𝑚 1 1
𝑞= = $ = =9
𝑇 ∑#%" ℎ# 18𝑚 ∑#%" ℎ# ℎ
$
𝑥!
𝑠"
𝐿
Spacing
𝑥"
t
𝑡!
Figure 2. Spacing definition on a time – space diagram.
-4-
Francesc Soriguera
Associate Professor
The same analysis could be done but considering a spatial measurement region. This is the simultaneous
measurement of all the vehicles in a length 𝐿 of the infrastructure at a particular instant of time, 𝑡! (see Figure
2). This allows defining the vehicular spacing, 𝑠, as the distance between the same point of consecutive vehicles
(e.g. the rear bumper in Figure 2). The spacing, is the second fundamental microscopic traffic variable. Note that,
as before, 𝑠 includes the vehicle length plus the empty space gap between vehicles. In Spanish the spacing is
named "espaciado". The macroscopic variable equivalent to the spacing is the traffic density 𝑘, defined as the
number of vehicles per unit distance observed at a given instant in a particular infrastructure. The traffic density
𝑘 can be obtained from the measurement of the existing vehicles, 𝑛, on a given infrastructure length, 𝐿, at a
particular instant of time, 𝑡! . Note that in Figure 2, 𝑛 = 2 (i.e. vehicles 𝑗 = 1 and 𝑗 = 2). Then, traffic density is
defined as:
𝑛
𝑘= [𝑣𝑒ℎ/𝑑𝑖𝑠𝑡𝑎𝑛𝑐𝑒]
𝐿
Similarly, the spacing (microscopic) and the density (macroscopic) variables are related, as one is the aggregation
of the other. Namely:
𝑛 𝑛 1 1
𝑘= = ' = =
𝐿 ∑&%" 𝑠&
18𝑛 ∑&%" 𝑠& 𝑠̅
'
So that the traffic density can be obtained as the inverse of the average spacing.
The third and last of the fundamental variables is the speed. The microscopic version of the variable is simply the
vehicles' individual speed, 𝑣# (i.e. the slope of the vehicles' trajectory at a given point in time and space).
However, the macroscopic average, 𝑣̅ , is a bit more problematic. The average speed is defined as the arithmetic
average of the individual speed of vehicles, the problem is that this average depends on which vehicles are
considered. Amongst all possible selections of the space-time measurement region, the temporal region (e.g.
(𝑥( , 𝑇) and the spatial region (𝐿, 𝑡! ), define two particular cases, leading to the time-mean speed, 𝑣̅) , and to the
space-mean speed, 𝑣̅* , respectively (see Figure 3). Time-mean and space-mean definitions, could be applied to
any property of the travelling vehicles in addition to the travelling speed.
-5-
Francesc Soriguera
Associate Professor
x
Space-mean
(fixed 𝑡)
𝐿 Time-mean
𝑥! (fixed 𝑥)
𝑡! t
𝑇
Figure 3. Time vs Space mean averages.
∑$
#%" 𝑣#
𝑣̅) =
𝑚
∑'&%" 𝑣&
𝑣̅* =
𝑛
Because faster vehicles are overrepresented when seen by a stationary observer (i.e. in a temporal measurement
region (𝑥( , 𝑇)) for any prevailing traffic state, 𝑣̅) ≥ 𝑣̅* , and they are equal only when the speeds of all vehicles
are constant. More precisely:
𝜎+,-!
𝑣̅ ) = 𝑣̅* +
𝑣̅*
where 𝜎+,-! is the variance of the individual speeds measured over the spatial measurement region (𝐿, 𝑡! ). Recall
that the variance is always positive, and only zero when the variable (i.e. the individual speed, 𝑣# ) is constant.
The previous relationship is named as the Wardrop relationship, in honor of J.G. Wardrop, the distinguished
English mathematician and transport analyst who formulated it the first time in 1952 in his famous publication
about "some theoretical aspects of road traffic research".
-6-
Francesc Soriguera
Associate Professor
Time means can be related with flow and space means to density. Note that any traffic state can be thought of
being composed of 𝑙 different families of vehicles (see Figure 4), where within each family traffic is stationary
(i.e. constant vehicular speeds, headways and spacings). This is not limiting in any sense, as any non-stationary
traffic state can be formulated in these terms (e.g. even a traffic state where all vehicles travel at different
speeds, can be thought in terms of "families", where each family is composed of a single vehicle). Then we can
define 𝑞. , 𝑘. and 𝑣. , as the flow, density and speed of traffic within family 𝑙. Because the flow and density are
additive magnitudes, the total flow, 𝑞, and the total density, 𝑘, can be obtained as:
𝑞 = H 𝑞. ; 𝑘 = H 𝑘.
. .
∑$
#%" 𝑣# ∑. 𝑚. 𝑣. J18𝑇K ∑. 𝑚. 𝑣. ∑. 𝑞. 𝑣.
𝑣̅) = = = =
𝑚 𝑚 J18𝑇K𝑚 𝑞
where 𝑚. is the number of vehicles of family 𝑙 in the temporal region (𝑥( , 𝑇). This shows that time-means can
be obtained as weighted averages, where the weights are the relative flows of each family of vehicles.
Similarly:
∑'&%" 𝑣# ∑. 𝑛. 𝑣. J18𝐿K ∑. 𝑛. 𝑣. ∑. 𝑘. 𝑣.
𝑣̅* = = = =
𝑛 𝑛 J18𝐿K𝑛 𝑘
where 𝑛. is the number of vehicles of family 𝑙 in the spatial region (𝐿, 𝑡( ). As before, this shows that space-means
can be obtained as weighted averages, where the weights are the relative densities of each family of vehicles.
Figure 4 exemplifies these concepts. Consider three vehicles travelling on a circular track with a length of 30 km
at different speeds. This can be seen as 3 families of vehicles:
𝑙 = 1 → 𝑣" = 90 𝑘𝑚/ℎ
𝑙 = 2 → 𝑣- = 60 𝑘𝑚/ℎ
𝑙 = 3 → 𝑣/ = 30 𝑘𝑚/ℎ
So that the space mean speed is simply the arithmetic average of their speeds, 𝑣̅* = 60 𝑘𝑚/ℎ, since the relative
density of the 3 families is the same (i.e. 1/3).
-7-
Francesc Soriguera
Associate Professor
In contrast, from the temporal perspective, one observer standing at any fixed location at the side of the track
during 𝑇 = 1ℎ, would observe:
Then, the time mean speed computed as a weighted average considering the relative flows is 𝑣̅) = 70 𝑘𝑚/ℎ.
Note that vehicles travelling at higher speeds are overrepresented with respect to their density.
30 km/h
90 km/h
1
3
𝐿 = 30 𝑘𝑚
2
60 km/h
x
𝑥!
𝑡! 1h t
Table 1 provides a summary of what we have seen so far. Additionally, it includes two additional pieces of
information. The "Simulators" column shows computer implementations of the different traffic modeling
approaches. The Cell Transmission Model (originally developed by Prof. C.F. Daganzo) is a finite difference
-8-
Francesc Soriguera
Associate Professor
implementation of the LWR macroscopic model. This, can be coded into any computing language, and several
implementations can be found as freeware. On the other hand, microscopic traffic simulators tend to be
commercial software under license, and only SUMO represents an open-source alternative developed by the
academic community. Table 1 also provides the macro-micro equivalence for a couple of models. For instance,
the Greenberg macroscopic 𝑘 − 𝑣 is the macroscopic equivalent of the 3rd generation of the General Motors car-
following theories. Take this only as informative, as we are not going to discuss the details of these models in
this chapter.
Table 1. Macro and micro approaches to traffic modelling – Variables, models and simulators
Instantaneous
Headway Spacing e.g. AIMSUN, VISSIM,
MICRO speed Car following theories
(ℎ) (𝑠) PARAMICS, SUMO
(𝑣! )
e.g. Greenberg (macro 𝑘 − 𝑣) – 3rd General Motors (micro
MACRO-MICRO 1 1 ∑"! 𝑣! car following)
𝑞= 𝑘= 𝑣̅ =
Relationships ℎ, 𝑠̅ 𝑛 e.g. Newell Triangular diagram (macro 𝑞 − 𝑘)– Forbes min.
safety distance (micro car followig)
Aggregation (𝑥, 𝑇) → 𝑣̅#
(𝑥, 𝑇) (𝐿, 𝑡)
types (𝐿, 𝑡) →𝑣̅$
T)
3. The fundamental equation of traffic (𝒒 = 𝒌𝒗
The three fundamental variables of traffic (i.e. flow 𝑞, density 𝑘, and average speed, 𝑣̅ ) are related by the so
called "Fundamental Equation of Traffic", which states that the flow is equal to the traffic density times the
average speed:
𝑞 = 𝑘𝑣̅
Obviously, the fundamental equation can also be formulated in terms of the average microscopic variables:
𝑠̅ = ℎ9𝑣̅
The fundamental equation of traffic directly results from the previous definitions of the variables, meaning that
it is true "by definition". This implies that it holds everywhere, for all kind of infrastructures and for all possible
traffic states. In spite of this, for stationary traffic (i.e. constant vehicular speeds, headways and spacings) it is
-9-
Francesc Soriguera
Associate Professor
particularly easy to prove (see Figure 5). If we carefully define a time-space measurement region (𝐿, 𝑇) so that
𝐿⁄𝑇 = 𝑣̅ , where 𝑣̅ = 𝑣# ∀𝑖 because traffic is stationary, then:
𝑚 𝑚
𝑞= ;𝑘=
𝑇 𝐿
𝑞 𝐿
= = 𝑣̅
𝑘 𝑇
𝐿 𝑚 vehicles
𝑣# =
𝑇
t
𝑇
𝑚 vehicles
Figure 5. Stationary traffic on a time – space diagram.
In spite of the previous derivation of the fundamental equation of traffic for a stationary traffic state, recall that
the equation holds even for non-stationary traffic (i.e. when the vehicular speeds are not constant). Then, an
additional issue appears, because the average speed, 𝑣̅ , is not well defined. Should we consider the time-mean
speed, 𝑣̅) in the fundamental equation? or should we consider the space-mean speed 𝑣̅* ? Note that, because
they are different in non-stationary traffic, only one of the options can be true.
To give an answer to this question, think again of a non-stationary traffic composed of 𝑙 different families of
vehicles. Within each family, traffic is stationary with 𝑞. , 𝑘. , 𝑣. , and because we have already proved that the
fundamental equation holds in stationary traffic, within each family we have:
𝑞. = 𝑘. 𝑣.
Then, by simply working with the algebra que can state that:
- 10 -
Francesc Soriguera
Associate Professor
∑. 𝑘. 𝑣.
𝑞 = H 𝑞. = H 𝑘. 𝑣. = 𝑘 W X = 𝑘𝑣̅*
𝑘
. .
Recall that a weighted average of vehicles speeds, where the weights are the relative densities, yields the space-
mean speed. So, this proves that in non-stationary traffic, the fundamental equation holds only if the speed is
obtained as a space-mean. This is:
𝑞 = 𝑘𝑣̅*
x 1 2
(A) 2
𝑥2 2
3
𝐿 3 4
4
1
𝑥1 (B)
𝑇
N
𝑡1 𝑡2 t
There are several ways of analytically formulating the vehicles' conservation equation, but using a space-time
diagram is quite simple and convenient. In the context of traffic flow, a "closed system" means a closed space-
time region, where all the entrances and exits to the infrastructure are monitored. Figure 6 shows a closed (𝑥, 𝑡)
region with dimensions (𝐿, 𝑇) and some vehicle trajectories. The infrastructure considered in Figure 6 could be
a section of a one-way street so that vehicles can only enter through location 𝑥" and exit through 𝑥- . This section
of the street is observed in the time period between 𝑡" and 𝑡- . In this context, note that the vehicles entering
- 11 -
Francesc Soriguera
Associate Professor
the section of the street through 𝑥" during the period 𝑇, (i.e. crossing border 1 of the closed space-time region)
are vehicles 3 and 4 (i.e. two vehicles). The notation for this variable will be 𝑚" = 2. The number of vehicles
exiting through 𝑥- during the same period (i.e. crossing border 2) are vehicles 1 and 2. In this case 𝑚- = 2. Also,
you can see from Figure 6 that, initially (i.e. at 𝑡" ), there were two vehicles inside the section of street of length
𝐿. These are vehicles 1 and 2. Because these are spatial borders, the notation used in this case for the number
of trajectories crossing border 3 is 𝑛/ = 2. Finally, the number of vehicles "stored" inside the section of street at
the end of the observation period, 𝑡- (i.e. trajectories crossing border 4) is 𝑛0 = 2 (i.e. vehicles 3 and 4). Given
these definitions, the conservation of vehicles can be simply formulated by imposing that the number of
trajectories entering the closed (𝑥, 𝑡) region must be equal to the number of trajectories exiting1. This is:
𝑚" + 𝑛/ = 𝑚- + 𝑛0
Note that the physical meaning of the previous equation is exactly that of the conservation law:
And working with the algebra, allows obtaining a more familiar form of the vehicles' conservation equation:
𝑚- − 𝑚" = 𝑛/ − 𝑛0
𝑚- − 𝑚" 𝑛/ − 𝑛0
=
(𝑥- − 𝑥" )(𝑡- − 𝑡" ) (𝑥- − 𝑥" )(𝑡- − 𝑡" )
𝑚" + 𝑛/ 𝑚- + 𝑛0
=
𝐿𝑇 𝐿𝑇
Note that 𝑚's divided by 𝑇 are flows, while 𝑛's divided by 𝐿 are densities. Therefore:
𝑞- − 𝑞" 𝑘/ − 𝑘0
=
(𝑥- − 𝑥" ) (𝑡- − 𝑡" )
∆𝑞 ∆𝑘
=−
∆𝑥 ∆𝑡
Which says that the variation of flow with respect to space is equal to the minus variation of the density with
respect to time, representing an equivalent formulation of the conservation equation. Considering that typically
we deal with many vehicles and that in this case the vehicle count function can be considered continuous, the
previous equation can be rewritten as:
1
This is equivalent to imposing that the change in the cumulative vehicle count, 𝑁, between two points in the time-space
plane (e.g. points A and B in Figure 7) must be the same independently of the followed path (e.g. Borders 1 and 3 or Borders
2 and 4).
- 12 -
Francesc Soriguera
Associate Professor
𝜕𝑞 𝜕𝑘
=−
𝜕𝑥 𝜕𝑡
which represents the most typical expression for the vehicles' conservation equation.
𝒙
Observer
B
𝑢!
𝐿 = 𝑢' 𝑇
𝑇 𝒕
Figure 7. Derivation of the relative flow seen by a moving observer from the conservation equation.
In order to derive an analytical expression for this relative flow, look at Figure 7, where in the time – space plane
we define a triangular control area of sizes 𝐿 and 𝑇. By applying the conservation of vehicles in this closed area,
we can say:
𝑞! 𝑇 + 𝑘𝐿 = 𝑞𝑇
Where 𝑞! is the relative flow seen by an observer moving at speed 𝑢! , and 𝑞 and 𝑘 are respectively the flow and
density of the prevailing traffic state. Note that 𝑞! 𝑇 represents the number of times the observer is overtaken
by other vehicles in the duration 𝑇 (i.e. black full dots in Figure 7), 𝑘𝐿 is the number of vehicles on 𝐿 at the
beginning of 𝑇 (i.e. squares in Figure 7), and 𝑞𝑇 is the total number of vehicles leaving 𝐿 during 𝑇 (i.e. empty dots
- 13 -
Francesc Soriguera
Associate Professor
in Figure 7). By realizing that 𝐿 = 𝑢! 𝑇 , and substituting in the previous equation, we obtain (after simplyfing for
𝑇):
𝑞! + 𝑘𝑢! = 𝑞
And finally:
𝑞! = 𝑞 − 𝑘𝑢!
The previous equation states that the relative flow seen by a moving observer is equal to the prevailing flow
minus the prevailing density time the speed of the observer. Note that, according to the fundamental equation
of traffic, 𝑞 = 𝑘𝑣, where 𝑣 is the average speed of traffic. This means that:
𝑞! = 𝑘(𝑣 − 𝑢! ) = 𝑘𝑣12.
Where 𝑣12. = 𝑣 − 𝑢! is the relative speed between traffic and the observer. Note that if the relative speed is
zero, the relative flow it is also zero. In addition, if the speed of the observer is larger than that of traffic, the
relative flow is negative. This means that the observer overtakes the other vehicles in the traffic stream, and
seen from the moving observer perspective, traffic is like running backwards (see Figure 8). Finally, consider that
this expression can also be applied if the observer travels in the opposite direction of traffic. In such case the
speed of the observer is negative, and the relative flow would be larger than the regular flow seen by a static
observer.
Case 1. Vehicles slower than observer Case 2. Vehicles faster than observer
𝒙 𝒙
𝑢! 𝑢!
𝑣 𝑣
𝐿 𝐿
𝑇 𝑇
𝒕 𝒕
5. Traffic diagrams
Along with the vehicles' conservation equation, the second postulate of macroscopic traffic flow models is the
existence of an equation of state. In other words, this means that the state of the system can be univocally
determined by applying one equation to a state variable. Typically, this equation of state is plotted in a relevant
coordinate axis, defining what is known as a traffic diagram. In the context of traffic flow modelling, there are 3
fundamental variables, which univocally define the traffic state (i.e. 𝑞, 𝑘, 𝑣̅ ). This means that if we want only one
degree of freedom (i.e. one state variable), we need two equations between these variables. We already know
one, the fundamental equation of traffic (i.e. 𝑞 = 𝑘𝑣̅ ). Still, we need another equation between any pair of the
variables.
From this historical note on the appearance of traffic diagrams, two important properties are already apparent:
• Traffic diagrams are empirical. They are obtained from observation (not by definition as in the fundamental
equation). This means, that they are valid for the infrastructure and the drivers/vehicles observed. So, care
must be taken when extrapolating traffic diagrams to infrastructures and drivers significantly different from
where they were measured.
• Traffic diagrams are obtained from regression to data points. This means that they are true on average, but
that it is possible that some measurement point lay significantly apart from the average regression.
- 15 -
Francesc Soriguera
Associate Professor
The regression of a functional form to data points for obtaining the traffic diagram (i.e. the calibration of the
diagram) yields its parameters. The typical parameters of traffic diagrams are:
• 𝑣3 , the free flow speed => This is the maximum average speed that drivers feel safe and comfortable to drive
at when the density is very low. A typical value for a freeway lane is 𝑣3 = 100 − 120 km/h, depending on
the physical layout, and although this is influenced by the prevailing speed limit.
• 𝑘& , the jam density => This is the maximum density at the infrastructure, when the vehicles are in a gridlock
jam, completely stopped. A typical value for a freeway lane is 𝑘& = 125 − 150 veh/km.
• 𝑞$45 , the maximum flow, referred as the capacity => This is the maximum throughput that the infrastructure
can hold. In turn, 𝑣! and 𝑘! represent the corresponding optimal speed and density, respectively, for which
the capacity point is obtained. A typical value for a freeway lane is 𝑞$45 = 2000 − 2200 veh/h, 𝑘! = 20 −
25 veh/km and 𝑣! = 70 − 90 km/h.
For instance, the Greenshields linear 𝑘-𝑣 model, requires the calibration of two parameters, 𝑣3 and 𝑘& to obtain
the linear functional form as:
𝑘
𝑣 = 𝑣3 `1 −Diagram
Fig. 6: The first Fundamental a as v-q Diagram
𝑘 &
In this model some traffic flow characteristics are expressed well. It shows a maximal
Figuretraffic flowall the
10 shows withprevious
the related optimal
parameters trafficGreenshields
in the linear density. In
𝑘-𝑣the q-v-diagram exist two
diagram.
regimes, that means it’s possible to have two speeds at the same traffic flow. By this
the traffic flow is classified in a stable and - 16 -an unstable regime. Greenshields linear
relation would be called an univariate model, because both regimes are calculated
with the same formula.
Francesc Soriguera
Associate Professor
𝒗
Free-flowing Congested
𝑣3
𝑘
𝑣 = 𝑣3 `1 − a
𝑘&
𝑣" Capacity
𝑣̅ ! =
2
𝑞$45
𝑘& 𝐤
𝑘0 = 𝐾𝑗
2
Note, that the variable not directly represented in the coordinate axis (i.e. the flow in this case) can be obtained
by applying the fundamental equation, or figuring out the graphical representation on the diagram. In a 𝑘-𝑣
diagram the flow is obtained as the area defined by the coordinate points of a given traffic state. The capacity
point in the Greenshields diagram illustrates that, although this model is of historical importance and
academically used (because of its simplicity), it is not accurate. Note for instance that the optimal speed, 𝑣!
results to be 𝑣3 ⁄2, while in reality is significantly larger, and 𝑘! = 𝑘& ⁄2, while in reality is much smaller.
The capacity point divides the diagram in two parts. For densities higher than 𝑘! , the flow is reduced with growing
densities. This is the most precise definition of congested traffic. So, the right-hand side of the diagram Figure 10
corresponds to congested traffic states. In contrast, the left-hand side corresponds to free-flowing traffic states,
where an increase of the density is translated into an increase in the flow.
Since the first linear 𝑘-𝑣 model proposed by Greenshields, and given his limitations to reproduce the empirical
data that became available with the passage of time, many other functional forms were (and still are) proposed
to describe traffic diagrams. In the early days, dealing with data scarcity, it could be said that there were as many
functional proposals for traffic diagrams as traffic databases. In spite of this, some functional relationships have
stood the pass of time, and it is worth referring to them here:
• The Greenberg 𝑘-𝑣 model, proposed by Harold Greenberg (1959) who considered traffic as continuous
compressible fluid (an acceptable assumption for congested traffic states, but not in light traffic conditions)
and derived analytically a logarithmic relationship between density and speed, as shown in Figure 11.
- 17 -
Francesc Soriguera
Associate Professor
Greenberg validated his logarithmic functional form by calibrating the two parameters of his model (i.e. the
optimal speed, 𝑣! , and the jam density, 𝑘& ) with data measured at the Lincoln Tunnel in New York city and
at the Merritt Parkway in Connecticut, which included for the first time a significant number of
measurements of congested traffic. The model cannot be applied directly for low densities (i.e. free-flow
traffic) as speed tends to infinity when density tends to zero. One possible solution is to truncate the model
at the free-flow speed, 𝑣3 , adding a third calibration parameter to the model and defining what is called a
two-regime diagram (i.e. different functional forms for free-flowing and congested traffic).
𝑘𝑗
𝑘0 =
𝑒
𝑘0 𝑘𝑗 𝐤
• The Underwood 𝑘-𝑣 model, proposed by Robin T. Underwood (1961) aimed to overcome the limitation of
Greenberg's model for free-flowing traffic and put forward an exponential model as shown in Figure 12.
Underwood calibrated the two parameters of the model (i.e. the free-flow speed, 𝑣3 , and the optimal
density, 𝑘! ) at two locations: the Merritt Parkway in Connecticut (same as the calibration location for the
Greenberg model) and at the Princess Highway in Victoria (south Australia). In Underwood's model, speed
becomes zero only when density reaches infinity. Some academics consider this as a drawback of this model,
while others postulate that actually, even when traffic density reaches the jam value, 𝑘& , the average speed
is not zero as traffic continues moving forward in a stop and go fashion. Hence, using Underwood's model
for predicting speeds at high densities is still acceptable.
- 18 -
Francesc Soriguera
Associate Professor
6787
𝑣 = 𝑣3 . 𝑒 #
𝑣𝑓
Discussion
about accuracy
in this zone
𝑘𝑂 𝑘𝑗 𝐤
6787
𝑣𝑓 𝑣 = 𝑣3 . 𝑒 #
𝑘&
𝑣𝑂 𝑣 = 𝑣! . ln ` a
𝑘
𝑘0 𝑘𝑗 𝐤
Underwood Greenberg
• Leslie C. Edie proposed for the first time a two-regime model, using the Underwood model for free-flow
conditions, and the Greenberg model for congested traffic, resulting in a discontinuous exponential form
(see Figure 13). Edie's proposal requires the calibration of 4 parameters: the free-flow speed, 𝑣3 , the jam
- 19 -
Francesc Soriguera
Associate Professor
density, 𝑘& , and the breakpoint between free-flowing and congested traffic (i.e. the optimal point at capacity,
𝑣! and 𝑘! ). Note that the calibration of "optimal" values at capacity is more cumbersome than those of
parameters at jam or light traffic conditions, because establishing that a particular traffic state corresponds
to capacity conditions is not evident and easily determined. This is the reason why 𝑣! and 𝑘! are usually
determined from statistical regression, without much support from its physical interpretation. This can be
seen as a drawback (e.g. of Greenberg, Underwood or Edie's models) with respect to other models (e.g.
Greenshields) relying only of free-flow or jam parameters.
As an end for this section devoted to traffic diagrams, it should be understood that from the functional form of
one diagram (e.g. a 𝑘-𝑣 model) all the other derived diagrams (i.e. all the possible 2-dimensional plots of different
combinations of variables) can be obtained using the fundamental equation of traffic. It is a good exercise for
practicing to derive the different type of diagrams that would result, for instance, from the linear Greenshields
𝑘-𝑣 model. For illustrative purposes, Figure 14 shows the conceptual generic form of several possible diagrams.
𝑣 𝑣 𝑞
𝑣$ 𝑣#
𝑣2 𝑣2 1
𝑣- 1 𝑞/01
1
𝑣'
𝑣' 𝑞- 𝑤
1/𝑘! = 𝑠!
𝑞/01
𝑠"
𝑘 𝑞 𝑘
𝑘- 𝑘. 𝑞/01 𝑘.
𝑝 𝑣
𝑝
1
𝑞/01
1/𝑣' 𝑡𝑡' 𝑣2
𝑘- 1 1/𝑞%&'
𝑡𝑡2
1/𝑞!
𝑡𝑡2 1
𝑞/01 𝑞 𝑘. 𝑘 𝑠. = 𝑘.,- 𝑠 = 𝑘 ,-
- 20 -
Francesc Soriguera
Associate Professor
Despite the HCM expansion to multiple types of infrastructures, and the incorporation of computational
procedures, the essence of the HCM is still the same as in its origins. It consists on a methodology to define
different levels of service (LoS) on “traffic” diagrams measured in the different types of infrastructures (see Figure
15). LoS are categorized between A to F, where A is the best LoS possible, E corresponds to capacity and F to
congested states in the infrastructure. The typical application of the HCM consists in the evaluation of the LoS in
a given infrastructure for a particular demand input.
A
𝑣3
B
C
D
E
F
𝑞4 = Equivalent flow in
ideal conditions
𝒒
1 A𝒒𝒆
- 21 -
Francesc Soriguera
Associate Professor
In line of our previous discussion of traffic diagrams, two warnings should be risen in relation to the usage of
traffic engineering manuals:
• Traffic diagrams result from statistical regression of empirical data to some selected functional form.
Many errors could exist in this calibration process (e.g. wrong specification of the functional form, low
correlation of the function to data, small statistical significance due to the lack of data, …) which are not
evident from the utilization of the manual. This implies that the utilization and results of this type of
manuals give a false sense of precision.
• Traffic diagrams are valid for the particular infrastructure and driver types for which they were
measured. Diagrams may not hold for a particular application where some of the boundary conditions
are different.
In conclusion, the warning is that results of applying traffic engineering manuals are not precise and may be
unreliable. So, do not make important decisions made only on their outputs, without taking your own
measurements and making comparative assessments.
The first and fundamental macroscopic approach to traffic flow modelling is the LWR (Lighthill-Whitham-
Richards) model, also named the continuous model of traffic flow, the kinematic wave theory, or the shock-wave
theory. All refer to the same original model by LWR. This is a traffic flow model for heavy traffic (i.e. dense,
queued traffic) where an increase of the traffic density implies a reduction in the average travelling speed, and
vice versa (see Figure 16).
- 22 -
Francesc Soriguera
Associate Professor
𝒗 𝒗
2
2
𝑞- = 2𝑞"
1
1
𝑞"
𝑘. 𝒌 𝒒
Note that the causality for heavy traffic can be twofold. One possibility is that it appears as a result of a flow
restriction (Case a; see Figure 17). When the demand is large, approaching or going above the maximum flow
that can go through the restriction, the density of vehicles upstream of the bottleneck grows leading to a speed
reduction to ensure safety. Another option is that heavy traffic appears as a result of a speed limitation or a
moving bottleneck on the infrastructure (Case b; see Figure 18). In such case, drivers need to adapt to the lower
restricted travelling speed, accepting a higher density of vehicles.
𝑞" ≥ 𝑞$45
𝑞- = 𝑞$45 𝑞$45
𝑞$45
𝑣- =
𝑘(𝑞$45 )
- 23 -
Francesc Soriguera
Associate Professor
𝑉-
𝑣' < 𝑣-
𝑉1
𝑞- 𝑞5 , 𝑘5 , 𝑣5 = 𝑣'
𝑘5 = 𝑘(𝑣' )
𝑞5 = 𝑘5 𝑣'
Causality
In any case, whenever a vehicle joins or leaves a congested traffic state, there is a transition to the new traffic
state, which involves a deceleration or an acceleration process. The LWR traffic flow theory for dense traffic aims
to predict the evolution of these transitions. The theory is based on the hydrodynamic analogy and considers
that traffic state transitions are propagated as waves. Whenever there is a change in the traffic state, a traffic
wave is generated. A wave is a transition, an interphase between different traffic conditions (i.e. different 𝑞, 𝑘
or 𝑣̅ ). The crossing of a wave informs drivers that they need to adapt to the new traffic conditions. Traffic waves
evolve in time and space and they have their own trajectories. It is not the trajectory of any vehicle, but the
- 24 -
Francesc Soriguera
Associate Professor
trajectory of information, the trajectory which locates in time and space the changes in traffic conditions. As an
example, Figure 20 shows (in red) the traffic waves generated when vehicles decelerate to stop in a traffic signal
for accelerating later on, when the signal turns green. Note that if we could predict the evolution of these waves,
we could predict the evolution of traffic states and their transitions, which is precisely the objective of a
macroscopic traffic flow model. In summary, LRW theory deals with the prediction of the trajectories of the traffic
waves. The following link illustrates quite well the concept of a traffic wave (https://youtu.be/Fn3HMAaEfcQ).
Delay
Red
𝑢
∆𝑞
𝑢=
∆𝐾
Given the previous context, the LWR theory assumes two postulates:
With these two postulates, it is possible to predict the speed of a traffic wave between any two given traffic
states.
- 25 -
Francesc Soriguera
Associate Professor
in space), the trajectory defined by the traffic wave is linear (i.e. constant speed). The objective is to determine
the speed, 𝑢, of this traffic wave given the traffic variables defining 𝑈 and 𝐷 (i.e. (𝑞A , 𝑘A ) and (𝑞B , 𝑘B ).
𝒙
𝐷(𝑞 # , 𝑘 # ) Interface
2 B
𝑥2
Traffic states:
• Downstream (𝐷)
• Upstream (𝑈)
𝐿 3
𝑢 4
𝑥1 𝑈(𝑞 $ , 𝑘 $ )
A 1
𝑇 𝒕
𝑡1 𝑡2
Figure 21. Derivation of the speed of a traffic wave from the conservation equation.
To this end, the conservation equation can be used. Look at Figure 21 and recall the derivation process for the
conservation equation. Then, it should be clear that we can formulate the following:
𝑚" + 𝑛/ = 𝑚- + 𝑛0
Where 𝑚 and 𝑛 are the number of vehicle trajectories crossing the borders of the control area in time – space.
Subscripts refer to the particular borders considered.
We can rearrange the terms according to if they belong to a border of the region in 𝑈 or 𝐷. This is:
𝑚" − 𝑛0 = 𝑚- − 𝑛/
𝑞A 𝑇 − 𝑘A 𝐿 = 𝑞B 𝑇 − 𝑘B 𝐿
𝐿 𝐿
𝑞A − 𝑘A = 𝑞B − 𝑘B
𝑇 𝑇
- 26 -
Francesc Soriguera
Associate Professor
𝑞A − 𝑘A 𝑢 = 𝑞B − 𝑘B 𝑢
And finally:
𝑞A − 𝑞B Δ𝑞
𝑢= =
𝑘A − 𝑘B Δ𝑘
The conclusion is that the speed of the shockwave between two stationary traffic states can be determined by
the increase in the flow over the increase in the density of the colliding traffic states. Note that 𝑢 could be positive
(i.e. in the same direction of traffic) or negative (i.e. against traffic), depending on the properties of the colliding
traffic states. This solution is of great importance as it allows to predict the evolution of the interphases between
different traffic states. Note for instance that if 𝑈 was a free-flowing traffic state and 𝐷 a congested one, the
interphase between them would be the end of the queue, and the previous expression would allow to predict
the evolution of the end of the queue (i.e. the queue extension).
2
The Bureau of Public Roads (BPR) function is a classical relationship between the travel time (𝑡𝑡) in a network link as a
function of its travelling flow (𝑞). The traditional expression of the BPR function is:
𝑞 "
𝑡𝑡 = 𝑡𝑡2 H1 + 𝛽 K L M
𝑞/01
Where 𝑡𝑡2 is the free flow travel time and 𝑞/01 the capacity of the link. 𝛽 and 𝑛 are two calibration parameters, whose
classical values are 𝛽 = 0.15 and 𝑛 = 4, but today often varying by link type. Note that the BPR function implies that 𝑡𝑡 is
continuously increasing with 𝑞. While this is valid for free-flowing traffic, it does not represent congested conditions, where
𝑡𝑡 increase for decreasing 𝑞 (see the 𝑝 - 𝑞 diagram in Figure 14). So, the BPR function should be applied with much caution
in oversaturated networks.
- 27 -
Francesc Soriguera
Associate Professor
1- = 𝑠𝐷
𝐾𝐷 Traffic states:
• Downstream (𝐷)
• Upstream (𝑈)
𝐷(𝑞 # , 𝐾 # )
1- = 𝑠𝑈 −𝑢
𝐾𝑈
𝑈(𝑞 $ , 𝐾 $ )
Interface
Figure 22. Representation of a traffic wave with negative speed (i.e. against traffic direction).
In particular, on the 𝑘-𝑞 diagram, it results particularly easy to visualize the speed of a traffic wave between two
different traffic states. Take for instance the traffic states 𝑈 and 𝐷 shown in Figure 22. Recall that the speed, 𝑢,
of the traffic wave determining the transition between them is obtained as ∆𝑞 ⁄∆𝑘, which in the 𝑘-𝑞 plane
represents the slope of the straight line joining traffic states 𝑈 and 𝐷 (see Figure 23). Note that all “slopes” on
the 𝑘-𝑞 plane have units of speed, since according to the fundamental equation of traffic, 𝑣 = 𝑞 ⁄𝑘.
𝒒
(𝑘 B , 𝑞B ) 𝑞A − 𝑞B Δ𝑞
𝑢= A =
𝑘 − 𝑘B Δ𝑘
∆𝑞 𝑢
∆𝑘
𝑣B (𝑘 A , 𝑞A )
𝑣A
- 28 -
Francesc Soriguera
Associate Professor
From conservation:
𝑞𝑚𝑎𝑥 ∆𝑞
𝑢"- =
𝑈 ∆𝑘
∆𝑘
𝑞𝑈
𝑢"- ∆𝑞
𝑞𝐷
𝐷
𝑣A
𝑣3 𝑣B
𝑘0 𝒌
𝑘𝑈 𝑘𝐷 𝑘𝑗
Also, the relative flow, 𝑞! , seen by a moving observer travelling at speed 𝑣! has a direct representation on the
fundamental diagram (see Figure 25). It is just needed to draw an auxiliary straight line with slope 𝑣! through
the origin. Then, for any prevailing traffic state 𝐴, the relative flow seen by the observer is identified in the
diagram as the vertical separation between the auxiliary line and the diagram. Note that this construction would
also hold for traffic states 𝐵, where 𝑣C < 𝑣! , and that in such case the relative flow is negative, as the distance
between the auxiliary line and the diagram follows the opposite direction of the coordinate axis for 𝑞.
- 29 -
Francesc Soriguera
Associate Professor
𝐴
𝑞𝐴
Observer
𝑞!
𝑞! = 𝑞E − 𝑘E . 𝑣!
𝑣E
𝑣F 𝐵
𝑘E . 𝑣!
𝑘𝐴 𝒌
Only two possible situations can arise in a traffic state change: i) an acceleration transition (i.e. vehicles moving
to a faster traffic state), or ii) a deceleration transition (i.e. vehicles moving to a slower traffic state; joining a
queue for instance). First, consider case i) and assume a group of vehicles travelling behind a slow truck (i.e. a
moving obstruction) until 𝑡" , when the truck exits the road (see Figure 26). Just after 𝑡" , the vehicle immediately
after the truck will start accelerating to recover his free-flow speed. In his acceleration, this vehicle will travel at
all the intermediate speeds between the speed of the truck, 𝑣C (i.e. the one at the start of the acceleration) and
the free-flow speed, 𝑣D (i.e. the one at the end of the acceleration process). In every differential increase of
speed, the traffic state changes, and a traffic wave is generated to inform the following vehicles of this transition.
When these waves sequentially hit the following vehicles, they start accelerating and modifying their speeds
accordingly. Note that the speed of the traffic wave generated by a differential increase in the speed while in
state 𝐵, is determined by the slope of the line tangent to the diagram at 𝐵 (see Figure 27). Given the concave
shape of the fundamental diagram, it is not difficult to visualize that the infinite number of traffic waves
generated by the leading vehicle when accelerating from 𝑣C to 𝑣D always grow in speed (i.e. from very negative,
to zero at capacity, and turning positive afterwards), so that, when represented in the 𝑥 - 𝑡 plane they create a
"fan" of waves. Keep in mind that waves arise from bottlenecks or any other type of disturbance. This is
represented in Figure 26 and Figure 27 showing only a selection of the infinite traffic states generated (i.e. traffic
states C, D, E, F and G). You can see in Figure 26 how the acceleration process is sharp for the first vehicles after
the truck and it is more and more smooth for vehicles further behind Probably you have experienced this
phenomenon while driving in a similar context.
- 30 -
Francesc Soriguera
Associate Professor
𝐻
𝑣D
𝐵 Infinite number of
𝑥-
interphases for an
𝑣C infinite number of
different speeds
Fan of
waves
𝑡- 𝒕
𝒒 G F
E
H
D
𝑢=>
C
𝑢?=
𝑣= B
𝑣?
𝒌
Figure 27. Traffic states in an acceleration process.
The trajectories of traffic waves on the 𝑥 - 𝑡 plane define the regions where the different traffic states prevail. In
particular, we know the average speed that vehicles will experience at any point in 𝑥 - 𝑡. This accomplishes our
traffic flow modeling objective, because we can predict the trajectory of any vehicle given its initial position in
the 𝑥 - 𝑡 plane (see Figure 28).
- 31 -
Francesc Soriguera
Associate Professor
𝒙 Predicted trajectory
Disturbance
G
𝑥-
D
C
B
𝑡- 𝒕
The second possible type of traffic transition is a deceleration process. Just consider a situation where vehicles
need to slow down when joining a queue, from free-flow, 𝑣E , to the slow speed in the queue, 𝑣G . As in the
acceleration case, an infinite number of traffic waves are generated at every differential reduction of the
travelling speed. The main difference in this case is that the speeds of the generated waves decrease along the
deceleration process. This can be seen by looking at the slopes of the tangents to the fundamental diagram when
moving from traffic state A to F (see Figure 29). When representing these traffic waves on the 𝑥 - 𝑡 plane, they
do not fan out as in the acceleration case, but they tend to concentrate and collide (see Figure 30). When two
traffic waves collide, the traffic state between them vanishes and a new wave is generated splitting, now, two
very different traffic states, because the existing smooth transition between them has vanished (see Figure 31).
This new strong wave which results from the collision of two "soft" waves receives the name of a "shock", or
more specifically of a "shockwave". So, a shockwave is a strong traffic wave which determines a change of traffic
state not passing for all the neighboring states. Still, the speed of a shockwave is determined by 𝑢 = ∆𝑞⁄∆𝑘, the
difference in flow with respect to the difference in density of the colliding traffic states. By looking at Figure 31
you can realize that traffic waves and shockwaves will keep colliding until all the intermediate states vanish.
Finally, only one shockwave remains, 𝑢EG , splitting traffic states A and F. This means that, while first drivers may
experience a soft deceleration process, later ones will find a sharp change of speed when joining a queue. Again,
this reflects what we experience in real traffic.
- 32 -
Francesc Soriguera
Associate Professor
𝑢𝐶𝐷
𝑢?= C D
B Shockwaves' speed
𝑢A?
A E
𝑣@
𝒙
Leader
𝑣𝐸 𝑣𝐹
𝑣𝐷 The waves' speed is
determined according to
𝑣𝐶
∆𝑞 ⁄∆𝑘 on the 𝑘-𝑞 diagram
𝑣𝐵
Waves
𝑢A?
Spacing according to 𝑘-𝑞
𝑣𝐴
- 33 -
Francesc Soriguera
Associate Professor
𝒙
𝑢
>
F
𝑣𝐸 𝑣𝐹 𝑢=>
𝑣𝐷 𝑢A> 𝑢AF
𝑣𝐶
𝑢 ?= 𝑢A=
𝑣𝐵
𝑢A@ 𝑣𝐹
𝑢 A? Finally:
𝑢A?
𝑣𝐴
6.4. Simplifications
It is clear that the LWR theory as it is, with infinite number of shocks and waves, is not convenient for being
applied in real practice. To solve these inconveniences two assumptions (or simplifications) are made. These are:
Instantaneous accelerations
Assuming instantaneous acceleration / deceleration processes allows simplifying the application of LWR theory,
especially in the deceleration processes where an infinite number of waves collide and create new shocks. Note
that if the deceleration process is neglected, and therefore vehicles' trajectories are piecewise linear (as in Figure
32), then only one shock is created (i.e. the shock between the initial and the final traffic states). This means that
the smooth deceleration transition, experienced by some of the initial drivers after the disturbance, is neglected.
Actually, this does not imply a severe drawback, as this transition between multiple traffic states take place only
on a very limited 𝑥 - 𝑡 region. The evolution of the traffic states that persist in time (e.g. tracking the evolution
of queues) is not affected much by this simplification, which in contrast simplifies a lot the application of the
theory.
- 34 -
Francesc Soriguera
Associate Professor
𝒙
Vehicle “𝑖”
Convert trajectories to
piecewise linear functions
𝑢𝐴𝐹
Shock
∆𝑡
Small 𝒕
In the mid 1990's, prof. Gordon F. Newell at the University of California, Berkeley proposed to use a triangular
diagram in the application of the LWR theory. Newell justified that the triangular diagram is not only easier to
work with, but actually it is more realistic to reproduce the behavior of today's real highway traffic. In fact,
diagrams that are calibrated today with many available data points, resemble the triangular shape, possibly with
the only exception of not having such a sharp vertex at capacity, which typically is smoother.
The benefit of using a triangular fundamental diagram is that between any pair of congested traffic states, the
wave speed is the same, 𝑤 (see Figure 33 and Figure 34). 𝑤 is a parameter of the triangular fundamental diagram
named as the "characteristic wave speed" between congested traffic states. The same happens between any
two free-flowing traffic states. The free-flowing branch of the diagram is linear (and with slope 𝑣3 ), meaning that
any traffic state on this branch will travel at the free-flow speed 𝑣3 , and actually, any wave between free-flowing
traffic states will also travel at 𝑣3 . This implies that free-flowing waves do not cross the trajectory of any vehicle,
but travel with them (see Figure 35).
In conclusion, with the simplification of instantaneous accelerations and with the assumption of a triangular
fundamental diagram, the application of the LWR theory with pen and paper to simple traffic flow problems is
straightforward, as we are going to see in the next example.
- 35 -
Francesc Soriguera
Associate Professor
𝑞/01
2
D
1
𝑣> B
𝑣? C
𝑣2
𝑣= 𝑤
𝑘. 𝒌
𝒙
Vehicle “𝑖”
𝑣𝐷
𝑣𝐶 𝑤
𝑤
𝑣𝐵
Figure 34. Shockwaves between three different congested traffic states (B, C and D) assuming a triangular
fundamental diagram.
- 36 -
Francesc Soriguera
Associate Professor
𝒙 Wave
ℎ- ℎ5
𝒕
Figure 35. Shockwave between two free flowing traffic states (1 and 2) assuming a triangular fundamental
diagram.
Consider a 𝑞E = 6000 veh/h traffic flow travelling on a 3 lane freeway. At time 𝑡 = 0 this traffic flow is disrupted
by a vehicle breakdown at the location 𝑥 = 0. This incident blocks one lane during 30 min. (i.e. from 𝑡! = 0 until
𝑡" = 30 𝑚𝑖𝑛). Figure 37 represents the flow (𝑞) – density (𝑘) diagram for one lane of the freeway.
𝑣E
𝑞C = 𝑞B 30 min. duration
𝑘C
𝑣C
Figure 36. Incident on a three lane freeway.
- 37 -
Francesc Soriguera
Associate Professor
𝒒 (veh/h)
2200
22 km/h
110 km/h
𝒌 (veh/Km)
20 120
Figure 37. One lane fundamental diagram (veh/km)
𝒒 (veh/h)
6600
4400 3 lanes
2 lanes
𝑤 = 22 km/h
110 km/h
𝒌 (veh/Km)
40 60 240 360
Figure 38. Two and three lane fundamental diagrams (veh/km)
- 38 -
Francesc Soriguera
Associate Professor
Note that the problem considers triangular fundamental diagrams. As commented, this is the common
simplification in the application of LWR theory, initially proposed by prof. G.F. Newell in the 1990's, that not only
simplifies the problem, but also triangular diagrams are in general more accurate that the previously used
parabolic shapes.
The solution to the problem consists in predicting the evolution of traffic states in (𝑥, 𝑡). It is recommended to
locate the 𝑥 = 0 reference at a relevant point in the problem, which allows to visualize upstream and
downstream traffic (i.e. somewhere in the middle of the (𝑥, 𝑡) diagram, as in Figure 39).
30 min.
t0 t1 𝒕
(ve
Next step consists in identifying the initial and contour conditions. This is critical, as it will determine the solution.
The identification of the intervening traffic states can be done on the fundamental diagrams, as in Figure 40.
𝒒 (veh/h)
C
6600
6000 A
D B
4400
W = 22 km/h
110 km/h
𝒌 (veh/Km)
40 60 240 360
Figure 40. Traffic states identification on the fundamental diagram.
(veh/km)
- 39 -
Francesc Soriguera
Associate Professor
Traffic state 𝐴 is the traffic demand. This applies before and after the incident for the whole freeway section.
Note that the flow of state 𝐴 is 𝑞E = 6000 veh/h, larger than the capacity of 2 lanes, of 4400 veh/h. This implies
that the incident will create a queue. The bottleneck at the incident location will discharge the maximum possible
flow (i.e. the capacity of 2-lanes, 4400 veh/h). Therefore, the queue that will appear in the 3-lane freeway
upstream of the 2-lane bottleneck will be represented by state 𝐵 in the previous figure. This is a congested traffic
state with the flow equal to 𝑞C = 4400 veh/h (i.e. same as the capacity of 2-lane bottleneck). Downstream of
the bottleneck, the flow still needs to be the same (i.e. conservation), but traffic will be free-flowing on a three
lane section. This is represented by state 𝐷, with 𝑞B = 4400 veh/h. Finally, one additional traffic state needs to
be considered. This is the discharge flow when the full capacity of the 3-lane is recovered (i.e. at 𝑡 = 30𝑚𝑖𝑛).
Queues always discharge at the full available capacity, in this case 6600 veh/h. This is represented by traffic state
𝐶. Once the intervening traffic states have been identified, they can be located on the previous (𝑥, 𝑡) diagram
(see Figure 41).
𝒙
D A
A C
30 min.
t0 t1 𝒕
B C A
A
(ve
Figure 41. Traffic states location on the 𝒙 - 𝒕 diagram.
Finally, it is necessary to identify the shockwaves delimiting each traffic state, which will allow to determine the
traffic evolution in the (𝑥, 𝑡) diagram. This is done with the help of the fundamental diagram and the graphical
derivation of the speeds of the shockwaves (see Figure 42).
𝒒 (veh/h)
∆𝑞 6000 − 4400
C 𝑢A? = = = −15,2𝑘𝑚/ℎ
6600 ∆𝑘 54,5 − 160
6000 A
6000 4400
D B 𝑘A = = 54,5 ; 𝑘? = 360 − = 160𝑣𝑒ℎ/ℎ
4400 110 22
W = 22 km/h
110 km/h
40 60 240 𝒌 (veh/Km)
360
Figure 42. Shockwave identification. (veh/km)
- 40 -
Francesc Soriguera
Associate Professor
𝑡𝑞 A
30 min.
t0 t1 t2 𝒕
B w C
A uAB (ve
𝑣$ =110 km/h
𝑥G A
And this is the final solution of the problem, as it allows to predict the evolution of the queued state 𝐵. Note that
the queue grows against traffic at a speed 𝑢EC (i.e. creation shockwave) and it dissolves when the incident is
cleared and also from the incident location and against traffic at a speed 𝑢CH = 𝑤 (i.e. dissolving shockwave).
When these to waves collide, they determine the end of the queued state 𝐵. So, you can observe that the queue
has reached the location 𝑥I upstream of the incident and lasts a duration 𝑡I since the start of the blockage. Also
note that the queue does not discharge completely until 𝑡- , when the effects of the incident at 𝑥! finally end. If
you wish, you could predict the average trajectory of any vehicle, as you know the prevailing speeds in each
traffic state zone. One possible trajectory in blue is shown as an example.
Below, you can find the necessary calculations to determine these times and locations.
15.2 · 𝑡I − 22 · 𝑡I = −11
𝑡I = 1.6ℎ
- 41 -
Francesc Soriguera
Associate Professor
In spite of this, the LWR model has its limitations, which are going to be described next:
1. The LWR model does not consider differences between vehicles. All the vehicles are assumed to have the
same properties (e.g. same free-flow speed). Density, for instance, is an absolute variable and it is not
stratified by vehicle types with different free-flow speeds. This has some implications in the results, and the
theory does not predict, for instance, that when traffic is opened after a road closure (or red signal)
downstream of the restriction first are seen the faster vehicles. Also, LWR theory cannot predict overtakings
or relative flows. This is a common drawback of macroscopic models, although some attempts have been
done to develop macroscopic traffic flow models with different vehicle classes (e.g. the slugs and rabbits
model by prof. Carlos F. Daganzo). In summary, LWR theory is a bad model for analyzing light traffic when
differential speeds play a role. In contrast, it is good for dense and congested traffic states, when the speeds
of all vehicles are approximately the same.
2. Theory neglects "waves" and only works with "shocks". This is the price to pay for simplifying the model by
neglecting acceleration and deceleration processes. The implications of this simplification in the results are
that shockwaves should not be interpreted as precise trajectories. They should be interpreted as time-space
zones where traffic changes state (i.e. a shock wave should not be interpreted as a thin line, but as a wide
line or region). You cannot predict the evolution of a queue to the precision of a few meters, but only
hundreds of meters. Figure 32 should be interpreted as in Figure 44, where the shock defines a transition
zone.
𝒙
Vehicle “𝑖”
Shockwave transition
zone
∆𝑡
Small 𝒕
3. Traffic is always stable according to LWR. The continuous theory of traffic does not predict stop&go behavior
inside congested traffic states. It just predicts the average speed for the congested state, as given by the
fundamental diagram. However, in reality this average speed results from periods when the vehicle is
stopped and periods when the vehicle travels faster. This unstable behavior is not reproduced in the LWR
model. This implies that it is a bad model to analyze anything which is significantly affected by stops and
accelerations. For instance, pollution emissions of traffic depend largely on stops and accelerations. If you
use LWR to estimate emissions, these would be largely underestimated, because constant speeds, which
much smaller emissions, are assumed inside queues instead of stop&go.
• Macroscopic modeling, and specifically LWR model, is a perfect and robust tool to predict the evolution
of congested traffic states to the precision of hundreds of meters.
• However, it is a bad model to be used in light traffic, or to predict the details of what happens inside of
the queues (i.e. stop&go).
These limitations give rise to microscopic traffic flow models, were the objective is to predict the trajectories of
individual vehicles, with all their details.
- 43 -