Ort Queuing
Ort Queuing
QUEUeING THEORY
Part I
(Introduction, single server
model)
By
Dr.P.Ilamathi,
GCT, Coimbatore
Introduction
The basis of waiting line analysis is the trade-off between the cost of
improving service and the costs associated with making customers
wait.
Departure of
impatient customers
5. Max no. of
6. Customer Customers 7. Customer’s
Population behaviour 3. Number of
servers
Elements of a Queuing System
(Structure of a Queueing System)
Arrival distribution – Poisson distribution – Mean arrival rate λ.
Service distribution – Exponential distribution – Mean service rate μ.
Service channel – Single server model or multi server model.
Service discipline – FCFS (FIFO), LCLS (LIFO), SIRO, Priority
Maximum number of customers allowed in the system – Finite or infinite.
Calling source or population - Finite or infinite.
Customer’s behaviour – Balked, Reneged, and Jockeying customers.
Balked – If a customer decides not to enter the queue since it is too long.
Reneged – If a customer enters the queue, but after sometime loses his
patience and leave it.
Jockeying – When there are two or more parallel queues and the customers
move from one queue to the other.
Characteristics of Poisson distribution
Probability of n arrivals in time t =
where,
L – the average number of items in a queuing system
λ – the average number of items arriving at the system per unit of time
W – the average waiting time an item spends in a queuing system
(M/M/1) : (FIFO / ∞ / ∞ ) Formulae
Lq 2
(M/M/1) : (FIFO / ∞ / ∞ ) Formulae
5. Average (expected) number in non-empty queue (length of queue that is
formed from time to time)
Lq
6. Average time customer spends waiting in the queue: Wq
Wq
7. Average time customer spends in the system (waiting and being served):
λ = 5 per min,
Answer : 1.67
GATE Qn
Customers arrive at a ticket counter at a rate of 50 per hr and tickets are
issued in the order of their arrival. The average time taken for issuing a
ticket is 1 min. Assuming that customer arrivals form a Poisson process
and service times are exponentially distributed, the average waiting
time in queue in min is
Answer : (C) 5
GATE Qn
Answer : (B) waiting time and length of the queue in a queuing system
GATE Qn
In an M/M/1 queuing system, the number of arrivals in an interval of
length T is a Poisson random variable (i.e. the probability of there
being n arrivals in an interval of length T is
Ans:
GATE Qn
Cars arrive at a service station according to Poisson’s distribution with a
mean rate of 5 per hour. The service time per car is exponential with a
mean of 10 minutes. At steady state, the average waiting time in the
queue is
λ = 5 per hour,
(A) 10 minutes
μ = 1/10 per min = 6 per hour,
(B) 20 minutes
(C) 25 minutes = (25/6) x (1/5) hr = (5/6) hr = 50 min
(D) 50 minutes
Lq 2
= (5 x 5)/6(6-5) = 25/6
QUEUeING THEORY
Part II
(Problems - single server
model)
By
Dr.P.Ilamathi,
GCT, Coimbatore
Example 1
Arrival at a telephone booth are considered to be Poisson, with an
average of 9 minutes between one arrival and the next. The length of a
phone call is assumed to be distributed exponentially, with mean 3
minutes.
i) What is the probability that a person arriving at the booth will have
to wait?
ii) What is the average length of the queues that form from time to
time?
iii) The telephone company will install a second booth when convinced
that an arrival would expect to have to wait at least four minutes for the
phone. By how much must the flow of arrivals be increased in order to
justify a second booth?
iv) What is the probability that an arrival will have to wait for more than
10 mins before the phone is free?
v) What is the probability that an arrival will have to wait for more than
10 mins before the phone is available and call is also complete?
Solution
Arrival at a telephone booth are considered to be Poisson, with an
average of 9 minutes between one arrival and the next. The length of a
phone call is assumed to be distributed exponentially, with mean 3
minutes.
λ = 1/9 per min
μ = 1/3 per min
Probability that a person arriving at the booth will have to wait:
Probability that an arriving customer can drive directly to the space in front
of the window:
= P0 + P1 + P2
= 0.42
Probability that an arriving customer will have to wait outside the indicated
space:
= 1- 0.42 = 0.58
Arriving customer expected to wait before starting service:
i) t = 15 min = ¼ hour
QUEUeING THEORY
Part III
(single server with constant
service model)
By
Dr.P.Ilamathi,
GCT, Coimbatore
Model II: Single server with
Constant Service Times
(M/D/1):(FCFS/ ∞ / ∞ )
Single server with
Undefined and Constant Service Times
Constant, rather than exponentially distributed service times, occur
with machinery and automated equipment.
Constant service times are a special case of the single-server model
with undefined service times.
Queuing formulas for the undefined service time model:
2
/
2 2
Lq
2 1 /
Lq
Wq
Single server with
Undefined Service Times - Example
Data: Single fax machine; arrival rate of 20 users per hour, Poisson
distributed; undefined service time with mean of 2 minutes, standard
deviation of 4 minutes.
Operating characteristics:
λ = 20 users per hour,
μ = ½ per min = 30 per hour,
= 4 min = 1/15 hour
Single server with
Undefined Service Times - Example
Single server with
Constant Service Times - Formulae
In the constant service time model there is no variability in service
times; = 0.
Substituting = 0 into equations:
2 2 2
2 2 / 202 / /
2
Lq
2 1 / 2 1 / 21 / 2
Lq
Wq
Single server with
Constant Service Times - Formulae
Car wash servicing one car at a time; constant service time of 4.5
minutes; arrival rate of customers of 10 per hour (Poisson distributed).
Determine average length of waiting line and average waiting time.
= 10 cars per hour,
= 60/4.5 = 13.3 cars per hour
Lq 2
(10)2
1.14 cars waiting
2( ) 2(13.3)(13.3 10)
Lq 1.14
Wq 0.114 hour or 6.84 minutes waiting time
10
Tutorial
QUEUeING THEORY
Part IV
(single server with finite capacity
model, Multi server model)
By
Dr.P.Ilamathi,
GCT, Coimbatore
Model III: (M/M/1) : (FIFO / N / ∞ )
(M/M/1) : (FIFO / N / ∞ ) Formulae
In a finite queue, the length of the queue is limited.
N is the maximum number of customers in the system.
1. Probability that there is no customer in the system:
= 0.53
Steady state probabilities for the various number of trains in the system:
Average time customer spends in the system (waiting and being served):
= 0.21
Average number of customers waiting to be served:
= 0.24 customers
= 0.236
Expected number of idle tax advisers at any specified time:
Expected number of idle tax advisers at any specified time: 1.5 tax advisors
Assignment Qn
Tutorial