Академический Документы
Профессиональный Документы
Культура Документы
Technical Note 7
Waiting Line
Management
OBJECTIVES
Waiting Line Characteristics
Suggestions for Managing Queues
Servicing System
Servers
Queue or
Customer Waiting Line
Arrivals Exit
Population Source
Finite Infinite
Example:
Example:Number
Numberofof Example:
Example:The The
machines
machinesneeding
needing number
numberof ofpeople
people
repair
repairwhen
whenaa who
whocould
couldwait
waitin
in
company
companyonly
onlyhas
has aaline
linefor
for
three
threemachines.
machines. gasoline.
gasoline.
Service Pattern
Service
Pattern
Constant Variable
Example:
Example:Items
Items Example:
Example:People
People
coming
comingdown
downan an spending
spendingtime
time
automated
automated shopping.
shopping.
assembly
assemblyline.
line.
Length
Service Time
Distribution
Single
Multiphase
Phase
One-person
Single Channel Car wash
barber shop
Degree of Patience
No Way! No Way!
BALK RENEG
Source
Model Layout Population Service Pattern
1 Single channel Infinite Exponential
2 Single channel Infinite Constant
3 Multichannel Infinite Exponential
4 Single or Multi Finite Exponential
Example: Model 1
Assume a drive-up window at a fast food restaurant.
Customers arrive at the rate of 25 per hour.
The employee can serve one customer every two
minutes.
Assume Poisson arrival and exponential service
rates.
Determine:
Determine:
A)
A) What
Whatisisthe
theaverage
averageutilization
utilizationofofthe
theemployee?
employee?
B)
B) What
Whatisisthe
theaverage
averagenumber
numberof ofcustomers
customersin inline?
line?
C)
C) What
Whatisisthe
theaverage
averagenumber
numberof ofcustomers
customersin inthe
the
system?
system?
D)
D) What
Whatisisthe
theaverage
averagewaiting
waitingtime
timein
inline?
line?
E)
E) What
Whatisisthe
theaverage
averagewaiting
waitingtime
timein
inthe
thesystem?
system?
F)
F) What
Whatis isthe
theprobability
probabilitythat
thatexactly
exactlytwo
twocars
carswill
willbe
be
in
inthe
thesystem?
system?
McGraw-Hill/Irwin © 2006 The McGraw-Hill Companies, Inc., All Rights Reserved.
16
Example: Model 1
== 25
25 cust
cust // hr
hr
11 customer
customer
== == 30
30 cust
cust // hr
hr
22 mins (1hr / 60 mins)
mins (1hr / 60 mins)
25
25 cust
cust // hr
hr = .8333
== == = .8333
30 cust /
30 cust / hrhr
Example: Model 1
Example: Model 1
Lq
Lq
Wq
Wq == == .1667
.1667 hrs
hrs == 10
10mins
mins
E) What is the average waiting time in the system?
Ls
Ls
Ws
Ws == ==.2
.2 hrs
hrs ==12
12mins
mins
McGraw-Hill/Irwin © 2006 The McGraw-Hill Companies, Inc., All Rights Reserved.
19
Example: Model 1
nn
pp =
= (1-
(1- )()( ))
nn
25
25 25 25 22
pp2 == (1-
(1- )()( )) == .1157
.1157
2 30
30 30 30
McGraw-Hill/Irwin © 2006 The McGraw-Hill Companies, Inc., All Rights Reserved.
20
Example: Model 2
An automated pizza vending machine
heats and dispenses a slice of pizza in 4
minutes.
A)
A) The
The average
average number
number ofof customers
customers in in line.
line.
B)
B) The
The average
average total
total waiting
waiting time
time in
in the
the system.
system.
Example: Model 2
22 (10)
(10)
22
Lq =
Lq = =
= ==.6667
.6667
22(( --)) (2)(15)(15
(2)(15)(15--10)
10)
B) The average total waiting time in the system.
Lq
Lq ..6667
6667 = .06667 hrs = 4 mins
Wq =
Wq = =
= = .06667 hrs = 4 mins
10
10
11 11
Ws
Ws==Wq
Wq++ ==.06667
.06667hrs
hrs++ ==.1333
.1333hrs
hrs==88mins
mins
15/hr
15/hr
McGraw-Hill/Irwin © 2006 The McGraw-Hill Companies, Inc., All Rights Reserved.
22
Example: Model 3
Recall the Model 1 example:
Drive-up window at a fast food restaurant.
Customers arrive at the rate of 25 per
hour.
The employee can serve one customer
every two minutes.
Assume Poisson arrival and exponential
service rates.
IfIf an
an identical
identical window
window (and
(and an
an identically
identically trained
trained
server)
server) were
were added,
added, what
what would
would thethe effects
effects be
be on
on
the
the average
average number
number of
of cars
cars in
in the
the system
system and
and the
the
total
total time
time customers
customers wait
wait before
before being
being served?
served?
Example: Model 3
Average number of cars in the system
Lq
Lq == 00..176
176
(Exhibit
(ExhibitTN7.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
Lq .176
.176customers
customers = .007 mins ( No Wait! )
Wq =
Wq = =
= = .007 mins ( No Wait! )
25 customers/min
25 customers/min
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 isis 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)?
Example: Model 4
N, the number of machines in the population = 4
M, the number of repair people = 1
T, the time required to service a machine = 10 minutes
U, the average time between service = 2 hours
TT 10
10 min
min
X
X = T + U 10 min + 120 min == .077
= .077
T+ U 10 min + 120 min
From
FromTable
TableTN7.11,
TN7.11,FF==.980
.980(Interpolation)
(Interpolation)
L,
L,the
thenumber
numberofofmachines
machineswaiting
waitingtotobe
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
McGraw-Hill/Irwin © 2006 The McGraw-Hill Companies, Inc., All Rights Reserved.
28
Queuing Approximation
This approximation is quick way to analyze a queuing situation. Now, both
interarrival time and service time distributions are allowed to be general.
In general, average performance measures (waiting time in queue, number
in queue, etc) can be very well approximated by mean and variance of the
distribution (distribution shape not very important).
This is very good news for managers: all you need is mean and standard
deviation, to compute average waiting time
Define:
Standard deviation of X
Cx coefficient of variation for r.v. X =
Mean of X
Variance
Cx2 squared coefficient of variation (scv) = C x
2
mean2
Queue Approximation
Compute
S
Ls Lq S
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 data 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?
Question Bowl
The central problem for virtually all queuing
problems is which of the following?
a. Balancing labor costs and equipment costs
b. Balancing costs of providing service with the
costs of waiting
c. Minimizing all service costs in the use of
equipment
d. All of the above
e. None of the above
Answer: b. Balancing
costs of providing
service with the costs
of waiting
Question Bowl
Customer Arrival “populations” in a
queuing system can be
characterized by which of the
following?
a. Poisson
b. Finite
c. Patient
d. FCFS
e. None of the above
Answer: b. Finite
Question Bowl
Customer Arrival “rates” in a queuing
system can be characterized by which
of the following?
a. Constant
b. Infinite
c. Finite
d. All of the above
e. None of the above
Answer: a. Constant
Question Bowl
An example of a “queue discipline” in a
queuing system is which of the
following?
a. Single channel, multiphase
b. Single channel, single phase
c. Multichannel, single phase
d. Multichannel, multiphase
e. None of the above
Answer: e. None of the above (These are the rules for
determining the order of service to customers, which
include FCFS, reservation first, highest-profit customer
first, etc.)
Question Bowl
Withdrawing funds from an automated
teller machine is an example in a
queuing system of which of the
following “line structures”?
a. Single channel, multiphase
b. Single channel, single phase
c. Multichannel, single phase
d. Multichannel, multiphase
e. None of the above
Question Bowl
Refer to Model 1 in the textbook. If
the service rate is 15 per hour,
what is the “average service time”
for this queuing situation?
a. 16.00 minutes
b. 0.6667 hours
c. 0.0667 hours
d. 16% of an hour
e. Can not be computed from data
above
Answer: c. 0.0667 hours (1/15=0.0667)
Question Bowl
Refer to Model 1 in the textbook. If the
arrival rate is 15 per hour, what is the
“average time between arrivals” for this
queuing situation?
a. 16.00 minutes
b. 0.6667 hours
c. 0.0667 hours
d. 16% of an hour
e. Can not be computed from data above
Question Bowl
Refer to Model 4 in the textbook. If the
“average time to perform a service” is 10
minutes and the “average time between
customer service requirements” is 2
minutes, which of the following is the
“service factor” for this queuing
situation?
a. 0.833
b. 0.800
c. 0.750
d. 0.500
e. None of the above
End of Technical
Note 7