Queuing Models: Mr. Mgaya, S
Queuing Models: Mr. Mgaya, S
Queuing Models: Mr. Mgaya, S
Mr. Mgaya, S
Queuing models
• Queuing models are model for services system
• Services systems are system where the services are
provided, example banks, hospitals, libraries, postal
offices, libraries, retails and whole shops, etc.
• Queuing models can be used in two situation.
i. To investigate and solve operational problems
facing given service system
ii. Establishing the operating characteristics of
existing or new services system
General Structure of Queuing System
. Service system
In put
population Customers leave
Queue the system
Queue
Displine
P(t) = e- μt
Number of Servers
Queue Discipline
• Queue discipline is the logical ordering of customers
in a queue that determines which customer is chosen
for service when a server becomes free.
• Examples of queue discipline are:
i. First-in-first-out (FIFO)
ii. Last-in-first-out (LIFO)
iii. Service in random order (SIRO)
iv. Shortest processing time first (SPT)
v. Service according to priority (PR).
Types of Queuing Model
• Using members of facilities in a given service
systems. Queuing models can be categorized as the
i. The single channel queuing model
ii. The mult-channel queuing model
Operating characteristics of
services system
• The time that customer spend in the
queues waiting for the services is called
waiting time. Both customers and
manager are concerning with the long
waiting time. This concern is the
operational problem in nature which leads
to the development of
a) The construction of Queuing model
b) Identification of performance measures
of the services system called operating
characteristics of the services system
Operating characteristics of
services system
Operating characteristics of the services system are
1. P0 = Probability that there are no customers in the
system
2. Lq = Average number of customers in the queue
3. L = Average number of customers in the system
4. Tq = Average time a customer spends in the queue
5. Ts = Average time a customer spends in the system
6. Pw = Probability that an arriving customer must wait
for service
Operating characteristics of
services system …
7. Pn = Probability that there are “n” customers
in the system
8. ρ = Utilization rate for each server (the
percentage of time that each server is busy)
9. The cost of operating the service system
Operating characteristics of
services system …
• The operating characteristics above provide the
information which help to decide on
a) How the operations of a given services system
take place
b) The quality of service provided by a given service
system
c) The cost of operating the service system
d) Whether cost of operating the service system and
providing the quality of services are balanced or
not
TYPES OF QUEUING MODELS
• Queuing Models of the service systems
include formula and relationships which
help to determine operating
characteristics of the services system
• By using the members of facilities in a
given systems. Queuing models can be
categorized as
1. The single channel Queuing Model
2. The single channel Queuing Model
SINGLE CHANNEL
QUEUING MODEL
SINGLE CHANNEL QUEUING MODEL
• The following assumption made when constructing the
single channel queuing Model
i. That the services system has only one services
facility
ii. That customer arrivals at the service system have
poison distribution with a mean of λ customer
arrivals. λ is a mean customer arrival rate
iii. That service time at the service system have the
exponential distribution with a mean of μ customer
arrivals. That is μ is the mean service rate
iv. That the queue discipline at the services system is
the FCFS
SINGLE CHANNEL QUEUING MODEL
• From those assumption , the operating characteristics
are determined as
1. Probability that there are no customers in the system
p0 1
2. Average number of customers in the queue
λ2
Lq
μ μ λ
3. Average number of customers in the system
λ
L Lq
μ
SINGLE CHANNEL QUEUING MODEL
4. Average time a customer spends in the queue
Lq
Tq
5. Average time a customer spends in the system
1
Ts Tq
6. Probability that an arriving customer must wait
for service
λ
Pw
μ
SINGLE CHANNEL QUEUING MODEL
7. Probability that there are “n” customers in the system
P n nP 0 where n 1 , 2 , 3 ,...
8. The cost of operating the service system
n 1 2 3 4 5
pn 0.1875 0.1406 0.1055 0.079 0.059
1
Ts Tq
The Mult – Channel Queuing Model …
6. Probability that an arriving customer must wait
for service k
λ k P0
Pw
k (k )k!
7. Probability that there are “n” customers in the system
λ n P0
Pn n
where n k
n!
λ n P0
Pn nk
where n k
k!k
n 0 ,1 , 3 , 4 , 5 , 6 ...
The Mult – Channel Queuing Model …
1 1
Ts T q 0 . 835 0 . 843
120
Solution…
5. Probability that an arriving customer must wait for
service
λ k k P 0
P w k
( k ) k !
87 ) 2 ( 240 )( 0 . 47 ) 12 !
120 2
240 87
0 . 1937
• This means that any arriving customer has to wait for service
19%of that time
Solution…
6. Probability that there are “n” customers in the
system
Pn
λ n P0
where n k
87 0 . 47
2
when n 2
n n
n! n ! (120 )
Pn
λ n P0
where n k
87 n ( 0 . 47 )
nk
k!k 2 ! 2 ( n 2 ) ( 120 ) n
n 0 ,1 , 3 , 4 , 5 , 6 ...
• The chance for the main post office has three or more customers
are very small. The post office has at most customers at any
given time