Copyright 2013 Pearson Education Inc publishing as Prentice Hall B 0 1 What are waiting lines and why do they form Copyright 2013 Pearson Education Inc publishing as Prentice Hall B 0 ID: 760716
Download Presentation The PPT/PDF document "Waiting Lines Supplement B" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.
Slide1
Waiting LinesSupplement B
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall
B - 0
1
Slide2What are waiting lines and why do they form?
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall
B - 02
Waiting lineOne or more customers waiting for service.Waiting Lines form due to a temporary imbalance between the demand for service and the capacity of the system to provide the service.
Slide3Structure of Waiting-Line Problems
An input, or customer population, that generates potential customersA waiting line of customersThe service facility, consisting of a person (or crew), a machine (or group of machines), or both necessary to perform the service for the customerA priority rule, which selects the next customer to be served by the service facility
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall
B - 0
3
Slide4Customer Population
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall
B - 04
Customer population
Service system
Waiting line
Priority rule
Service facilities
Served customers
Slide5The Service System
Number of LinesSingle or MultipleArrangement of Service FacilitiesChannels and Phases
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall
B - 0
5
Slide6Service facilities
Service facilities
Waiting Line Arrangements
Single Line
Multiple Lines
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall
B- 0
6
Slide7Service Facility Arrangements
Service facility
Single
channel, single phase
Single
channel, multiple phase
Service facility 1
Service facility 2
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall
B- 0
7
Slide8Multiple channel, single phase
Service facility 1
Service facility 2
Service Facility Arrangements
Service facility 3
Service facility 4
Service facility 1
Service facility 2
Multiple
channel,
multiple
phase
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall
B- 0
8
Slide9Service Facility Arrangements
Routing for :
1–2–4Routing for : 2–4–3Routing for : 3–2–1–4
Mixed
arrangement
Service facility 1
Service facility 4
Service facility 3
Service facility 2
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall
B- 0
9
Slide10Priority Rules
First-come, first-served (FCFS) - most commonEarliest due date (EDD)Shortest processing time (SPT)Preemptive discipline
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall
B -
10
Slide11Probability Distributions
Arrival distribution
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall
B - 11
P
n = e-T for n = 0, 1, 2,…
(T)nn!
where
P
n
= Probability of n arrivals in
T
time periods
= Average numbers of customer arrivals per period
e
= 2.7183
Slide12Example B.1
Management is redesigning the customer service process in a large department store. Accommodating four customers is important. Customers arrive at the desk at the rate of two customers per hour. What is the probability that four customers will arrive during any hour?
In this case customers per hour, T = 1 hour, and n = 4 customers. The probability that four customers will arrive in any hour is
P4 =
=
e–2 = 0.090
16
24
[2(1)]
4
4!
e
–2(1)
B -
12
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall
Slide13P(t ≤ T) = 1 – e-T
where μ = average number of customers completing service per period t = service time of the customer T = target service time
Probability Distributions
B - 13
Service Time distribution
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall
Slide14Example B.2
The management of the large department store in Example B.1 must determine whether more training is needed for the customer service clerk. The clerk at the customer service desk can serve an average of three customers per hour. What is the probability that a customer will require less than 10 minutes of service?
Because = 3 customers per hour, we convert minutes of time to hours, or T = 10 minutes = 10/60 hour = 0.167 hour.
P(t ≤ T) = 1 – e–T
P(t ≤ 0.167 hour) = 1 – e–3(0.167) = 1 – 0.61 = 0.39
B - 14
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall
Slide15Using Waiting-Line Models
Balance costs against benefits Operating characteristics Line lengthNumber of customers in systemWaiting time in lineTotal time in systemService facility utilization
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall
B -
15
Slide16Single-Server Model
Single-server, single line of customers, and only one phaseAssumptions are:Customer population is infinite and patientCustomers arrive according to a Poisson distribution, with a mean arrival rate of Service distribution is exponential with a mean service rate of Mean service rate exceeds mean arrival rateCustomers are served FCFSThe length of the waiting line is unlimited
B - 16
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall
Slide17 = Average utilization of the system =
l
m
L
= Average number of customers in the service system =
l
m – l
Lq = Average number of customers in the waiting line = L
W = Average time spent in the system, including service =
1
m – l
Wq = Average waiting time in line = W
Rn = Probability that n customers are in the system = (1 – r )r n
Single-Server Model
B- 17
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall
Slide18Example B.3
The manager of a grocery store in the retirement community of Sunnyville is interested in providing good service to the senior citizens who shop in her store. Currently, the store has a separate checkout counter for senior citizens. On average, 30 senior citizens per hour arrive at the counter, according to a Poisson distribution, and are served at an average rate of 35 customers per hour, with exponential service times characteristics:
a. Probability of zero customers in the systemb. Average utilization of the checkout clerkc. Average number of customers in the systemd. Average number of customers in linee. Average time spent in the systemf. Average waiting time in line
B - 18
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall
Slide19Example B.3
The checkout counter can be modeled as a single-channel, single-phase system. The results from the Waiting-Lines Solver from OM Explorer are below:
B -
19
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall
Slide20Application B.1
Customers arrive at a checkout counter at an average 20 per hour, according to a Poisson distribution. They are served at an average rate of 25 per hour, with exponential service times. Use the single-server model to estimate the operating characteristics of this system.
= 20 customer arrival rate per hour = 25 customer service rate per hour
B - 20
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall
Slide21Application B.1
2. Average number of customers in the service system
=
= 4
20
25 – 20
L
=
l
m – l
Lq = L
W =
1
m – l
Wq = W
3. Average number of customers in the waiting line
= 0.8(4) = 3.2
4. Average time spent in the system, including service
=
= 0.2
1
25 – 20
5.
Average waiting time in line
= 0.8(0.2) = 0.16
B - 21
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall
1. Average utilization of system
=
l
m
= =
0.8
20
25
Slide22Example B.4
The manager of the Sunnyville grocery in Example B.3 wants answers to the following questions:
What service rate would be required so that customers average only 8 minutes in the system?For that service rate, what is the probability of having more than four customers in the system?c. What service rate would be required to have only a 10 percent chance of exceeding four customers in the system?
B - 22
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall
Slide23Example B.4
a. We use the equation for the average time in the system and solve for
W
=
1
–
8 minutes = 0.133 hour =
1
– 30
0.133
– 0.133(30) = 1
= 37.52 customers/hour
B - 23
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall
Slide24Example B.4
b. The probability of more than four customers in the system equals 1 minus the probability of four or fewer customers in the system.
P
= 1 – Pn
4
n = 0
= 1
– (1 – ) n
4
n = 0
=
= 0.80
30
37.52
and
Then,
P
= 1 – 0.2(1 + 0.8 + 0.82 + 0.83 + 0.84) = 1 – 0.672 = 0.328
Therefore, there is a nearly 33 percent chance that more than four customers will be in the system.
B - 24
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall
Slide25Example B.4
c. We use the same logic as in part (b), except that is now a decision variable. The easiest way to proceed is to find the correct average utilization first, and then solve for the service rate.
P = 1 – (1 – )(1 + + 2 + 3 + 4)
= 1 – (1 – )(1 + + 2 + 3 + 4) + (1 + + 2 + 3 + 4)
= 1 – 1 – – 2 – 3 – 4 + + 2 + 3 + 4 + 5 = 5
= P1/5
or
If P = 0.10
= (0.10)1/5 = 0.63
B - 25
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall
Slide26Example B.4
Therefore, for a utilization rate of 63 percent, the probability of more than four customers in the system is 10 percent. For = 30, the mean service rate must be
= 47.62 customers/hour
=
0.63
30
B -
26
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall
Slide27Application B.2
From the checkout counter example in Application B.1, what service rate is required to have customers average only 10 minutes in the system?
W =
1
m – l
= 0.17 hr (or 10 minutes)
0.17(
– ) = 1, where = 20 customers arrival rate per hour
=
= 25.88 or about 26 customers per hour
1 + 0.17(20)
0.17
B -
27
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall
Slide28Multiple-Server Model
Service system has only one phase, multiple-channelsAssumptions (in addition to single-server model)There are s identical serversThe service distribution for each server is exponentialThe mean service time is 1/s should always exceed
B - 28
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall
Slide29Example B.5
The management of the American Parcel Service terminal in Verona, Wisconsin, is concerned about the amount of time the company’s trucks are idle (not delivering on the road), which the company defines as waiting to be unloaded and being unloaded at the terminal. The terminal operates with four unloading bays. Each bay requires a crew of two employees, and each crew costs $30 per hour. The estimated cost of an idle truck is $50 per hour. Trucks arrive at an average rate of three per hour, according to a Poisson distribution. On average, a crew can unload a semitrailer rig in one hour, with exponential service times. What is the total hourly cost of operating the system?
B - 29
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall
Slide30Example B.5
Calculate the average number of trucks in the system.
B - 30
Labor cost:
$30(s) = $30(4)=$120.00Idle truck cost:$50(L) = $50(4.53)=226.50Total hourly cost=$346.50
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall
Slide31Application B.3
Suppose the manager of the checkout system in Application B.2 decides to add another counter. The arrival rate is still 20 customers per hour, but now each checkout counter will be designed to service customers at the rate of 12.5 per hour. What is the waiting time in line of the new system?
s = 2, = 12.5 customers per hour, = 20 customers per hour
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall
B -
31
Slide32Application B.3
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall
B - 32
Slide33Application B.3
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall
B - 33
Slide34Little’s Law
A fundamental law that relates the number of customers in a waiting-line system to the arrival rate and waiting time of customers.
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall
B - 34
Average time
in the facility
=
W =
L
customers customer/hour
Work-in-process =
L = W
=
arrival rate
Slide35Finite-Source Model
AssumptionsFollows the assumption of the single-server, except that the customer population is finiteOnly N potential customersIf N > 30, then the single-server model with the assumption of infinite customer population is adequate
B - 35
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall
Slide36Example B.6
The Worthington Gear Company installed a bank of 10 robots about 3 years ago. The robots greatly increased the firm’s labor productivity, but recently attention has focused on maintenance. The firm does no preventive maintenance on the robots because of the variability in the breakdown distribution. Each machine has an exponential breakdown (or interarrival) distribution with an average time between failures of 200 hours. Each machine hour lost to downtime costs $30, which means that the firm has to react quickly to machine failure. The firm employs one maintenance person, who needs 10 hours on average to fix a robot. Actual maintenance times are exponentially distributed. The wage rate is $10 per hour for the maintenance person, who can be put to work productively elsewhere when not fixing robots. Determine the daily cost of labor and robot downtime.
B - 36
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall
Slide37Example B.6
= 1/200, or 0.005 break-down per hour, and = 1/10 = 0.10 robot per hour.
B - 37
The daily cost of labor and robot downtime is
Labor cost:($19/hour)(8 hours/day)(0.462 utilization)=$36.96Idle robot cost:(0.76 robot)($30/robot hour)(8 hours/day)=182.40Total daily cost=$219.36
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall
Slide38Simulation models can be used analyze a problem when the relationship between variables is nonlinear or when the situation involves too many variables or constraints to handle with optimizing approachesUsed to conduct experiments without disrupting real systems Used to obtain operating characteristic estimates in much less time (time compression) Simulation is useful in sharpening managerial decision-making skills through gaming
Waiting Lines and Simulation
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall
B -
38
Slide39SimQuick Software
Easy-to-use package that is simply an Excel spreadsheet with some macrosModels can be created for a variety of simple processesA first step with SimQuick is to draw a flowchart of the process using SimQuick’s building blocksInformation describing each building block is entered into SimQuick tables
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall
B -
39
Slide40Buffer
Done
Passenger Security Process
Workst.
Add. Insp. 2
Workst.
Add. Insp. 1
Buffer
Sec. Line 2
Dec. Pt. DP
Workst.
Insp. 1
Workst.
Insp. 2
Buffer
Sec. Line 1
Entrance Arrivals
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall
B -
40
Slide41Simulation Results
Element
Types
Element
Names
Statistics
Overall
Means
Entrance(s)
Door
Objects entering process
237.23
Buffer(s)
Line 1
Mean Inventory
Mean cycle time
5.97
3.12
Line 2
Mean Inventory
Mean cycle time
0.10
0.53
Done
Final Inventory
224.57
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall
B -
41
Slide42Application B.4
DBT Bank has 8 copy machines located in various offices throughout the building. Each machine is used continuously and has an average time between failures of 50 hours. Once failed, it takes 4 hours for the service company to send a repair person to have it fixed. What is the average number of copy machines in repair or waiting to be repaired?
= 1/50 = 0.02 copiers per hour = 1/4 = 0.25 copiers per hour
B -
42
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall
Slide43Application B.4
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall
B- 43
Slide44Application B.4
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall
B- 44
Slide45Decision Areas for Management
Arrival ratesNumber of service facilitiesNumber of phasesNumber of servers per facilityServer efficiencyPriority ruleLine arrangement
B - 45
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall
Slide46Application B.5
The Hilltop Produce store is staffed by one checkout clerk. The average checkout time is exponentially distributed around an average of two minutes per customer. An average of 20 customers arrive per hour.What is the average utilization rate?
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall
B - 46
=
l
m
= .667
Slide47Application B.5
What is the probability that three or more customers will be in the checkout area?First calculate 0, 1, and 2 customers will be in the checkout area:
Rn = (1 – r )r 0
= (0.333)(0.667)0 = 0.333
Rn = (1 – r )r 1
= (0.333)(0.667)1 = 0.222
Rn = (1 – r )r 2
= (0.333)(0.667)2 = 0.148
Then calculate 3 or more customers will be in the checkout area:
1 – R0 – R1 – R3 =
1 - 0.333 – 0.222 – 0.148 = 0.297
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall
B -
47
Slide48Application B.5
What is the average number of customers in the waiting line?
l
m
– l
L
q = L =
=
= 1.333
What is the average time customers spend in the store?
W
=
1
m
– l
=
= 0.1
hr 60 min/hr = 6 minutes
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall
B -
48
Slide49Solved Problem
A photographer takes passport pictures at an average rate of 20 pictures per hour. The photographer must wait until the customer smiles, so the time to take a picture is exponentially distributed. Customers arrive at a Poisson-distributed average rate of 19 customers per hour.
What is the utilization of the photographer?b. How much time will the average customer spend with the photographer?
B - 49
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall
Slide50Solved Problem
b. The average customer time spent with the photographer is
W =
1
m – l
=
= 1 hour
1
20 – 19
B -
50
The assumptions in the problem statement are consistent with a single-server model. Utilization is
=
l
m
=
= 0.95
19
20
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall
Slide51Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall
B - 51
All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of the publisher.
Printed in the United States of America.