Queueing Systems: Lecture 6
Queueing Systems: Lecture 6
Queueing Systems: Lecture 6
Amedeo R. Odoni
November 1, 2004
Lecture Outline
• Complete discussion of dynamic queues
(qualitative obsrvations)
• Congestion pricing in transportation: the
fundamental ideas
• Congestion pricing and queueing theory
• Numerical example
• A real example from LaGuardia airport
• Practical complications
120
110
1993 1998
100
90
80
70
60
50
40
30
20
10
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
Hour
1. Simulation:
• High level of detail
• May be only viable alternative for complex
systems
• Statistical significance of results?
2. Numerical solution of equations
describing the evolution of queueing
system over time:
• Increasingly practical
• May provide lots of information, such as Pn(t)
Dynamic Behavior of Queues
Demand
Delays (mins) (movements)
40 120
35 105
30 90
25 75
20 60
15 45
10 30
5 15
0
0
0
00
00
00
00
00
:0
:0
:0
:0
:0
:0
:0
1:
3:
5:
7:
9:
11
13
15
17
19
21
23
Dem R1 R2 R3 R4
Congestion pricing:
The basic observation
• The congestion costs due to any specific user
have 2 components:
(1) Cost of delay to that user (internal cost)
(2) Cost of delay to all other users caused by that user
(external cost)
Numerical Example
22 2
σ S2 = = 40.33 sec 2 = 3.11213 ×10 −6 hours 2
12
• Note: We have a M/G/1 system
Numerical Example [2]
λ ⋅ [ E 2 [ S ] + σ S2 ] 90 ⋅ [(0.01) 2 + 3.11213 × 10 −6 ]
Wq = = ≈ 0.0464 hours ≈ 167 sec
2 ⋅ (1 − ρ ) 2 ⋅ (1 − 90 / 100)
λ1 λ λ
Define: c = c1 + c 2 2 + c3 3
λ λ λ
C = c ⋅ Lq = c ⋅ λ ⋅ Wq = (c1 ⋅ λ1 + c 2 ⋅ λ2 + c3 ⋅ λ3 ) ⋅ Wq = c ⋅ Wq
dWq E 2 [ S ] + σ S2 λ ⋅ [ E 2 [ S ] + σ S2 ] 1
= + ⋅ ≈ 5.1556 × 10 − 6 hours ≈ 18.6 sec
dλ 2 ⋅ (1 − ρ ) 2 ⋅ (1 − ρ ) 2 µ
dC dWq
= c1 ⋅ Wq + c ⋅ ≈ $28 + $711 = $739
dλ1 dλ
internal external cost=
cost congestion toll
dC dWq
= c 2 ⋅ Wq + c ⋅ ≈ $85 + $711 = $796
dλ2 dλ
dC dWq
= c3 ⋅ Wq + c ⋅ ≈ $198 + $711 = $909
dλ3 dλ
Generalizing to m types of users…
Si with µ i = E[Si ] ;
−1
service time
λ m m
λ
m
⎛ λi ⎞
ρ= = ∑ ρi = ∑ µi c=∑ ci
µ i= 1 i =1 i ⎝
i= 1 λ
⎠
Generalization (continued)
• As before: C = cLq = cλ W q
dC dW q
giving: MC( i) = = ci W q + c λ
dλ i dλ i
40 50 60
0,001 0,003 0,01
Demand Functions for three types of users
0,00001 0,00002 0,00008
x lambda 1 lambda 2 lambda 3
0 40 50 60
Arrival rate (Users/unit time)
00
00
00
00
00
0
40
60
80
10
12
14
16
18
20
70
60
50
o
Type 1
40
o+ Type 2
30
20
+ Type 3
10
+ o No Fee
0
o + With Fee
0
0
00
00
00
00
00
00
0
20
40
60
80
10
12
14
16
18
20
Total cost ($)
Important to note…
60
40
20
0
5 7 9 11 13 15 17 19 21 23 1 3
(mins
60
per
movt) 40
20
0
5 7 9 11 13 15 17 19 21 23 1 3
Time of day
(Aircraft- 10
hours) 8
0
5 7 9 11 13 15 17 19 21 23 1 3