Module-5 - Queueing Theory
Module-5 - Queueing Theory
• Queue does not include the customer being serviced. The process
or system that performs the services to the customer is termed as
service channel or service facility.
• waiting lines ARE not only the lines formed by human beings but
also the other things like railway coaches, vehicles, material etc.
CONTD…
• Servers may be in parallel or in series.
2. Last in first out (LIFO) or Last Come First Served (LCFS) First In
Last Out (FILO).
4. Service By Priority
4. Customer behavior.
𝝀
3. Traffic intensity or utility ratio = 𝝆 =
µ
𝝀
Where (𝝆 < 𝟏, < 𝟏) → λ < µ (arrival rate < service rate)
µ
4. Probability that the system is empty
𝑷𝟎 = (𝟏 − 𝝆).
5. Probability that there are n units in the system
𝑷𝒏 = 𝝆𝒏 𝑷𝟎
6. Probability that queue size is greater than equal to 𝒏 the number of customer is given
by
𝑷≥𝒏 = 𝝆𝒏 = 𝝀/µ 𝒏
7. The average (expected) number of costumer in the system is given by
𝝆 𝝀
𝑳𝒔 = =
𝟏−𝝆 𝝁−𝝀
7. The average queue length or expected number of units in the queue is given by
𝝆𝟐 𝝀𝟐
𝑳𝒒 = =
𝟏−𝝆 𝝁 𝝁−𝝀
8. The mean or expected waiting time in the queue
𝑳𝒒 𝝀
𝑾𝒒 = =
𝝀 𝝁(𝝁−𝝀)
𝝀 𝟏/𝟒𝟖
Therefore 𝝆= = = 𝟎. 𝟕𝟓
µ 𝟏/𝟑𝟔
𝝆 𝟎.𝟕𝟓
i) Average number of trains in the system 𝑳𝒔 = = = 𝟑 𝒕𝒓𝒂𝒊𝒏𝒔
𝟏−𝝆 𝟏−𝟎.𝟕𝟓
𝝆𝟐 𝟎.𝟕𝟓𝟐 𝑳𝒒 𝝀 𝟐.𝟐𝟓
iii) 𝑳𝒒 = = = 𝟐. 𝟐𝟓 iii) 𝑾𝒒 = 𝝀
=
𝝁(𝝁−𝝀)
=
𝟒𝟓
= 𝟎. 𝟎𝟓
𝟏−𝝆 𝟏−𝟎.𝟕𝟓
Problem 3. A repair shop attended by a single mechanic has an average of 4
customer an hr who bring small appliances for repair. The mechanic inspects them
for defect and quite often can fix them right way or render a diagnosis. This takes
him six minute on an average. Arrivals are poisson and service time has exponential
distribution find
i) probability of finding at least one customer in the shop
ii) The average number of customer in the shop
iii) The average time spent by customer in the shop.
𝝆 𝟎.𝟒 𝑳𝒔 𝟏 𝟏
ii) 𝑳𝒔 =
𝟏−𝝆
=
𝟏−𝟎.𝟒
= 𝟎. 𝟔𝟔 iii) 𝑾𝒔 = 𝝀
=
(𝝁−𝝀)
=
(𝟏𝟎−𝟒)
= 𝟏𝟎𝒎𝒊𝒏
Problem 4. A T.V. Repairman finds that the time spent on his jobs have an
exponential distribution with mean of 30 minutes. If he repairs sets in the order in
which they come in, and if the arrival of sets is approximately Poisson with an
average rate of 10 per 8 hour day, what is repairman's expected idle time each day?
How many jobs are ahead of the average set just brought in?