download

Operations
Management
Waiting-Line Models
Module D
Transparency Masters to accompany Operations
Management, 6E (Heizer & Render)
D-1
© 2000 by Prentice Hall, Inc., Upper Saddle River, N.J. 07458
Outline
♦Characteristics of a Waiting-Line System
♦
♦
♦
♦
♦
Arrival Characteristics
Waiting-Line Characteristics
Service Facility Characteristics
Measuring the Queue’s Performance
Queuing Costs
♦The Variety of Queuing Models
Model A: Single-Channel Queuing Model with
Poisson Arrivals and Exponential Service Times
♦ Model B: Multiple-Channel Queuing Model
♦ Model C: Constant Service Time Model
♦ Model D: Limited Population Model
♦
♦Other Queuing Approaches
Transparency Masters to accompany Operations
Management, 6E (Heizer & Render)
D-2
© 2000 by Prentice Hall, Inc., Upper Saddle River, N.J. 07458
Learning Objectives
When you complete this chapter, you should be
able to :
♦ Identify or Define:
♦
The assumptions of the four basic waiting-line
models
♦ Explain or be able to use:
♦
♦
How to apply waiting-line models
How to conduct an economic analysis of queues
Transparency Masters to accompany Operations
Management, 6E (Heizer & Render)
D-3
© 2000 by Prentice Hall, Inc., Upper Saddle River, N.J. 07458
1
You’ve Been There Before!
Thank you for holding.
Hello...are you there?
‘The other line
always moves faster.’
‘If you change lines, the
one you left will start to
move faster than the one
you’re in.’
© 1995 Corel Corp.
D-4
Transparency Masters to accompany Operations
Management, 6E (Heizer & Render)
© 2000 by Prentice Hall, Inc., Upper Saddle River, N.J. 07458
Waiting Line Examples
Situation
Arrivals
Servers
Service Process
Bank
Customers
Teller
Deposit etc.
Doctor’s
office
Patient
Doctor
Treatment
Traffic
intersection
Cars
Light
Controlled
passage
Assembly line
Parts
Workers
Assembly
Tool crib
tools
Workers
Clerks
Check out/in
D-5
Transparency Masters to accompany Operations
Management, 6E (Heizer & Render)
© 2000 by Prentice Hall, Inc., Upper Saddle River, N.J. 07458
Waiting Lines
♦ First studied by A. K. Erlang in 1913
♦
Analyzed telephone facilities
♦ Body of knowledge called queuing theory
♦
Queue is another name for waiting line
♦ Decision problem
♦
Balance cost of providing good service with cost
of customers waiting
Transparency Masters to accompany Operations
Management, 6E (Heizer & Render)
D-6
© 2000 by Prentice Hall, Inc., Upper Saddle River, N.J. 07458
2
Waiting Line Costs
Cost
cost
g line
in
it
a
lw
Tota
ost
ic e c
Serv
Waiting time cost
Level of service
Optimal
Transparency Masters to accompany Operations
Management, 6E (Heizer & Render)
D-7
© 2000 by Prentice Hall, Inc., Upper Saddle River, N.J. 07458
Waiting Line Terminology
♦ Queue: Waiting line
♦ Arrival: 1 person, machine, part, etc. that
arrives and demands service
♦ Queue discipline: Rules for determining the
order that arrivals receive service
♦ Channel: Number of waiting lines
♦ Phase: Number of steps in service
Transparency Masters to accompany Operations
Management, 6E (Heizer & Render)
D-8
© 2000 by Prentice Hall, Inc., Upper Saddle River, N.J. 07458
Characteristics of a
Waiting Line System
tion
Popula
Waiting Line
Service
Facility
Arrival Characteristics
♦ Arrival rate distribution ♦ Size of the source population
♦ Poisson
♦ Other
♦ Pattern of arrivals
♦ limited
♦ unlimited
♦ Behavior of the arrivals
♦ join the queue, and wait until
♦random
♦scheduled
Transparency Masters to accompany Operations
Management, 6E (Heizer & Render)
served
♦ balk; refuse to join the line
♦ renege; leave the line
D-9
© 2000 by Prentice Hall, Inc., Upper Saddle River, N.J. 07458
3
Characteristics of a
Waiting Line System - continued
tion
Popula
Service
Facility
Waiting Line
Waiting Line Characteristics
♦Length of the
queue
♦ limited
♦ unlimited
♦ Service priority
♦ FIFO
♦ other
© 2000 by Prentice Hall, Inc., Upper Saddle River, N.J. 07458
D-10
Transparency Masters to accompany Operations
Management, 6E (Heizer & Render)
Characteristics of a
Waiting Line System - continued
Service
Facility
Service Facility Characteristics
tion
Popula
Waiting Line
♦ Number of channels
♦ Service time distribution
♦ single
♦ multiple
♦ negative exponential
♦ other
♦ Number of phases
in service system
♦ single
♦ multiple
D-11
Transparency Masters to accompany Operations
Management, 6E (Heizer & Render)
© 2000 by Prentice Hall, Inc., Upper Saddle River, N.J. 07458
Waiting Line System
Input
source
Service system
Waiting
line
Service
facility
© 1995 Corel Corp.
Transparency Masters to accompany Operations
Management, 6E (Heizer & Render)
D-12
© 2000 by Prentice Hall, Inc., Upper Saddle River, N.J. 07458
4
Input Characteristics
Input Source
(Population)
Size
Infinite
D-13
Transparency Masters to accompany Operations
Management, 6E (Heizer & Render)
© 2000 by Prentice Hall, Inc., Upper Saddle River, N.J. 07458
Input Characteristics
Input Source
(Population)
Fixed number of
aircraft to service
Size
Infinite
Finite
© 1995 Corel Corp.
D-14
Transparency Masters to accompany Operations
Management, 6E (Heizer & Render)
© 2000 by Prentice Hall, Inc., Upper Saddle River, N.J. 07458
Input Characteristics
Input Source
(Population)
Size
Infinite
Finite
Transparency Masters to accompany Operations
Management, 6E (Heizer & Render)
Arrival
Pattern
Random
NonRandom
D-15
© 2000 by Prentice Hall, Inc., Upper Saddle River, N.J. 07458
5
Input Characteristics
Input Source
(Population)
Arrival
Pattern
Size
Infinite
Finite
Random
Poisson
NonRandom
Other
Transparency Masters to accompany Operations
Management, 6E (Heizer & Render)
© 2000 by Prentice Hall, Inc., Upper Saddle River, N.J. 07458
D-16
Poisson Distribution
♦ Number of events that
occur in an interval of
time
.6
.3
.0
♦ Example: Number of
customers that arrive
in 15 min.
.6
.3
.0
−λ x
P( x ) =
1
2
3
4
5
λ = 6.0
P(X)
X
0
e λ
Transparency Masters to accompany Operations
Management, 6E (Heizer & Render)
X
0
♦ Mean = λ (e.g., 5/hr.)
♦ Probability:
λ = 0.5
P(X)
2
4
6
8
10
© 2000 by Prentice Hall, Inc., Upper Saddle River, N.J. 07458
D-17
0.30
0.30
0.25
0.25
0.20
0.20
0.15
0.15
Probability
Probability
Poisson Distributions for Arrival
Times
0.10
0.05
0.00
0.10
0.05
0.00
0 1 2 3 4 5 6 7 8 9 10 11 12
x
λ=2
Transparency Masters to accompany Operations
Management, 6E (Heizer & Render)
0 1 2 3 4 5 6 7 8 9 10 11 12
x
λ=4
D-18
© 2000 by Prentice Hall, Inc., Upper Saddle River, N.J. 07458
6
Input Characteristics
Input Source
(Population)
Arrival
Pattern
Size
Infinite
Finite
Random
Poisson
NonRandom
Behavior
Patient
Impatient
Other
D-19
Transparency Masters to accompany Operations
Management, 6E (Heizer & Render)
© 2000 by Prentice Hall, Inc., Upper Saddle River, N.J. 07458
Input Characteristics
Input Source
(Population)
Arrival
Pattern
Size
Infinite
Finite
Random
Poisson
NonRandom
Other
D-20
Transparency Masters to accompany Operations
Management, 6E (Heizer & Render)
Behavior
Patient
Impatient
Balk
© 2000 by Prentice Hall, Inc., Upper Saddle River, N.J. 07458
Balking
Input
source
Line was
too long!
Service system
Service
facility
Waiting
line
© 1995 Corel Corp.
Transparency Masters to accompany Operations
Management, 6E (Heizer & Render)
D-21
© 2000 by Prentice Hall, Inc., Upper Saddle River, N.J. 07458
7
Input Characteristics
Input Source
(Population)
Arrival
Pattern
Size
Infinite
Finite
Random
Poisson
NonRandom
Other
D-22
Transparency Masters to accompany Operations
Management, 6E (Heizer & Render)
Behavior
Patient
Impatient
Balk
Renege
© 2000 by Prentice Hall, Inc., Upper Saddle River, N.J. 07458
Reneging
Service system
Input
source
Waiting
line
Service
facility
I give up!
© 1995 Corel Corp.
Transparency Masters to accompany Operations
Management, 6E (Heizer & Render)
D-23
© 2000 by Prentice Hall, Inc., Upper Saddle River, N.J. 07458
Waiting Line Characteristics
Waiting Line
Length
Unlimited
© 1995 Corel Corp.
Transparency Masters to accompany Operations
Management, 6E (Heizer & Render)
D-24
© 2000 by Prentice Hall, Inc., Upper Saddle River, N.J. 07458
8
Waiting Line Characteristics
Waiting Line
Length
© 1995 Corel Corp.
Unlimited
Limited
© 1995 Corel Corp.
Transparency Masters to accompany Operations
Management, 6E (Heizer & Render)
D-25
© 2000 by Prentice Hall, Inc., Upper Saddle River, N.J. 07458
Waiting Line Characteristics
Waiting Line
Queue
Discipline
Length
Unlimited
Limited
Transparency Masters to accompany Operations
Management, 6E (Heizer & Render)
FIFO
(FCFS)
D-26
Random
Priority
© 2000 by Prentice Hall, Inc., Upper Saddle River, N.J. 07458
Service Characteristics
Service
Facility
Configuration
Single
Channel
MultiChannel
Single
Phase
Transparency Masters to accompany Operations
Management, 6E (Heizer & Render)
D-27
© 2000 by Prentice Hall, Inc., Upper Saddle River, N.J. 07458
9
Negative Exponential Distribution
♦ Service time, &
time between arrivals
.4
Probability t>x
µ=1
µ=2
µ=3
µ=4
.3
♦ Example: Service time
is 20 min.
.2
♦ Mean service rate = µ
♦ e.g., customers/hr.
.1
♦ Mean service time = 1/µ
♦ Equation:
0.
0
f ( t > x ) = e− ìx
2
4
6
8
10
x
D-28
Transparency Masters to accompany Operations
Management, 6E (Heizer & Render)
© 2000 by Prentice Hall, Inc., Upper Saddle River, N.J. 07458
Negative Exponential Distribution
0.06
Average service
time = 1 hour
0.05
Probability
0.04
0.03
Average service time = 20
minutes
0.02
0.01
0
0
30
60
90
120
Service time (minutes)
D-29
Transparency Masters to accompany Operations
Management, 6E (Heizer & Render)
150
180
© 2000 by Prentice Hall, Inc., Upper Saddle River, N.J. 07458
Single-Channel, Single-Phase
System
Service system
Arrivals
Ships at
sea
Queue
Service
facility
Ship unloading system
Served
units
Empty
ships
Waiting ship line
Dock
Transparency Masters to accompany Operations
Management, 6E (Heizer & Render)
D-30
© 2000 by Prentice Hall, Inc., Upper Saddle River, N.J. 07458
10
Single-Channel, Multi-Phase
System
Service system
Arrivals
Cars
in area
Queue
Service
facility
Service
facility
Served
units
McDonald’s drive-through
Cars
& food
Waiting cars
Pay
D-31
Transparency Masters to accompany Operations
Management, 6E (Heizer & Render)
Pick-up
© 2000 by Prentice Hall, Inc., Upper Saddle River, N.J. 07458
Multi-Channel, Single Phase
System
Service system
Arrivals
Service
facility
Queue
Served
units
Service
facility
Example: Bank customers wait in single line for one
of several tellers.
Transparency Masters to accompany Operations
Management, 6E (Heizer & Render)
D-32
© 2000 by Prentice Hall, Inc., Upper Saddle River, N.J. 07458
Multi-Channel, Multi-Phase
System
Service system
Arrivals
Queue
Service
facility
Service
facility
Service
facility
Service
facility
Served
units
Example: At a laundromat, customers use one of several
washers, then one of several dryers.
Transparency Masters to accompany Operations
Management, 6E (Heizer & Render)
D-33
© 2000 by Prentice Hall, Inc., Upper Saddle River, N.J. 07458
11
Waiting-Line Performance
Measures
♦ Average queue time, Wq
♦ Average queue length, Lq
♦ Average time in system, Ws
♦ Average number in system, Ls
♦ Probability of idle service facility, P0
♦ System utilization, ρ
♦ Probability of k units in system, Pn > k
Transparency Masters to accompany Operations
Management, 6E (Heizer & Render)
D-34
© 2000 by Prentice Hall, Inc., Upper Saddle River, N.J. 07458
Assumptions of the Basic
Queuing Model
♦ Arrivals are served on a first come, first served
basis
♦ Arrivals are independent of preceding arrivals
♦ Arrival rates are described by the Poisson
probability distribution, and customers come from a
very large population
♦ Service times vary from one customer to another,
and are independent of one and other; the average
service time is known
♦ Service times are described by the negative
exponential probability distribution
♦ The service rate is greater than the arrival rate
Transparency Masters to accompany Operations
Management, 6E (Heizer & Render)
D-35
© 2000 by Prentice Hall, Inc., Upper Saddle River, N.J. 07458
Types of Queuing Models
♦ Simple (M/M/1)
♦
Example: Information booth at mall
♦ Multi-channel (M/M/S)
♦
Example: Airline ticket counter
♦ Constant Service (M/D/1)
♦
Example: Automated car wash
♦ Limited Population
♦
Example: Department with only 7 drills
Transparency Masters to accompany Operations
Management, 6E (Heizer & Render)
D-36
© 2000 by Prentice Hall, Inc., Upper Saddle River, N.J. 07458
12
Simple (M/M/1) Model
Characteristics
♦ Type: Single-channel, single-phase system
♦ Input source: Infinite; no balks, no reneging
♦ Arrival distribution: Poisson
♦ Queue: Unlimited; single line
♦ Queue discipline: FIFO (FCFS)
♦ Service distribution: Negative exponential
♦ Relationship: Independent service & arrival
♦ Service rate > arrival rate
© 2000 by Prentice Hall, Inc., Upper Saddle River, N.J. 07458
D-37
Transparency Masters to accompany Operations
Management, 6E (Heizer & Render)
Simple (M/M/1) Model Equations
λ
Ls =
µ -λ
Average number of
units in queue
Ws =
Average time in
system
Average number of units
in queue
Lq =
2
λ
µ (µ - λ )
λ
µ (µ - λ )
λ
ρ=
µ
Wq =
Average time in queue
System utilization
D-38
Transparency Masters to accompany Operations
Management, 6E (Heizer & Render)
1
µ -λ
© 2000 by Prentice Hall, Inc., Upper Saddle River, N.J. 07458
Simple (M/M/1) Probability
Equations
Probability of 0 units in system, i.e., system idle:
λ
P = 1- ρ = 10
µ
Probability of more than k units in system:
P =
n>k
(µλ )
k+1
Where n is the number of units in the system
Transparency Masters to accompany Operations
Management, 6E (Heizer & Render)
D-39
© 2000 by Prentice Hall, Inc., Upper Saddle River, N.J. 07458
13
Multichannel (M/M/S) Model
Characteristics
♦ Type: Multichannel system
♦ Input source: Infinite; no balks, no reneging
♦ Arrival distribution: Poisson
♦ Queue: Unlimited; multiple lines
♦ Queue discipline: FIFO (FCFS)
♦ Service distribution: Negative exponential
♦ Relationship: Independent service & arrival
♦ Σ Service rates > arrival rate
Transparency Masters to accompany Operations
Management, 6E (Heizer & Render)
D-40
© 2000 by Prentice Hall, Inc., Upper Saddle River, N.J. 07458
Model B (M/M/S) Equations
Probability of zero
people or units in the
system:
Average number of
people or units in the
system:
Average time a unit
spends in the system:
Transparency Masters to accompany Operations
Management, 6E (Heizer & Render)
P0 =
1
M−1 1  ë n  1  ëM Mì
 ∑    +  
 n! ì  M! ì  Mì − ë
 n=0   
λµ  λ 
 µ
Ls =
M !M
µ λ 
 µ
Ws =
M !M
D-41
M
λ
P0
λ
M
λ
P0 +
1
© 2000 by Prentice Hall, Inc., Upper Saddle River, N.J. 07458
Model B (M/M/S) Equations
Average number of
people or units waiting
for service:
L q = Ls − λ
µ
Average time a person
or unit spends in the
queue
Wq = Ws −
Transparency Masters to accompany Operations
Management, 6E (Heizer & Render)
D-42
1
© 2000 by Prentice Hall, Inc., Upper Saddle River, N.J. 07458
14
Constant Service Rate (M/D/1)
Model Characteristics
♦ Type: Single-channel, single-phase system
♦ Input source: Infinite; no balks, no reneging
♦ Arrival distribution: Poisson
♦ Queue: Unlimited; single line
♦ Queue discipline: FIFO (FCFS)
♦ Service distribution: Negative exponential
♦ Relationship: Independent service & arrival
♦ Σ Service rates > arrival rate
Transparency Masters to accompany Operations
Management, 6E (Heizer & Render)
D-43
© 2000 by Prentice Hall, Inc., Upper Saddle River, N.J. 07458
Model C (M/D/1) Equations
Average number of people
or units waiting for service:
Lq =
Average time a person or
unit spends in the queue
Wq =
Average number of people or
units in the system:
Average time a unit spends in
the system:
Transparency Masters to accompany Operations
Management, 6E (Heizer & Render)
D-44
2
λ
2µ (µ − λ )
2
(
λ
λ)
Ls = Lq + λ
µ
Ws = Wq +
1
© 2000 by Prentice Hall, Inc., Upper Saddle River, N.J. 07458
Limited Population Model
Characteristics
♦ Type: Single-channel, single-phase system
♦ Input source: Limited; no balks, no reneging
♦ Arrival distribution: Poisson
♦ Queue: Unlimited; single line
♦ Queue discipline: FIFO (FCFS)
♦ Service distribution: Negative exponential
♦ Relationship: Independent service & arrival
♦ Σ Service rates > arrival rate
Transparency Masters to accompany Operations
Management, 6E (Heizer & Render)
D-45
© 2000 by Prentice Hall, Inc., Upper Saddle River, N.J. 07458
15
Model D (Limited Population)
Equations
T
T+U
Service Factor:
X=
Average number of people
or units waiting for service:
L = N (1 − F)
Average time a person or
unit spends in the queue
W=
Transparency Masters to accompany Operations
Management, 6E (Heizer & Render)
D-46
L(T + U ) T(1 − F)
=
( N − L)
XF
© 2000 by Prentice Hall, Inc., Upper Saddle River, N.J. 07458
Model D (Limited Population)
Equations - continued
Average number
running
J = NF(1 − X )
Average number
being served:
H= FNX
Number in the
population:
N J L H
Transparency Masters to accompany Operations
Management, 6E (Heizer & Render)
D-47
© 2000 by Prentice Hall, Inc., Upper Saddle River, N.J. 07458
Model D (Limited Population)
Equations - continued
Where:
★D = probability that a unit will have to wait in
the queue
★F = efficiency factor
♦H = average number of units being serviced
♦J = average number of units not in the queue
or service bay
♦ L = average number of units waiting for
service
Transparency Masters to accompany Operations
Management, 6E (Heizer & Render)
D-48
© 2000 by Prentice Hall, Inc., Upper Saddle River, N.J. 07458
16
Model D (Limited Population)
Equations - continued
♦M = number of service channels
♦N = number of potential customers
♦T = average service time
♦U = average time between unit service
requirements
♦W = average time a unit waits in line
♦X = service factor
★to be obtained from finite queuing tables
Transparency Masters to accompany Operations
Management, 6E (Heizer & Render)
D-49
© 2000 by Prentice Hall, Inc., Upper Saddle River, N.J. 07458
Remember: λ & µ Are Rates
♦ λ = Mean number of
arrivals per time period
♦
e.g., 3 units/hour
If average service time is
15 minutes, then μ is 4
customers/hour
♦ µ = Mean number of
people or items served
per time period
♦
e.g., 4 units/hour
♦
1/µ
µ = 15 minutes/unit
© 1984-1994 T/Maker Co.
Transparency Masters to accompany Operations
Management, 6E (Heizer & Render)
D-50
© 2000 by Prentice Hall, Inc., Upper Saddle River, N.J. 07458
17