Professional Documents
Culture Documents
1
Chapter Topics
2
Overview
3
Elements of Waiting Line Analysis (1 of 2)
4
Elements of Waiting Line Analysis (2 of 2)
6
The Single-Server Waiting Line System (2 of 2)
Figure 1
7
Single-Server Waiting Line System
Component Definitions
8
Single-Server Waiting Line System
Single-Server Model
9
Single-Server Waiting Line System
Basic Single-Server Queuing Formulas (1 of 2)
Probability that no customers are in the queuing system:
P0 = 1−
10
Single-Server Waiting Line System
Basic Single-Server Queuing Formulas (2 of 2)
Average time customer spends waiting and being served:
W= 1 =L
−
Average time customer spends waiting in the queue:
Wq =
−
Probability that server is busy (utilization factor): U=
11
Single-Server Waiting Line System
Operating Characteristics: Fast Shop Market (1 of 2)
= 24 customers per hour arrive at checkout counter
= 30 customers per hour can be checked out
P0 = 1− = (1 - 24/30)
Lq = 2
−
= (24)2 /[30(30 -24)] = 3.2 customers on the avg in the waiting line
12
Single-Server Waiting Line System
Operating Characteristics for Fast Shop Market (2 of 2)
W = 1 = L = 1/[30 -24]
−
= 0.167 hour (10 min) avg time in the system per customer
Wq = = 24/[30(30 -24)]
−
= 0.133 hour (8 min) avg time in the waiting line
U=
= 24/30
= .80 probability server busy, .20 probability server will be idle
13
Single-Server Waiting Line System
Steady-State Operating Characteristics
Because of steady-state nature of operating characteristics:
▪ Utilization factor, U, must be less than one:
U < 1, or / < 1 and < .
14
Single-Server Waiting Line System
Effect of Operating Characteristics (1 of 6)
Manager wishes to test several alternatives for reducing customer
waiting time:
1. Addition of another employee to pack up purchases
2. Addition of another checkout counter.
Alternative 1: Addition of an employee
(raises service rate from = 30 to = 40 customers per hour).
▪ Cost $150 per week, avoids loss of $75 per week for each
minute of reduced customer waiting time.
▪ System operating characteristics with new parameters:
Po = .40 probability of no customers in the system
L = 1.5 customers on the average in the queuing
system
15
Single-Server Waiting Line System
Effect of Operating Characteristics (2 of 6)
▪ System operating characteristics with new parameters
(continued):
Lq = 0.90 customer on the average in the waiting line
W = 0.063 hour average time in the system per customer
Wq = 0.038 hour average time in the waiting line per customer
U = .60 probability that server is busy and customer must wait
I = .40 probability that server is available
Average customer waiting time reduced from 8 to 2.25 minutes worth
$431.25 per week.
16
Single-Server Waiting Line System
Effect of Operating Characteristics (3 of 6)
Alternative 2: Addition of a new checkout counter ($6,000 plus $200 per
week for additional cashier).
▪ = 24/2 = 12 customers per hour per checkout counter
▪ = 30 customers per hour at each counter
▪ System operating characteristics with new parameters:
Po = .60 probability of no customers in the system
L = 0.67 customer in the queuing system
Lq = 0.27 customer in the waiting line
W = 0.055 hour per customer in the system
Wq = 0.022 hour per customer in the waiting line
U = .40 probability that a customer must wait
I = .60 probability that server is idle
17
Single-Server Waiting Line System
Effect of Operating Characteristics (4 of 6)
18
Single-Server Waiting Line System
Effect of Operating Characteristics (5 of 6)
Table 1
Operating Characteristics for Each Alternative System
19
Single-Server Waiting Line System
Effect of Operating Characteristics (6 of 6)
P0 = 1−
Wq =
Lq
2
2 2 + / W = Wq +
1
Lq =
2 1− /
L = Lq +
U=
21
Single-Server Waiting Line System
Undefined Service Times Example (1 of 2)
◼ Data: Single fax machine; arrival rate of 20 users per hour,
Poisson distributed; undefined service time with mean of 2
minutes, standard deviation of 4 minutes.
◼ Operating characteristics:
P0 = 1−
= 1 − 20 = .33 probability that machine not in use
30
2 2 2 2
+ /
2 2
1/15 + 20/ 30
20
Lq = =
2 1− /
2 1− 20/ 30
= 3.33 employees waiting in line
L = Lq +
= 3.33 + (20/ 30)
= 4.0 employees in line and using the machine
22
Single-Server Waiting Line System
Undefined Service Times Example (2 of 2)
◼ Operating characteristics (continued):
Lq 3.33
Wq = = = 0.1665 hour = 10 minutes waiting time
20
W =Wq +
1 = 0.1665 + 1 = 0.1998 hour
30
= 12 minutes in the system
U= =
30
20 = 67% machine utilization
23
Single-Server Waiting Line System
Constant Service Times Formulas
◼ In the constant service time model there is no variability in
service times; = 0.
◼ Substituting = 0 into equations:
2 2 2 2 2
+ / 0 + /
2 2
/
2
Lq = = = =
2 1− /
2 1− /
2 1− / 2 −
24
Single-Server Waiting Line System
Constant Service Times Example
◼ Car wash servicing one car at a time; constant service time of
4.5 minutes; arrival rate of customers of 10 per hour (Poisson
distributed).
◼ Determine average length of waiting line and average waiting
time.
= 10 cars per hour, = 60/4.5 = 13.3 cars per hour
Lq = 2
= (10)2
= 1.14 cars waiting
2( − ) 2(13.3)(13.3 −10)
Lq 1.14
Wq = = = 0.114 hour or 6.84 minutes waiting time
10
25
Finite Queue Length
M +1
L = / − ( M + 1)( / ) Lq = L − (1− PM )
1− / 1− ( / )M +1
W= L Wq =W −
1
(1− PM )
26
Finite Queue Length Example (1 of 2)
Metro Quick Lube single bay service; space for one vehicle in
service and three waiting for service; mean time between arrivals of
customers is 3 minutes; mean service time is 2 minutes; both inter-
arrival times and service times are exponentially distributed;
maximum number of vehicles in the system equals 4.
27
Finite Queue Length Example (2 of 2)
(5)(20/ 30)5
L= 20/ 30 − = 1.24 cars in the system
1− 20/ 30 1− (20/ 30)5
Wq =W −
1 = 0.067 − 1 = 0.033 hour waiting in line
30
28
Finite Calling Population
Lq
L = Lq + (1− P0 ) Wq = W =Wq +
1
( N − L)
29
Finite Calling Population Example (1 of 2)
30
Finite Calling Population Example (2 of 2)
P0 = 1
n = .652
20 20! .005
(20 − n)! .2778
n=0
31
Multiple-Server Waiting Line (1 of 3)
Figure 3
32
Multiple-Server Waiting Line (2 of 3)
33
Multiple-Server Waiting Line (3 of 3)
Customer Service
System at Biggs
Department Store
34
Multiple-Server Waiting Line
Queuing Formulas (1 of 3)
◼ Assumptions:
▪ First-come first-served queue discipline
▪ Poisson arrivals, exponential service times
▪ Infinite calling population.
◼ Parameter definitions:
▪ = arrival rate (average number of arrivals per time period)
▪ = the service rate (average number served per time period)
per server (channel)
▪ c = number of servers
▪ c = mean effective service rate for the system (must exceed
arrival rate)
35
Multiple-Server Waiting Line
Queuing Formulas (2 of 3)
n
Pn = 1
P0 for n c
c!cn−c
n
Pn = n P0 for n c = probability of n customers in system
1
L= ( / )c
P0 + = average customers in the system
(c −1)!(c − )2
36
Multiple-Server Waiting Line
Queuing Formulas (3 of 3)
Lq = L −
= average number of customers in the queue
Lq
Wq =W − = = average time customer is in the queue
1
c
Pw = c P0 = probability customer must wait for service
1
c! c −
37
Multiple-Server Waiting Line
Biggs Department Store Example (1 of 2)
= 10, = 4, c = 3
P0 = 1
0 1 2
3
1 10 + 1 10 + 1 10 + 1 10 3(4)
0! 4 1! 4 2! 4 3! 4 3(4) −10
(10)(4)(10/4) 3
L= (.045) + 10
(3 −1)![3(4) −10]2 4
38
Multiple-Server Waiting Line
Biggs Department Store Example (2 of 2)
Lq = 6 − 10
4
= 3.5 customers on the average waiting to be served
Wq = 3.5
10
= 0.35 hour average waiting time in line per customer
3
Pw = 1 10
3(4) (.045)
3! 4 3(4) −10
39
Additional Types of Queuing Systems (1 of 2)
41
Example Problem Solution (1 of 5)
42
Example Problem Solution (2 of 5)
Solution:
Step 1: Determine Operating Characteristics for the Single-
Server System
= 4 customers per hour arrive, = 5 customers per
hour are served
Po = (1 - / ) = ( 1 – 4 / 5) = .20 probability of no
customers in the system
L = / ( - ) = 4 / (5 - 4) = 4 customers on average in
the queuing system
Lq = 2 / ( - ) = 42 / 5(5 - 4) = 3.2 customers on
average in the waiting line
43
Example Problem Solution (3 of 5)
Step 1 (continued):
W = 1 / ( - ) = 1 / (5 - 4) = 1 hour on average in the
system
Wq = / (u - ) = 4 / 5(5 - 4) = 0.80 hour (48 minutes)
average time in the waiting line
Pw = / = 4 / 5 = .80 probability the new accounts
officer is busy and a customer must wait
44
Example Problem Solution (4 of 5)
P0 = 1
n = c −1 1 n 1 c c
n! + c! c −
n=0
L= ( / )c P +
(c −1)!(c − )2
0
45
Example Problem Solution (5 of 5)
Step 2 (continued):
Lq = L −
= 0.152 average number of customers in the queue
1 = Lq
Wq =W −
= 0.038 hour average time customer is in the queue
c c
Pw = 1
c! c −
Po
46