Professional Documents
Culture Documents
UEMX 3813 Highway and Transportation: Lecture 2: Fundamentals of Traffic Flow and Queuing Theory Ir. Dr. Khoo Hooi Ling
UEMX 3813 Highway and Transportation: Lecture 2: Fundamentals of Traffic Flow and Queuing Theory Ir. Dr. Khoo Hooi Ling
UEMX 3813 Highway and Transportation: Lecture 2: Fundamentals of Traffic Flow and Queuing Theory Ir. Dr. Khoo Hooi Ling
HIGHWAY AND
TRANSPORTATION
Lecture 2: Fundamentals of
Traffic Flow and Queuing Theory
1/38
Three basic parameters:
Volume, Speed, Density
Traffic count vs traffic volume
Traffic count: counts of vehicles pass through a point during a
specified time period
Ex: 100 vehicles pass through UTAR gate from 8.00am to
8.30am
Traffic volume: the rate where vehicles pass through a
specific point over the time period of an hour
n
q=
t
q: traffic flow rate (veh/time unit)
n: number of vehicle passing the designated roadway point
during time t
t: duration of time interval 2/38
Flow (cont’d)
Time headway: time separation between two
successive vehicles
Time headway, h
3/38
Flow (cont’d)
The time headway is related to t, defined as:
n
t = ∑ hi
i =1
where
t: duration of time interval
hi: time headway of the ith vehicle (the elapsed
time between the arrivals of vehicles I and i-1)
n: number of measured vehicle time headway at
some designated roadway point
4/38
Flow (cont’d)
Can you show how
Average time headway h to derive this from
n
q=
t
1
q=
h
Example: Sevi counted 112 cars and 56
trucks in front of UTAR gate in 10 minutes.
Compute the following:
1. The traffic volume that pass through UTAR main
road
2. The average time headway of the particular traffic
stream
5/38
Flow (cont’d)
Solution:
1. The traffic volume is:
168
q= × 60 = 1008 vph
10
6/38
Speed
1. Time mean speed/spot speed
n
∑u i
ut = i =1
n
10/38
Speed (cont’d)
1. The time mean speed is:
50 + 25 + 100
V = = 58.33
3
2. The space mean speed is:
time taken for vehicles to pass through the
stretch of road= 2hr, 4hr, 1hr.
Average travel time= 2 + 43 + 4 = 7 / 3
Average speed= 100/ (7/3)
= 42.85
11/38
Density
Traffic density measured the number of
vehicles on the roadway segment
Density, k = n
l
n : number of vehicles occupying some length of
roadway at some specified time
l : length of roadway
Unit: veh/km or veh/km/lane
12/38
Density (cont’d)
Space headway: the spacing of the
successive vehicles
s
Space headway, s
13/38
Density (cont’d)
The space headway is related to l, defined as:
n
l = ∑ si
i =1
where
l : the roadway length
si: spacing of the ith vehicle (the distance between
the vehicles I and i-1)
n: number of measured vehicle spacing
14/38
Density (cont’d)
Average spacing:
1
k=
s
15/38
Density (cont’d)
Solution:
The density of the roadway is:
15 + 60 + 2
=k = 77veh/km/lane
0.5 × 2
16/38
Occupancy
Defined as the proportion of time a detector is
“occupied”, or covered, by a vehicle in a
defined time period
Measured density indirectly.
17/38
Relationships among Flow,
Speed and Density
The relationship between traffic flow, speed
and density is:
q = ku
q : flow (veh/hr)
u : speed (km/hr)
k : density (veh/km)
18/38
Example
Vehicle time headway and spacing were
measured at a point along a highway, from a
single lane, over the course of an hour. The
average values were calculated as 2.5s/veh
for a headway and 60 m/veh for spacing.
Calculate the average speed of the traffic.
Ans: 24 m/s
19/38
Basic Traffic Stream Models
Speed-density model
k
=u u f 1 −
uf k
j
u f : free flow speed
Speed
k j : jam density
kj
Density
20/38
Basic Traffic Stream Models
(cont’d)
Flow-density Model k2 Assumption: Linear relationship
=q uf k − of speed-density relationship
k j
qcap
kj
kcap = kcap : density at capacity
2
Flow
uf
ucap = ucap : speed at capacity
2
kcap kj
uf kj
Density qcap = qcap : flow at capacity
4
21/38
Basic Traffic Stream Models
(cont’d)
Speed-flow model
u
=k k j 1 −
uf
uf
u2
Speed
=q kj u −
ucap uf
qcap
Flow
22/38
q, v, k – Greenshield’s
vf
v = vf − k
k
j
Free flow
(measured)
v
Jam Density
(measured)
k
q, v, k – Greenshield’s
kj 2
q = k jv − v
v
f
Free flow
(measured)
Max
v v Flow
Jam Density
(measured)
k q
q, v, k – Greenshield’s
Max Flow vf 2
q = vf k − k
k
q j
qm
tan θ = = vm
km Density at
k Capacity
Free flow
(measured)
Max
v v Flow
Jam Density
(measured)
k q
q, v, k – Greenshield’s
• How do you asses quality of service?
• What region possesses better quality of
service?
Capacity
Same flow!
Example
A section of highway is known to have a free-
flow speed of 90km/hr and a capacity of 3300
veh/hr. In a given hour, 2100 vehicles were
counted at a specified point along this
highway section. If the linear speed-density
relationship is assumed, what would you
estimate the space-mean speed of those
2100 vehicles to be?
Ans: Kj=146.67 veh/km;
2
1.6296u − 146.67u + 2100 =
0
27/38
Models of traffic flow:
Deterministic
Uniform distribution: assume that the vehicle
arrival is equally or uniformly spaced
Example: assume that 10 vehicles arrive at
every 5 minutes for a duration of one hour.
28/38
Models of traffic flow:
Stochastic
Poisson model
Traffic arrival is a random process
Define a distribution to describe the random process
Why Poisson?
Events are random, independent, no memory
Event rate remains constant for the duration of the analysis
The probability that a single event will occur during a short
time interval is proportional to the length of the time interval:
probability for short arrival duration is low
Limitations
Only applicable when the traffic flow condition is less than
500 veh/hr
29/38
Poisson model
Poisson distribution takes the form:
( λ t ) e − λt
n
P (n) =
n!
t : duration of time interval
P ( n ): probability that exactly n vehicles arrive in time
interval t
λ : arrival rate or average flow rate (veh per unit time)
When the vehicle arrival is assumed as Poisson
model, the time headway is exponential distributed.
30/38
Poisson model
Example: A total of 101 vehicles arrived
within the 15-minutes, collected in 60-second
intervals at a specific highway. Calculate the
probability of 0,1,2,3,4,5 vehicles arrive at the
highway. What is the probability that six or
more vehicles will arrive in each of the next
three 60-second time intervals.
31/38
Queuing Theory
Dimensions of queuing models
Arrival pattern: uniform, Poisson
Number of available departure channel/server
Highway lanes, toll booths
Queue discipline: FIFO
Notation:
Arrival rate assumption/departure rate
assumption/number of server
Ex: D/D/1; M/M/2
32/38
Queuing Theory
D/D/1 Queuing
Example: Vehicles arrive at an entrance to a
recreational park. There is a single gate ( at which
all vehicles must stop), where a park attendant
distributes a free brochure. The park opens at 8am,
at which time vehicles begin to arrive at a rate of
480veh/hr. After 20 minutes the arrival flow declines
to 120veh/hr, and it continues at that level for the
remainder of the day. If the time required to
distribute the brochure is 15 seconds.
33/38
34/38
Queuing Theory (cont’d)
M/D/1 Queuing
ρ=
λ ρ :Traffic intensity
µ
Q=
ρ2 Q : Average length of queues
in vehicles
2 (1 − ρ )
t =
2−ρ t : Average time spent in the
2 µ (1 − ρ ) system
35/38
M/D/1 Queuing
Example:
Consider the entrance to the recreational
park discussed in the previous example. If
the average arrival rate is 180veh/hr and
Poisson distributed over the entire period
from park opening time (8am) until closing at
dusk. Compute the average length of queue
(in vehicles), average waiting time in the
queue, and average time spent in the system.
36/38
Queuing Theory (cont’d)
M/M/1 Queuing
ρ2
Q= Q : Average length of queues
1− ρ in vehicles
w=
λ w : Average waiting time in
µ (µ − λ ) queue
1
t : Average time spent in the
t = system
µ −λ
t= w + 1
µ
37/38
M/M/1 Queuing
Example:
Assume that the park attendant in the previous
example takes an average of 15 seconds to
distribute brochures, but the distribution time varies
depending on whether park patrons have questions
relating to park operating policies. Given an average
arrival rate of 180veh/h, compute the average length
of queue (in vehicles), average waiting time in the
queue, and average time spent in the system.
38/38
Reference: Chapter 5: Fundamentals of
traffic flow and queuing theory. Principles of
Highway Engineering and Traffic Analysis;
Mannering, F.L., Kilareski, W.P., Washburn,
S.S.; 3rd edition
39/38