Traffic Flow - Behaviour and Analysis
Traffic Flow - Behaviour and Analysis
1.1. INTRODUCTION
Shock waves are the boundary conditions, which demark discontinuity in the flow – density
conditions in the time-space domain.
They can be explained as the transition zones between two traffic states moving through a
traffic environment like a propagating wave.
As drivers pass through a shock wave, the sudden change of conditions they experience gives
a major concern (for the transport agency).
To understand the concept of shock waves, consider a traffic stream on a road at a given
flow, density and speed.
q (veh/h)
3
1400
1200 2
1
1000
m2 = 10
m1 = 40
25 70 120
k (veh/km)
Point 1 corresponds to a flow q1 = 1000 veh/h and density k1 = 25 veh/km. Its speed is
therefore u1 = 40 km/h.
1000 1000
The average space headway is therefore d 40m
k 25
Imagine a heavy truck enters the stream, moving at a much lower speed of 10 km/h and
that overtaking is not possible.
The vehicles that follow the truck will therefore be forced to slow down to match the
speed of the truck and will soon form a platoon of vehicles travelling at a speed of 10
km/h.
The platoon will grow behind the truck as vehicles join at the rear side.
The slowing down will make the drivers to adjust their spacing creating a higher
density, which corresponds to point 2.
The platoon is defined by the front of the slow moving truck and the rear of the last
vehicle to join the platoon.
The stream now consists of slow moving vehicles (at 10 km/h) at high density (passing
the capacity point) and keeps on growing as more vehicles join.
Note that there are two boundaries separating three traffic conditions;
In front of the truck where traffic conditions are at free flow (zero density)
Between the front of the truck and the rear of the last vehicle where the platoon
flows at slow speed.
Behind the last vehicle of the platoon where the traffic conditions are at 40 km/h
and the density is 25 veh/km.
Distance
Vehicle in front of the truck
A
Truck
m1 = 40
m2 = 10
A
B’ B’
t0 Time
These shock waves are shown by line AA, which demarcates the platoon conditions from
the free flow conditions in front of the truck.
The second is shown by the line BB, which demarcates the platoon from the approach
conditions (B’ – B’ is shown only for illustration as the point at which vehicles join the
platoon moves relative to the road).
Both shock waves in this example (AA and BB) move with time in relation to the
roadway.
The rate at which the platoon grows depends on the relative speeds of the two shock
waves A - A and B - B.
If it happens that the truck clears the way (either by accelerating or exiting the highway),
the vehicles in the platoon (once stuck behind the truck) will be free to accelerate giving rise
to another shock wave between the released conditions and the platoon conditions.
The speed of the shock wave is given by the slope of the chord, which connects the two
stream conditions e.g. points 1 and 2 in the above diagram.
q2 q1
usw Where 1 and 2 are the two conditions in the direction of the traffic movement
k 2 k1
This equation gives three possible cases (with respect to the roadway);
There are six different types of shock waves as a result of the way and the conditions under
which they are formed.
Consider a lane leading to a traffic signal controlled intersection where the signal turns red.
If we consider a situation where vehicles arrive at a constant rate but at a demand that is
lower than the signal capacity (meaning the lane is lightly trafficked),
Conditions of free flow exist after the signal (i.e. downstream) and some distance on
the upstream.
A queue will be formed behind the signal (from the stop-line) with traffic densities
exceeding those on the free flow sections.
A shock wave will form and will be moving backwards as vehicles join the rear of the
stopped queue.
When the signal turns green, the stopped vehicles will start moving and another shock wave
will be formed, which will also be moving backward, but it will be removing the congestion.
This shock wave will be releasing the congestion and is called the Backward Recovery
Shock Wave, a Shock Wave that recovers the congestion.
At the stop line, during the red signal there will be a shock wave that is not moving at all
(i.e. Stationary Shock Wave).
This shock wave being at the front of the congested section (the downstream of the
congested area) is called the Frontal Stationary Shock Wave.
This example gives us the first three types of shock waves, namely;
Consider a situation where the demand increases to a point that it is equal to the capacity of
the signal (i.e. a point where the length of the congested area remains constant as the input
and output become equal).
This situation will result into another Stationary Shock Wave at the rear of the congested
area called the Rear Stationary Shock Wave.
If the demand drops again to a value below the intersection capacity, a forward recovery
shock wave will be formed and when this Shock Wave meets the Frontal Stationary Shock
Wave, it will end the congestion period.
To summarise the above discussion and introduce the remaining types of shock waves, we
have the following;
Frontal Stationary Shock Wave: This is always present at a location of the bottleneck
where the traffic demand exceeds the capacity.
Backward Forming Shock Wave: This is always present where congestion occurs.
Rear Stationary Shock Wave: This shock wave occurs if the arriving traffic demand
and the flow in the congested section are equal for
some time.
Backward Recovery Shock Wave: This shock wave occurs when the capacity of the
bottleneck increases and exceeds the flow within the
congested section.
Forward Forming Shock Wave: This is a shock wave, which moves in the same
direction with the traffic.
Queue length that may affect the operations of the nearby intersection.
Queue length in the right turning lane that may extend into the through traffic lanes.
NOTE: The shock wave speeds ωij are the slopes of the shock wave vectors.
Consider the traffic at a signalised intersection, the speeds of the various shock waves can be
calculated as follows;
q 2 - q1 0 - q1 q1 q1 - q 3 q1 - 0 q1
ω12 = = = = u1 and ω13 = = =
k 2 - k1 0 - k1 k1 k1 - k 3 k1 - k j k1 - k j
q 2 - q3 0-0
ω 23 = = =0 NOTE: This is a stationary shock wave.
k2 - k3 0 - k j
q2 - q4 0 - q4 q4 q3 - q 4 0 - q 4 - q4
ω24 = = = = u4 and ω34 = = =
k2 - k4 0 - k4 k4 k3 - k 4 k j - k 4 k j - k 4
If r is the time length of the red signal, then the length of the queue at the end of the red
signal is the length EL, which can be calculated from;
r q1
EL r ω13 and r = t 2 - t1
k1 - k j
As the speed of the shock wave is the slope of wave on the space diagram, speeds ω13 and
ω34 can be defined by the angles φ and γ respectively as follows;
QT QT
tanφ ω13 and tan γ ω34 Which gives
r EQ EQ
QT
QT tan φ r EQ but EQ making
tan γ
QT tanφ QT QT 1 1
QT r tanφ and so r QT
tan γ tanφ tan γ tanφ tan γ
The length of the queue at the end of the red signal is given by the length EL and is
calculated from;
EL rω13
The time taken for the maximum length of the queue to form is the distance t1 to t3, which
can be calculated from;
r EQ r t 3 t 2
The length EQ is the time after the red signal that is taken to form the maximum queue
length and is calculated from;
QT rω13ω34 ω13
EQ t 3 t 2 r r r
tanφ ω13 ω34 ω13 ω34 ω13
Another interesting value is the (length of) time from the beginning of the green phase to a
point where the vehicles pass the stop line at the same rate as the upstream flow (i.e. time
t2 to t4 where the discharge drops below the saturation flow).
Note that at t4, the forward recovery shock wave crosses the stop line.
rω13 ω
t4 t2 1 34
ω 34 ω13 ω14
During the morning peak hours, vehicles arrive at the Hosea Kutako/John Meinert signalised
intersection from the northern industrial side at a flow rate of 1800 veh/h/lane with a speed
of 60 km/h. The lanes get jammed at a density of 155 veh/km. At saturation, the road is
known to carry 2100 veh/h/lane with the density of 82 veh/km. If the red signal time is 20
seconds, calculate;
Queuing is a traffic behaviour, which normally occurs on the upper stream of a section of the
road where the demand exceeds the available capacity.
The cause of the capacity reduction of the road is called a server in the queuing theory or
simply a restriction.
When traffic queues are not properly handled or dealt with, they can result in congestion of
the road network.
At-grade crossings with other modes (e.g. railway crossing or pedestrian crossing)
Queuing is a common phenomenon in everyday life and can simply be defined as a line
of customers waiting for the service.
Queuing theory involves analysis of a queuing systems (i.e. systems that involve waiting
lines), and for traffic applications, they are made of;
A stream of vehicles (or customers) who arrive at the service point in need of the
service.
A server, which is a facility that serves the vehicles (or customers) in the queue.
For transportation application, the common discipline used is that of First – In, First –
Out (normally referred to as FIFO or FCFS).
The stream of the vehicles (or customers) arriving at the point of service (called
Arrivals) is defined by arrival function A(t).
After being served, the vehicles (or customers) will depart from the point of service
and if the service time is known, then the departure function D(t) can be defined.
The arrival and departure vehicles (or customers) in the queuing system can either be
OR
These references define the types of queuing models that are used in the study of
queue behaviours and the determination of the basic traffic properties.
The queuing models are described using three alpha-numeric characters, which denote
the following;
The first character (a letter) denotes the assumption made on the arrival rate (D
or M).
The second character (a letter as well) denotes the assumption made on the
departure rate (D or M).
The model D/D/1 will mean the model assumes deterministic arrivals, deterministic
departures with one service channel (departures route).
This is to say, the arrival and the service (and hence the departures) functions
vary over time in some known way.
QUEUE
QUEUE DIAGRAM
DIAGRAM
At
At time
time t,t,
Vehicles
Arriving Vehicles
There
There was
was aa total
total of
of nnaa vehicles
vehicles that
that arrived,
arrived, and
and
There
There was
was aa total of nndd vehicles
total of vehicles departed
departed
This
This resulted
resulted aa queue
queue length
length ofof nnaa –– nndd vehicles
vehicles
of Arriving
...
... Arrival
ArrivalFunction
Function A(t)
A(t)
100
Number of
100
Number
nnaa
80
80
Queue
Queue
60
60 Departure
DepartureFunction
Function D(t)
D(t)
nndd
40
40 nn Delay
Delay
The nnthth vehicle
The vehicle arrived
arrived at
at tt11 and
and departed
departed at
at tt22..
20
20 This
This resulted
resulted aa delay of tt22 –– tt11 minutes
delay of minutes
00 tt11 tt22 tt
00 22 44 66 88 10 ...
...
10
Time
Time (min)
(min)
Example 02:
The traffic police take 15 seconds to check the vehicles travelling from Okahandja to
Windhoek during the morning peak hour at the road block. The vehicles were observed to
arrive at the rate of 420 vehicles per hour at 07:00 dropping to 150 vehicles per hour at
07:30, which further dropped to 90 vehicles per hour at 08:00. Calculate;
i. The maximum time needed to clear the queue that was formed.
ii. The maximum queue length.
iii. The average delay per vehicle.
iv. The average queue length.
However, when either arrival rate, service rate (departures) or both occur at
random, the exact arrival or service time become unknown and hence the
stochastic queuing models are to be used.
Q the average queue size (in the number of vehicles), which includes
the vehicles currently being served.
t the average queuing time (total delay) which includes the waiting
time w and the service time
t
n
et
P(n)
n!
These parameters can be calculated once the following values are known (or
estimated)
The ratio of these two values is termed as the traffic intensity(or utilisation
ratio) and is given by:
This ratio must be less than 1.0 (under saturated system) for the stochastic
models to be useful.
2
Q
2(1 )
w
2(1 )
2
t
2(1 )
2
Q (The mean number of customers in queue – queue size using Little’s Law)
(1 )
w
( ) (1 )
1 1
t
(1 )
λ
E n (Expected number of vehicles in the system)
μλ
λ2
E m (Mean queue length)
μ μ λ
P w t 1 ρe
λt 1ρ
(Probability of spending time t or less in a queue)
P v t 1 e
λt 1ρ
(Probability of spending time t or less in a system)
– In both stochastic models above, the three parameters approach infinity when the
system approaches saturation point (i.e. when λ = µ)
– This is due to the assumption that arrival rate continues indefinitely for the period
of time.
– This is not true where there is a definite non-random peak arrival rate that exceeds
the capacity of the server.
– The validity of these models therefore requires that the system remains
undersaturated.
When a queue allows for a certain maximum number of vehicles to wait, it is termed
as Capacitated (or Finite) Queue.
n 1
P n (Probability of having n vehicles in the system)
1 N1
ρ 1 N 1 ρN NρN1
E n (Expected number of vehicles in the system)
1 ρ 1 ρN1
2.2.2.3. THE M/M/N MODEL
A good example where such a queuing system can be seen is the security
checks at major airports.
The three general queue elements are calculated from the following
equations.
P0N1 1
Q
N!N 1 2
N
ρQ 1
w
λ μ
ρQ
t
λ
1
P 0 N1
nc
N
nc 0 nc !
N! 1 N
P 0 n
P n for nN
n!
P 0 n
P n for nN
N!NnN
P 0 N1
P n N
N!N 1 N
Each vehicle exiting from the Wernhill park mall spends 24 s to do payment. Vehicles arrive at
an average rate of 2 vehicles every minute and only one exit outlet is open.
a. A ramp can hold 40 vehicles before spilling over. During non-peak periods,
the arrival rate on the ramp was 240 vehicles per hour. The entry of the
vehicle on the high speed highway from the ramp allows 250 vehicles per
hour. Determine
3.1. INTRODUCTION
A gap in a traffic stream is the space that separates two vehicles that flow next to each
other.
It can be considered as headway, though the space considered is that from the end of the
front vehicle to the front of the following vehicle.
Gaps exist between vehicles as they move in a stream and hence they are microscopic
parameters.
Availability of gaps is an important factor for drivers when deciding to make manoeuvres on
the road.
Such decisions are not only based on the availability of the gaps (as they are always
available), but their sizes which to the driver’s judgement, they have to be adequate for the
intended manoeuvre to be completed.
Manoeuvres that need the availability of a traffic gaps in a traffic stream include;
Merging.
Weaving.
When a driver is presented with a gap, he has only two possible choices to make;
Reject the gaps (and wait for the next available gap)
It is the time gaps that are important for the drivers in making judgements for their
manoeuvres.
In for example, waiting vehicles from a minor road that intend to merge into a traffic stream
on the major road, the waiting drivers have the option of accepting the available gap and use
it for their manoeuvres or rejecting it.
Waiting time,
Delays
These characteristics are very important when analysing for example priority intersections.
To be able to use the concept of gap acceptance, it is first necessary to define and
understand the critical gap.
A critical gap is defined as the minimum time interval in the main traffic stream that allows
one vehicle from the minor street (a waiting vehicle) to enter the main traffic stream.
For a gap, which is less than the critical gap drivers will reject it while a gap that is equal to
or greater than the critical gap they will accepted it.
If the available gap is large enough to allow more than one vehicle to enter (merge with) the
main traffic stream, the additional gap (to the critical gap) is called the follow up time.
The Highway Capacity Manual 2000 gives equations for the determination of the critical gaps
and follow-up times as well as the base values as follows;
t fx t fb t fHVPHV
If the frequency of the arrival of gaps that are equal to or greater than the critical gap is
known, then it is possible to determine the delay of the vehicles in the minor road that are
intending to merge onto the main traffic stream.
For the light and medium traffic flow on a highway the arrival of vehicles is random and
usually assumed to take the Poisson distribution.
μx eμ
Px
x!
If for the known time T seconds the total number of vehicles that arrived is V, then the
average number of vehicles that arrived per second is given by;
V
λ and μ λt
T
The waiting vehicle can only merge into the main traffic stream if there is a gap of t seconds,
which is equal to or greater than the critical gap.
This is only true if within the time period t seconds there will be no vehicle that has arrived.
λt
0
e λt
P x 0 P 0 P h t e λt
0!
Note two things with the last equation, first it is an exponential distribution and secondly it is
a continuous function as t is a continuous variable (its domain being from 0 to ).
If the number of vehicles arriving during time T is V the number of gaps, which will occur
between this number of successive vehicle will be (V – 1).
The proportion of these gaps that will be accepted by the drivers (i.e. they are equal or
greater than the critical gap t) will be;
Since the total probability is 1.0, then the probability of rejected gaps can be found from;
P h t 1 e λt
And therefore;
N h t V 1 1 e λt
When the main stream is characterised by heavy flow, the analysis of the gap sizes gives
some discrepancies when the gaps are shorter than 1 second.
This is because of the fact that such gaps do not occur in practice as drivers tend to keep a
safe distance from the front vehicle.
This reality is handled by introducing a minimum gap to restrict the range of the headway.
In so doing, the probabilities of the gaps being accepted and rejected become;
P h t 1 e
λ t τ
N h t V 1 e
λ t τ
and
N h t V 1 1 e λ t τ
Example 05:
The peak hour flow within the merging section of a highway is 1620 veh/h. Arrivals of the
vehicles on the highway is assumed to be described by the Poisson distribution. If the
critical gap for the merging vehicles is 3.25 seconds, determine the number of acceptable
gaps for the waiting vehicles.
Example 05:
Heavy traffic flow near the merging area of a highway flows at 2250 veh/h. The minimum
gap in the main traffic stream is 0.5 seconds while the critical gap for the merging
vehicles is 3.5 seconds.