












Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!













**5-1 – Queueing Theory
5. 1. 4 The Service Mechanism:- This means the arrangement of service facility to serve customers. If there is infinite number of servers, then all the customers are served instantaneously or arrival and there will be no queue. If the number of servers is finite then the customers are served according to a specific order with service time a constant or a random variable. Distribution of service time follows ‘ Exponential distribution’ defined by f(t) = e - t , t > 0 The mean Service rate is E(t) = 1/ 5. 1. 5 Queueing Discipline:- It is a rule according to which the customers are selected for service when a queue has been formed. The most common disciplines are
2
= Ws = Ls = (1 - ) = x 1 = 1 1 - (1 - ) = 1 -^ (Since = ) = 1 -
2
2
= Since = -^ Example 1:
The arrival rate of customers at a banking counter follows a poisson distibution with a mean of 30 per hours. The service rate of the counter clerk also follows poisson distribution with mean of 45 per hour. a) What is the probability of having zero customer in the system? b) What is the probability of having 8 customer in the system? c) What is the probability of having 12 customer in the system ? d) Find Ls, Lq, Ws and Wq Solution Given arrival rate follows poisson distribution with mean = 30 = 30 per hour Given service rate follows poisson distribution with mean = 45 = 45 Per hour Utilization factor = / = 30 / 45 = 2 / 3 = 0. 67 a) The probability of having zero customer in the system P 0 = ^0 (1- ) = 1- = 1 - 0. (^67 )
b) The probability of having 8 customers in the system P 8 = 8 (1- ) = ( 0. 67 ) 8 (1- 0 .67) = 0. 0406 x 0. 33 = 0. 0134 Probability of having 12 customers in the system is P 12 = ^12 (1- ) = ( 0. 67 ) 12 (1- 0. 67 ) = 0. 0082 x 0. 33 = 0. 002706 Ls = = 0. 67 1 - 1-0. 67 = 0. 67 = 2. 03
(i) Average number of customers in the shop and the average numbers waiting for a haircut. (ii) The percentage of time arrival can walk in straight without having to wait. (iii) The percentage of customers who have to wait before getting into the barber’s chair. Solution:- (i) Average number of customers in the system (numbers in the queue and in the service station) Ls = / 1- = 0. 83 / 1 - 0. 83 = 0. 83 / 0. 17 = 4. 88 = 5 Customers (ii) The percentage of time arrival can walk straight into barber’s chair without waiting is Service utilization = % = / % = 0. 833 x 100 = 83. 3 Given mean arrival of customer = 5 / 60 = 1 / 12 and mean time for server = 1 / 10 = / = [ 1 /12] x 10 = 10 / 12 = 0. 833
(v) Maximum number of customers permitted in the system is infinite Then the steady state equation to obtain the probability of having n customers in the system is Pn = ^ n Po , o ^ n ^ C n! = n Po for n > c Where / c < 1 C n-c C! C- Where [ / c] < 1 as = / P 0 ={[ n /n!] + c / (c! [ 1 - /c])}
n = 0 where c! = 1 x 2 x 3 x …………….. upto C Lq = [ c+^1 / [c-1! (c - )] ] x P 0 = (c Pc) / (c - )^2 Ls = Lq + and Ws = Wq + 1 / Wq = Lq / Under special conditions Po = 1 - and Lq = C+!^ / c 2 Where < 1 and Po = (C-) (c – 1)! / c c and Lq = / (c- ), where / c < 1 Example 1: At a central warehouse, vehicles are at the rate of 24 per hour and the arrival rate follows poisson distribution. The unloading time of the vehicles follows exponential distribution and the unloading rate is 18 vehicles per hour. There are 4 unloading crews. Find (i) Po and P 3 (ii) Lq, Ls, Wq and Ws
Arrival rate = 24 per hour Unloading rate = 18 Per hour No. of unloading crews C= 4 = / = 24 / 1 8 = 1. 33 C- 1 (i) P 0 ={[ n/n!] + c^ / (c! [ 1 - /c])}- 1 n = 0 3 ={[ (1. 33 )n/n!]+ ( 1. 33 )^4 /(4! [1 - ( 1. 3 3)/ 4])}-^1 n = 0 ={ ( 1. 33 )^0 / = 0! + ( 1. 33 )^1 / 1! + ( 1. 33 )^2 / 2! + (1. 33 )^3 / 3!
C+ 1 X P 0 (C – 1)! (C-)^2 (1. 33 )^5 X^0.^264 3! X (4 – 1. 33 )^2 = (4. 161 6) X 0. 264 6 X ( 2. 77 )^2
Percentage of time the service remains idle = 67 % approximately c) The expected length of waiting time (w/w>0) = 1 / (c - ) = 1 / [(1 / 2) – (1 / 6) ] = 3 minutes Examples 3 : A petrol station has two pumps. The service time follows the exponential distribution with mean 4 minutes and cars arrive for service in a poisson process at the rate of 10 cars per hour. Find the probability that a customer has to wait for service. What proportion of time the pump remains idle?
= 10 / 60 = 1 / 6 car per minute Service rate = 4 minute per cars. Ie = ¼ car per minute. = / = ( 1 /6) / ( 1 /4) = 2 / 3 = 0. 67 Proportion of time the pumps remain busy = / c = 0. 67 / 2 = 0. 33 = 1 / 3 The proportion of time, the pumps remain idle = 1 – proportion of the pumps remain busy = 1-1 / 3 = 2 / 3 C- P 0 ={[ n/n!] + c^ / (c! [ 1 - /c])}- n = 0 =[ ( 0. 67 )^0 / 0!) + ( 0. 67 )^1 / 1!) + ( 0. 67 )^2 / 2!)[ 1 - ( 0. 67 / 2)^1 ]- =[1 + 0. 67 + 0. 4489 / (1. 3 3)]- =[1 + 0. 67 + 0. 33 ]- =[ 2 ]- = 1 / 2 Probability that a customer has to wait for service = p [w>0] = ^ c x P 0 = (0. 67 ) 2 x 1 / 2 [c [1 - / c] [2![1 – 0. 67 /2] = 0. 4489 = 0. 4489 1 .33x2 2. 66 **= 0. 1688
Simulations are imitation of reality. For example :
th
n
n
n
n
5. 3 .5. Simple probabilistic model for items which completely fail
MBA-H 2040 Quantitative