10-Service Management II - Post
10-Service Management II - Post
Dongwook Shin
Dept. ISOM, HKUST Business School
Announcement
• Quiz 3
• Release on Oct 13 (6pm)
• Due on Oct 17 (6pm)
• Covers course material from Oct 6 to Oct 13
1
Insights So Far
2
Recap: M/M/1 Model Utilization
𝜌 = 𝜆/𝜇
Inter-arrival
Rate 𝜆 Single
Buffer
Server
Server 1
Inter-arrival
Rate 𝜆 Server 2
Buffer
⋅⋅⋅
Server s
5
M/M/s Queueing Spreadsheet
MMS.xlsx
6
Learning Objectives: Session 10
• Psychology of waiting
7
Example: Emergency Room Staffing
9
Example: Students at ASO
• Students arrive at the ASO at an average of one every
15 minutes and their requests take on average 10
minutes to be processed. The service counter is staffed
by only one clerk, Judy, who works 8 hours per day.
Assume inter-arrival and service times are exponential
a) What percentage of time is Judy idle?
b) How much time, on average, does a student spend waiting in
line?
c) How long is the (waiting) line on average?
d) What is the probability that an arriving student (just before
entering the ASO) will find at least one other student waiting
in line?
10
Example: Students at ASO
a) What percentage of time is Judy idle?
Utilization = Flow rate / Capacity = 4 per hr / 6 per hr = 0.67
Judy is idle 33% (=1-Utilization) of the time
b) How much time, on average, does a student spend
waiting in line?
𝜆 4
𝑊! = = = 0.33 ℎ𝑜𝑢𝑟 = 20 𝑚𝑖𝑛𝑢𝑡𝑒𝑠
𝜇(𝜇 − 𝜆) 6(6 − 4)
11
Example: Students at ASO
d) What is the probability that an arriving student will
find at least one other student waiting in line?
Compute Pn = (1 - l / µ) (l / µ) n
→ P0 = 0.3333 and P1 = 0.2222
Therefore, 1 – (P0 + P1 ) = 0.4445
The probability that an arriving student will find at least one other
student waiting in line is 0.4445
12
Example: Students at ASO (Extended)
The managers of the ASO estimate that the time a student spends
waiting in line costs them (due to goodwill loss and so on) $10 per
hour. To reduce the time a student spends waiting, they need to
improve Judy’s processing time (in Example 1). There are 2 options:
A. Install a computer system, with which Judy expects to be
able to complete a student request in 6 minutes (original 10
minutes)
B. Hire another temporary clerk, who will work at the same
rate as Judy
The computer system costs $99.5 per day, while the temporary clerk
gets paid $75 per day. Which option is preferred? Assume
exponential inter-arrival and service times
13
Example: Students at ASO (Extended)
• Option A: Maintain one staff at the counter with a new
computer system
Use M/M/1 model with l = 4 and µ = 10
Compute Lq = l2 / µ (µ - l) = 42 / [10(10 – 4)] = 0.267
Total cost = Waiting cost + Cost of installing a computer system
Total cost = (0.267)($10)(8 hours) + $99.5 = $120.83 per day
• Option B: Have two staff at the counter
Use M/M/s model with s = 2, r = l / (s*µ) = 4 / 12 = 0.333
Obtain Lq = 0.0833 from Excel M/M/s sheet
Total cost = Waiting cost + Cost of hiring a temporary clerk
Total cost = (0.0833)($10)(8 hours) + $75 = $81.7 per day
• Psychology of waiting
15
What if Inter-arrival and Service Time
Distributions Are Not Exponential?
16
Relative and Absolute Variability
• The standard deviation is an absolute measure of variability
• Two processes can have the same standard deviation but one can
seem much more variable than the other
• Below are random samples from two processes that have the same
standard deviation. The left one seems more variable
50 120
45
100
Inter-arrival time (min)
40
17
Relative and Absolute Variability
• The previous slide plotted the processes on two different axes
• Here, the two are plotted relative to their average and with the
same axes
• Relative to their average, the one on the left is clearly more variable
5.0 5.0
4.5 4.5
4.0 4.0
3.5 3.5
3.0 3.0
2.5 2.5
2.0 2.0
1.5 1.5
1.0 1.0
0.5 0.5
0.0 0.0
Observation Observation
18
Coefficient of Variation (CV)
• Measure of variability of a random variable X
standard deviacon (X)
CVX=
mean (X)
• CV measures variability relative to the mean
1 1 2 2
0 3 12
CV = 1/3 CV = 2/12 = 1/6
19
Waiting Time Formula for a Single Server
Avg. Waiting Time = 𝑊" Avg. Service Time =𝑊!
Inter-arrival Rate 𝜆
Buffer Server
Average
waiting time
Utilization 21
Effect of Variability
Average
waiting time
Increasing
variability
Utilization 22
Waiting Time Formula for Multiple,
Parallel Servers
Avg. Waiting Time = 𝑊" Avg. Service Time =𝑊!
Server
Inter-arrival Rate 𝜆
Buffer Server
Server
2(s+1)−1
CV#" + CV$" Uklizakon W$
W! = × ×
2 1−Uklizakon s
23
Discussion
24
Why the Long Queues for the Women’s
Restroom?
2(s+1)−1
CV#$ + CV!$ U@liza@on W!
W" = × ×
2 1−U@liza@on s
• Other solutions?
25
Learning Objectives: Session 10
• Psychology of waiting
26
Example: Pooling
• Assumptions
• Arrival rate of customer = 4.73 customers / min
• Service rate of each server = 1.77 customers / min
• 𝐶𝑉% = 𝐶𝑉# = 1
27
Example: Pooling
• Alternative 1: One common queue
CV2 2 2(s+1)−1
a +CVp Uklizakon Wp
Wq = × × =1.40 mins
2 1−Uklizakon s
30
Learning Objectives: Session 10
• Psychology of waiting
31
Psychology of Waiting and Suggestions
• Unoccupied time feels longer
than occupied time
• Try to divert the customer’s
attention when waiting
• Entertain, enlighten, and
engage (Katz et al., 1991)
32
Psychology of Waiting and Suggestions
• Anxiety makes the waiting seem longer
• Ensure the waiting customers that they
are not forgotten
• Realize that new or infrequent customers
feel they wait longer than frequent users
33
Psychology of Waiting and Suggestions
• Unexplained waiting feels longer
than explained waiting
• Provide real reasons for keeping
customers waiting
34
Psychology of Waiting and Suggestions
• Uncomfortable waiting feels
longer than comfortable waiting
• Design a better waiting environment
35
Takeaways
• Pooling helps reducing waiting time
• Waiting time formula is useful when we do not know the
underlying distributions for inter-arrival and service
times
• Watch video for wrap-up
• https://www.youtube.com/watch?v=ptFlL2UaKkA&feature=youtu.be
36