Escolar Documentos
Profissional Documentos
Cultura Documentos
MODULE
Waiting-Line Models
MD - 1
Outline
Queuing Theory
Characteristics of a Waiting-Line
System
Queuing Costs
The Variety of Queuing Models
Other Queuing Approaches
MD - 2
Learning Objectives
When you complete this chapter you
should be able to:
1. Describe the characteristics of arrivals,
waiting lines, and service systems
2. Apply the single-server queuing model
equations
3. Conduct a cost analysis for a waiting line
MD - 3
Learning Objectives
When you complete this chapter you
should be able to:
4. Apply the multiple-server queuing
model formulas
5. Apply the constant-service-time
model equations
6. Perform a limited-population model
analysis
2014 Pearson Education, Inc.
MD - 4
Queuing Theory
The study of waiting lines
Waiting lines are common situations
Useful in both
manufacturing
and service
areas
MD - 5
SITUATION
ARRIVALS IN QUEUE
SERVICE PROCESS
Supermarket
Grocery shoppers
Automobiles
Doctors office
Patients
Computer system
Programs to be run
Telephone company
Callers
Bank
Customer
Machine maintenance
Broken machines
Harbor
MD - 6
Characteristics of Waiting-Line
Systems
1. Arrivals or inputs to the system
Population size, behavior, statistical
distribution
MD - 7
Arrivals
from the
general
population
Queue
(waiting line)
Service
facility
Daves
Car Wash
Enter
Arrival Characteristics
Size of the population
Behavior of arrivals
Statistical distribution of
arrivals
2014 Pearson Education, Inc.
In the system
Waiting-Line
Characteristics
Limited vs.
unlimited
Queue discipline
Exit
Service Characteristics
Service design
Statistical distribution of
service
Figure D.1
MD - 8
Arrival Characteristics
1. Size of the arrival population
Unlimited (infinite) or limited (finite)
2. Pattern of arrivals
Scheduled or random, often a Poisson
distribution
3. Behavior of arrivals
Wait in the queue and do not switch lines
No balking or reneging
2014 Pearson Education, Inc.
MD - 9
Poisson Distribution
e-x
P(x) =
x!
where
for x = 0, 1, 2, 3, 4,
Poisson Distribution
Figure D.2
e-x
x!
0.25
0.25
0.02
0.02
Probability
Probability
Probability = P(x) =
0.15
0.10
0.15
0.10
0.05
0.05
0 1 2 3 4 5 6 7 8 9
Distribution for = 2
2014 Pearson Education, Inc.
0 1 2 3 4 5 6 7 8 9 10 11 x
Distribution for = 4
MD - 11
Waiting-Line Characteristics
Limited or unlimited queue length
Queue discipline - first-in, first-out
(FIFO) is most common
Other priority rules may be used in
special circumstances
MD - 12
Service Characteristics
1. Queuing system designs
Single-server system, multiple-server
system
Single-phase system, multiphase system
MD - 13
Arrivals
Departures
after service
Phase 1
service
facility
Phase 2
service
facility
Departures
after service
MD - 14
Queue
Service
facility
Channel 1
Service
facility
Channel 2
Arrivals
Departures
after service
Service
facility
Channel 3
MD - 15
Queue
Arrivals
Phase 1
service
facility
Channel 1
Phase 2
service
facility
Channel 1
Phase 1
service
facility
Channel 2
Phase 2
service
facility
Channel 2
Departures
after service
MD - 16
Figure D.4
Negative Exponential
Distribution
Probability that service time is greater than t = e-t for t 1
1.0
0.9
0.8
0.7
0.6
0.5
0.4
0.3
0.2
0.1
|
|
|
|
|
|
|
|
|
|
|
|
0.0 |
0.00 0.25 0.50 0.75 1.00 1.25 1.50 1.75 2.00 2.25 2.50 2.75 3.00
Time t (hours)
2014 Pearson Education, Inc.
MD - 17
MD - 18
Queuing Costs
Figure D.5
Cost
Minimum
Total
cost
Optimal
service level
High level
of service
MD - 19
Queuing Models
The four queuing models here all assume:
1. Poisson distribution arrivals
2. FIFO discipline
3. A single-service phase
MD - 20
Queuing Models
TABLE D.2
MODEL
A
NAME
Single-server
system (M/M/1)
EXAMPLE
Information counter at
department store
NUMBER OF
SERVERS
(CHANNELS)
NUMBER
OF
PHASES
ARRIVAL
RATE
PATTERN
SERVICE
TIME
PATTERN
POPULATION QUEUE
SIZE
DISCIPLINE
Single
Single
Poisson
Exponential
Unlimited
FIFO
MD - 21
Queuing Models
TABLE D.2
MODEL
B
NAME
Multiple-server
(M/M/S)
EXAMPLE
Airline ticket counter
NUMBER OF
SERVERS
(CHANNELS)
NUMBER
OF
PHASES
ARRIVAL
RATE
PATTERN
SERVICE
TIME
PATTERN
POPULATION QUEUE
SIZE
DISCIPLINE
Multi-server
Single
Poisson
Exponential
Unlimited
FIFO
MD - 22
Queuing Models
TABLE D.2
MODEL
C
NAME
EXAMPLE
Constant-service
(M/D/1)
NUMBER OF
SERVERS
(CHANNELS)
NUMBER
OF
PHASES
ARRIVAL
RATE
PATTERN
SERVICE
TIME
PATTERN
POPULATION QUEUE
SIZE
DISCIPLINE
Single
Single
Poisson
Constant
Unlimited
FIFO
MD - 23
Queuing Models
TABLE D.2
MODEL
D
NAME
EXAMPLE
Limited population
(finite population)
NUMBER OF
SERVERS
(CHANNELS)
NUMBER
OF
PHASES
ARRIVAL
RATE
PATTERN
SERVICE
TIME
PATTERN
POPULATION QUEUE
SIZE
DISCIPLINE
Single
Single
Poisson
Exponential
Limited
FIFO
MD - 24
Model A Single-Server
1. Arrivals are served on a FIFO basis and
every arrival waits to be served regardless
of the length of the queue
2. Arrivals are independent of preceding
arrivals but the average number of arrivals
does not change over time
3. Arrivals are described by a Poisson
probability distribution and come from an
infinite population
2014 Pearson Education, Inc.
MD - 25
Model A Single-Server
4. Service times vary from one customer to
the next and are independent of one
another, but their average rate is known
5. Service times occur according to the
negative exponential distribution
6. The service rate is faster than the arrival
rate
MD - 26
Model A Single-Server
TABLE D.3
MD - 27
Model A Single-Server
Queuing Formulas for Model A: Single-Server System,
also Called M/M/1
TABLE D.3
2
( )
( )
Lq
MD - 28
Model A Single-Server
Queuing Formulas for Model A: Single-Server System,
also Called M/M/1
TABLE D.3
=1
[ ]
k+1
MD - 29
Single-Server Example
= 2 cars arriving/hour =
3 cars serviced/hour
Ls
1
1
Ws
2
22
Lq
MD - 30
Single-Server Example
( )
2
3
2
3(3 2)
= 2 cars arriving/hour =
3 cars serviced/hour
Wq =
=
= 2/3 hour = 40 minute
average waiting time
=
=
= 66.6% of
time mechanic is busy
P0 = 1
= .33 probability
there are 0 cars in the system
MD - 31
Single-Server Example
Probability of more than k Cars in the System
K
Pn > k = (2/3)k + 1
.444
.296
.132
.088
.058
.039
MD - 32
Single-Channel Economics
Customer dissatisfaction
and lost goodwill
Wq
Total arrivals
Mechanics salary
2
3
MD - 33
Multiple-Server Model
TABLE D.4
P0
1
n0 n!
M 1
1
M
M ! M
n
for M
MD - 34
Multiple-Server Model
TABLE D.4
LS
M 1 ! M
P0
The average time a unit spends in the waiting line and being serviced
(namely, in the system) is:
WS
M 1 ! M
P0
1 LS
MD - 35
Multiple-Server Model
TABLE D.4
The average number of people or units in line waiting for service is:
Lq LS
The average time a person or unit spends in the queue waiting for service
is:
1 Lq
Wq WS
MD - 36
Multiple-Server Example
= 2
P0
= 3
M = 2
1
n
2
1 2 1 2 2(3)
n0 n! 3 2! 3 2(3) 2
1
1
1
1
2 1 2
2 1 4 6
1
3 3
3 2 9 6 2
.5 probability of zero cars in the system
MD - 37
Multiple-Server Example
LS
1 ! 2(3) 2
(2)(3) 2 / 3
1 2 8 / 3 1 2 3
2
2 3 16 2 3 4
hour
2
8
22.5 minutes average time a car spends in the system
WS
3 2 9 8
1
4 3 12 12 12
.083 average numner of cars in the queue (waiting)
L q .083
Wq
.0415 hour
2
2.5 minutes average time a car spends in the queue (waiting)
Lq LS
MD - 38
Multiple-Server Example
SINGLE SERVER
P0
.33
.5
Ls
2 cars
.75 cars
Ws
60 minutes
22.5 minutes
Lq
1.33 cars
.083 cars
Wq
40 minutes
2.5 minutes
MD - 39
.10
.0111
.25
.0833
.0039
.50
.5000
.0333
.0030
.75
2.2500
.1227
.0147
.90
8.1000
.2285
.0300
.0041
1.0
.3333
.0454
.0067
1.6
2.8444
.3128
.0604
.0121
2.0
.8888
.1739
.0398
2.6
4.9322
.6581
.1609
1.5282
.3541
3.0
4.0
2.2164
MD - 40
Lq
Wq =
NUMBER IN
QUEUE
1 window
8.1
2 windows
.2285
3 windows
.03
4 windows
.0041
TIME IN QUEUE
MD - 41
Constant-Service-Time Model
TABLE D.6
2
Average length of queue: Lq
2
Average waiting time in queue: Wq
MD - 42
Constant-Service-Time Example
Trucks currently wait 15 minutes on average
Truck and driver cost $60 per hour
Automated compactor service rate () = 12 trucks per hour
Arrival rate () = 8 per hour
Compactor costs $3 per truck
Current waiting cost per trip = (1/4 hr)($60) = $15 /trip
1
8
Wq =
=
hour
12
2(12)(12 8)
Waiting cost/trip = (1/12 hr wait)($60/hr cost)
with compactor
Savings with
= $15 (current) $5(new)
new equipment
Cost of new equipment amortized
Net savings
2014 Pearson Education, Inc.
= $ 5 /trip
= $10 /trip
= $ 3 /trip
= $ 7 /trip
MD - 43
Littles Law
MD - 44
Limited-Population Model
Queuing Formulas and Notation for Model D: Limited-Population
Formulas
TABLE D.7
Service factor:
X=
Average number
waiting:
Average
waiting time:
Average number
J =NF(1 - X)
of units running:
Average number
being serviced: H =FNX
Lq =N(1 - F)
Wq =
Average time
in the system:
T
T +U
Lq (T +U)
N - Lq
Ws =Wq +
T(1 - F)
XF
Number in
N =J +Lq +H
population:
1
m
MD - 45
Notation
D=
N=
F=
efficiency factor
T=
H=
U=
J=
Limited-Population Model
Wq =
Lq =
average number
of units
waitingand
for service
= service
factor
Queuing
Formulas
Notation for X
Model
D: Limited-Population
TABLE D.7
M = number ofFormulas
servers (channels)
Service factor:
X=
Average number
waiting:
Average
waiting time:
Average number
J =NF(1 - X)
of units running:
Average number
being serviced: H =FNX
Lq =N(1 - F)
Wq =
Average time
in the system:
T
T +U
Lq (T +U)
N - Lq
Ws =Wq +
T(1 - F)
XF
Number in
N =J +Lq +H
population:
1
m
MD - 46
MD - 47
.012
.048
.999
.025
.100
.997
.050
.198
.989
.060
.020
.999
.237
.983
.027
.999
.275
.977
.035
.998
.313
.969
.044
.998
.350
.960
.054
.997
.386
.950
.070
.080
.090
.100
2014 Pearson Education, Inc.
MD - 48
Limited-Population Example
Each of 5 printers requires repair after 20 hours (U) of use
One technician can service a printer in 2 hours (T)
Printer downtime costs $120/hour
Technician costs $25/hour
2
Service factor: X = 2 + 20 = .091 (close to .090)
For M = 1, D = .350 and F = .960
For M = 2, D = .044 and F = .998
Average number of printers working:
For M = 1, J = (5)(.960)(1 - .091) = 4.36
For M = 2, J = (5)(.998)(1 - .091) = 4.54
2014 Pearson Education, Inc.
MD - 49
Limited-Population Example
AVERAGE
AVERAGE
NUMBER
COST/HR FOR
COST/HR FOR
Each
of 5OF
printers
requires repair
after 20TECHNICIANS
hours (U)
NUMBER
PRINTERS
DOWNTIME
TECHNICIANS
DOWN (N J)
(N J)($120/HR)
($25/HR)
of TOTAL
use
MD - 50
MD - 51
All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or
transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or
otherwise, without the prior written permission of the publisher.
Printed in the United States of America.
MD - 52