Waiting Line Analysis Lecture 13
Waiting Line Analysis Lecture 13
Lecture 13
WAITING LINE ANALYSIS
• Waiting Line Analysis
– Waiting line analysis is also named as queuing
model analysis or queuing theory.
– Queuing theory is the mathematical study of
waiting lines or queues. In queuing theory a model
is constructed so that queue lengths and waiting
lines could be predicted.
WAITING LINE ANALYSIS
• Major components of Queuing model.
Following are the major components of queuing
model:
WAITING LINE ANALYSIS
– Customer
The arriving unit that requires some service to
be performed. The customers could persons,
machines, parts, vehicles etc.
– Queue (waiting line)
The number of customers waiting to be
served. The queue does not include customers that
are served.
WAITING LINE ANALYSIS
– Service channel
– The process or facility which is performing the
services to the customers. This may be single
channel (one server) or multi channel (more than
one server).
WAITING LINE ANALYSIS
• Elements of Queuing system (Structure of a Queuing
system)
– Arrival Distribution
It represents the pattern in which the number of
customers arrives at the service facility. (arrival rate)
– Service (departure) Distribution
It represents the pattern in which the number of
customers leave the service facility. (service rate)
– Service Channel
The queuing system may have a single or multi service
channel.
WAITING LINE ANALYSIS
– Service Discipline
– It is the rule by which customers are selected from
the queue for service.
• FCFS (First Come First Serve)
– FIFO (First In First Out) e.g. Doctor clinic
• LCFS (Last Come First Serve)
– LIFO (Last In First Out) e.g. medicine shop
• SIRO (Service in Random Order)
• Priority (on many basis like emergency patient)
WAITING LINE ANALYSIS
– Maximum Number of Customers Allowed in the System
Maximum number of customers in the system can
be either finite (like doctor patients/movie) or infinite
(customers in a mall).
– Calling Source or Population
Finite (few potential customers)
Infinite (large number of potential customers)
– Customers Behavior
Patience
Impatience (balking, reneging, joking)
WAITING LINE ANALYSIS
• Operating Characteristics of a Queuing Model
WAITING LINE ANALYSIS
– Queue Length (Lq)
This is the average number of customers in the
queue who are waiting to get the service. This exclude
customers who are being served.
– Service length (Ls)
This is the average number of customers in the
system including those who are waiting for the service
and those who are getting service.
– Waiting time in the Queue (Wq)
The average time for which a customer has to wait
in the queue to get service.
WAITING LINE ANALYSIS
– Total time in the system (Ws)
– The average total time spent by a customer in the
system from the moment he arrives till he leaves
the system. It is taken to be the waiting time plus
the service time
– Utilization Factor (ρ)
– It is the proportion of time a server actually
spends with the customers. It is also called ‘traffic
intensity’.
WAITING LINE ANALYSIS
Transient and steady states of the system
• Transient state
– Queuing theory analysis involves the study of
system’s behavior over time. If the operating
characteristics (behavior of the system) vary with
time, it is said to be in ‘transient state’.
• Steady state
– A system is said to be in steady state condition if its
behavior becomes independent of its initial
conditions and of elapsed time.
WAITING LINE ANALYSIS
• Explosive State
– When queue length is infinitely getting increased,
such state is named as explosive state. Arrival rate
is higher then the service rate.
WAITING LINE ANALYSIS
Kendall’s notations for representing queue models:
– (a/b/c) : (d/e)
Where
a is arrival distribution
b is service time (or departure) distribution.
– M is Markovian (poisson) arrival or departure
distribution or exponential inter arrival or service time
distribution.
– Ek is Erlangian or gamma interval or service time
distribution with parameter k
WAITING LINE ANALYSIS
– GI is general independent arrival distribution.
– G is general departure distribution.
– D is deterministic interval or service time.
C is number of parallel service channels in the system.
– 1 Single server
– S Fixed number of server.
D is the maximum number of customers in the system.
– ∞ is infinite number of customers.
– N is finite number of customers.
WAITING LINE ANALYSIS
e is Queue core service discipline
– FCFS is First Come First Serve.
– LCFS is Last Come First Serve.
– SIRO is Service in Random Order.
– GD is General Discipline
WAITING LINE ANALYSIS
• Classification of Queuing Model
Probabilistic QM Deterministic QM Mixed QM
• Erlang Model
(M/M/1) : (∞/FCFS)
• General Erlang
(M/M/1) : (∞/FCFS)
• (M/M/1) : (N/FCFS)
• (M/M/S) : (∞/FCFS)
• (M/Ek/1) : (∞/FCFS)
• Machine Repairing
Model
(M/M/R) : (K/GD), K˃R
• Power Supply Model
WAITING LINE ANALYSIS
Economic Cost Profit (D/D/1) : (K-1/FCFS) (M/D/1) : (∞/FCFS)
Model
(M/G/1) : (∞/GD)
WAITING LINE ANALYSIS
• Model 1: (M/M/1) : (∞/FCFS)
List of symbols and formulas
– n= number of customers in the system.
– λ= arrival rate (number of arrivals per unit of time)
– μ= service rate per busy server (number of customers served
per unit of time)
– ρ = Traffic Intensity
ρ = λ/μ
– Lq = Expected (average) number of customer in the queue
Lq = Ls – λ/μ = λ/μ x λ/μ-λ
WAITING LINE ANALYSIS
– Ls = expected number of customers in the system (waiting + being
served)
Ls = λ/μ = λ/μ-λ
(1- λ/μ)
Wq = Ws – 1/μ = λ
μ(μ-λ)
WAITING LINE ANALYSIS
– Ln = average length of non empty queue
Ln = μ/μ-λ
– Wn = average waiting time in non empty queue
Wn = 1/μ-λ
WAITING LINE ANALYSIS
• A self service store employs 1 cashier at its counter. 9
customers arrive on an average every 5 minutes while the
cashier can serve 10 customers in 5 minutes. Assuming
poison distribution for arrival rate and exponential
distribution for service time. Find 1) average number of
customers in the system, 2) average number of customers in
the queue or average queue length, 3) average time a
customer spends in the system, 4) average time a customer
waits before being served.
• Solution
– λ = Arrival rate = 9/5 = 1.8 customers per minute
– μ = Service rate = 10/5 = 2 customers per minute
WAITING LINE ANALYSIS
1) Ls = λ/μ-λ = 1.8/2-1.8 = 9 customers