Queuing Theory (Waiting Line Theory) : Queueing Theory Study Notes - Emma Charles 0753-236-367/0787-080-333 - Win 10 Pro
Queuing Theory (Waiting Line Theory) : Queueing Theory Study Notes - Emma Charles 0753-236-367/0787-080-333 - Win 10 Pro
Queuing Theory (Waiting Line Theory) : Queueing Theory Study Notes - Emma Charles 0753-236-367/0787-080-333 - Win 10 Pro
Page 2 of 10
Queueing Theory Study Notes | Emma Charles 0753-236-367/0787-080-333 - Win 10 Pro
Single server (single queue); is a model that involves one queue and one service station
facility where customers wait till the service point is ready to him/her for servicing,
e.g. students arriving at a library counter.
Single server (several queues); this consists of several queues and the customer may
join any one of the lines but there is only one service channel.
Several (parallel) servers (single queue); in this type of model, there is more than one
server and each server provides the same type of facility. The customers wait in a
single queue until one of the service channels is ready to take them for servicing.
Several servers (several queues); this model consists of several servers where each of
the servers has a different queue. E.g. electricity office with different cash counters
where customers can make payments in respect of their electricity bills, different
ticket issue counters in a trade fare, different boarding pass counters at an airport,
etc.
Service facilities in a series; in this model, a customer enters the first facility and gets
a portion of service & then moves on to the next facility, gets a service & then
moves on to the next facility, etc. & then leaves the system. E.g. in a milk plant,
packaging of milk pouches consists of boiling, pasteurization, cooling & packaging
operations, each of which is performed by a single server in a series.
b) Speed of service; in a queueing system, service system can be expressed in two ways,
i.e. as a service rate & as a service time. The service rate describes the number of
customers serviced during a particular time period whereas, service time indicates
the amount of time needed to service a customer. E.g. a cashier can attend, on
average 5 customers in an hour, the service rate would be 5 customers/hour &
service time would be equal to 12 minutes/customer(60⁄5).
3. Queue discipline; this is a rule determining the formation of queue & a manner
in which customers forming a queue are selected for a service.
Ways in which customers in a queue are served
a) Static queue disciplines; these are based on individual customer’s status in the queue.
The most common queue disciplines here are;
First-Come-First-Served (FCFS/FIFO); this is where customers are served in the order
of their arrival, e.g. in milk Parlour, railway station, etc.
Last-Come-Last-Served (LCFS); is where customers are served in the reversed order of
their entry so that the ones who join last are served first. E.g. People who join an
elevator last are the ones to leave first, in a big store (godown) items which come
last are taken out firs.
b) Dynamic queue discipline; this is based on individual customer’s attributes in the
queue and these disciplines may include;
Page 3 of 10
Queueing Theory Study Notes | Emma Charles 0753-236-367/0787-080-333 - Win 10 Pro
Service in random order (SIRO); under this rule, customers are selected for service at
random order irrespective of their arrivals in the service system. Thus, every
customer in a queue is equally-likely to be selected. The time of arrival of a
customer is of no relevance in this case.
Priority service; under this, customers are grouped in priority classes on the basis of
some attributes such as service time or urgency or according to some identifiable
characteristics & FCFS to provide a service. Treatment of VIPs in preference to
other patients in a hospital is an example priority service.
4. Customer behaviour/attitude; on this basis, customers may be classified as being
patient or impatient & they generally behave in five ways as seen below;
Balking; this is where a customer may leave the queue because the queue is too long
or waiting space is inadequate for desired service & he/she may decide to return
for service at a later time.
Reneging; this is where a customer, after joining the queue, waits for some time and
leaves the service system due to intolerable delay or impatience.
Jockeying; this is where a customer switches from one queue to another hoping to
receive service quickly.
Colonizing; is where customers waiting for service jump into a newly formed line in
hopes of receiving service quickly.
Priorities; this is where customer are served before others regardless of their order
of arrival in some applications. This means that, these customers have priority over
others.
Characteristics of a queuing system
i. Queue Length (Lq); this is a number of customers in the queue waiting to get
service. Short queues may mean good customer service or large waiting space while
long queues mean low service efficiency or little waiting space.
ii. System length (Ls); is the average number of customers in the system waiting to be
served including those being served. Long queues imply congestion, potential
customer dissatisfaction, & need for more capacity.
iii. Waiting time in a queue (Wq); is the average time that a customer has to wait in
the queue to get service. Long waiting times may mean a need to adjust the service
rate of the system or change the arrival rate of customers.
iv. Waiting Time in a system (Ws); is the average time that a customer spends in the
system from entry to the queue to completion of service. If this time is more then
there may be a need to change the priority discipline, increase productivity or
adjust the capacity.
Page 4 of 10
Queueing Theory Study Notes | Emma Charles 0753-236-367/0787-080-333 - Win 10 Pro
v. Server idle time; this is a relative frequency with which the service system is idle
and which is directly related to cost. Queuing theory analysis involves the study of
system behaviour over time.
vi. Transient & Steady states; a transient state is where the operating characteristics of
a system are dependent on time. While, steady state, is where after sufficient time
has passed, the system becomes independent of the initial conditions and of the
elapsed time (except under very special conditions).
vii. Traffic intensity (Utilization factor); is the proportion of time a server spends with
the customer. A necessary condition for a system to have settled to a steady state is
𝜆
that; 𝜌 < 1 𝑜𝑟 < 1 𝑜𝑟𝜆 < 𝜇 i.e. arrival rate <service rate. If 𝜌 > 1, the arrival
𝜇
rate will be greater than the service rate, and consequently, the number of units in
a queue tend to increase indefinitely as the time passes on, provided the service
rate is not affected by the queue length.
PROBABILITY DISTRIBUTIONS IN QUEUEING SYSTEMS
1. Poisson distribution process (pure birth process); pure birth models are models in which
only arrivals are counted & no departure takes place. In queueing process, birth –
death process is increased by birth or arrivals in the system & decreased by death
or departure of serviced customers from the system. Therefore, if the arrivals are
completely random, then the probability distribution of a number of arrivals in a
fixed time-interval, follow a Poisson probability distribution with parameter
(Lambda/mean) 𝜆. In other words, Poisson point process may refer to a process in
which events occur continuously & independently at a constant average rate.
2. Exponential distribution process. This is the distribution which describes inter-arrival
times in a Poisson point process. Inter-arrivals are the time intervals between two
successive events which will be1⁄𝜆.
QUEUEING MODELS
Queueing models are categorized as deterministic/probabilistic. If each customer
arrival arrives at known interval & service time is known with certainty, then the
queueing model is said to be Deterministic in nature. Whereas, when both arrival &
service rate are unknown & assumed to be random variable, then this type of queueing
model is known as probabilistic in nature.
Classification of queueing models
Queueing models are classified as follows;
Model I: (𝑀|𝑀|1): (∞|𝐹𝐶𝐹𝑆)
Page 5 of 10
Queueing Theory Study Notes | Emma Charles 0753-236-367/0787-080-333 - Win 10 Pro
Page 6 of 10
Queueing Theory Study Notes | Emma Charles 0753-236-367/0787-080-333 - Win 10 Pro
Worked examples
1. Customers arrive at a Counter being manned by a single individual at a rate of 25
per hour. The time required to serve a customer has exponential distribution with
a mean of 30 per hour.
Required;
Discuss the various characteristics of the queueing system, assuming that there is only
one server.
Solution:
𝐴𝑟𝑟𝑖𝑣𝑎𝑙 𝑅𝑎𝑡𝑒( 𝜆) = 25 𝑝𝑒𝑟 ℎ𝑟.
𝑆𝑒𝑟𝑣𝑖𝑐𝑒 𝑅𝑎𝑡𝑒 (𝜇) = 30 𝑝𝑒𝑟 ℎ𝑟.
𝜆 25 5
(𝜌) = = = = 0.83
𝜇 30 6
iii. Expected waiting time of the contractor’s truck in the queue per day, assuming 10 hours
shift per day.
= (𝑁𝑜. 𝑜𝑓 𝑡𝑟𝑢𝑐𝑘𝑠 𝑝𝑒𝑟 𝑑𝑎𝑦) × (𝑐𝑜𝑛𝑡𝑟𝑎𝑐𝑡𝑜𝑟 ′ %) × (𝐴𝑣𝑔𝑒 𝑤𝑎𝑖𝑡𝑖𝑛𝑔 𝑡𝑖𝑚𝑒 𝑖𝑛 𝑡ℎ𝑒 𝑞𝑢𝑒𝑢𝑒)
30 𝜆
= (4 × 10) × ( ) × ( )
100 𝜇(𝜇 − 𝜆)
Page 9 of 10
Queueing Theory Study Notes | Emma Charles 0753-236-367/0787-080-333 - Win 10 Pro
4
40 × 0.3 ×
20(20 − 4)
4
12 × = 0.15 ℎ𝑟𝑠 ≈ 9 𝑚𝑖𝑛𝑢𝑡𝑒𝑠 𝑝𝑒𝑟 𝑑𝑎𝑦.
320
Students’ Exercise
4. University Ladies arrive at a saloon according to Poisson process with a mean inter-
arrival time of 20 minutes. Customers spend on an average of 15 minutes for hair
braiding within a period of one hour.
Required;
i. Find the expected number of customers at the saloon & the expected queue
length
ii. How much time will a customer spend in the queue?
iii. What is the probability that a customer will not have to wait for hair braiding?
iv. What is the probability of having at least 2 customers in the system?
5. Dr. Jane Francis a re-known Psychiatrist operates a Psychology Clinic at the City
Centre. Patients arrive at the clinic at the mean rate of 40 patients per hour. The
consultation period taken by Dr. Jane Francis per patient is an average of 4
minutes. Each patient is allowed only one consultation per day.
Required, determine;
i. Average number of patients in a queueing system
ii. Expected number of customers in the queue
iii. The probability that there is no patient in a queueing system
iv. Probability that Dr. Jane Francis is busy/having a queue/not receiving
immediate service
v. Probability of having 6 customers in the system
6. A restaurant has only one cashier. During the peak hours, customers arrive at a
mean rate of 60 customers per hour. The average number of customers that can
be processed by a cashier is 90 customers per hour.
Required, determine
i. The probability that a cashier is idle
ii. Expected number of customers in a queueing system
iii. Expected time a customer spends in the system
iv. Expected number of customers in the queue
v. Expected time a customer spends in the queue waiting for a service.
Page 10 of 10