Module 4 Queuing Theory 2
Module 4 Queuing Theory 2
Module 4 Queuing Theory 2
Presented by
Dr. G. Somasekhar
Associate Professor
VSB, VIT-AP University
Amaravati
What is Queuing theory?
⮚ Queuing theory (or queueing theory) refers to the mathematical study of the formation,
function, and congestion of waiting lines, or queues.
⮚ Queuing theory scrutinizes the entire system of waiting in line, including elements like
the customer arrival rate, number of servers, number of customers, capacity of the
waiting area, average service completion time, and queuing discipline.
What is Queuing theory? Cont.
⮚A flow of customers from infinite/ finite population towards the
service facility forms a queue (Waiting Line)
⮚ Arrival Process
⮚ Arrival defines they way customers enter the system. Mostly the arrivals are
random intervals between two adjacent arrivals.
⮚ Queue Configuration
⮚ It refers to no. of queues in the system, their relationship to the servers. A
queue may single or multiple queue.
⮚ Queue Discipline
⮚ It indicates the order in which the member of the queue are selected for
service.
⮚ There are three main ways of queue discipline
⮚ FIFO
⮚ LIFO
⮚ SIRO
Components of Queuing system cont.
⮚Service Process
⮚How long the service will take?
⮚How many number of servers available?
⮚Whether the servers are in series or in parallel?
History
⮚Queuing theory was first introduced in the
early 20th century by Danish mathematician
and engineer Agner Krarup Erlang.
⮚ Cost of not providing the service. This is also known as the waiting cost
and is typically the cost of customer dissatisfaction.
⮚ Example If a facility has just a minimum number of checkout lines, pumps, or teller windows
open, the service cost is kept low, but customers may end up with long waiting times in the
queue. How many times would you return to a large department store that had only one
cash register open every time you shop? As the average length of the queue increases and
poor service results, customers and goodwill may be lost.
Applications of Queuing theory
⮚Queuing theory has been applied, just to name a few, to:
⮚telecommunications
⮚transportation
⮚logistics
⮚finance
⮚emergency services
⮚computing
⮚industrial engineering
⮚project management
Formulas for Queuing theory
Formulas for Queuing theory
Symbo Meaning Formula
l
λ Arrival rate (Customers/hr)
μ Service Rate (Customers/hr)
ρ Utilization Factor (λ/μ)
Ls Avg. no in the system (customers) (λ/μ-λ)
Solution:
k = 2 deaths by horse kick
λ = 0.61 deaths by horse kick per year
e = 2.718
P(X = k) =
P(X = 2) =
P(X = 2) =
P(X = 2) = 0.101
The probability that exactly two soldiers died in the VII Army Corps in 1898 is 0.101.
Poisson Distribution cont.
A road transport company has one reservation clerk on duty at a time He handles information of
bus schedule & makes reservations. Customers arrive at a rate of 8 per hour and the clerk can
service 12 customers on average per hour. Answer the following
⮚ Arrival rate λ=
⮚ Service rate μ=
⮚ Counter utilization level ρ=(λ/μ)=
⮚ Average number of customers in the service Ls= (λ/μ-λ)
⮚ Average number of customers in the queue Lq = ρ*Ls = Average waiting time of customers in the system
Ws =(1/μ-λ)=
⮚ Expected average waiting time in the queue Wq = ρ*Ws =
⮚ Probability that the barber is idle P0=1-ρ
Kendall’s Notation
⮚ Queuing theory uses the Kendall notation to classify the different types of queuing systems, or
nodes. Queuing nodes are classified using the notation A/S/c/K/N/D where: