Professional Documents
Culture Documents
Simulation of Queuing
Simulation of Queuing
Simulation of Queuing
SYSTEMS
QUEUING SYSTEMS
• The basic concept of queuing theory is the optimization of wait time, queue length and the service
available to those standing in a queue.
• Waiting in queues incur cost, whether human are waiting for services or machines waiting in a machine
shop.
• On the other hand if service counter is waiting for customers that also involves cost. In order to reduce
queue length, extra service centers are to be provided but for extra service centers, cost of service
becomes higher.
• On the other hand excessive wait time in queues is a loss of customer time and hence loss of customer
to the service station.
• Ideal condition in any service center is that there should not be any queue. But on the other hand
service counter should also be not idle for long time.
• The symbols used for the probability distribution for inter arrival time and service
time are, D for deterministic, M for exponential.
• Similarly FIFO (First in First out), LIFO (Last in First out), etc., for queue discipline.
• If the capacity Y is not specified, it is taken as infinity, and if queue discipline is not
specified, it is FIFO (First in First Out).
• For example M/D/2/5/FIFO stands for a queuing system having exponential arrival
times, deterministic service time, 2 servers, capacity of 5 customers, and first in first
out discipline.
If notation is given as M/D/2 means exponential arrival time, deterministic service
time, 2 servers, infinite service capacity, and FIFO queue discipline.
PRINCIPLE OF QUEUING THEORY
The operating characteristics of queuing systems are determined largely by two statistical properties,
i) probability distribution of inter arrival times
ii) probability distribution of service times.
For the case of simplicity, we will assume for the time being, that there is single queue and only one
server serving the customers.
We make the following assumptions.
• First-in, First-out (FIFO): Service is provided on the first come, first served basis.
• Random: Arrivals of customers is completely random but at a certain arrival rate.
• Steady state: The queuing system is at a steady state condition.
The above conditions are very ideal conditions for any queuing system and assumptions are made
to model the situation mathematically.
First condition only means irrespective of customer, one who comes first is attended first and no
priority is given to anyone.
Second conditions says that arrival of a customer is random and is expected anytime after the elapse
of first mean time of interval(τ say).
In a given interval of time (called mean time of arrival τ, between two customers) only one
customer is expected to come. This is equivalent to saying that the number of arrivals per unit time
is a random variable with a Poisson’s distribution.
Poisson’s Arrival pattern.
• Number of arrivals per unit time is a random variable with a Poisson’s
distribution
QUEUE LENGTH
• Within the single server and multiple servers there are two
categories queue length
1. Finite queue length
2. Infinite queue length
• Reneging: The person joins the system, but after some time decides not to
continue and simply moves out of the system, called reneging
• Jockeying: There will be a tendency to shift from one line to another line
for a while and come back depending on what we think which is the rate
at which people in these lines are moving. Such a
phenomenon is called jockeying.
QUEUING ARRIVAL-SERVICE MODEL