Queuing Models and Capacity Planning
Queuing Models and Capacity Planning
1
Yasar A. Ozcan
Figure 14.1 Queue Phenomenon
Location: Hospital Outpatient Pharmacy Location: Hospital Outpatient Pharmacy
Day & Time: Monday, 11:00 AM Day & Time: Monday, 3:30 PM
Average number in line: 20 Average number in line: 0
Idle servers: 0 Idle servers: 3
Average wait time: 15 minutes Average wait time: 0 minutes
Hourly wage per idle pharmacist: $40
2
Yasar A. Ozcan
QUEUING MODELS
3
Yasar A. Ozcan
WHY MUST WE WAIT IN LINES?
RANDOMNESS
ARRIVALS
SERVICE TIMES
4
Yasar A. Ozcan
OUR GOAL?
TO REDUCE COSTS
• Waiting Costs
• Capacity Costs
5
Yasar A. Ozcan
TO SUMMARIZE:
Waiting Costs
• Salaries paid to employees while they wait for service (e.g.,
physicians waiting for an x-ray or test result)
• Cost of waiting space
• Loss of business due to wait (balking customers)
the cost of maintaining the ability
Capacity Costs--
to provide service
6
Yasar A. Ozcan
Figure 14.2 Healthcare Service Capacity and Costs
Total cost
Cost
Optimum capacity
7
Yasar A. Ozcan
BEFORE GETTING TO
THE COMPLICATED PART.
. Examine
Let’s . the Main Characteristics of any queuing model:
The population Source
The number of servers (channels)
Arrival and service patterns
Queue discipline (order of service)
8
Yasar A. Ozcan
THE POPULATION
SOURCE
Infinite
• Customer arrivals are unrestricted
• Customer arrivals exceed system capacity
• Exists where service is unrestricted
Finite source
• Customer population where potential number of
customers is limited
Can you think of examples for each source?
9
Yasar A. Ozcan
Figure 14.3 Queuing Conceptualization of Flu Inoculations
Population
(Patient Source) Facility
Queue Service
(Waiting Line)
10
Management
Yasar A. Ozcan
THE NUMBER OF
SERVERS
Capacity is a function of the capacity of each server
and the number of servers being used
Servers are also called channels
Systems can be single or multiple server, and
consist of phases
11
Management
Yasar A. Ozcan
Figure 14.4 Conceptualization of a Single-line, Multi-phase System
Phase -1
Phase -2
Phase -3
12
Management
Yasar A. Ozcan
Figure 14.5 Multi-Line Queuing Systems
Nurses
Providing Inoculations
Line-1
Queue
Patients Line-2
Line-3
Emergency Room
13
Management
Yasar A. Ozcan
ARRIVAL AND
SERVICE PATTERNS
Remember-- both arrival and service patterns are random,
thus causing waiting lines
Models assume that:
• Customer arrival rate can be described by Poisson distribution
• Time between arrivals can be described by exponential
distribution
14
Management
Yasar A. Ozcan
Figure 14.6 Emergency Room Arrival Patterns
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Sunday
7:00am 3:00pm 7:00pm
Chapter 14: Quantitatve Methods in Health Care
15
Management Time →
Yasar A. Ozcan
Figure 14.7 Measures of Arrival Patterns
Inter-arrival time
9:00pm 10:00pm
16
Management
Yasar A. Ozcan
Figure 14.8 Poisson Distribution
.20
.15
.10
Probability
.05
0 1 2 3 4 5 6 7 8 9 10
Patient
Chapter 14: Quantitatve Methods in Health Carearrivals per hour
17
Management
Yasar A. Ozcan
Figure 14.9 Service Time for ER Patients
90
60
Time (minutes)
30
A B C D E F
Patients
18
Management
Yasar A. Ozcan
Exponential or Poisson?
19
Management
Yasar A. Ozcan
QUEUE CHARACTERISTICS
Patients who arrive and see big lines (the flu shot
example) may change their minds and not join
the queue, but go elsewhere to obtain service;
this is called balking. If they do join the queue
and are dissatisfied with the waiting time, they
may leave the queue; this is called reneging.
20
Management
Yasar A. Ozcan
QUEUE DISCIPLINE
21
Management
Yasar A. Ozcan
EXHIBIT 14.1 QUEUING MODEL
CLASSIFICATION
A: specification of arrival process, measured by inter-arrival time or arrival rate.
M: exponential or Poisson distribution
D: constant value
K: Erlang distribution
G: a general distribution with known mean and variance
22
Management
Yasar A. Ozcan
How do we judge our system performance?
➢Average number of patients (in queue or in system)
23
Management
Yasar A. Ozcan
How do we judge our system performance?
0 System Utilization
Chapter 14: Quantitatve Methods in Health Care
100%
24
Management
Yasar A. Ozcan
TYPICAL INFINITE-SOURCE
MODELS
25
Management
Yasar A. Ozcan
Infinite source models
26
Management
Yasar A. Ozcan
EXHIBIT 14.2 QUEUING MODEL
NOTATION
arrival rate
service rate
Lq average number of customers waiting for service
L average number of customers in the system
(waiting or being served)
Wq average time customers wait in line
W average time customers spend in the system
system utilization
1/ service time
Po probability of zero units in system
Pn probability of n units in system
Chapter 14: Quantitatve Methods in Health Care
27
Management
Yasar A. Ozcan
INFINITE SOURCE MODELS: MODEL FORMULATIONS
Five key relationships that provide basis for queuing formulations and are
common for all infinite-source models:
4. The average time in the system is the sum of the time in line plus the
service time.
1
W = Wq +
5. System utilization is the ratio of arrival rate to service capacity.
Chapter 14: Quantitatve Methods in Health Care =
s
28
Management
Yasar A. Ozcan
Single Server, Poisson Arrival and Exponential
Service Time (M/M/1).
2
Lq =
( − )
P0 = 1 −
n
Pn = P0
Chapter 14: Quantitatve Methods in Health Care
29
Management
Yasar A. Ozcan
Single Server, Poisson Arrival and Exponential
Service Time (M/M/1).
Example 14.1
30
Management
Yasar A. Ozcan
FIGURE 14.10. EXCEL SETUP AND SOLUTION TO THE
DIABETES INFORMATION BOOTH PROBLEM.
31
Management
Yasar A. Ozcan
Multi-Server, Poisson Arrival and
Exponential Service Time (M/M/s>1)
s
Lq = P0
(s − 1)!(s − )2
1
P0 =
n
s
s −1
+
n=0 n!
s!1 −
s
Chapter 14: Quantitatve Methods in Health Care
32
Management
Yasar A. Ozcan
Multi-Server, Poisson Arrival and
Exponential Service Time (M/M/s>1)
1
Wa =
s −
Wq
Pw =
Wa
Wa = the average waiting time for an arrival not immediately served
Pw = probability that an arrival will have to wait for service.
33
Management
Yasar A. Ozcan
Multi-Server, Poisson Arrival and
Exponential Service Time (M/M/s>1)
34
Management
Yasar A. Ozcan
Multi-Server, Poisson Arrival and
Exponential Service Time (M/M/s>1)
Solution:
This is an M/M/2 queuing problem. The Excel solution
provided in Figure 14.12 shows the 90% utilization.
35
Management
Yasar A. Ozcan
Figure 14.12 System Performance Summary for Expanded Diabetes Information Booth with M/M/2
36
Management
Yasar A. Ozcan
Figure 14.13 System Performance Summary for Expanded Diabetes Information Booth with M/M/3
37
Management
Yasar A. Ozcan
Figure 14.14 Capacity Analysis
38
Management
Yasar A. Ozcan
Multi-Channel, Poisson Arrival and Exponential
Service Time (M/M/s>1)
Table 14.1 Summary Analysis for M/M/s Queue for Diabetes Information Booth
39
Management
Yasar A. Ozcan
ASSUMPTIONS AND LIMITATIONS
40
Management
Yasar A. Ozcan
The End
41
Management
Yasar A. Ozcan