Professional Documents
Culture Documents
Queuing Models
Enter Exit
e-x
P(x) = for x = 0, 1, 2, 3, 4, …
x!
0.25 – 0.25 –
0.02 – 0.02 –
Probability
Probability
0.15 – 0.15 –
0.10 – 0.10 –
0.05 – 0.05 –
– x –
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 10 11 x
Distribution for = 2 Distribution for = 4
Figure D.2
Queue
Service Departures
Arrivals facility after service
Queue
Phase 1 Phase 2 Departures
Arrivals service service
after service
facility facility
Service
facility
Channel 1
Queue
Service Departures
Arrivals facility
after service
Channel 2
Service
facility
Channel 3
Phase 1 Phase 2
service service
Queue facility facility
Channel 1 Channel 1
Departures
Arrivals after service
Phase 1 Phase 2
service service
facility facility
Channel 2 Channel 2
0.9 –
0.8 – Average service rate (µ) = 3 customers per hour
Average service time = 20 minutes per customer
0.7 –
0.6 –
0.5 –
0.4 –
Average service rate (µ) =
0.3 – 1 customer per hour
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
Figure D.4 Time t (hours)
© 2008 Prentice Hall, Inc. D – 36
Measuring Queue
Performance
1. Average time that each customer or object spends in the
queue
2. Average queue length
3. Average time each customer spends in the system
4. Average number of customers in the system
5. Probability that the service facility will be idle
6. Utilization factor for the system
7. Probability of a specific number of customers in the
system
© 2008 Prentice Hall, Inc. D – 37
Queuing Costs
The two major costs of waiting analysis are: the cost of
providing good service and the cost of customer or
machine waiting time.
The management always must recognize the trade-off that
takes place between the two costs.
Managers want queues that are short enough so that
customers do not become unhappy and either leave
without buying or buy but never return.
However, managers may be willing to allow some
waiting if it is balanced by a significant savings in
service costs.
Minimum
Total Total expected cost
cost
Cost of providing service
Figure D.5
© 2008 Prentice Hall, Inc. D – 41
Queuing Models
Table D.2
© 2008 Prentice Hall, Inc. D – 43
Queuing Models
Model Name Example
B Multichannel Airline ticket
(M/M/S) counter , bank counters
Table D.2
© 2008 Prentice Hall, Inc. D – 44
Queuing Models
Model Name Example
C Constant- Automated car
service wash
(M/D/1)
Table D.2
© 2008 Prentice Hall, Inc. D – 45
Queuing Models
Model Name Example
D Limited Shop with only a
population dozen machines
(finite population) that might break
Table D.2
© 2008 Prentice Hall, Inc. D – 46
Notation
• The first letter refers to the arrivals (where M stands for
Poisson distribution); the second letter refers to service
(where M is again a Poisson distribution, which is the
same as an exponential rate for service and a D is a
constant service rate); the third symbol refers to the
number of servers.
• So an M/D/1 system (our Model C) has Poisson arrivals,
constant service. and one server.
Table D.3
Lq = = =
1.33 cars waiting in line
© 2008 Prentice Hall, Inc. D – 53
Single-Channel Example
= 2 cars arriving/hour
µ = 3 cars serviced/hour
2
Wq = =
µ(µ – ) 3(3 - 2)
= 2/3 hour = 40 minute
Total hours
customers spend 2 2
= (16) = 10 hours
waiting per day 3 3
2
Customer waiting-time cost = $10 10 = $106.67
3
M
µ(/µ)
Ls = P +
(M - 1)!(Mµ - )
2 0 µ Table D.4
Lq = Ls –
µ
1 Lq
Wq = W s – =
µ
Table D.4
(2)(3(2/3)2 1 2 3
Ls = + =
1! 2(3) - 2 2 2 3 4
2 1 .083
Ws =
3/4
=
3 Lq = 3 – = Wq = = .0415
2 8 4 3 12 2
Number
Number of in
service windows M queue(Lq) Time in queue
1 window 1 8.1 .45 hrs, 27 minutes
2 windows 2 .2285 .0127 hrs, ¾ minute
3 windows 3 .03 .0017 hrs, 6 seconds
4 windows
© 2008 Prentice Hall, Inc.
4 .0041 .0003 hrs, 1 second D – 63
Table example cont’d…
Opening one additional window reduces the
average queue length to zero.
The average waiting time in the queue, (Lq
= 8.1/18 = 0.45 hrs= 27 min will be reduced
to Lq = 0.2285/18 = 0.0127 hrs= ¾ mins.
of queue 2µ(µ – )
Average number of
L s = Lq +
customers in system µ
Average time 1
in the system Ws = W q +
µ
Waiting cost/trip
with compactor = (1/12 hr wait)($60/hr cost) = $ 5 /trip
Savings with = $15 (current) – $5(new) = $10
new equipment
/trip
Cost of new equipment amortized = $ 3 /trip
Net savings = $ 7 /trip
© 2008 Prentice Hall, Inc. D – 67
Cont’d…
Constant service times, usually
attained through automation, help
to control the variability inherent in
service systems.
This can lower average queue
length and average waiting time.