Problem 6. Effect of Pooling Ra/2 Server 1 Queue 1 2M/M/1 Server 2 Queue 2 Ra/2 Server 1 M/M/2 Ra Queue Server 2 Operations Management: Waiting Lines 2 Ardavan Asef-Vaziri July-2015

Download Report

Transcript Problem 6. Effect of Pooling Ra/2 Server 1 Queue 1 2M/M/1 Server 2 Queue 2 Ra/2 Server 1 M/M/2 Ra Queue Server 2 Operations Management: Waiting Lines 2 Ardavan Asef-Vaziri July-2015

Problem 6. Effect of Pooling
Ra/2
Server 1
Queue 1
2M/M/1
Server 2
Queue 2
Ra/2
Server 1
M/M/2
Ra
Queue
Server 2
Operations Management: Waiting Lines 2
Ardavan Asef-Vaziri
July-2015
1
Problem 6. Effect of Pooling- M/M/2 vs. 2M/M/1
10/hr
5 min
Server 1
Queue 1
2M/M/1
Server 2
Queue 2
10/hr
5 min
Server 1
M/M/2
20/hr
Queue
Server 2
Operations Management: Waiting Lines 2
Ardavan Asef-Vaziri
July-2015
2
Effect of Pooling

Under Design A,


Under Design B,


We have Ri = 10/2 = 5 per minute, and TP= 5 seconds, c =1 and K
=50, we arrive at a total flow time of 8.58 seconds
We have Ri =10 per minute, TP= 5 seconds, c=2 and K=50, we
arrive at a total flow time of 6.02 seconds
So why is Design B better than A?



Design A the waiting time of customer is dependent on the
processing time of those ahead in the queue
Design B, the waiting time of customer is only partially dependent
on each preceding customer’s processing time
Combining queues reduces variability and leads to reduce waiting
times
Operations Management: Waiting Lines 2
Ardavan Asef-Vaziri
July-2015
3
Problem 7
Bank of San Pedro has only 1 teller. On average, 1 customer comes
every 6 minutes, and it takes the teller an average of 3 minutes to
serve a customer. To improve customer satisfaction, the bank is
going to implement a unique policy called, “We Pay While You
Wait.” Once implemented, the bank will pay each customer $3 per
minute while a customer waits in line. (So the clock starts when a
customer joins the line, and stops when the customer begins to talk
to the teller.) Bank of San Pedro hired you as a consultant and you
are responsible for estimating how much the “We Pay While You
Wait” program will cost. Assume linear cost. If a customer waits for
ten seconds in line, Bank of San Pedro will pay $0.5. Assume that
arrival follows Poisson and service time follows exponential
distribution.
Operations Management: Waiting Lines 2
Ardavan Asef-Vaziri
July-2015
4
Problem 7
a) Compute the capacity of the teller
a)
b)
c)
d)
e)
10 customers/hour
3.33 customers/hour
20 customers/hour
30 customers/hour
Cannot be determined
It takes the teller an average of 3 minutes to serve a customer
60/3 = 20 customers per hour
Operations Management: Waiting Lines 2
Ardavan Asef-Vaziri
July-2015
5
Problem 7
b) Calculate the proportion of the time the teller is busy.
a) 100%
b) 80%
c) 62%
d)50%
e) 40%
R=10, Rp= 20
R/Rp= 10/20 = 0.5
= 50%
Operations Management: Waiting Lines 2
Ardavan Asef-Vaziri
July-2015
6
Problem 7 - Approximation
c) How long, on average, does a customer wait in line?
a) 6 minutes
b) 4.8 minutes
c) 3 minutes
d)2.6 minutes
e) 2 minutes
0.52
11
Ii 

 0.5
(1  0.5) 2
Indeed Ii was even given in the problem.
Ti= Ii/R
Ti= 0.5/10 = .05
0.05(60) = 3 minutes
Operations Management: Waiting Lines 2
Ardavan Asef-Vaziri
July-2015
7
Problem 7
d) Calculate the expected “hourly” cost of the “We Pay While
You Wait” program.
a) $9
b) $36
c) $60
d)$90
e) $140
Ii =0.5.
Therefore, a half of a customer is always there.
For each hour one customer gets 60(3) = $180.
Thus 0.5 customer gets $90.
Perhaps you do not believe me.
Each customer waits, on average, 3 minutes.
He or she receives, on average, 3(3) =$9.
There are 10 customers arriving per hour.
The overall hourly cost of this program is 9*10=$90.
Operations Management: Waiting Lines 2
Ardavan Asef-Vaziri
July-2015
8
Problem 7
e) Suppose each additional clerk costs X dollars per hour
(including all other clerk related costs such as benefits,
space and equipment hourly costs). Compute the maximum
value of X if it is at our benefit to hire one additional clerk?
If we have two clerks, Rp increases from 20 to 40, and utilization
drops from 0.5 to 10/40 = 0.25
2 ( 2 1)
0.25
Ii 
 0.0447
(1  0.25)
Ii reduced from 0.5 customers to 0.0447 customers = 0.4553
Operations Management: Waiting Lines 2
Ardavan Asef-Vaziri
July-2015
9
Problem 7
The number of customers waiting in the line reduced by 0.455.
It means each hour, there are 0.455 less customers waiting in line.
The cost of each hour waiting per 1 customer is $180
The waiting cost of 0.455 customers is 180(0.4553) = 81.95
If the additional clerk costs less than $81.96 per hour it is at our
benefit to hire her.
f) Suppose each additional clerk costs $30 per hour. How many
new clerk should we hire, one or two?
Obviously, it is at our benefit to hire one clerk.
If we hire two clerks (to have 3 clerks), Rp increases to 60, and
utilization drops 10/60 = 0.167
Operations Management: Waiting Lines 2
Ardavan Asef-Vaziri
July-2015
10
Problem 7
2 ( 31)
0.167
Ii 
 0.008
(1  0.167)
Ii is reduced from 0.045 customers to 0.008, a 0.037 customer
reduction.
By adding the third clerk, there are 0.037 less customers waiting
in line (each hour and always)
180(0.037) = about $6-$7
It is not at our benefit to hire the second additional clerk, pay $30
per hour capacity cost to reduce waiting cost by $6-$7 per
hour.
And we will not pay more that $1-$2 to the fourth clerk.
Operations Management: Waiting Lines 2
Ardavan Asef-Vaziri
July-2015
11
Problem 7
We did not need to do this much computations for the third
clerk. With two clerks the total number of customers
waiting in line was:
Ii was equal to 0.045 for c =2.
Even if we reduce the number of customers in the waiting line to
0, we have reduced the line by 0.045 customers.
0.045(180) = 8.1
It is not worth the cost $30 to benefit $8
Operations Management: Waiting Lines 2
Ardavan Asef-Vaziri
July-2015
12
Problem 7 - Exact
M/M/s
Arrival rate
Service rate
Number of servers
Utilization
P(0), probability that the system is empty
Ii, expected queue length
I, expected number in system
Ti, expected time in queue
T, expected total time in system
Probability that a customer waits
Operations Management: Waiting Lines 2
0.16667
0.33333
1
0.16667
0.33333
2
0.16667
0.33333
3
50.00%
0.5000
0.5000
1.0000
3.0000
6.0000
0.5000
25.00%
0.6000
0.0333
0.5333
0.2000
3.2000
0.1000
16.67%
0.6061
0.0030
0.5030
0.0182
3.0182
0.0152
Ardavan Asef-Vaziri
July-2015
13
Problem 8.a. Exponential Probability Distribution
Average trade time in Ameritrade is one second. Ameritrade has
promised its customers if trade time exceeds 5 second it is free (a
$10.99 cost saving. The same promises have been practiced by
Damion Pizza (A free regular pizza) and Wells Fargo ($5 if
waiting time exceeds 5 minutes). There are 150,000 average daily
trade. What is the cost to Ameritrade”
P(x≥ X0) = e-X0/= e-5/1 = EXP(-5) = 0.006738
Probability of not meeting the promise is 0.6738%
0.006738*150,000* = 1011 orders
@10.99 per order = 10.99*1011 = $11111 per day
Operations Management: Waiting Lines 2
Ardavan Asef-Vaziri
July-2015
14
Problem 8.a. Exponential Probability Distribution
What was the cost if they had improved their service level by
50%? that is to make it free for transactions exceeding 2.5 secs.
P(x≥ X0) = e-X0/= e-2.5/1 = EXP(-2.5) = 0.082085
8.2085%*150,000*10.99 = $135317 per day
We cut the promised time by half, our cost increased 12 times.
Operations Management: Waiting Lines 2
Ardavan Asef-Vaziri
July-2015
15
Problem 8.b. Exponential Probability Distribution
In a single phase single server service process and exponentially
distributed interarrival time and service times, the actual total
time that a customer spends in the process is also exponentially.
Suppose total time the customers spend in a pharmacy is
exponentially distributed with mean of 15 minutes. The pharmacy
has promised to fill all prescriptions in 30 minutes. What
percentage of the customers cannot be served within this time
limit?
P(x≤X0) = 1- e-X0/
P(x≥30) = 1- P(x≤30) = 1- (1- e-X0/ )= e-X0/ = EXP(-30/15) = 0.1353
13.53% of customers will wait more than 30 minutes.
Operations Management: Waiting Lines 2
Ardavan Asef-Vaziri
July-2015
16
Problem 8.b. Exponential Probability Distribution
90% of customers are served in less than what time limit?
1-e-X0/ = 0.9
Find X0
e-X0/ = 0.1  e-X0/15 = 0.1
ln (0.1) = -X0/15
X0 = -15ln(0.1)
X0 = -15(-2.30259) = 34.5388
More than 90% of customers are served in less than 35 mins.
What is the probability of 3 customers arriving in 30 minutes
One customer arrives per 15 minutes.
Operations Management: Waiting Lines 2
Ardavan Asef-Vaziri
July-2015
17
Problem 8.c
Bank of San Pedro has only 1 teller. On average, 1 customer comes
every 6 minutes, and it takes the teller an average of 3 minutes to
serve a customer. To improve customer satisfaction, the bank is
going to implement a unique policy called, “We Pay If You Wait
Long.” Once implemented, the bank will pay $10 to any customer
being in the bank for more than 10 minutes.
Ta and Tp both have exponential distribution.
Compute Ti.
0.52
11
Ti= Ii/R
Ii 
(1  0.5)

2
 0.5
Ti= 0.5/10 = .05
Ti = 0.05(60) = 3 minutes
Tp = 3 minutes
T = Ti +Tp = 6 min
Operations Management: Waiting Lines 2
Ardavan Asef-Vaziri
July-2015
18
Problem 8.c. Exponential Probability Distribution
P(x≥ X0) = e-X0/= e-10/6 = EXP(-10/6) = 0.188876
Probability of not meeting the promise is = 18.89%
0.180*10 = $1.89
Each hour 10 customers arrive
Total cost = 1.89*10 = $19.9 per hour.
Operations Management: Waiting Lines 2
Ardavan Asef-Vaziri
July-2015
19
Problem 9
American Vending Inc. (AVI) supplies vending food to a large
university. Because students often kick the machines out of
anger and frustration, management has a constant repair
problem. The machines break down on an average of 3/hr, and
the breakdowns are distributed in a Poisson manner. Downtime
costs the company $25/hr/machine, and each maintenance
worker gets $4 per hr. One worker can service machines at an
average rate of 5/hr, distributed exponentially; 2 workers
working together can service 7/hr, distributed exponentially;
and a team of 3 workers can do 8/hr, distributed exponentially.
What is the optimal maintenance crew size for servicing the
machines?
Operations Management: Waiting Lines 2
Ardavan Asef-Vaziri
July-2015
20
Problem 9
Members in a team
1
2
3
c=????
c=1
U=??
Demand
3
3
3
Capacity
5
7
8
Ii
U
0.600 0.90
0.429 0.32
0.375 0.23
U 2( c 1)
Ii 
1U
Down Time Cost Capacity Cost
4
22.5
8
8.0
12
5.6
Total Cost
26.5
16.0
17.6
U2

1U
Down time cost = 25Ii
Capacity Cost= 4(# of team members)
Total Cost
Operations Management: Waiting Lines 2
Ardavan Asef-Vaziri
July-2015
21
Problem 9
Have I made any mistakes?
Downtime costs the company $25 /hr/machine.
When the machine is down?
Until it is up.
In the waiting line it is down. In the processor until the end of
the process it is down.
There fore, besides Ii, I also need Ip
Members
Waiting
in a team Demand Capacity U
Ii
Cost
1
3
5
0.600 0.90 22.50
2
3
7
0.429 0.32 8.04
3
3
8
0.375 0.23 5.63
Operations Management: Waiting Lines 2
In Process
Cost
15.00
10.71
9.38
Labor
Cost
4
8
12
Ardavan Asef-Vaziri
Total Cost
41.50
26.75
27.00
July-2015
22
Problem 9
Lets check by using Ti and Tp instead of Ii and Ip
Members
in a team Demand Capacity U
Ii
Ti
1
3
5
0.600 0.90 0.30
2
3
7
0.429 0.32 0.11
3
3
8
0.375 0.23 0.08
Processing
time (hr) /
Machine
0.20
0.14
0.13
Operations Management: Waiting Lines 2
In
Waiting
Process Waiting
Cost
Cost
Cost
/Machine /Machine /Hour
7.50
5.00
22.50
2.68
3.57
8.04
1.88
3.13
5.63
Ardavan Asef-Vaziri
In
Process
Cost
/hour
15.00
10.71
9.38
July-2015
Labor
Cost
4.00
8.00
12.00
Total
Cost
41.50
26.75
27.00
23