SOM15-16 - Numericals
SOM15-16 - Numericals
Numerical
Ls average number of customers in system
Lq pLs average number of customers in line
1
Ws average time in system including service
Wq pWs average time spent waiting
Pn 1 p p n probability of n customers in the system
at a given point in time
Formulas: Single-Server M/M/1
Calculate
• (a) The average utilization of the help desk server
• (b) The average number of students in the system
• (c) The average number of students waiting in line
• (d) The average time a student spends in the system
• (e) The average time a student spends waiting in line
• (f) The probability of having more than 4 students in
the system
a) Average Utilization
15
p 0.75 or 75%
20
(b) and (c)Average Number of Students
in the System, and in Line
15
Ls 3 students
20 15
1 1
Ws 0.2 hours
20 15
or 12 minutes
L
9
L
12 9
= 9/3 = 3
Example 2
(c) Average number of customers waiting in line is 2.25.
Lq = p * L
= 0.75 * 3
= 2.25
(d) Average time a customer spends in the system is 0.33
hours, or 20 minutes.
1
W
1
W 0.33hours
12 9
Example 2
(e) Average time a customer spends waiting in line is
0.25 hours, or 15 minutes.
Wq= p *W
= 0.75 *0.33= 0.25 hours
Example 2a
λ= 24 customers per hour arrive at checkout counter
μ= 30 customers per hour can be checked out
(a) What is the average system utilization?
(b) What is the average number of customers in the
system?
(c) What is the average number of customers waiting in
line?
(d) What is the average time a customer spends in the
system?
(e) What is the average time a customer spends waiting in
line?
Example 2a
Example 2a
Example 2a
Example 3
Naved is running a service center in New Town. His
mechanic, Romita , is able to install new mufflers at an
average rate of 3 per hour, or about 1 every 20 minutes.
Customers needing this service arrive at the service
center on the average of 2 per hour. Naved, the shop
owner, studied queuing models in an MBA program and
want to calculate the numerical values of the preceding
operating characteristics.
Example 3
Given
λ = 2 cars arriving per hour
μ=3 cars serviced per hour
Example 3
Given
λ = 2cars arriving per hour
μ=3 cars serviced per hour
Example 3
Example 3- Cost of Waiting
Now that the characteristics of the queuing system have
been computed, Naved decides to do an economic
analysis of their impact. The waiting line model was
valuable in predicting potential waiting times, queue
lengths, idle times, and so on. But it did not identify
optimal decisions or consider cost factors. As stated
earlier, the solution to a queuing problem may require
management to make a trade-off between the increased
cost of providing better service and the decreased
waiting costs derived from providing that service. These
two costs are called the waiting cost and the service cost.
Cost of Waiting
Example 3- Cost of Waiting
Total service cost = (Number of channels)(Cost per
channel)
Total service cost= m * Cs
Where
m= number of channels
Cs=service cost (labor cost) of each channel
Example 3- Cost of Waiting
The waiting cost when the waiting time cost is based on
time in the system is
Total waiting cost = (Total time spent waiting by all
arrivals)(Cost of waiting)
= (Number of arrivals)(Average wait per arrival) *Cw
Total waiting cost = ( λ*W)*Cw
If the waiting time cost is based on time in the queue, this
becomes
Total waiting cost = ( λ*Wq)*Cw
Example 3- Cost of Waiting
Total cost = Total service cost + Total waiting cost
= m * Cs + ( λ*W)*Cw
When the waiting cost is based on time in the queue, the
total cost is
= m * Cs + ( λ*Wq)*Cw
Example 3- Cost of Waiting
Naved estimates that the cost of customer waiting time, in
terms of customer dissatisfaction and lost goodwill, is Rs.
50 per hour of time spent waiting in line. (After customers’
cars are actually being serviced on the rack, customers
don’t seem to mind waiting). Because on the average a car
has a 2/3 hour wait and there are approximately 16 cars
serviced per day (2 per hour times 8 working hours per
day), the total number of hours that customers spend
waiting for mufflers to be installed each day is 2/3 *16 or
32/3 or 10 2/3 hours or 10 hour 40 minutes.
Example 3- Cost of Waiting
Total daily waiting cost = (8 hours per day)λ* Wq* Cw
= 8* (2) *(2/3)*(50)
= Rs. 533
The only other cost that Naved can identify in this queuing
situation is the pay rate of Romita Das, the mechanic. Das is
paid Rs.15 per hour
Total daily cost of the queuing system = Rs. 33.20 + Rs. 240 =
Rs. 273.20
Multichannel Queuing Model
As you recall, total cost with just Romita as mechanic was
found to be Rs. 653 per day. Cost with just Rajesh was just
Rs. 360. Opening a second service bay will save about Rs.
380 per day compared to the current system, and it will save
about Rs. 87 per day compared to the system with the faster
mechanic. Thus, because the after-tax cost of a second bay
is very low, Naved decision is to open a second service bay
and hire a second worker who is paid the same as Romita.
This may have additional benefits because word may spread
about the very short waits at Naved’s Muffler Shop, and this
may increase the number of customers who choose to use
Naved’s.