Professional Documents
Culture Documents
McGraw-Hill/Irwin
1-1
Chapter 8A to
Chapter 10
Waiting Line Management
McGraw-Hill/Irwin
1-2
OBJECTIVES
Waiting Line Characteristics
Suggestions for Managing
Queues
Examples (Models 1, 2, 3, and 4)
1-3
Servicing System
Servers
Queue or
Customer
Arrivals
Waiting Line
Exit
1-4
Population Source
Finite
Infinite
Example:
Example:Number
Numberof
of
machines
machinesneeding
needing
repair
repairwhen
whenaa
company
companyonly
onlyhas
has
three
threemachines.
machines.
Example:
Example:The
The
number
numberof
ofpeople
people
who
whocould
couldwait
waitin
in
aaline
linefor
for
gasoline.
gasoline.
1-5
Service Pattern
Service
Pattern
Constant
Example:
Example:Items
Items
coming
comingdown
downan
an
automated
automated
assembly
assemblyline.
line.
Variable
Example:
Example:People
People
spending
spendingtime
time
shopping.
shopping.
1-6
Length
Queue Discipline
Queuing
System
Service Time
Distribution
1-7
Single
Phase
One-person
Single Channel
barber shop
Multichannel
Bank tellers
windows
Multiphase
Car wash
Hospital
admissions
1-8
Degree of Patience
No Way!
BALK
No Way!
RENEG
1-9
10
11
1-11
12
Model Layout
1
Single channel
Source
Population
Infinite
Service Pattern
Exponential
Single channel
Infinite
Constant
Multichannel
Infinite
Exponential
Single or Multi
Finite
Exponential
13
== Arrival
Arrivalrate
rate
==Service
Servicerate
rate
11
Average
service
time
Average
service
time
11
Average
time
between
arrivals
Average
time
between
arrivals
== == Ratio
Ratioof
of total
totalarrival
arrivalrate
rate to
tosevice
sevicerate
rate
for
for aa single
singleserver
server
Lq
Lq Average
Average number
number wai
waiting
tingin
in line
line
1-13
14
LLss == Average
Average number
numberin
in system
system
(including
(including those
those being
beingserved)
served)
Wq
Wq == Average
Average time
time waiting
waitingin
in line
line
Ws
Ws Average
Average total
total time
timein
in system
system
(including
(including time
time to
to be
beserved)
served)
nn Number
Numberof
of units
unitsin
in the
thesystem
system
SS == Number
Numberof
of identical
identicalservice
servicechannels
channels
Pn
Pn Probabilit
Probabilityyof
of exactly
exactlynn units
unitsin
in system
system
Pw
Pw Probabilit
Probabilityyof
of waiting
waitingin
in line
line
1-14
15
Example: Model 1
16
Example: Model 1
== 25
25 cust
cust// hr
hr
11 customer
customer
==
== 30
cust
// hr
30
cust
hr
22 mins
(1hr
/
60
mins)
mins (1hr / 60 mins)
25
cust
// hr
25
cust
hr
==
==
== .8333
.8333
30
30 cust
cust// hr
hr
1-16
17
Example: Model 1
(25)
(25)
Lq
==
== 4.167
Lq ==
4.167
(( --)) 30(30
30(30--25)
25)
22
22
25
25
Ls
=
=
Ls =
=
=
= 55
-- (30
(30--25)
25)
1-17
18
Example: Model 1
Lq
Lq
Wq
== .1667
Wq ==
.1667 hrs
hrs == 10
10 mins
mins
Ls
Ls
Ws
==.2
Ws ==
.2 hrs
hrs ==12
12mins
mins
1-18
19
Example: Model 1
pp =
= (1(1- )(
)( ))
nn
nn
25
25 25
25 22
pp2 == (1)()( )) == .1157
(1.1157
2
30
30 30
30
1-19
20
Example: Model 2
The
The average
average number
number of
of customers
customers in
in line.
line.
The
The average
average total
total waiting
waiting time
time in
in the
the system.
system.
1-20
21
Example: Model 2
(10)
(10)
Lq
==
==.6667
Lq ==
.6667
22(( --)) (2)(15)(15
(2)(15)(15--10)
10)
22
22
Lq
..6667
Lq
6667 = .06667 hrs = 4 mins
Wq
=
=
Wq =
=
= .06667 hrs = 4 mins
10
10
11
11
Ws
==.1333
Ws==Wq
Wq++ ==.06667
.06667hrs
hrs++
.1333hrs
hrs==88mins
mins
15/hr
15/hr
1-21
22
Example: Model 3
23
Example: Model 3
Lq
Lq == 00..176
176
(Exhibit
(Exhibit TN7.11
TN7.11---using
-usinglinear
linearinterpolat
interpolation)
ion)
25
25
Ls
Ls == Lq
Lq ++ ==.176
.176 ++ ==1.009
1.009
30
30
Total time customers wait before being served
Lq
.176
customers
Lq
.176
customers = .007 mins ( No Wait! )
Wq
=
=
Wq =
=
= .007 mins ( No Wait! )
25
customers/
min
25 customers/min
1-23
24
D
D == Probabilit
Probabilityy that
thatan
an arrival
arrivalmust
must wait
waitin
in line
line
FF Efficiency
Efficiencyfactor,
factor,aa measure
measureof
of the
theeffect
effect of
of
having
having to
to wait
waitin
in line
line
H
H Average
Average number
numberof
of units
units being
beingserved
served
JJ == Population
Populationsource
sourceless
lessthose
thosein
in queuing
queuing
system
system((NN --nn))
LL Average
Average number
numberof
of units
unitsin
in line
line
SS Number
Numberof
of service
servicechannels
channels
1-24
25
nn==Average
Averagenumber
numberof
of units
unitsin
inqueuing
queuingsystem
system
(including
(includingthe
theone
onebeing
beingserved)
served)
NN Number
Numberof
of units
unitsin
in population
populationsource
source
Pn
Pn Probabilit
Probabilityyof
of exactly
exactlynnunits
unitsin
inqueuing
queuingsystem
system
TT ==Average
Average time
timeto
toperform
performthe
theservice
service
U
U Average
Averagetime
timebetween
betweencustomer
customerservice
servicerequiremen
requirementsts
W
W Average
Average waiting
waitingtime
timein
inline
line
XX Service
Servicefactor,
factor,or
orproportion
proportionof
of service
servicetime
timerequired
required
1-25
26
Example: Model 4
The
The copy
copy center
center of
of an
an electronics
electronics firm
firm has
has four
four copy
copy
machines
machines that
that are
are all
all serviced
serviced by
by aa single
single technician.
technician.
Every
Every two
two hours,
hours, on
on average,
average, the
the machines
machines require
require
adjustment.
adjustment. The
The technician
technician spends
spends an
an average
average of
of 10
10
minutes
minutes per
per machine
machine when
when adjustment
adjustment is
is required.
required.
Assuming
Assuming Poisson
Poisson arrivals
arrivals and
and exponential
exponential service,
service,
how
how many
many machines
machines are
are down
down (on
(on average)?
average)?
1-26
27
Example: Model 4
From
FromTable
TableTN7.11,
TN7.11,FF==.980
.980(Interpolation)
(Interpolation)
L,
L,the
thenumber
numberof
ofmachines
machineswaiting
waitingto
tobe
be
serviced
serviced==N(1-F)
N(1-F)==4(1-.980)
4(1-.980)==.08
.08machines
machines
H,
H,the
thenumber
numberof
ofmachines
machinesbeing
being
serviced
serviced==FNX
FNX==.980(4)(.077)
.980(4)(.077)==.302
.302machines
machines
Number
Number of
of machines
machines down
down ==LL++ H
H== .382
.382 machines
machines
1-27
28
Queuing Approximation
Define:
Standard deviation of X
Mean of X
Variance
2
Cx2 squared coefficient of variation (scv) = Cx
mean2
Cx coefficient of variation for r.v. X =
1-28
29
Queue Approximation
Inputs: S, , , Ca2 ,Cs2
(Alternatively: S, , , variances of interarrival and service time distributions)
Compute
S
2( S 1) Ca2 Cs2
Lq
1
2
Lq
Ls
as before, Wq , and Ws
Ls Lq S
1-29
30
Approximation Example
Consider a manufacturing process (for example making
plastic parts) consisting of a single stage with five machines.
Processing times have a mean of 5.4 days and standard
deviation of 4 days. The firm operates make-to-order.
Management has collected date on customer orders, and
verified that the time between orders has a mean of 1.2 days
and variance of 0.72 days. What is the average time that an
order waits before being worked on?
Using our Waiting Line Approximation spreadsheet we get:
Lq = 3.154 Expected number of orders waiting to be completed.
Wq = 3.78 Expected number of days order waits.
= 0.9 Expected machine utilization.
1-30
31
End of Chapter 8A
McGraw-Hill/Irwin
1-31