Waiting Lines
-
Upload
shibani-shankar-ray -
Category
Documents
-
view
214 -
download
0
description
Transcript of Waiting Lines
![Page 1: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/1.jpg)
Waiting Line Management
Saurabh Chandra
![Page 2: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/2.jpg)
Where the Time GoesIn a life time, the average
American will spend--
SIX MONTHSWaiting at stop lights
EIGHT MONTHSOpening junk mail
ONE YEARLooking for misplaced objects
TWO YEARS Unsuccessfully returning phone calls
FOUR YEARS Doing housework
FIVE YEARS Waiting in line
SIX YEARS Eating
![Page 3: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/3.jpg)
13-3
Waiting Realities & Perceptions • Inevitability of Waiting: Waiting results from variations in arrival
rates and service rates• Economics of Waiting: High utilization purchased at the price of
customer waiting. Make waiting productive (salad bar) or profitable (drinking bar).
• Skinner’s Law:The other line always moves faster.
• Jenkin’s Corollary:However, when you switch to another other line, the line you left moves faster.
![Page 4: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/4.jpg)
Waiting Line Analysis• Waiting occurs in production (?) and service processes.• Time is a valuable resource and hence reduction of waiting time
desirable.• Waiting line exists as
Customers (people or things) arrive faster than they can be served.
Customers do not arrive at constant rate Service time is also not constant
5-4
![Page 5: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/5.jpg)
5-5
Traditional Cost Relationships• as service improves, cost increases
![Page 6: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/6.jpg)
5-6
Elements ofWaiting Line Analysis• Waiting line system
• consists of arrivals, servers, and waiting line structure• Queue
• a single waiting line; finite or infinite• Infinite queue• Finite queue
• can be of any length; length of a finite queue is limited
• Calling population• source of customers; infinite or finite
![Page 7: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/7.jpg)
5-7
![Page 8: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/8.jpg)
Essential Features of Queuing Systems
DepartureQueuediscipline
Arrival process
Queueconfiguration
Serviceprocess
Renege
Balk
Callingpopulation
No futureneed for service
![Page 9: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/9.jpg)
Arrival Process
Static Dynamic
AppointmentsPriceAccept/Reject BalkingReneging
Randomarrivals withconstant rate
Random arrivalrate varying
with time
Facility-controlled
Customer-exercised
control
Arrival process
![Page 10: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/10.jpg)
Distribution of Patient Inter-arrival Times at a Doctor’s clinic
0
10
20
30
40
1 3 5 7 9 11 13 15 17 19
Rela
tive
freq
uenc
y, %
Patient interarrival time, minutes
![Page 11: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/11.jpg)
Poisson and Exponential Equivalence
Poisson distribution for number of arrivals per hour (top view)
One-hour
1 2 0 1 interval
Arrival Arrivals Arrivals Arrival
62 min.40 min.
123 min.
Exponential distribution of time between arrivals in minutes (bottom view)
![Page 12: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/12.jpg)
Queue Configurations Multiple Queue Single queue
Take a Number Enter
3 4
8
2
6 10
1211
5
79
Are these two systems same?
![Page 13: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/13.jpg)
Queue Discipline
Queuediscipline
Static(FCFS rule) Dynamic
selectionbased on status
of queue
Selection basedon individual
customerattributes
Number of customers
waitingRound robin Priority Preemptive
Processing timeof customers
(SPT rule)
• What is meant by Queue Discipline?• What’s the most common one?
• Examples of systems with different QDs?
![Page 14: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/14.jpg)
Outpatient Service Process Distributions
0
5
10
15
1 11 21 31 41
Relativ
e freq
uenc
y. %
Minutes
0
5
10
15
1 11 21 31 41Relativ
e freq
uenc
y,
%
Minutes
0
5
10
15
1 11 21 31 41Relativ
e freq
uenc
y,
%
Minutes
![Page 15: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/15.jpg)
Elements ofWaiting Line Analysis• Queue discipline
• order in which customers are served• First come first served• Last in first out• Random• Others
![Page 16: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/16.jpg)
Elements of Waiting Line Analysis
• Basic Waiting Line Structures Single Channel Single phase (single server) Multiple Channel Single phase (Multiple server) Single Channel Multiple phase Multiple Channel Multiple phase
5-16
![Page 17: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/17.jpg)
Configurations
DeparturesAfter Service
Single-Server, Single-Phase System
Queue
Arrivals Service Facility
Single-Server, Multiphase System
Arrivals Departuresafter Service
Phase 1 Service Facility
Phase 2 Service Facility
Queue
![Page 18: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/18.jpg)
Configurations
Multi-Server, Single-Phase System
Arrivals
QueueDeparturesService
Facility1
Service Facility
2
Service Facility
3
after
Service
![Page 19: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/19.jpg)
Configurations
Multi-Server, Multiphase System
Arrivals
QueueDeparturesafter service
Type 2 Service Facility
1
Type 2 Service Facility
2
Type 1 Service Facility
1
Type 1 Service Facility
2
![Page 20: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/20.jpg)
Elements ofWaiting Line Analysis
• Channels• number of
parallel servers for servicing customers
• Phases• number of
servers in sequence a customer must go through
![Page 21: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/21.jpg)
Arrival Characteristics
• Size of the arrival population• Infinite or finite
• Arrival distribution• Arrival rate• Average arrival time• Poisson distribution
• Behavior• Patient, • Balking: leaving on seeing a line • Reneging: leaving the line before service
![Page 22: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/22.jpg)
Poisson Distribution
where
X = number of arrivals per unit of time (e.g., hour)
P(X) = probability exactly X arrivalsl = average arrival rate (i.e., average
number of arrival per unit of time)e = 2.7183 (known as the exponential
constant)
![Page 23: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/23.jpg)
Poisson Distribution
Pro
babi
lity
l = 2 Distribution l = 4 DistributionX
0.25
0.20
0.15
0.10
0.05
X0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 10 11
Figure 9.2
![Page 24: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/24.jpg)
Queue Characteristics
• Length• Finite (limited) or infinite (unlimited)
• Discipline• FIFO common• Other ways to prioritize arrivals
![Page 25: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/25.jpg)
Service Characteristics• Configuration
• Servers (channels) and phases (service stops)• Single-server, multiple-server• Single phase, multiphase system
• Service Distribution• Constant or random• Exponential distribution• Service rate, service time
![Page 26: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/26.jpg)
Exponential Distribution
where
t = service timeP(t) = probability that service time will be
greater than tm = average service rate (i.e., average
number of customers served per unit of time)e = 2.7183 (known as the exponential
constant)
![Page 27: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/27.jpg)
Exponential DistributionProbability That Service Time ≥ t = e–mt for t ≥ 0
m = Average Service Rate
Average Service Rate = 1 customer per hour
Average service Rate = 3 Customers per Hour Average Service Time = 20 Minutes (or 1/3 Hours)
per Customer
| | | | | | | | | | | | |0.00 0.25 0.50 0.75 1.00 1.25 1.50 1.75 2.00 2.25 2.50 2.75 3.00
1.0 –
0.9 –
0.8 –
0.7 –
0.6 –
0.5 –
0.4 –
0.3 –
0.2 –
0.1 –
0.0 –
Pro
babi
lity
That
Ser
vice
Tim
e ≥
t
Time t in Hours
![Page 28: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/28.jpg)
Measuring Queue Performance
• r = utilization factor of the system (i.e., probability all servers are busy)
• Lq = average length (i.e., the number ofcustomers) of the queue
• L = average number of customers in thesystem (i.e., the number in the queueplus the number being served)
• Wq = average time that each customer spends in the queue
![Page 29: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/29.jpg)
Measuring Queue Performance
• W = average time that each customerspends in the system (i.e., the timespent waiting plus the time spent being served)
• P0 = probability that there are no customers in the system (i.e., the probability that the service facility will be idle)
• Pn = probability that there are exactly n customers in the system
![Page 30: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/30.jpg)
Kendall’s NotationA / B / s / Lmax / POPsize
where
A = the arrival probability distribution. Typically choices are M (Markovian) for a Poisson distribution, D for a constant or deterministic distribution, or G for a general distribution with a known mean variance.
B = the service time probability distribution. Typical choices are M for an exponential distribution, D for a constant or deterministic distribution, or G for a general distribution with a known mean and variance.
s = number of servers.
![Page 31: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/31.jpg)
Queuing Models StudiedNAME(KENDALL # OF TIME POPLN.NOTATION) EXAMPLE SERVERS PATTERN SIZESimple system Information Single Exponential Unlimited(M/M/1) counter at
department storeMultiple-server Airline Multiple Exponential Unlimited(M/M/s) ticket
counterConstant service Automated Single Constant Unlimited(M/D/1) car washGeneral service Auto repair Single General Unlimited(M/G/1 shopLimited Shop with Multiple Exponential Limitedpopulation exactly ten(M/M/s/∞/N) machines that
might break
All models are single phase with a Poisson arrival pattern and a FIFO queue discipline
Table 9.2
![Page 32: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/32.jpg)
Queuing Models Studied1. Arrivals follow the Poisson probability
distribution2. FIFO queue discipline3. A single-phase service facility4. Infinite, or unlimited, queue length. That is,
the fourth symbol in Kendall’s notation is ∞5. Service systems that operate under steady,
ongoing conditions. This means that both arrival rates and service rates remain stable during the analysis.
![Page 33: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/33.jpg)
M/M/1 Model• Assumptions
1. Arrivals are served on a FIFO basis.2. Every arrival waits to be served, regardless of the length
of the line; no balking or reneging.3. Arrivals are independent, the average number of arrivals
(the arrival rate) is constant.4. Arrivals are described by a Poisson probability
distribution, infinite or very large population.5. Service times vary from one customer to the next, are
independent of each other, with a known average rate.6. Service times occur according to the exponential
probability distribution.7. The average service rate is greater than the average
arrival rate; that is, m > l.
![Page 34: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/34.jpg)
Operating Characteristicsl = average number of arrivals per time period (e.g., per hour )m = average number of people or items served per time period
1. Average server utilization in the system:
2. Average number of customers or units waiting in line for service:
3. Average number of customers or units in the system:
![Page 35: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/35.jpg)
Operating Characteristics4. Average time a customer or unit spends waiting in line for service:
5. Average time a customer or unit spends in the system:
6. Probability that there are zero customers or units in the system:
7. Probability that there are n customers or units in the system:
![Page 36: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/36.jpg)
5-36
Advanced Single-Server Models• Constant service times
• occur most often when automated equipment or machinery performs service
• Finite queue lengths• occur when there is a physical limitation to length of waiting line
• Finite calling population• number of “customers” that can arrive is limited
![Page 37: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/37.jpg)
5-37
Advanced Single-ServerModels (cont.)
![Page 38: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/38.jpg)
M/M/S Model• Same assumptions apply• More than 1 server
l = average number of arrivals per time period (e.g., per hour )m = average number of customers served per time per servers = number of servers
• single waiting line and service facility with several independent servers in parallel
• same assumptions as single-server model• sμ > λ
• s = number of servers• servers must be able to serve customers faster than they arrive
![Page 39: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/39.jpg)
Operating Characteristics1. Average server utilization in the system:
2. Probability that there are zero customers or units in the system:
3. Average number of customers or units waiting in line for service:
![Page 40: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/40.jpg)
Operating Characteristics4. Average number of customers or units in the system:
5. Average time a customer or unit spends waiting in line for service:
6. Average time a customer or unit spends in the system:
7. Probability that there are n customers or units in the system:
![Page 41: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/41.jpg)
M/D/1 Model• Service rate is constant• Waiting times and number of customers/units
always less than M/M/s system
l = average number of arrivals per time period (e.g., per hour )m = constant number of people or items served per time period
![Page 42: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/42.jpg)
Operating Characteristics1. Average server utilization in the system:
2. Average number of customers or units waiting in line for service:
3. Average number of customers or units in the system:
![Page 43: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/43.jpg)
Operating Characteristics4. Average time a customer or unit spends waiting in line for service:
5. Average time a customer or unit spends in the system:
6. Probability that there are zero customers or units in the system:
![Page 44: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/44.jpg)
M/G/1 Model• Service time follows a general distribution
l = average number of arrivals per time period (e.g., per hour )m = average number of people or items served per time periods = standard deviation of service time
![Page 45: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/45.jpg)
Operating Characteristics1. Average server utilization in the system:
2. Average number of customers or units waiting in line for service:
3. Average number of customers or units in the system:
![Page 46: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/46.jpg)
Operating Characteristics4. Average time a customer or unit spends waiting in line for service:
5. Average time a customer or unit spends in the system:
6. Probability that there are zero customers or units in the system:
![Page 47: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/47.jpg)
M/M/S/∞/N Model• Dependent relationship between queue length and
arrival rate• Assumptions
1. There are s servers with identical service time distributions.
2. The population of units seeking service is finite, of size N.
3. The arrival distribution of each customer in the population follows a Poisson distribution, with an average rate of l.
4. Service times are exponentially distributed, with an average rate of m.
5. Both l and m are specified for the same time period.6. Customers are served on a first-come, first-served basis.
![Page 48: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/48.jpg)
Operating Characteristicsl = average number of arrivals per time period (e.g., per hour )m = average number of people or items served per time periods = number of serversN = size of population
1. Probability that there are zero customers or units in the system:
![Page 49: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/49.jpg)
Operating Characteristics2. Probability that there are exactly n customers in the system:
3. Average number of customers or units in line, waiting for service:
![Page 50: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/50.jpg)
Operating Characteristics4. Average number of customers or units in the system:
5. Average time a customer or unit spends in the queue waiting:
6. Average time a customer or unit spends in the system:
![Page 51: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/51.jpg)
More Complex Systems
• Variations may be present• More complex models have been developed• May require computer simulation
![Page 52: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/52.jpg)
13-52
Psychology of Waiting• That Old Empty Feeling: Unoccupied time goes slowly• A Foot in the Door: Pre-service waits seem longer that
in-service waits• The Light at the End of the Tunnel: Reduce anxiety
with attention• Excuse Me, But I Was First: Social justice with FCFS
queue discipline• They Also Serve, Who Sit and Wait: Avoids idle service
capacity
![Page 53: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/53.jpg)
5-53
Psychology of Waiting• Waiting rooms
• magazines and newspapers• Televisions
• Use of• Mirrors
• Supermarkets• magazines• “impulse purchases”
• Disney• costumed characters• mobile vendors• accurate wait times• special passes
![Page 54: Waiting Lines](https://reader035.fdocuments.net/reader035/viewer/2022062811/5695d3d51a28ab9b029f5622/html5/thumbnails/54.jpg)
• Preferential treatment• Grocery stores: express lanes for customers with few purchases• Airlines/Car rental agencies: special cards available to frequent-users or for
an additional fee• Phone retailers: route calls to more or less experienced salespeople based on
customer’s sales history• Critical service providers
• services of police department, fire department, etc.• waiting is unacceptable; cost is not important
5-54
Psychology of Waiting (cont.)