Académique Documents
Professionnel Documents
Culture Documents
Motivation
Basic ideas
Applications
Key insights
The future
Everyday Queues
Fast Food McDonalds, Burger King,
Retail supermarkets, stores, banks
Medical doctors office, access to
diagnostic procedures, specialist referrals
Airports check-in, baggage collection,
runway delays, waiting to land
Traffic - congestion
Queues in Manufacturing
Order backlogs
Work in process inventories
Distribution inventories
Often queue (inventory) size is limited
Number of Kanbans limits work in process
Fixed number of AGVs circulate in a loop
(customers,
jobs)
queue
server
departures
Key Ideas
Queue length, waiting time determined by
(1) Utilization of server = = /
= Job arrival rate mean time to serve each job
(2) Variability of arrivals (lowest with equally
spaced arrivals)
(3) Variability of service time (lowest is when all
jobs require exactly the same time)
Finite Queues
Call centers, hospitals
Number of waiting spaces is finite (and fixed)
If waiting spaces occupied arrivals are lost
Closed Queue
2
1
Parallel Servers
How to allocate jobs
to servers?
Sometimes have
to match jobs
after service
Split and match
Queueing Theory
Why bother?
It is complex math
It is theory!
Simulation is better and easier to understand
Number
Arrivals
Departures
L(15)
W(2)
0
L=L(t)dt/T
W=W(n)/N
10
15
20
Time
L(t)dt =W(n)
L=WN/T=W
L=
1
M/G/1
(1 + C )
L=
+
2(1 )
2
2
S
2 (1 + C S2 ) (C a2 + 2 C S2 )
+
G/G/1: (approx) L =
2
2
2 (1 ) (1 + C S )
t=10
t=5
t=2
0.2
0.4
0.6
0.8
Fraction admitted
=0.9
Applications
Validating complex simulation models;
Developing easy-to-implement models that help
narrow alternatives in the initial stages of system
design;
Providing insights into the importance and impact
of variability in manufacturing and services;
Suggesting alternative ways of structuring a
system and allocating tasks to people and
machines
Simulation Verification
Verification: Model gives correct answers for
given assumptions
Queueing theory applications:
Checking consistency of performance measures
L=W
=(1/)
Number
end
start
Arrivals
Departures
10
15
20
Bounds
General single server
queue:
(1 (1 ) 2 )Ca2 + 2CS2
L
+
2(1 )
If times between arrivals are DMRL (longer time since last
arrival, more likely arrival will occur)
2Ca2 + 2CS2
+
L
2(1 )
Useful: but hard to find bounds in literature or derive new bounds
A1
A2
A3
A4
A5
A6
S1
S2
D1
S3
D2
S5
S4
D3
arrivals
D4
S6
D5 D6
Dn = S n + max(Dn 1, An )
Equation describes simulation directly, can use to see impact of
changes in parameters, e.g., increasing service time
Repairman
2,3
2,1
Applications in Services
Manufacturing:
Most tasks require specialized machinery so
workers jobs defined by machinery
Tasks to make a product defined when product
designed, so known before order arrives
Services:
Many possible task packages for each worker
Dont know what tasks customers require until
they arrive
McDonalds
Prepare food
Burger King*
Prepare food, assemble order
(electronic
communication)
Deliver food
Dispense drinks
Order
+ pay
Freshly prepared food, preparation
in parallel with pay
* Some outlets only - others use McDonalds format
Specialization
Specialize some servers to specific
customer classes:
(1) Customers know which server to go to:
Bank: deposits vs investments
Call center menus
Refer hard
problems
1-p
p
Servers
deal with
all problems
p
p
manager
3
4
Do everything
15
No Management
10
ReferManagement
problems
0.2
0.4
0.6
0.8
s
6
u
u
u Store m 1
6
(m1)
PA
@
@
+ m1
Cards
@
H
HH @
Process
HH@
Tags
? Reqn.
H@
H Mgmt
u Tags
'$
(m)
Parts
(m)
Rk
- material
Order Tags
(m)
Ak
A
k
s
-?
- -
Dk
(m)
Ak
- Cell m
(m)
Dk
&%
- information
s
6
u
u
6
Ak
Store m
- Products
?
u
u
u
s -?
(m+1)
Rk
Key Insights
Plan how to cope with variability
Service times
Arrivals
Routing
The Future
Applications:
Service system design insights
Rapid modelling of system alternatives
Spreadsheet implementation
Theory:
Bounds
Controls and priorities
When is scheduling worthwhile?