Queuing Theory or
Queuing Theory or
When demand for serice is more than the capacity of service facility the queue forms.
In mathematical terms we define the situation as :
λ>μ
where , λ -- represents mean rate of arrival
μ -- represents mean rate of service
𝟏
3. Mean inter arrival ( ) : It represents the time gap between 2 consecutive arrivals.
λ
𝟏
4. Mean service time ( ): The time taken to serve each customer.
μ
𝛌
5. Steady period : <𝟏
μ
𝛌
6. Busy Period / Traffic Intensity ( 𝝆 ) =
μ
𝟐 𝛒 𝟐
7. Length of a queue ( 𝑳𝒒 ) =
𝝀 or
μ(μ−𝝀) 𝟏−𝛒
The value of μ = 40
30 3
I. Busy Period = = of an hour
40 4
Therefore , 75% of the time the teller machine is busy.
𝝀
II. Waiting time in a queue = 𝑾𝒒 =
μ(μ−𝝀)
𝟑𝟎 𝟑
= = 𝟒𝟎 of an hour.
40(40−𝟑𝟎)
𝟑 𝟗
Converting into minutes : Wq= ∗ 𝟔𝟎 = 𝟐 min
𝟒𝟎
Therefore, 4.5 min is the waiting time in a queue.
2. The mean arrival rate to the service center id 3 per hour. Assuming the mean service
time is 10 minutes. Poison arrival rate and exponential serving, determine the
following.
i) Busy period/ Utilization factor?
ii) Expected number of units in queue.
iii) Expected time the customer has to wait in a system.
iv) Expected number of units in a system
v) Probability of 2 units in a system.
Sol: Kendall’s Notation
(a/b/c) (d/e)
(M/M/1) (∞ , FIFO)
- Mean rate of arrival (λ) that is number of customers on an average arrives at a unit of
time, represented by λ = 3 per hour
- Mean service time that is the time taken to render a service per customer is 10
minutes.
1
therefore , = 10 min
μ
1 10 1
= = hours
μ 60 6
The value of μ = 6
𝛌 3 1
I. Busy Period = = = of an hour
μ 6 2
Therefore , 50% of the time the teller machine is busy.
𝟐 𝛒𝟐
II. Length of the queue 𝑳𝒒 =
𝝀 or
μ(μ−𝝀) 𝟏−𝛒
𝟑𝟐
𝑳𝒒 = 𝟔(𝟔−𝟑) = 𝟏𝟐
𝟏
III. Waiting time in a system = 𝑾𝒔 =
(μ−𝝀)
𝟏 𝟏
= = 𝟑 of an hour.
(6−𝟑)
𝟏
Converting into minutes : Ws= 𝟑 ∗ 𝟔𝟎 = 𝟐𝟎 min
- Mean rate of arrival (λ) that is number of customers on an average arrives at a unit of
time, represented by λ = 30 per hour
- Mean service time that is the time taken to render a service per customer is 10
minutes.
1
therefore , = 90 sec
μ
1 90 1
= = hours
μ 60∗60 40
The value of μ = 40
𝝀
I. Waiting time in a queue = 𝑾𝒒 =
μ(μ−𝝀)
𝟑𝟎 𝟑
= = 𝟒𝟎 of an hour.
40(40−𝟑𝟎)
𝟑 𝟗
Converting into minutes: 𝑾𝒒 = ∗ 𝟔𝟎 = 𝟐 min = 4.5 min
𝟒𝟎
𝟑𝟎 𝟑𝟎
𝑳𝒔 = (𝟒𝟎−𝟑𝟎 )
= 𝟏𝟎
=3
𝛒 𝟐 𝟐
III. Length of the queue 𝑳𝒒 =
𝝀 or
μ(μ−𝝀) 𝟏−𝛒
𝟑𝟎𝟐
𝑳𝒒 = 𝟒𝟎(𝟒𝟎−𝟑𝟎) = 𝟗𝟒 = 2.25
𝟏
IV. Waiting time in a system = 𝑾𝒔 = ( 𝐖𝐪 + )
μ
𝟑 𝟏
𝑾𝒔 = ( + )= 6 min
40 𝟒𝟎
4. At a certain petrol bunk customers arrive according to poison process with an average
tie of 5 min between arrivals. The service time is exponentially distributed with a
mean time of 2 min. Find average queue length, find if the steady state exist, average
number of customers in a system. If the waiting time in a queue is 4 min a second
pump will be opened. In such a case what should be the arrival rate for the second
petrol bunk.
𝛒 𝟐 𝟐
I. Length of the queue 𝑳𝒒 =
𝝀 or
μ(μ−𝝀) 𝟏−𝛒
𝟏𝟐𝟐 𝟒
𝑳𝒒 = 𝟑𝟎(𝟑𝟎−𝟏𝟐) = 𝟏𝟓 = 0.267
II. Length of the System 𝑳𝒔 =
𝝀
(μ−𝝀)
𝟏𝟐 𝟏𝟐 𝟐
𝑳𝒔 = (𝟑𝟎−𝟏𝟐 )
= =
𝟏𝟖 𝟑
𝟏
III. Waiting time in a queue = 𝑾𝒒 =4 min = of an hour
𝟏𝟓
𝐋𝐪 𝛌′
=
𝛌 𝛍(𝛍−𝛌′ )
𝟏 𝛌′
=
𝟏𝟓 𝟑𝟎(𝟑𝟎−𝛌′ )
𝛌′ = 20 per hour
𝟏𝟐
<𝟏
30
0.4 < 1
Therefore, steady state exist
5. In a bank, every 15 min 1 customer arrives for cashing the cheque. The staff in the only
payment counter takes 10 min to serve a customer on an average. Write down and
Kendall-Lee notation and find out
i) Average queue length
ii) Waiting time in a system
iii) Increase in arrival rate to justify 2nd counter where the waiting time of a customer
is 15 min, the management will add one more counter.
Sol : Kendall’s Notation
(a/b/c) (d/e)
(M/M/1) (∞ , FIFO)
1
- Mean inter arrival rate is given that is = 15 min = 4 per hour
λ
- Mean service time that is the time taken to render a service per customer is 10
minutes.
1
therefore , = 10 min
μ
1 10 1
= = hours
μ 60 6
The value of μ = 6
𝛒 𝟐 𝟐
I. Length of the queue 𝑳𝒒 =
𝝀 or
μ(μ−𝝀) 𝟏−𝛒
𝟒𝟐
𝑳𝒒 = 𝟔(𝟔−𝟒) = 𝟒𝟑
𝟏
II. Waiting time in a system = 𝑾𝒔 =
(μ−𝝀)
𝟏 𝟏
= = 𝟐 of an hour.
(6−𝟒)
𝟏𝟓
III. Waiting time in a queue = 𝑾𝒒 =15min = of an hour
𝟔𝟎
𝐋𝐪 𝛌′
=
𝛌 𝛍(𝛍−𝛌′ )
𝟏𝟓 𝛌′
=
𝟔𝟎 𝟔(𝟔−𝛌′ )
6. In a bank, with single sever, there are 2 chairs for waiting customers. On an average
one customer arrives every 10 min and each customer takes 5 min for getting served.
I. Find out the probability that an arrival will get a chair to sit down.
II. Probability that an arrival will have to stand.
III. Expected waiting time of a customer.
Sol : Kendall’s Notation
(a/b/c) (d/e)
(M/M/1) (∞ , FIFO)
1
- Mean inter arrival rate is given that is = 10 min = 6 per hour
λ
- Mean service time that is the time taken to render a service per customer is 10
minutes.
1
therefore , = 5 min
μ
1 5 1
= = hours
μ 60 12
The value of μ = 12
𝟏
IV. Waiting time in a system = 𝑾𝒔 =
(μ−𝝀)
𝟏
= = of an hour =10 min.
𝟔
7. Arrival at a telephone both as considered to be poison with an average time of 10 min
between 1st arrivals to next arrival. The length of telephone call is assumed to be
distributed exponentially with the mean 3 min.
I. What is the probability that the person arriving at both will have to wait?
II. The department will install 2nd booth when convinced that an arrival would
expect waiting for at least 3 mins per call. By how much the flow of an arrival
increase in order to justify a second booth.
III. What is the average length of queue that forms from time to time?
Sol: Kendall’s Notation
(a/b/c) (d/e)
(M/M/1) (∞ , FIFO)
1
- Mean inter arrival rate is given that is = 10 min = 6 per hour
λ
- Mean service time that is the time taken to render a service per customer is 10
minutes.
1
therefore , = 3 min
μ
1 3 1
= = hours
μ 60 20
The value of μ = 20
𝛌′ = 10 per hour
𝟐 𝛒 𝟐
III. Length of the queue 𝑳𝒒 =
𝝀 or
μ(μ−𝝀) 𝟏−𝛒
𝟔𝟐 𝟗
𝑳𝒒 = 𝟐𝟎(𝟐𝟎−𝟔) = 𝟕𝟎 = 0.1285