Lecture 5 - QUEUING MODEL-Discrete Model
Lecture 5 - QUEUING MODEL-Discrete Model
4.1.1. Introduction
The first problem of queuing theory was raised by calls and Erlang was the first
who treated congestion problems in the beginning of 20 th century. His works
inspired engineers,
The objective of a queuing model is to find out the optimum service rate and the
number of servers so that the average cost of being in queuing system and the cost
of service are minimized.
The queuing models are basically relevant to service oriented organizations and
suggest ways and means to improve the efficiency of the service. This model can
be applied in the field of business such as banks and booking counters, industries
such as servicing of machines, government such as railway or post-office
counters, transportation such as airport and habour and in everyday life such as in
elevators, restaurants, hospitals among others
4.1.6. Arrival
The arrival rate is the rate at which customers arrive at the service facility during
a specified period of time. For example, if 100 customers arrive at a store
checkout counter during a 10-hour day, we could say the arrival rate averages 10
customers per hour.
The statistical pattern to the arrival can be indicated through
The number of arrivals is a discrete variable whereas the inter-arrival times are
continuous random and variable. A remarkable result in this context is that if the
number of arrivals follows a Poisson Distribution, the corresponding inter-arrival
time follows An Exponential Distribution. This property is frequently used to
derive elegant results on queueing problems
4.1.7. Service
The time taken by a server to complete service is known as a service time. The
service time is a statistical variable and can be studied either as the number of
services completed in a given period of time or the time taken to complete the
SIMULATION AND MODELLING LECTURE NOTES BY
AMINA OMAR February 16, 2016
service. The data on actual service time should be analyzed to find out the
probability distribution of service time. The number of services completed is a
discrete random variable while the service time is a continuous random variable.
4.1.8. Server
The time spent by a customer in a queuing system is the sum of waiting before
service and service time. The waiting time of a customer is the time spent by a
customer in a queuing system before the service starts. The probability distribution
of waiting time depends upon the probability distribution of inter-arrival time and
service time.
The queue discipline indicates the order in which members of the queue are
selected for service. It is most frequently assumed that the customers are served on
the first come first serve basis. T This is commonly referred to as FIFO (First In,
First Out) system. Occasionally, a certain group of customers receive priority in
service over the others even if they arrive late. This is commonly referred to a
Priority Queue. The queue discipline does not always take into account the order
of arrival. The server chooses on of the customers to offer service at random. Such
a system is known as service in random order (SIRO). While allotting an item
with high demand and limited supply such as a test match ticket or share of a
public limited company. SIRO system is the only possible way of offering service
when it sin not possible to identify the order of arrival.
ii. LIFO – Last Come First Out: who comes later leaves earlier
The calling population is the source of the customers to the queuing system, and it
can be either infinite or finite. An infinite calling population assumes such a large
number of potential customers that it is always possible for one more customer to
arrive to be served. For example, a grocery store, a bank, and a service station are
assumed to have infinite calling populations; that is, the whole town or geographic
area.
A finite calling population has a specific, countable number of potential
customers. It is possible for all the customers to be served or waiting in line at the
same time; that is, it may occur that there is not one more customer to be served.
Examples of a finite calling population are a repair facility in a shop, where there
is a fixed number of machines available to be worked on, a trucking terminal that
services a fleet of a specific number of trucks, or a nurse assigned to attend to a
specific number of patients.
Example 1
(M/M/1) : (∞/FIFO) – indicates a queuing system when the inter-arrival times and
service times are exponentially distributed having one server in the system with
first in first out discipline and number of customers allowed in the system can be
infinite.
Exercise 1
iii. M/M/r/K/n stands for a system where the customers arrive from a finite-
source with n elements where they stay for an exponentially distributed
time, the service times are exponentially distributed, the service is carried
out according to the request’s arrival by r severs, and the system capacity
is K .
iv. M/M/1/ / represents a single server that has unlimited queue capacity
and infinite calling population, both arrivals and service are Poisson (or
random) processes, meaning the statistical distribution of both the inter-
arrival times and the service times follow the exponential distribution.
meaning the statistical distribution of the inter-arrival times still follow the
exponential distribution, the distribution of the service time does not.
Queuing theory is the mathematical study of waiting lines (or queues) that enables
mathematical analysis of several related processes, including arriving at the (back
of the) queue, waiting in the queue, and being served by the Service Channels at
the front of the queue.
Traffic Intensity - The ratio noitazilitu eht ro ytisnetni ciffart eht dellac si µ/ג
factor and it determines the degree to which the capacity of service station is
utilize
Jockeying - When there are 2 or more parallel queues and the customers
move from one queue to another is called Jockeying
Waiting Time Cost - The cost of waiting customers include either the indirect cost
of lost business or direct cost of idle equipment and persons.
Idle Time Cost - The cost of idle service facilities is the payment to be made
to the servers for the period for which they remain idle.
i. Customer
ii. Queue
The service time has exponential distribution with mean service rate µ.
Assume that time between arrivals and service times at a single-chair unisex hair-
styling shop have been shown to be exponentially distributed. The values of λ and
µ are 2 per hour and 3 per hour, respectively. Computer the following
Solution
The server utilization is
Solution
Exercise 1
Kenya Airways has one reservation clerk on duty in its Moi International Airport
branch at any given time. The clerk handles information regarding passenger
reservation and flight timings. Assume that the number of customers arriving
during any given period is passion distribution with and arrival rate 8 per hour and
that the clerk can service 1 customer in 6 minutes on an average, with an
exponentially distributed service time.
Solution
Exercise 2
A Jua Kali mechanic finds that the time spent on his job has an exponential
distribution with an average of 20 minutes. If repairs cars in the order in which
they arrive in, and if the arrival is approximately Poisson with an average rate of 8
cars per 8 hours in a day.
Solution
Exercise 3
Cinema goers arrive at the Nyali Cinemax ticket’s counter at a rate of 12 per hour.
There is one clerk serving the customers at a rate of 30 per hour.
d) What is the probability that a customer is being served and nobody waiting?
Page
13