





































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






































Input source
Queue Service mechanism
Arriving customers
Exiting customers
Note
Bank Customers Arrive Tellers serve customers
Pizza Orders are phoned Orders are driven to parlor in customers
Blood Pints of blood arrive Patients use up bank via donation pints of blood
Shipyard Damaged ships sent Ships are repaired to shipyard for repair & return to sea
Printers Jobs arrive from Documents are computers printed
Queuing Applications
What is the ...
These questions are aimed at characterizing complex systems. Analyses used to support decision-making.
Typical Performance Questions
In queuing (and most analyses of complex stochastic systems), design takes the form of asking “what if ” questions rather than trying to optimize the design.
Multiple Servers, Multiple Queues
What is average wait in the queue? What is average time in the system?
N ( t ) = # of customers in the system at time t 0
Pk ( t ) = probability exactly k customers in system at time t , given # in system at time 0
s = # of parallel servers
(expected # of arrivals per unit time)
(expected # of departures per unit time)
Notation and Terminology
system
L = expected number of customers in the system
Lq = expected queue length (doesn’t include those being served)
W = expected time in system, including service time
Wq = expected waiting time in the queue (doesn’t include service)
For any queuing system that has a steady state
For example, if the average waiting time is 2 hours and customers arrive at a rate of 3 per hour then, on average, there are 6 customers in the system.
service time here)
Little’s Law
Applications in a variety of areas, but in queuing “birth” refers to the arrival of a customer while “death” refers to the departure of a customer.
Recall, N ( t ) = # of customers in the system at time t.
Assumptions
Birth and Death Processes
We will investigate steady-state (not transient) results for birth-death processes based on the
1
3 2 3
0 1 2 0 1 2
Transition Rate Diagram
p 1 =
0 1 p^0 p^2 =
1 2 p^1 +^
1 2 (^1 p^1 –^ ^0 p^0 )^ =
1 2 p^1 =
1 0 2 1
p 0
1 0 0 1 1
k k k k k
1 0 0 1 1
Let (^) k k^ k , 1,... and let 1 k k
C k C
Ls = L – L q = expected # of customers in service
E = Ls / s = efficiency of system (utilization)
k =
Some Steady-State Results
k = s +
k= 0
What is the probability that all servers are idle?
What is the probability that a customer will not have to wait?
What is the probability that a customer will have to wait?
Pr{wait} = 1 – Pr{no wait} = 0.
What is the probability that a customer balks?
Expected number in queue:
Expected number in service:
Expected number in the system:
L = Lq + Ls = 2.
Efficiency of the servers:
E = Ls / s = 2.244 / 3 = 0.748 or 74.8%