Waiting Line
Waiting Line
Topics
Servicing System
Servers
Queue or
Customer Waiting Line
Arrivals Exit
A typical waiting line
Population of Arrivals Queue Service Exit the system
dirty cars from the (waiting line) facility
general
population …
Dave’s
Car Wash
Enter Exit
No Way! No Way!
BALK RENEG
Customer Service Population Sources
Population Source
Finite Infinite
Example: Number Example: The
of machines number of people
needing repair who could wait in
when a company a line for
only has three gasoline.
machines.
The Queuing System
Length
Infinite/ Finite
Queuing
Number of Lines &
Queue Discipline System
Line Structures
Service Time
Distribution
Poisson Distribution
e-x
P(x) = for x = 0, 1, 2, 3, 4, …
x!
where P(x) = probability of x arrivals
x = number of arrivals per unit of time
= average arrival rate
e = 2.7183 (which is the base of the natural logarithms)
Poisson Distribution
e-x
Probability = P(x) =
x!
0.25 – 0.25 –
0.02 – 0.02 –
Probability
Probability
0.15 – 0.15 –
0.10 – 0.10 –
0.05 – 0.05 –
– –
0 1 2 3 4 5 6 7 8 9 x 0 1 2 3 4 5 6 7 8 9 10 11 x
Distribution for = 2 Distribution for = 4
Waiting-Line Characteristics
Single
Multiphase
Phase
One-person
Single Channel Car wash
barber shop
Service
Pattern
Constant Variable
Example: Items Example: People
coming down an spending time
automated shopping.
assembly line.
Queuing System Designs
A family dentist’s office
Queue
Service Departures
Arrivals facility after service
Queue
Phase 1 Phase 2 Departures
Arrivals service service
after service
facility facility
Service
facility
Channel 1
Queue
Service Departures
Arrivals facility
Channel 2
after service
Service
facility
Channel 3
Phase 1 Phase 2
service service
Queue facility facility
Channel 1 Channel 1
Departures
Arrivals after service
Phase 1 Phase 2
service service
facility facility
Channel 2 Channel 2
Minimum
Total Total expected cost
cost
Cost of providing service
Source
Model Layout Population Service Pattern
1 Single channel Infinite Exponential
2 Single channel Infinite Constant
3 Multichannel Infinite Exponential
4 Single or Multi Finite Exponential
= 25 cust / hr
1 customer
= = 30 cust / hr
2 mins (1hr / 60 mins)
25 cust / hr
= = = .8333
30 cust / hr
Example: Model 1
Lq
Wq = = .1667 hrs = 10 mins
E) What is the average waiting time in the system?
Ls
Ws = = .2 hrs = 12 mins
Example: Model 1
n
pn = (1 - )( )
25 25 2
p 2 = (1 - )( ) = .1157
30 30
Example: Model 2
An automated pizza vending machine
heats and
dispenses a slice of pizza in 4 minutes.
2 (10) 2
Lq = = = .6667
2 ( - ) (2)(15)(15 - 10)
B) The average total waiting time in the system.
Lq .6667
Wq = = = .06667 hrs = 4 mins
10
1 1
Ws = Wq + = .06667 hrs + = .1333 hrs = 8 mins
15/hr
Example: Model 3
Recall the Model 1 example:
Drive-up window at a fast food restaurant.
Customers arrive at the rate of 25 per hour.
The employee can serve one customer every two minutes.
Assume Poisson arrival and exponential service rates.
Lq = 0.176
(Exhibit TN7.11 - -using linear interpolat ion)
25
Ls = Lq + = .176 + = 1.009
30
Total time customers wait before being served
Lq .176 customers
Wq = = = .007 mins ( No Wait! )
25 customers/ min
Notation: Finite Queuing: Model 4
T 10 m in
X = = .077
T+ U 10 m in + 120 m in
Answer: b. Finite
Question Bowl
Customer Arrival “rates” in a queuing system can be
characterized by which of the following?
a. Constant
b. Infinite
c. Finite
d. All of the above
e. None of the above
Answer: a. Constant
Question Bowl
An example of a “queue discipline” in a queuing
system is which of the following?
a. Single channel, multiphase
b. Single channel, single phase
c. Multichannel, single phase
d. Multichannel, multiphase
e. None of the above
Answer: e. None of the above (These are the rules for determining the order of
service to customers, which include FCFS, reservation first, highest-profit
customer first, etc.)
Question Bowl
Withdrawing funds from an automated teller machine is an
example in a queuing system of which of the following
“line structures”?
a. Single channel, multiphase
b. Single channel, single phase
c. Multichannel, single phase
d. Multichannel, multiphase
e. None of the above