Waiting Lines Buffer Notes
Waiting Lines Buffer Notes
Waiting Lines Buffer Notes
A Simple Process
R Process R
Waiting
Line
II. Inventory I =I i+ I p
Explains that Inventory ( I ) is equal to the number of flow units in the
buffer ( I i) + the total number of flow units in all processors ( I p)
III. I i=R x T i
Explains that the number of flow units in the buffer ( I i) is equal to
throughput ( R x buffer time (T i)
IV. I p=R x T p
Explains that the total number of flow units in all processors ( I p) is equal
to throughput x processing time (T p)
I Ii I p
R= = =
T Ti T p
We also have to take into consideration the formulas that we learn in Capacity
such as:
I. U =R / R p
Explains that utilization is equal to throughput ( R ) divided capacity ( R p)
II. R p =c /T p
Explains that Capacity ( R p) is equal to the number of processors (c )
divided by processing time (T p)
III. R=I p /T p
Explains that throughput ( R ) is equal to the total number of flow units in
all processors ( I p) divided by processing time (T p)
U=
R
=
( )( )
Ip
Rp T p
c
Tp
=
Ip
c
Ip
U=
c
B. Characteristics of Waiting Lines
As utilization goes up, the number of people in the buffer goes up. The other
one is variability; If every four minutes, exactly every four minutes, one
customer arrives, and it takes exactly three minutes for that flow unit to pass
the processor, then we never observe the waiting line.
In this case, utilization is one hundred percent, that is the maximum possible
utilization, but there is absolutely no variability, neither in inter-arrival time nor
flow time, then we never see flow units in the buffer.
II. Inventory I =I i+ I p
We have an approximation formula for Ii and we have exact formula for some
specific cases of waiting line.
The approximation formula is used for the number of flow units in the buffer. Ii,
the number of flow units in the buffer is equal to utilization to the power of two
times one plus the number of servers divided by one minus the utilization and
we refer to it as utilization affect or u-part. Utilization affect is multiplied by
variability affect. And that is squared coefficient of variability of inter-arrival
time plus square of coefficient of variability of processing time divided by two.
And we refer to it as variability affect or v-part.
U √ 2( c+1) Ca +Cp
2 2
I i= x
1−U 2
R
U= , where R p=c /T p
Rp
C a and C p are the Coefficients of Variation
Standard Deviation/Mean of the inter-arrival or processing times
(assumed independent)
U √ 2( c+1)
I i=
1−U
2 2
Ca +Cp
2
Therefore exponential distribution shows the time between two events and
Poisson distribution shows the number of events over a specific time period.
Example 1:
1 1
Ra = = arrivals per minute
Ta 6
Systems and Operations Management Study Guide, Ardavan Asef-Vaziri
8
Chapter 6. Waiting Line Analysis
Example 1b:
7, 1, 7, 2, 8, 7, 4, 8, 5, 1 minutes.
1 1
Rp= = arrivals per minute
Tp 5
Using examples 1 and 1b, we are able to figure out how many people are in the
waiting line and what is the safety capacity with the use of the queue length
approximation formula. We can also compute what is the waiting time in the
line and system. (Example 1c)
Example 1c:
1
Ra = per minute or 10 per hour.
6
1
Rp= per minute or 12 per hour.
5
We want to compute what is the waiting time for each person in the waiting
line. The Little’s law states that I = RT, therefore R T i =I i . We can conclude that
T i=I i /R .
The approximate waiting time in the line is 9.4 minutes. We can also calculate
the waiting time in the whole system.
T =T i+T p
Because we know that T p is 5 minute, the waiting time in the whole system is
14.4 minutes (5 + 9.4).
Using Little’s Law (I = RT) we are able to calculate the total number of people
in the system.
We know that there are 1.56 people in the buffer. To calculate the total number
of people in the processor, we add 1.56 to .83, the arrivals per minute to get
2.39.
Now let us suppose we have two servers instead of one, are we able to
calculate the new waiting line and time? The following examples show how two
servers change the waiting line and waiting time.
Example 1c-a:
1
Ra = per minute or 10 per hour.
6
2
Rp= per minute or 24 per hour.
5
We want to compute what is the waiting time for each person in the waiting
line. The Little’s law states that I = RT, therefore R T i =I i . We can conclude that
T i=I i /R .
The approximate waiting time in the line is 9.4 minutes. We can also calculate
the waiting time in the whole system.
T =T i+T p
Because we know that T p is 5 minute, the waiting time in the whole system is
5.46 minutes (5 + 0.46).
Using Little’s Law (I = RT) we are able to calculate the total number of people
in the system.
We know that there are 0.076 people in the buffer. To calculate the total
number of people in the processor, we add 0.076 to 0.417, the arrivals per
minute to get 0.91.
Example 2:
A call center has 11 operators. The arrival rate of calls is 200 calls per hour.
Each of the operators can serve 20 customers per hour. Assume inter-arrival
time and processing time follow Poisson and Exponential, respectively. What is
the average waiting time (time before a customer’s call is answered?)
0.91√ 2( 11+1 ) 1 +1
2 2
I i= x
1−0.91 2
I i=6.89
Therefore:
Example 2a:
The average waiting time before a call is answered is 2.1 minutes. Now let us
suppose the service time is constant. Will the waiting time be more or less than
2.1 minutes?
0.91√ 2( 11+1 ) 1 + 0
2 2
I i= x
1−0.91 2
I i=3.45
Therefore:
Example 3:
Vons contains 7 checkout stands. The arrival rate of customers is 175 per hour.
Each of the checkout stands can serve 15 customers per hour. What is the
average waiting time (time before a customer gets to the cashier?)
0.92√ 2( 7+1 ) 1 +1
2 2
I i= x
1−0.92 2
I i=8.95 minutes
Example 4:
A small room has been assigned on a University campus, for honor students to
have a quiet place to study by themselves. Since the room is so small, the only
other use for it would be storage. The room is open 16 hours every day. Only
one student can use the room at a time. The dean wants to know if the room is
being fully utilized by students, or of the room should be changed to a storage
space. The best SOM professor at the University was assigned to solve this
problem. In his research, he found that students arrive at the room at a rate of
3 per hour following Poisson distribution. The students stay in the room an
average of 15 minutes and deviation of 5 minutes.
a. What percentage of time is the room idle (rounded)?
( 3∗15 )
¿ 1− =25 %
60
( 3∗15 )
¿ =75 %
60
Example 5:
Yogurtland has one cashier. Every 5 minutes, a new customer comes in. It
takes the cashier about 5 minutes to weigh the yogurt and ring up each
customer. Yogurtland has been losing customers to the new frozen yogurt shop
next door. In order to stop this, Yogurtland has implemented a new policy to
pay customers waiting in line. The customer will get paid 1 dollar per minute of
waiting time. A SOM professor has been recruited from a nearby university to
analyze the cost of the new pay while you wait policy. Preliminary studies the
SOM professor did, indicated that there are an average of .5 people waiting in
line. Assume that arrivals follow Poisson and service time follows exponential
distribution.
a. What is the capacity of the cashier per hour?
e. What is the most Yogurtland would be willing to pay for another cashier?
Answer = $30.