Lecture 03 - Queuing Theory - 1
Lecture 03 - Queuing Theory - 1
Chapter 14
To accompany
Quantitative Analysis for Management, Tenth Edition,
by Render, Stair, and Hanna © 2008 Prentice-Hall, Inc.
Power Point slides created by Jeff Heyl © 2009 Prentice-Hall, Inc.
Learning Objectives
After completing this chapter, students will be able to:
1. Describe the trade-off curves for cost-of-
waiting time and cost-of-service
2. Understand the three parts of a queuing
system: the calling population, the queue
itself, and the service facility
3. Describe the basic queuing system
configurations
4. Understand the assumptions of the common
models dealt with in this chapter
5. Analyze a variety of operating characteristics
of waiting lines
© 2009 Prentice-Hall, Inc. 14 – 2
1
11/16/2020
Chapter Outline
14.1 Introduction
14.2 Waiting Line Costs
14.3 Characteristics of a Queuing System
14.4 Single-Channel Queuing Model with Poisson Arrivals and
Exponential Service Times (M/M/1)
14.5 Multichannel Queuing Model with Poisson Arrivals and
Exponential Service Times (M/M/m)
14.6 Constant Service Time Model (M/D/1)
14.7 Finite Population Model (M/M/1 with Finite Source)
14.8 Some General Operating Characteristic Relationships
14.9 More Complex Queuing Models and the Use of
Simulation
Introduction
◼ Queuing theory is the study of waiting lines
◼ It is one of the oldest and most widely used
quantitative analysis techniques
◼ Waiting lines are an everyday occurrence for
most people
◼ Queues form in business process as well
◼ The three basic components of a queuing
process are arrivals, service facilities, and the
actual waiting line
◼ Analytical models of waiting lines can help
managers evaluate the cost and effectiveness
of service systems
2
11/16/2020
3
11/16/2020
* Service Level
Optimal
Figure 14.1 Service
Level
© 2009 Prentice-Hall, Inc. 14 – 7
4
11/16/2020
10
5
11/16/2020
11
12
6
11/16/2020
e − X
P( X ) =
X!
e − 2 20 0.1353(1)
P (0 ) = = = 0.1353 = 14%
0! 1
e − 2 21 e − 2 2 0.1353(2)
P (1) = = = = 0.2706 = 27%
1! 1 1
e − 2 22 e − 2 4 0.1353( 4 )
P (2 ) = = = = 0.2706 = 27%
2! 2(1) 2
© 2009 Prentice-Hall, Inc. 14 – 13
13
0.30 – 0.25 –
0.25 – 0.20 –
0.20 –
Probability
Probability
0.15 –
0.15 –
0.10 –
0.10 –
0.05 – 0.05 –
0.00 –| | | | | | | | | | 0.00 –| | | | | | | | | |
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9
X X
= 2 Distribution = 4 Distribution
14
7
11/16/2020
◼ Behavior of arrivals
◼ Most queuing models assume customers are
patient and will wait in the queue until they are
served and do not switch lines
◼ Balking refers to customers who refuse to join
the queue
◼ Reneging customers enter the queue but
become impatient and leave without receiving
their service
◼ That these behaviors exist is a strong
argument for the use of queuing theory to
managing waiting lines
15
16
8
11/16/2020
17
Queue
Service Departures
Arrivals Facility after Service
Queue
Type 1 Type 2 Departures
Arrivals Service Service after
Facility Facility Service
18
9
11/16/2020
Service
Facility Departures
Queue
1
Service
Arrivals Facility after
2
Service
Facility Service
3
19
Type 1 Type 2
Queue Service Service
Facility Facility
1 1 Departures
Arrivals after
Service
Type 1 Type 2
Service Service
Facility Facility
2 2
20
10
11/16/2020
21
–
Average Service Time of 1 Hour
|– | | | | | |
0 30 60 90 120 150 180 Service Time (Minutes)
© 2009 Prentice-Hall, Inc. 14 – 22
22
11
11/16/2020
23
24
12
11/16/2020
25
◼ Queuing Equations
◼ We let
= mean number of arrivals per time period
= mean number of people or items served
per time period
◼ The arrival rate and the service rate must be
for the same time period
26
13
11/16/2020
27
28
14
11/16/2020
29
2 2
L= = = = 2 cars in the system
− 3−2 1 on the average
1 1
W = = = 1 hour that an average car
− 3−2 spends in the system
30
15
11/16/2020
2 22 4
Lq = = = = 1.33 cars waiting in line
( − ) 3(3 − 2) 3(1) on the average
2
Wq = = hour = 40 minutes average
( − ) 3 waiting time per car
2
= = = 0.67 = percentage of time
3 mechanic is busy
2
P0 = 1 − = 1 − = 0.33 = probability that there
3 are 0 cars in the system
31
k Pn>k = (2/3)k+1
32
16
11/16/2020
2 2
L= = = = 1 car in the system
− 4−2 2 on the average
1 1
W = = = 1/2 hour that an average car
− 4−2 spends in the system
33
2 22 4
Lq = = = = 1/2 cars waiting in line
( − ) 4( 4 − 2) 8(1) on the average
1
Wq = = hour = 15 minutes average
( − ) 4 waiting time per car
2
= = = 0.5 = percentage of time
4 mechanic is busy
2
P0 = 1 − = 1 − = 0.5 = probability that there
4 are 0 cars in the system
34
17
11/16/2020
k Pn>k = (2/4)k+1
0 0.500
1 0.250
2 0.125
3 0.062
4 0.031
5 0.016
6 0.008
7 0.004
35
36
18
11/16/2020
37
( / )m
L= P +
( m − 1)!( m − ) 2 0
( / )m 1 L
W= P + =
( m − 1)!( m − ) 2 0
38
19
11/16/2020
39
1
P0 = for m
n = m −1 1 n 1 m m
+
n = 0 n! m! m −
P0 = 0.5
= probability of 0 cars in the system
40
20
11/16/2020
( / )m
L= P + = 0.75
( m − 1)!( m − ) 2 0
L 3
W = = hours = 22 1 minutes
8 2
41
3 2 1
Lq = L − = − = = 0.083
4 3 12
1 Lq 0.083
Wq = W − = = = 0.0415 hour = 2 1 minutes
2 2
42
21
11/16/2020
43
44
22
11/16/2020
2
Lq =
2 ( − )
Wq =
2 ( − )
45
L = Lq +
1
W = Wq +
46
23
11/16/2020
47
48
24
11/16/2020
49
n = 0 ( N − n )!
50
25
11/16/2020
51
1
W = Wq +
N!
n
Pn = P for n = 0,1,..., N
( N − n )! 0
52
26
11/16/2020
53
1. 1
P0 = n
= 0.564
5
5! 0.05
n = 0 (5 − n )! 0.5
2. 0.05 + 0.5
Lq = 5 − (1 − P0 ) = 0.2 printer
0.05
54
27
11/16/2020
4. 0.2 0.2
Wq = = = 0.91 hour
(5 − 0.64 )(0.05 ) 0.22
1
5. W = 0.91 + = 2.91 hours
0.50
◼ If printer downtime costs $120 per hour and the
technician is paid $25 per hour, the total cost is
Total (Average number of printers down)
hourly = (Cost per downtime hour)
cost + Cost per technician hour
55
W = Wq + 1/
© 2009 Prentice-Hall, Inc. 14 – 56
56
28
11/16/2020
57
29