Professional Documents
Culture Documents
Capacity Planning
and Queuing Models
Learning Objectives
60 min/hr
Capacity Planning for Cookies and
Cream - Naive Approach
• Caution needs to be exercised in
implementing such an approach.
• Excess capacity is required in a service system.
• Capacity to serve must exceed the arrival rate
to avoid out-of-control waiting lines.
• Our capacity planning analysis of Cookies and
Cream will be revisited with a more
sophisticated queuing analysis after our
discussion of queuing models.
Analytical Queuing Models
• A popular system classifies parallel-server
queuing models using the following notations
in which three features are identified: A/B/C
– A: the distribution of times between arrivals
– B: the distribution of service times
– C: the number of parallel servers
Elements of Queuing Systems
Processing
order
System
Classifications of Queuing Models
Service Performance Measures
• Average number of customers waiting (in the queue
or in the system)
• Average waiting time of customers (in the queue or
in the system)
• Utilization (percent capacity used)
• Probability of delay: probability that an arrival
customer will have to wait
• Service level: fraction of customers that wait (in the
queue) less than a specified threshold time
Notation
• = arrival rate
• = service rate
• c = number of servers
• = utilization (mean number of customers in service)
• Lq = average number of customers in the queue
• Ls = average number of customers in the system
• Wq = average Waiting time in the queue
• Ws = average Waiting time in the system
• Pn= probability of n customers in the system
Basic (Steady State) Relationships
• Utilization: (should be < 1)
c
• Average Number in Service: r
• Average Number in the System: Ls Lq r
• M/M/c
Congestion
Queuing ToolPak in Excel
http://queueingtoolpak.org/
Use template.xls with qtp.xll!
•Average server utilization
•Average number of customers in the system
•Average number of customers in the queue
•Average time a customer spends in the system
•Average time a customer spends in the queue
•Service level: fraction of customers that wait (in the queue) less
than a specified threshold time
•Minimum number of servers needed to provide a specified level
of service
Example
• Quick Lube Inc. operates a fast lube and oil change garage. On a
typical day, customers arrive at the rate of three per hour, and
lube jobs are performed at an average rate of one every 15
minutes. The mechanics operate as a team on one car at a time.
Assuming Poisson arrivals and exponential service, find:
• Utilization of the lube team.
• The average number of cars in the queue.
• The average time a car waits before it is lubed.
• The average total time in system.
• The fraction of customers that wait less than half an hour
Example
• =3 / hour, = 4 / hour, c = 1
• Utilization = / = 75%
• From the ToolPak in Excel: Lq = 2.25 cars
• From Little's Law: Wq = Lq / = 0.75 hour
• From the basic relationship: Ws = Wq + 1 / = 1 hour
• From the ToolPak in Excel: service level = 3%
Example
• Suppose Quick Lube Inc. would like to ensure 90% of customers
that wait less than half an hour.
• What is the minimum number of lube teams needed?