Week 5 - Queuing Theory
Week 5 - Queuing Theory
OPERATIONS MANAGEMENT
Queuing Theory
Fall 2015
Geoff Pond
Agenda
Introduction
Single Channel, Single Server w/ Exp. Service Time
Single Channel, Single Server w/ Constant Service Time
Single Channel, Multi-Server w/ Exp. Service Time
Psychology of Queues
Strategies
Introduction
Like it or not, it happens everyday:
Vehicles arriving at a traffic light
Customers arriving at Tim Hortons
Container ships arriving at a port and waiting for a tug
boat
Lineups at customs/immigration/passport control
Aircraft waiting on a taxiway for runway clearance
Students waiting in line outside Stages on a Friday
night at 11pm
Students waiting at Smokies for some 2am poutine
Patients arriving at KGH ER to have their stomach
pumped at 3am
Introduction
Why is it important to study?
Customers waiting for extended periods may balk
There may be insufficient space to accommodate the
queue length (causing safety problems)
Efficiency/capacity implications (bottlenecks)
Effectiveness implications (e.g., patient conditions
may deteriorate)
Just imagine the monetary
value of the fuel being burned
as these aircraft wait for takeoff (Atlanta International)
Introduction
Naming Convention
A / S / k
where:
A represents the distribution of arrival times
S represents the distribution of service times
k represents the number of servers
A and B are normally either:
M meaning Markov or memoryless
D meaning deterministic or fixed service
time
Naming Conventions
Most models deal with Markovian or memoryless
processes.
Arrival rates are typically described using the Poisson
distribution.
Service times are typically described using the
Exponential distribution.
Naming Conventions
M/M/1
One server (e.g., a single
cashier)
Markovian service, i.e., exponentially distributed
service times
Random arrivals, i.e., Poisson arrival rate
M/M/3
Queuing Source
Infinite Source
There is a large calling population
Finite Source
The calling population is small enough that as the
number of units in the system increases, a change
is observed in the arrival rate of new units
In the extreme case, if a calling population where 5
units and all 5 units were in the system, the arrival
rate would become 0
But obviously it was initially higher than that (or
the five units wouldnt have arrived in the first
place)
M/M/1
Example
M/M/1
Example
M/M/1
Example
M/M/1
Example
M/M/1
Example
M/M/1
Example
M/M/1
Example
WARNING
The equations we just discussed are specific to
M / M / 1 queuing systems. They are NOT general
equations, meaning that they cannot necessarily
be applied to M / D / 1 or
M / M / >1 systems that we will look at next.
M/D/1
Example
M/D/1
Example
M/D/1
Example
M / M / >1
M / M / >1
Example
A small town with one hospital has two ambulances. Requests for an
ambulance during weekday mornings average .8 per hour and tend
to be Poisson. Travel and loading/unloading time averages one hour
per call and follows an Exponential Distribution. Find the server
utilization.
M / M / >1
Example
A small town with one hospital has two ambulances. Requests for an
ambulance during weekday mornings average .8 per hour and tend
to be Poisson. Travel and loading/unloading time averages one hour
per call and follows an Exponential Distribution. Find the average
number of patients waiting.
M / M / >1
Example
A small town with one hospital has two ambulances. Requests for an
ambulance during weekday mornings average .8 per hour and tend
to be Poisson. Travel and loading/unloading time averages one hour
per call and follows an Exponential Distribution. Find the average
number of patients waiting.
M / M / >1
Example
A small town with one hospital has two ambulances. Requests for an
ambulance during weekday mornings average .8 per hour and tend
to be Poisson. Travel and loading/unloading time averages one hour
per call and follows an Exponential Distribution. Find the average
time patients wait for an ambulance.
In Practice
As you might guess, no one is sitting in corporate
backrooms cranking out these equations. Instead,
sim is often used
Arena
Basic licensing: $2,495 / seat
Student license: FREE!!
https://
www.arenasimulation.com/acad
emic/students
ExtendSim
Basic licensing:
Psychology of Queues
Psychology of Queues
Keep progress moving. Were often satisfied as long as
were getting closer to the goal, even if its slowly.
Avoid designing queues where the consumers move
away from the service desk.
If necessary, do it as late as possible in the queue
Get consumers in the system ASAP. Consider a tiered
(or multi-phase) service
Social Justice: FIFO is viewed as being most equitable
but dont always happen (think about multiple queues
each associated with an independent server where one
moves faster than the other)
Soman, D. (2013). The Waiting Game: The Psychology of
Time and its Effects on Service Design, Rotman Magazine.
Strategies
Know consumer expectations! How long will
consumers accept waiting in line?
Keep service rates consistent when possible.
Distract them (music, televisions, magazines, etc.)
Keep customers informed
Self-service
Staff not directly involved in serving customers
should be kept out-of-sight
Stay friendly!