Session 9 - Service - Operations - I
Session 9 - Service - Operations - I
Lijian Lu
Dept. of ISOM, HKUST
1
Example: Queue at Starbucks
4
Managerial Implications of Long Waiting
5
Waiting Lines and Queuing System
• Where?
– Call centers
– Airline
– Bank
– Supermarket
–…
• Questions:
– What are the root causes of waiting?
– How to reduce the waiting time?
What is Special about Service Operations?
• Dice game
• A queueing model
– What are the root causes of waiting?
– How to reduce the waiting time?
8
Dice Game I
Variability
of Service
Variability
of Arrival
12
Discussions of Dice Game
• Why do queues exist?
– Variability of arrival process
– Variability of service time
• Dice game
• A queuing model
– What are the root causes of waiting?
– How to reduce the waiting time?
Servers
Customers Queue
Queueing Models
# of servers
# of lines
Queueing rules
System Performance
Flow Rate
Utilization = Capacity
23
Example: Call Center for Software Support
-- 3 representatives answer phones (each can handle all types of calls)
-- 20 calls per hour
-- 4 minutes per call, on average
Find:
utilization = 0.4444
probability that all rep. are idle = 0.2542
Probability of delay = 0.1808
average # customers in system = 1.4780
average queue length = 0.1446
average time spent in system = 0.0739 hour
average time spent in queue = 0.0072 hour
24
M/M/s Queueing Spreadsheet
Inputs: Definitions of terms: MMS.xlsx
lambda 20 lambda = arrival rate
mu 15 mu = service rate
s = number of servers
Lq = average number in the queue
Ls = average number in the system
Wq = average time spent in the queue (avg. wait in queue)
Ws = average time spent in the system (avg wait in system)
P(0) = probability of zero customers in the system
P(delay) = probability that an arriving customer has to wait
Outputs:
s Lq Ls Wq Ws P(0) P(delay) Utilization
0
1 infinity infinity infinity infinity 0.0000 1.0000 1.0000
2 1.0667 2.4000 0.0533 0.1200 0.2000 0.5333 0.6667
3 0.1446 1.4780 0.0072 0.0739 0.2542 0.1808 0.4444
4 0.0259 1.3592 0.0013 0.0680 0.2621 0.0518 0.3333
5 0.0046 1.3379 0.0002 0.0669 0.2634 0.0126 0.2667
6 0.0008 1.3341 0.0000 0.0667 0.2636 0.0026 0.2222
7 0.0001 1.3334 0.0000 0.0667 0.2636 0.0005 0.1905
8 0.0000 1.3333 0.0000 0.0667 0.2636 0.0001 0.1667
9 0.0000 1.3333 0.0000 0.0667 0.2636 0.0000 0.1481
10 0.0000 1.3333 0.0000 0.0667 0.2636 0.0000 0.1333
11 0.0000 1.3333 0.0000 0.0667 0.2636 0.0000 0.1212
12 0.0000 1.3333 0.0000 0.0667 0.2636 0.0000 0.1111
13 0.0000 1.3333 0.0000 0.0667 0.2636 0.0000 0.1026 25
Takeaways
• Insights from dice game
– Queues exist because of variability in arrival times and
service times
– Reducing variability reduces waiting time
• M/M/s model
– Using Excel, we can get the following performance measures
l
µ r ,Wq ,Ws , Lq , Ls ...
s
26
Appendix(Optional): Exponential Distribution
1
0.9
0.8
0.7
P(X £ t)
0.6
0.5
0.4
0.3
0.2
0.1
0
0 0.5 1 1.5 2 2.5 3
Time t
λ=3 λ=6
0.2
0.15
0.1
0.05
0
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Occupancy