Queueing Nvs R 02 Nov 2024
Queueing Nvs R 02 Nov 2024
Used Inpu
in
Keadal-e
Balik
Notathgns Poisson Pattern(M)
(aie)
ofCustomers
Bebeviours
Negmtve
ErExponent
lang(E(ró))inl(M)
General
:(e)
Poisson Pattecn(M)
Exponential(M)
Erlang(Er)
General(G)
Server's
Zone
-Singie (1) V
Multi (C)
Configur
Service Parallel
ation
Series
rre
Output
Unsatisiod
Unstcady
men Service
State Transient
Satisfied Steady
Dissatisfied
DNVTÐ VIVAHLdVHD
Queue Models (Waiting Lines)
423
80Introduction
Oneof the common
system. Rather, there will notsituations
in our daily life
be any person on this occurs with waiting or queue
moubles due to waiting such as at bus stops, ticket earth who did not experience the
bank counters, traffic lights andso On. booths, doctor'sclinic, petrol bunks,
shops where the machines wait for Queues are very common in industries also, in
mterial waiting for operations etc. These
may even cost hugely in some
repair/maintenance,
queues ruin
operators wait at tool cribs,
the time of customers and it
occasions.
costs are the primary concerns of these The minimisation of waiting time and thus
queue models in Operation Research.
81 Terminology
The following terms are commonly used in queue
models.
1. Customers : The persons or objects that require certain service are called
customers.
6. Mean Rate of Arrival : The average number of customers arriving per unit
time is called mean rate of arrival and is denoted by (read as LAMBDA).
A= Total no. of customersarriving/total time taken.
7. Mean Inter-arrival Time : It is the average time gap between two consecutive
rate i.e.,
arrivals of customers. It is the inverse of mean arrival
1/2= Total arrival time
Number of arrivals
of customers served per unit time
O. Rate of Service : It is the average number
and is denoted by u (read as MUE).
Total number of customers served
Total service time
customers
Service Time : It is the average time taken by the server to serve a
Mean Total service time
rate i.e., 1/4= Number of customers served
and is equalto inverse of service
cice
8.2 When Does A Queue Result?
Suppose a queue system whose arrival rate is A
and service rate is u.
Arrival rate Service rate
(a) ()
Level of service
(a) Balking : A customer who gets discouraged by seeing the length of the
queue before him and thinks that he may not get service, may walk out
or may not join the queue. He is said to be 'Balking'.
(b) Reneging :Acustomer who joins the queue and waits for some time but
leaves the queue due to intolerable delay or impatient to wait any longer
is said to be 'Reneging'.
(e) Jockeying : Acustomer who moves from one queue to anoher hoping to
Jockeying'.
receive a more quick service is said to be
Thus, the qustomers who come out of their original queue showing a
negative behaviour that he may not get service. However, a customer who
receives service also may have negative bahaviour as given below :
Operations Researt tice
customer who is not satisfied by the by service
(d) Unsatisfied Customerr:Aunsatisfied. For exarmple, a customer of an hotel
the quantity is saidto be the quantity of food supplied to him it though
may not be satisfied with
is tasty.
is not satisfiedi by
the quality of
(e) Dissatisfied Customer ::Acustomer who
dissatisfied. For instance, a customer getting tasteless
service is said to be is dissatisfied.
food at an hotel though supplied in huge quantities
certain level of
The customers unsatisfied or dissatisfied usually expect
service and when they do not have the actual, equivalent to their
expectation they will not have satisfaction. However, if a customer has
the match between his expectation and the actual receipt, he will be
satisfied and ifthe actual is more than his expectation, he will be 'delighted'
6. Type of Service : The service system may be in two ways as given below :
(a) Customer stationary and server moving.
e.g. (i) Aranged meal at which seruer brings what customer desires.
(u) A machine waiting for repair.
(b) Server stationary and customer moving.
e.g. (i) Abuffet meal where customer goes to buffet table and gels what he wants.
(ü) An aeroplane waiting for a run way for landing.
7. Service Patterns : Similar to that of inter arrival tines, the
by the server to serve each customers varies. These service time taken
rate of arrival and server's behaviour. However, thesevariations depend on the
of the following probability distribution patterns. times can be fit into one
(a) Poisson distribution (denoted by M)
(b) Exponential distribution (denoted by M)
(c) Erlang distribution (denoted by E,)
(d) General fashion (denotd by G)
8. Number of Servers : We
associated costs depend on have already learnt that a queue system and its
the level of service which
service and number of service facilities. On includes both the rate of
dependent on the service time one hand the rate of service is
the level of service can be distribution patterns while on
are two ways, of assumption manipulated by arranging number ofthe other hand
service facilities. to the queue problem with servers. There
regard to number ot
(a) Single server system
(b) Multiserver represented by 1.
9.
system represented by S.
Service Configurations : The
increased by arranging the service efficiency and capacity of aqueue system can be
canmulti-service
be facilities are available.systems in an
Various effective way, particularly when
classified into following three ways. arrangements of
service facilities
Queue Models (Waiting Lines) 429
Fuel Cash
Customers
½ service ½ service i Served
customners
FIGURE 8.3: SERIES CONFIGURATION
Here service is divided into certain parts
(6) Parallel Configuration : served sequentially
Service facilities
Arrival
Cash Departure
Fuel
Fuel and Cash
Full service
Customers Cash Served
customers
Fuel
Fuel and Cash
Full service
FIGURE 8.4: PARALLEL CONFIGURATION
Here arrivals are divided into parts and separated in to different queues.
(c) Combined Configuration : This configuration is a combination of the
above two configuration.
Series S,1
Input Output
Series S.
Parallel (S, vS,)
HGURE S.5: cOMBINATION CONFIGURATION
10. State of Service : We have learnt that the service systemis influenced by service
time distribution and on server's behaviour. These are inter dependent on
arrival patterns andcustormer behaviour. On close observation of the changes
that occur in service svstem, we can find three sates of service viz.,
G = Arrival distnbution
Exponential (M)
Erlang (Er)
General (G)
-Poisson (M)
b= Service time distribution Exponential (M)
Erlang (Er)
Kendall - Lee General (G)
noations for Single (1)
queue model c = No.of service channels (servers).
Multi (S 2, S, ...
Limited (N)
d = Limit of customers
Unlimited (~)
FIFO
LIFO
e= Queue discipl1ne SIRO
Pre-emptive
Non pre-emptive
QueueModels
Aqueue modelis blend of the above five points, which is diagramatically snow
below.
SERVICE)
PAT ERNG
ARRIVAL,
ER
OFSER
VERS
Kendall Lee
Notations * Single ()
(ablc) :(de) * Multi (S)
WArTINGY
KINE
MOD
QUEUEpISCIPLINE
* FIFO
* LIFO
*SIRO
*Pre-emptive
* Non-pre
*Limited(N)
* Unlimited (¢)
emptive
LIMIT OF QUEUE
0(A) 0(A) =0
At’0
for (M/M/i):(»/FIFO)
6. Expected waiting time during busy period,
W, =
Pb
Wa = W,.P,= P,
=
-for (M/M/1): («/EIFO).
(M]: (oc|FFo)
dArVd
=((- e)".
Probabiah
L tled Ruly
454 QueueMo
1
L*P,
10. Probability
1- P.
that kor
l-p
Average waiting time that acustomer is expected to wait
more customers waiting in the ==0.1hours = 6min.
system. 30 10
ie., P (n2 k)= and P (n>) =
11. Probability of
ILLUSTRATION 2
waiting e mínutes or more in queue The mean service time is
1hemean arrival rate to aservice centre is 3 per hour.
P(W2) 10 minutes. Assuming Poisson arrival rate and exponential servicing time,
ILLUSTRATION 1
=u-)-) dt
t
() Utilisation factor.
() Probability oftwo units in the system.
In a bank, cheques are (i) Expected number ofunits in the system.
cashed ata single "Teller' counter.
cOunter in a Poisson manner (IV) Expected number ofunits in the queue.
has to wait in thesystem.
at an average rate of Customers arrive, attne Expectedtime in minutes,customer
Teller takes, on an average a 30 customers per
has beenn
shown to be minute anda half to cash chegue. The hour. 1e
exponentially distributed. service u
Solution us first identify the queue
In the above problem let disuribution i.e., M
Poisson
system.
As
144 4
system
(1) Average length of queue (L, ) (p-4 ) 30 x 18 15 P 8
12 2 G2 sets approx..
(i) Average length of systein(y-À 18 ILLUSTRATION 6
(ii) Average time spent in the petrol punip (system) In a railway marshallingg
1 yard, goods trains arrive at a
Assumingthatt the inter-arrival
W,= hr = 3.33 min time rate trains per day.
18 service time (the time taken to dump follows an
atrain)dponential
an average of 36 minutes, calculate (i)
df30
istribution and the
is also exponential with
(iv) Average waiting time of customer in queue i.e., before receiving the series (i) probability that the queue size exceeds 10.expected queue size (line length ),
12 1 yerageof 33per day, what will be the change in1fthe input
(i) aná (ii) of trains increase an
to
(WG)= (p-2) 18 45 hr = l.33 min
80
JNTU (Mech.) 97, OU 83
(or W, =W,-=3.33 - 2= 1.33 min) Solaion :
Erom the data, the given queue system has
(v) To open second pump W, '= 4 min service pattern (M,) single track (service facility),exponential arrival (M),
unlimited queue sizeexponential
and FCES
discipline.
W= 4(u-')-= 4 min = hrs. . According to Kendall-Lee, the system is (M/M/1): (oo/FCFS)
We have the parameters as
30(30 à)
2= 20/hr and inter arrival time=3 inin. 30 1
minute
60x 24 48 "ains per
ILLUSTRATION 5
Atelevision repairman finds that the time spent on his jobs h¡s q exponential and =36 trains per minute.
distribution with mean 30 minutes. If he repairssets in ihe order in which they 236 =0.75 as p<l,steady state can exist.
came in, and ifthe arrival of sets followaPoisson distribution approximatelywith Then traffic intensity (p) = 48
an ayerage ráteof 10 per 8 hour day, what is the repairman's expected idle time
each day? How manyjobsare aheadofthe average setjust brought in? We can proceed with the problem as follows :
JNTU(Mech.) 94/P)
(i) Expected queue size (line length)
Solution: 0.75
=3 trains.
Arrival fashion is Poisson distribution (M); service pattern is exponential 1-p 1-0.75
distribution (4), number of servers is 1, no limit is imposed, repair discipline is FIFO.
Therefore, according to Kendall-Lee, the queue system (M/M/1) : (o/FIFO) (ii) Probability that the queue size exceeds 10,
=0.056
and mean arrival rate (^) =
10 5
sets per hour. P (n2 10) =pl= (0.75)0
8 4 per day, then we have
Now, if input increase to 33 trains
and mean service rate (u) = x 60= 2 sets per hour 33 11 munuteand u= 36 rains /min.
30 24480"alnsper
60 x
5
Trafficintensity p =4 480 36-0.83
<l, hence steady state can exist. as p < l, steady state can exist.
(ü), we have
the values of (i) and
(i) Expected idle tine of repairman each day Hence recalculating
number of hours for which the repairer is busy in 8 hour day is 0.83 5 trains (approx.)
(i) L,= 1-p 1- 0.83
8x=8x =5 hours
0.155 (approx.).
Idle time for repairman in an 8 hour day =8-5= 3 hours =p' =(0.83)"=
(u) P (x 10)
Queue
449
Operations Research : Theory and Practiea
448 LLUSTRATION 8
Dr. Raju's out-patient clinic can accommodate
8.10 Model -2: (M/M/1) :(oo/SIRO)
This model is identical with
model. 1: The patients who arrive when hallis full, six people oxly in
away. The patients the waiting hal.
Single Channel - Unrestricted Oueue
:
operating characteristics of fashion at an average rate of 3 per hourbalk
and arrive in Poisson
discipline. Since the Doctor's chamber which is spend an average of 15 minutes in
all respects except for the queue queue discipline (as the derivation for probabilir i exponentially
queue model are independent of
all the results remain unchanged. Therefore the Theprobability that a patient can getdistributed.
his arrival
Find
directly intothe doctor's chamber upon
independent of queue discipline),
may be solved using sane formulae as
those of model
problems under this model G) Expected number of patients waiting for treatment.
(ii) Efective arrival rate.
8.11 Model - 3: (M/M/1) : (N/FCFS) (i) The time apatient can expect tospend in the clinie
Single Channel - Restricted Oueue Model : This model differs with model-l in
respect of limit of queue. Here the capacity of the system is limited to N. The relevant Solation : From the above problem,
fornulae are given below : Arrival :Poisson (M); service : Exponential (M);
for 0 S n sN, p l ie, À#4 Number of servers:One; (1) discipline : FCFS;
1.
But the queue is limited
-for p = l or , =u The model is (M/M1): (NFCFS)
Now capacity of the system
l-p
and P, = p landp<1 N = hall capacity + doctor's chamber capacity
-6+l=7
Where Arrival rate (^) =3 per hour.
N = limit of queue system.
n = number of austorners zrrived.
Service rate (4) =,E per min =4 per hours.
2. Expeed size of systern or expected number of custorners in the system ==0.75 i.e., < 1(stead state exists)
u 4
doctor's chamber if the hall is empty on his arrival.
-for p 1 (1) Patient willdirectly enter
L,1-p for
1-p is P
The probability at this situation
p=l o740.2778
l-p
3. Expected length (size) of quee or expected number of customers waiting in Po
- is (L
waiting for treatment
(u) Expected number ofpatients
4. Expeed wasting tine of austoTIer in the systen
8 -2.1
L
L,=
5. Expeced waiting tisne in
quee
L 4-4--21-3-1.36
W,0-os0 (ef
=u(1-P)
3 per hour.
(iüi) Efective. arrivalIrate =4(| -0.2778)= 2.89 =
2. Expected length of queue
expectto spend in the systenn
(tv) 1he time the patientcan 1.36+|0.2778 0.72 hours
I, t(l )
9 89 P
Att
-43.2 minutes.
(
4 Expected number of custoners in the svlem
Practice Problems
serviee 4. Expeeted waiting tune of the customer in queue
1. Considera single server queuing system with Poisson input, exponenialexpeCted
arrival rate is calling units per hour, the
times Suppose the mean maximum pernmissible number calline
service timeis 0.25 hourand thesteady-state probabulity distribution of tbe
in the system is wo,. Derive the munber
number of calling unitsin the system and hen calualte the expected 5. Expected waiting tine in the system
in the system.
0,81.
Answer : The expeted number ofcallng units in the system
9. tf for a period of 2 hours in the day (8 to 10 a.m.) rains arrive at the yard at W, - W,
every 20 minutes but the service time continues to rcmain 36 minutes, then 6. The probability that a customer has to wait (busy period)
calculate for this period.
(a) The probability that the yard is empty, and
P(n2s) .Po
(b) The average number of trains in the system, on the assumption that the
line capcaity of the yard is limited to a four trains only. ILLUSTRATION 9
counters. Ifthe service timne
Asuper market has two girls ringing up sales at the
Answer :
if people arrive ina
for each customer is exponential with mean 4 minutes, and
À= /20; =/36: p= 36/20 =1.8 (> 1) and n=4
Poissonfashion at the rate of 10hour.
(a) P 0.04
(a) What is theprobability ofhaving to waitfor the service.
(b) Whatis the expectedpercentage ofidle time foreach ginl? the system ?
4
3.5 minutes?
2
Solution : 1(3) 1(3) 40
Initially, we can assume two independent queueing systems as folows.
Withdrawers System Depositors System
Arrivals : Poisson (M) Poisson (M)
Service : Eponential (M) Exponential (M) 9 40;
Number of servers :One (1) One (1)
Limit of queue :Unlimited (o) Unlimited (oo)
+ 10
Discipline:FCFS FCFS
Model : (MM1): ( «| FCFS ) (M/M/1):(o/ FCFS)
Mean arrTival rate : () = 14hours hg =16hours
queue
Mean service rate : =per min 20/hours Hyper min 20/hour arrivalsinthe
Average waiting time of
min)
(P1==0.7< 1, service time =3 min ) (Mean service time
P2
hg 16 =0.8 <1
20
-
(s-1)!
3
20
(40-30)2'7
Average waiting time Average waiting time
14 16 (2- 1)! 9 hours.
Hj 4j -.) 20 (20 14)
7
W, Ha ug- hg) 20 (20-
16) 9
4100
20 I
7
==7min - hrs =12 min =3.86 min
Operations Research : Theory and Practice
2. Two reparmen are 455