Queuing Theory
Queuing Theory
Queuing Theory
Dr. Joyjeet Ghose
Associate Professor,
Department of Production Engineering,
Birla Institute of Technology, Mesra
Joyjeet Ghose. 2014
Introduction to Queuing Theory
• A flow of customers from infinite or finite population towards the service facility
forms a queue or waiting line on account of lack of capability to serve them all
at a time.
• By the term customer we mean to the arriving unit that requires some service to
be performed at the service station.
• Queues or waiting lines stands for a number of customers waiting to be serviced.
• Queue does not include the customer being serviced. The process or system that
performs the services to the customer is termed as service channel or service
facility.
Departure of
Customer
served customers
arrivals
Departure of impatient
customers
Average Wait
in Queue (Wq )
Service
Arrival Departure
( (
Average Number
Rate Service Rate
in Queue (Lq )
A.K. Erlang
Total
cost
Cost
Cost of
service
Min TC = WC + SC
Cost of waiting
Process capacity
Lecture notes on PE 5001 Manufacturing Process II, Joyjeet Ghose
Examples of Real World Queuing Systems?
• Commercial Queuing Systems
– Commercial organizations serving external customers
– Ex. Dentist, bank, ATM, gas stations, plumber, garage …
• Transportation service systems
– Vehicles are customers or servers
– Ex. Vehicles waiting at toll stations and traffic lights, trucks or ships waiting
to be loaded, taxi cabs, fire engines, elevators, buses …
• Business-internal service systems
– Customers receiving service are internal to the organization providing the
service
– Ex. Inspection stations, conveyor belts, computer support …
• Social service systems
– Ex. Judicial process, the ER at a hospital, waiting lists for organ transplants
or student dorm rooms …
Served
Calling Jobs Service Jobs
Queue Mechanism
Population
leave the
system
Arrival Queue
Process Discipline
Service
Queue
Process
Configuration
Servers Servers
26
Lecture notes on PE 5001 Manufacturing Process II, Joyjeet Ghose
Queue discipline or Service discipline
• First In First Out (FIFO) or First Come First Served (FCFS): We are quite
aware that when we are in a queue, we wish that the element which comes should
be served first, so that every element has a fair chance of getting service.
Moreover it is understood that it gives a good morale and discipline in the queue.
When the condition of FIFO is violated, there arises the trouble and the
management is answerable for the situation.
• (ii) Last in first out (LIFO) or Last Come First Served (LCFS): In this system, the
element arrived last will have a chance of getting service first. In general, this
does not happen in a system where human beings are involved. But this is quite
common in Inventory system. Let us assume a bin containing some inventory.
The present stock is being consumed and suppose the material ordered will arrive
that is loaded into the bin. Now the old material is at the bottom of the stock
where as fresh arrived material at the top. While consuming the top material
(which is arrived late) is being consumed. This is what we call Last come first
served). This can also be written as First In Last Out (FILO).
C S = Server
C S
The Queue
•
Customers (C)
CCC…C •
•
C S
Customer =C
30
Transient condition Steady State condition
25
Number of jobs in the system, N(t)
20
15 E[N(t)]
N(t)
10
0
0 5 10 15 20 25 30 35 40 45 50
time, t
t
P (t ) e
1
E (t ) 1 t
E (T )
n
( t) t
Pn (t ) e (1)
n!
Lecture notes on PE 5001 Manufacturing Process II, Joyjeet Ghose
Distribution of arrival and service time
• Exponential Service Times: The commonly used symbol for average service
rate in waiting line models is the Greek letter ‘mu’ .μ., the number of services
completed per time unit. As with arrivals it can be shown that when service rates
follow a Poison process with mean service rate μ, the distribution of serviced
times follow the negative exponential distribution with mean service time 1 / μ.
The reason for the common reference to rates in the discussion of arrivals and to
times in the discussion of service is simply a matter of practice. One should hold
it clearly in mind, however, for both arrivals and services, that in the general
Poison models, rates follow the Poisson distribution and times follow the
negative exponential distribution. One must raise a doubt at this point why the
interest in establishing the validity of the Poisson and Negative exponential
distributions. The answer is that where the assumptions hold, the resulting
waiting line formulas are quite simple. The Poison and Negative exponential
distributions are single parameters distributions; that is, they are completely
described by one parameter, the mean. For the Poisson distribution the standard
deviation is the square root of the mean, and for the negative exponential
distribution the standard deviation is equal to the mean. The result is that the
mathematical derivations and resulting formulas are not complex. Where the
assumptions do not hold, the mathematical development may be rather complex
or we may resort to other techniques for solution, such as simulation.
Lecture notes on PE 5001 Manufacturing Process II, Joyjeet Ghose
Kendall Notation for Queuing Models
Number of servers
m=1,2,…
Order of Servicing
Storage Capacity K=
1,2,…
(if ∞ then it is omitted)
• As total cost of fast worker is less than that of slow worker, fast workman should
be hired.