Operations Management Help
Outline
Queueing System Introduction
Queueing System Elements
Arrivals, Queue, Service
Performance Measures
Waiting time, Queue Length, Standards/Service Levels
Single Server Queues (M/M/1, M/G/1)
Multiple Server Queues (M/M/s)
Priority Queues
Economic Analysis
Chapter 11
1
Outline
Queueing System Introduction
Queueing System Elements
Arrivals, Queue, Service
Performance Measures
Waiting time, Queue Length, Standards/Service Levels
Single Server Queues (M/M/1, M/G/1)
Multiple Server Queues (M/M/s)
Priority Queues
Economic Analysis
Chapter 11
2
Queueing Models: Introduction
A basic queueing system
http :// www.youtube.com/watch?v=N5TAWW_LIsw
3
Queueing Models: Introduction
Customers
People waiting to be served
Machines waiting to be repaired
Jobs waiting to be completed
Airplanes waiting to takeoff
Trucks waiting to be loaded/unloaded….
Servers
People serving the customers
A machine processing a job
Forklifts for unloading….
4
Queueing Models: Examples
Some examples: Commercial service systems
5
| Type of System | Customers | Server(s) |
| Barber shop | People | Barber |
| Bank teller services | People | Teller |
| ATM machine service | People | ATM machine |
| Checkout at a store | People | Checkout clerk |
| Plumbing services | Clogged pipes | Plumber |
| Ticket window at a movie theater | People | Cashier |
| Check-in counter at an airport | People | Airline agent |
| Brokerage service | People | Stock broker |
| Gas station | Cars | Pump |
| Call center for ordering goods | People | Telephone agent |
| Call center for technical assistance | People | Technical representative |
| Travel agency | People | Travel agent |
| Automobile repair shop | Car owners | Mechanic |
| Vending services | People | Vending machine |
| Dental services | People | Dentist |
| Roofing Services | Roofs | Roofer |
Queueing Models : Examples
Some examples: Internal service systems
6
| Type of System | Customers | Server(s) |
| Secretarial services | Employees | Secretary |
| Copying services | Employees | Copy machine |
| Computer programming services | Employees | Programmer |
| Mainframe computer | Employees | Computer |
| First-aid center | Employees | Nurse |
| Faxing services | Employees | Fax machine |
| Materials-handling system | Loads | Materials-handling unit |
| Maintenance system | Machines | Repair crew |
| Inspection station | Items | Inspector |
| Production system | Jobs | Machine |
| Semiautomatic machines | Machines | Operator |
| Tool crib | Machine operators | Clerk |
Queueing Models : Examples
Some examples: Transportation service systems
7
| Type of System | Customers | Server(s) |
| Highway tollbooth | Cars | Cashier |
| Truck loading dock | Trucks | Loading crew |
| Port unloading area | Ships | Unloading crew |
| Airplanes waiting to take off | Airplanes | Runway |
| Airplanes waiting to land | Airplanes | Runway |
| Airline service | People | Airplane |
| Taxicab service | People | Taxicab |
| Elevator service | People | Elevator |
| Fire department | Fires | Fire truck |
| Parking lot | Cars | Parking space |
| Ambulance service | People | Ambulance |
Queueing Models: Introduction
Herr Cutter’s Barber Shop
Herr Cutter opens his shop at 8:00 A.M.
The table shows his queueing system in action over a typical morning.
8
| Customer | Time of Arrival | Haicut Begins | Duration of Haircut | Haircut Ends |
| 1 | 8:03 | 8:03 | 17 minutes | 8:20 |
| 2 | 8:15 | 8:20 | 21 minutes | 8:41 |
| 3 | 8:25 | 8:41 | 19 minutes | 9:00 |
| 4 | 8:30 | 9:00 | 15 minutes | 9:15 |
| 5 | 9:05 | 9:15 | 20 minutes | 9:35 |
| 6 | 9:43 | — | — | — |
Queueing Models: Introduction
Evolution of the Number of Customers
9
Queueing Models: Elements
Arrivals
The time between consecutive arrivals to a queueing system are called the interarrival times
The expected number of arrivals per unit time is referred to as the mean arrival rate.
The symbol used for the mean arrival rate is
l = Mean arrival rate for customers coming to the queueing system (l lambda)
The mean of the probability distribution of interarrival times is
1 / l = Expected interarrival time
10
Queueing Models: Elements
Herr Cutter’s Barber Shop
After gathering more data, Herr Cutter finds that 300 customers have arrived over a period of 100 hours
Mean arrival rate
Expected interarrival time
Most queueing models assume that the form of the probability distribution of interarrival times is an exponential distribution
11
Queueing Models: Elements
The Exponential Distribution for Interarrival Times
The most commonly used queuing models are based on the assumption of exponentially distributed service times and interarrival times
A random variable Texp( ), i.e., is exponentially distributed with parameter , if its density function is:
The mean = E[T] = 1/
The Variance = Var[T] = 1/ 2
12
Queueing Models: Elements
13
Time between arrivals
Mean=
E[T]=1/
Probability density
t
fT(t)
Probability density function is decreasing
Memoryless property:
P(T>t+t | T>t) = P(T >t)
Queueing Models: Elements
Properties of the Exponential Distribution
There is a high likelihood of small interarrival times, but a small chance of a very large interarrival time. This is characteristic of interarrival times in practice.
For most queueing systems, the servers have no control over when customers will arrive. Customers generally arrive randomly.
Having random arrivals means that interarrival times are completely unpredictable, in the sense that the chance of an arrival in the next minute is always just the same.
The only probability distribution with this property of random arrivals is the exponential distribution.
The fact that the probability of an arrival in the next minute is completely uninfluenced by when the last arrival occurred is called the lack-of-memory property (memoryless property like my fish!!!).
14
Queueing Models: Elements
The number of customers in the queue (or queue size) is the number of customers waiting for service to begin.
The number of customers in the system is the number in the queue plus the number currently being served.
The queue capacity is the maximum number of customers that can be held in the queue.
An infinite queue is one in which, for all practical purposes, an unlimited number of customers can be held there.
When the capacity is small enough that it needs to be taken into account, then the queue is called a finite queue.
The queue discipline refers to the order in which members of the queue are selected to begin service.
The most common is first-come, first-served (FCFS).
Other possibilities include random selection, some priority procedure, or even last-come, first-served.
15
Queueing Models: Elements
When a customer enters service, the elapsed time from the beginning to the end of the service is referred to as the service time.
Basic queueing models assume that the service time has a particular probability distribution.
The symbol used for the mean of the service time distribution is 1 / m = Expected service time (m mu)
The interpretation of m itself is the mean service rate. m = Expected service completions per unit time for a single busy server
16
Queueing Models: Elements
Some Service-Time Distributions
Exponential Distribution
The most popular choice.
Much easier to analyze than any other.
Although it provides a good fit for interarrival times, this is much less true for service times.
Provides a better fit when the service provided is random than if it involves a fixed set of tasks.
Standard deviation: s = Mean
Constant Service Times
A better fit for systems that involve a fixed set of tasks.
Standard deviation: s = 0.
17
Queueing Models: Notation
Kendall’s Notation
M = Exponential
Ek = Erlang-k
U = Uniform
G = General
D = Deterministic (constant times)
18
Interarrival Time
Distribution
Service Time
Distribution
# of
Servers
System
Capacity
Dropped if infinite
Queueing Models: Notation
Single Server Queueing Models
M/G/1 M/D/1 M/Ek/1 M/M/1
Multiple Server Queueing Models
M/G/s M/D/s M/Ek/s M/M/s
Finite Capacity Queueing Models
M/M/s/k M/M/1/k M/M/s/s
Priority Queues
19
Queueing Models: Assumptions
Assumptions:
Interarrival times are independent and identically distributed according to a specified probability distribution.
All arriving customers enter the queueing system and remain there until service has been completed.
The queueing system has a single infinite queue, so that the queue will hold an unlimited number of customers (for all practical purposes).
The queue discipline is first-come, first-served.
The queueing system has a specified number of servers, where each server is capable of serving any of the customers.
Each customer is served individually by any one of the servers.
Service times are independent and identically distributed according to a specified probability distribution.
20
Queueing Models: Performance
Choosing a performance measure
Managers who oversee queueing systems are mainly concerned with two measures of performance:
How many customers typically are waiting in the queueing system?
How long do these customers typically have to wait?
When customers are internal to the organization, the first measure tends to be more important.
Having such customers wait causes lost productivity.
Commercial service systems tend to place greater importance on the second measure.
Outside customers are typically more concerned with how long they have to wait than with how many customers are there.
21
Queueing Models: Performance
Measures of performance
L = Expected number of customers in the system, including those being served (the symbol L comes from Line Length).
Lq= Expected number of customers in the queue, which excludes customers being served.
W = Expected waiting time in the system (including service time) for an individual customer (the symbol W comes from Waiting time).
Wq = Expected waiting time in the queue (excludes service time) for an individual customer.
These definitions assume that the queueing system is in a steady-state condition
22
Not start-up, not temporary rush hour
Queueing Models: Performance
Relationship between L, W, Lq, and Wq
Little’s formula states that
L = lW and Lq = lWq
23
Since L is the expected number customers in the queueing system at any time, a customer looking back at the system after completing service should see L customers on average
Under FCFS, all L customers would have arrived during this customer’s waiting time in the queueing system, this waiting time is W on average
Since l is the expected number of arrivals per unit time
L = lW
Queueing Models: Performance
Relationship between L, W, Lq, and Wq
Since 1/m is the expected service time
Using Little’s law
These are important!!!
Once we know one value, we can determine the others
24
W = Wq + 1/m
L = lW = l(Wq + 1/m) = l(Lq / l+ 1/m)=Lq + l /m
Lq = lWq
L = Lq + l/m
Queueing Models: Performance
Relationship between L, W, Lq, and Wq
l = 3 customers per hour arrive on average
m = 4 customers per hour served (leave) on average
Wq = ¾ hour waiting in the queue on average
1/ m = ¼ hour service time on average
W=Wq + 1/m = ¾ + ¼ = 1 hour
1 hour waiting in the queueing system on average
L=lW =3 customers/hour * 1 hour/customer = 3 customers
3 customers in the queueing system on average
L = Lq + l/m 3 = Lq + ¾ Lq = 9/4 customers
9/4 customers in the queue on average
25
Queueing Models: Performance
In addition to knowing what happens on the average, we may also be interested in worst-case scenarios.
What will be the maximum number of customers in the system? (Exceeded no more than, say, 5% of the time.)
What will be the maximum waiting time of customers in the system? (Exceeded no more than, say, 5% of the time.)
Statistics that are helpful to answer these types of questions are available for some queueing systems:
Pn = Steady-state probability of having exactly n customers in the system.
P(W ≤ t) = Probability the time spent in the system will be no more than t.
P(Wq ≤ t) = Probability the wait time will be no more than t.
Examples of common goals:
No more than three customers 95% of the time: P0 + P1 + P2 + P3 ≥ 0.95
No more than 5% of customers wait more than 2 hours: P(W ≤ 2 hours) ≥ 0.95
26
Queueing Models: A Case Study
The Dupit Corporation is a longtime leader in the office photocopier marketplace.
Dupit’s service division is responsible for providing support to the customers by promptly repairing the machines when needed. This is done by the company’s service technical representatives, or tech reps.
Current policy: Each tech rep’s territory is assigned enough machines so that the tech rep will be active repairing machines (or traveling to the site) 75% of the time.
A repair call averages 2 hours, so this corresponds to 3 repair calls per day.
Machines average 50 workdays between repairs, so assign 150 machines per rep.
Proposed New Service Standard: The average waiting time before a tech rep begins the trip to the customer site should not exceed two hours.
27
Queueing Models: A Case Study
Alternative Approaches
Approach Suggested by John Phixitt: Modify the current policy by decreasing the percentage of time that tech reps are expected to be repairing machines.
Approach Suggested by the Vice President for Engineering: Provide new equipment to tech reps that would reduce the time required for repairs.
Approach Suggested by the Chief Financial Officer: Replace the current one-person tech rep territories by larger territories served by multiple tech reps.
Approach Suggested by the Vice President for Marketing: Give owners of the new printer-copier priority for receiving repairs over the company’s other customers.
28
Queueing Models: A Case Study
Queueing System:
The customers: The machines needing repair.
Customer arrivals: The calls to the tech rep requesting repairs.
The queue: The machines waiting for repair to begin at their sites.
The server: The tech rep.
Service time: The total time the tech rep is tied up with a machine, either traveling to the machine site or repairing the machine. (Thus, a machine is viewed as leaving the queue and entering service when the tech rep begins the trip to the machine site.)
29
Outline
Queueing System Introduction
Queueing System Elements
Arrivals, Queue, Service
Performance Measures
Waiting time, Queue Length, Standards/Service Levels
Single Server Queues (M/M/1, M/G/1)
Multiple Server Queues (M/M/s)
Priority Queues
Economic Analysis
Chapter 11
30
Single Server Queues
l = Mean arrival rate for customers = Expected number of arrivals per unit time
1/l = expected interarrival time
m = Mean service rate (for a continuously busy server) = Expected number of service completions per unit time 1/m = expected service time
r = the utilization factor = the average fraction of time that a server is busy serving customers = l / m
31
M/M/1 Queue
Simplest model
That is a Markov Chain
Each state (the yellow nodes) is a possible number of people in your queueing system
Since infinitely possible states, we have infinite Markov Chain
32
0
1
n-1
n
n+1
M/M/1 Queue
Transition rates
Transition rate is the rate which you leave from a state and the rate which you enter a state
l m
33
0
1
n-1
n
n+1
M/M/1 Queue
Continuous time Markov Chain
Conversation of Flow
Rate in = Rate out
System State:
n = # of jobs in system
pn = P(n jobs is the system)
Then
lpn-1 + mpn+1 = pn(l + m)
34
M/M/1 Queue
Rate in = Rate out
lpn-1 + mpn+1 = pn(l + m)
Recursively, it can be shown that:
pn = rn(1-r) for r < 1
where r = l/m = utilization
35
M/M/1 Queue
Recursive calculation using lpn-1 + mpn+1 = pn(l + m)
l P0= m P1 P1 = l/ m P0 P1 = rP0
l P0 + m P2 = P1(l + m) P2 = r2P0
l P1 + m P3 = P2(l + m) P3 = r3P0
…………
Pn = rnP0
36
=1-
pn = rn(1-r)
M/M/1 Queue
Sum of probabilities is equal to 1
P0+ P1+ P2+ P3+ P4+…..
37
Geometric sequence and <1
1/(1- )
M/M/1 Queue
Recall the performance measures
L = Expected number of customers in the system, including those being served (the symbol L comes from Line Length).
Lq= Expected number of customers in the queue, which excludes customers being served.
W = Expected waiting time in the system (including service time) for an individual customer (the symbol W comes from Waiting time).
Wq = Expected waiting time in the queue (excludes service time) for an individual customer
38
M/M/1 Queue
L = E[# in system]
39
M/M/1 Queue
Using Little’s Law L=lW and LQ=lWQ
W = E[Waiting Time in System]
Lq = E[# in the queue]
W = E[Waiting Time in System]
40
M/M/1
Performance measures
41
M/M/1
Utilization law
42
100%
Utilization
L and W
Effect of High-Utilization Factors
43
M/M/1
The probability of having exactly n customers in the system is
Pn = (1 – r)rn Thus, P0 = 1 – r P1 = (1 – r)r P2 = (1 – r)r2 : :
The probability that the waiting time in the system exceeds t is
P(W > t) = e–m(1–r)t for t ≥ 0
The probability that the waiting time in the queue exceeds t is
P(Wq > t) = re–m(1–r)t for t ≥ 0
44
M/M/1
Recall our example…
The Dupit Corporation is a longtime leader in the office photocopier marketplace.
Dupit’s service division is responsible for providing support to the customers by promptly repairing the machines when needed. This is done by the company’s service technical representatives, or tech reps.
Current policy: Each tech rep’s territory is assigned enough machines so that the tech rep will be active repairing machines (or traveling to the site) 75% of the time.
A repair call averages 2 hours, so this corresponds to 3 repair calls per day.
Machines average 50 workdays between repairs, so assign 150 machines per rep.
Proposed New Service Standard: The average waiting time before a tech rep begins the trip to the customer site should not exceed two hours.
45
M/M/1
Alternative Approaches
Approach Suggested by John Phixitt: Modify the current policy by decreasing the percentage of time that tech reps are expected to be repairing machines. M/M/1
Approach Suggested by the Vice President for Engineering: Provide new equipment to tech reps that would reduce the time required for repairs.
Approach Suggested by the Chief Financial Officer: Replace the current one-person tech rep territories by larger territories served by multiple tech reps.
Approach Suggested by the Vice President for Marketing: Give owners of the new printer-copier priority for receiving repairs over the company’s other customers.
46
M/M/1
M/M/1 Queueing Model for the Dupit’s Current Policy
Current policy: Each tech rep’s territory is assigned enough machines so that the tech rep will be active repairing machines (or traveling to the site) 75% of the time.
A repair call averages 2 hours, so this corresponds to 3 repair calls per day.
Service rate 4 machines per day
Machines average 50 workdays between repairs, so assign 150 machines per rep.
Arrival rate 3 machines per day
¾ =0.75 daily utilization currently
47
M/M/1
Speadsheet for Dupit
48
M/M/1
Proposed New Service Standard: The average waiting time before a tech rep begins the trip to the customer site should not exceed two hours.
The proposed new service standard is that the average waiting time before service begins <= two hours (i.e., Wq ≤ 1/4 day).
John Phixitt’s suggested approach is to lower the tech rep’s utilization factor sufficiently to meet the new service requirement. Lower r = l / m, until Wq ≤ 1/4 day, where l = (Number of machines assigned to tech rep) / 50.
49
M/M/1
What can we control?
The number of machines assigned to a tech rep
Let’s say we make it 100 machines
Machines average 50 workdays between repairs, we assign 100 machines per tech rep.
Arrival rate = 100/50 = 2 machines per day, l =2
50
M/M/1
Under new policy
51
We have it
Cost?
We will need to increase the number of tech reps
M/M/1
Mathematically…
l / m(m- l)<=0.25 m=4
l / 4(4- l)<=0.25
l <=0.25*4*(4- l)
l <= 4- l
l <=2
Number of machines assigned/50 <=2
Number of machines assigned<=100
52
M/G/1
Alternative Approaches
Approach Suggested by John Phixitt: Modify the current policy by decreasing the percentage of time that tech reps are expected to be repairing machines.
Approach Suggested by the Vice President for Engineering: Provide new equipment to tech reps that would reduce the time required for repairs.
Approach Suggested by the Chief Financial Officer: Replace the current one-person tech rep territories by larger territories served by multiple tech reps.
Approach Suggested by the Vice President for Marketing: Give owners of the new printer-copier priority for receiving repairs over the company’s other customers.
53
M/G/1
The Vice President for Engineering has suggested providing tech reps with new state-of-the-art equipment that would reduce the time required for the longer repairs.
After gathering more information, they estimate the new equipment would have the following effect on the service-time distribution:
mean from 1/4 day to 1/5 day
standard deviation from 1/4 day to 1/10 day.
(in exponential, mean=standard deviation)
No longer M/M/1
54
M/G/1
Assumptions:
Interarrival times have an exponential distribution with a mean of 1/l
Service times can have any probability distribution. You only need the mean (1/m) and standard deviation (s)
The queueing system has one server
55
M/G/1
The probability of zero customers in the system is
P0 = 1 – r
The expected number of customers in the queue is
Lq = [l2s2 + r2] / [2(1 – r)]
The expected number of customers in the system is
L = Lq + r
The expected waiting time in the queue is
Wq = Lq / l
The expected waiting time in the system is
W = Wq + 1/m
56
M/G/1
| Service Distribution | Model | s | |
| Deterministic | M/D/1 | 0 | |
| Erlang-k | M/Ek/1 | ||
| Exponential | M/M/1 |
57
M/G/1
The proposed new service standard is that the average waiting time before service begins be two hours (i.e., Wq ≤ 1/4 day).
The Vice President for Engineering has suggested providing tech reps with new state-of-the-art equipment that would reduce the time required for the longer repairs.
After gathering more information, they estimate the new equipment would have the following effect on the service-time distribution:
Decrease the mean from 1/4 day to 1/5 day.
Decrease the standard deviation from 1/4 day to 1/10 day.
58
M/G/1
Approach of the Vice President for Engineering
59
Outline
Queueing System Introduction
Queueing System Elements
Arrivals, Queue, Service
Performance Measures
Waiting time, Queue Length, Standards/Service Levels
Single Server Queues (M/M/1, M/G/1)
Multiple Server Queues (M/M/s)
Priority Queues
Economic Analysis
Chapter 11
60
Multiple Server Queues
l = Mean arrival rate for customers = Expected number of arrivals per unit time
m = Mean service rate (for a continuously busy server) = Expected number of service completions per unit time
Utilization factor
s servers
r = l/sm
61
Multiple Server Queues
M/G/s – no useful analytical results
M/D/s – limited analytical results
M/Ek/s – limited analytical results
M/M/s – analytical results
Mathematical derivations are complex!!!
We will use Excel
Utilization
62
Multiple Server Queues
Alternative Approaches
Approach Suggested by John Phixitt: Modify the current policy by decreasing the percentage of time that tech reps are expected to be repairing machines.
Approach Suggested by the Vice President for Engineering: Provide new equipment to tech reps that would reduce the time required for repairs.
Approach Suggested by the Chief Financial Officer: Replace the current one-person tech rep territories by larger territories served by multiple tech reps.
Approach Suggested by the Vice President for Marketing: Give owners of the new printer-copier priority for receiving repairs over the company’s other customers.
63
M/M/s
Assumptions
Interarrival times have an exponential distribution with a mean of 1/l.
Service times have an exponential distribution with a mean of 1/m.
Any number of servers (denoted by s).
With multiple servers, the formula for the utilization factor becomes r = l / sm but still represents the average fraction of time that individual servers are busy.
64
M/M/s
The proposed new service standard is that the average waiting time before service begins be two hours (i.e., Wq ≤ 1/4 day).
The Chief Financial Officer has suggested combining the current one-person tech rep territories into larger territories that would be served jointly by multiple tech reps.
A territory with two tech reps:
Number of machines = 300 (versus 150 before)
Mean arrival rate = l = 6 (versus l = 3 before)
Mean service rate = m = 4 (as before)
Number of servers = s = 2 (versus s = 1 before)
Utilization factor = r = l/sm = 0.75 (as before)
65
M/M/s
66
Still not what we want
M/M/s
The Chief Financial Officer has suggested combining the current one-person tech rep territories into larger territories that would be served jointly by multiple tech reps.
A territory with three tech reps:
Number of machines = 450 (versus 150 before)
Mean arrival rate = l = 9 (versus l = 3 before)
Mean service rate = m = 4 (as before)
Number of servers = s = 3 (versus s = 1 before)
Utilization factor = r = l/sm = 0.75 (as before)
67
M/M/s
68
M/M/s
Comparison of s=2 and s=3
69
| Number of Tech Reps | Number of Machines | l | m | s | r | Wq |
| 1 | 150 | 3 | 4 | 1 | 0.75 | 0.75 workday (6 hours) |
| 2 | 300 | 6 | 4 | 2 | 0.75 | 0.321 workday (2.57 hours) |
| 3 | 450 | 9 | 4 | 3 | 0.75 | 0.189 workday (1.51 hours) |
Insights
When designing a single-server queueing system, beware that giving a relatively high utilization factor (workload) to the server provides surprisingly poor performance for the system
Decreasing the variability of service times (without any change in the mean) substantially improves the performance of a queueing system.
70
Insights
Multiple-server queueing systems can perform satisfactorily with somewhat higher utilization factors than can single-server queueing systems. For example, pooling servers by combining separate single-server queueing systems into one multiple-server queueing system greatly improves the measures of performance.
71
Insights
72
Impact of Pooling Servers:
Suppose you have n identical M/M/1
Suppose you combine the servers so you have a single M/M/n
Wq(for combined system)
<
Wq(for each single-server system)/n
Outline
Queueing System Introduction
Queueing System Elements
Arrivals, Queue, Service
Performance Measures
Waiting time, Queue Length, Standards/Service Levels
Single Server Queues (M/M/1, M/G/1)
Multiple Server Queues (M/M/s)
Priority Queues
Economic Analysis
Chapter 11
73
Queueing Models: A Case Study
Alternative Approaches
Approach Suggested by John Phixitt: Modify the current policy by decreasing the percentage of time that tech reps are expected to be repairing machines.
Approach Suggested by the Vice President for Engineering: Provide new equipment to tech reps that would reduce the time required for repairs.
Approach Suggested by the Chief Financial Officer: Replace the current one-person tech rep territories by larger territories served by multiple tech reps.
Approach Suggested by the Vice President for Marketing: Give owners of the new printer-copier priority for receiving repairs over the company’s other customers.
74
Priority Queueing Models
General Assumptions:
There are two or more categories of customers. Each category is assigned to a priority class. Customers in priority class 1 are given priority over customers in priority class 2. Priority class 2 has priority over priority class 3, etc.
After deferring to higher priority customers, the customers within each priority class are served on a first-come-fist-served basis.
Two types of priorities
Nonpreemptive priorities: Once a server has begun serving a customer, the service must be completed (even if a higher priority customer arrives). However, once service is completed, priorities are applied to select the next one to begin service.
Preemptive priorities: The lowest priority customer being served is preempted (ejected back into the queue) whenever a higher priority customer enters the queueing system.
75
Preemptive Priorities Queues
Additional Assumptions
Preemptive priorities are used as previously described.
For priority class i (i = 1, 2, … , n), the interarrival times of the customers in that class have an exponential distribution with a mean of 1/li.
All service times have an exponential distribution with a mean of 1/m, regardless of the priority class involved.
The queueing system has a single server.
The utilization factor for the server is
r = (l1 + l2 + … + ln) / m
76
Non-Preemptive Priorities Queues
Additional Assumptions
Nonpreemptive priorities are used as previously described.
For priority class i (i = 1, 2, … , n), the interarrival times of the customers in that class have an exponential distribution with a mean of 1/li.
All service times have an exponential distribution with a mean of 1/m, regardless of the priority class involved.
The queueing system can have any number of servers.
The utilization factor for the servers is
r = (l1 + l2 + … + ln) / sm
77
Priority Queueing Models
VP of Marketing Approach (Priority for New Copiers)
The proposed new service standard is that the average waiting time before service begins be two hours (i.e., Wq ≤ 1/4 day).
The Vice President of Marketing has proposed giving the printer-copiers priority over other machines for receiving service. The rationale for this proposal is that the printer-copier performs so many vital functions that its owners cannot tolerate being without it as long as other machines.
The mean arrival rates for the two classes of copiers are
l1 = 1 customer (printer-copier) per workday (now)
l2 = 2 customers (other machines) per workday (now)
The proportion of printer-copiers is expected to increase, so in a couple years
l1 = 1.5 customers (printer-copiers) per workday (later)
l2 = 1.5 customers (other machines) per workday (later)
78
Priority Queueing Models
VP of Marketing Approach (Priority for New Copiers)
Nonpreemptive Priorities Model for VP of Marketing’s Approach (Current Arrival Rates)
79
Priority Queueing Models
VP of Marketing Approach (Priority for New Copiers)
Nonpreemptive Priorities Model for VP of Marketing’s Approach (Future Arrival Rates)
80
Priority Queueing Models
Expected Waiting Times with Nonpreemptive Priorities
81
| s | When | l1 | l2 | m | r | Wq for Printer Copiers | Wq for Other Machines |
| 1 | Now | 1 | 2 | 4 | 0.75 | 0.25 workday (2 hrs.) | 1 workday (8 hrs.) |
| 1 | Later | 1.5 | 1.5 | 4 | 0.75 | 0.3 workday (2.4 hrs.) | 1.2 workday (9.6 hrs.) |
| 2 | Now | 2 | 4 | 4 | 0.75 | 0.107 workday (0.86 hr.) | 0.439 workday (3.43 hrs.) |
| 2 | Later | 3 | 3 | 4 | 0.75 | 0.129 workday (1.03 hrs.) | 0.514 workday (4.11 hrs.) |
| 3 | Now | 3 | 6 | 4 | 0.75 | 0.063 workday (0.50 hr.) | 0.252 workday (2.02 hrs.) |
| 3 | Later | 4.5 | 4.5 | 4 | 0.75 | 0.076 workday (0.61 hr.) | 0.303 workday (2.42 hrs.) |
Outline
Queueing System Introduction
Queueing System Elements
Arrivals, Queue, Service
Performance Measures
Waiting time, Queue Length, Standards/Service Levels
Single Server Queues (M/M/1, M/G/1)
Multiple Server Queues (M/M/s)
Priority Queues
Economic Analysis
Chapter 11
82
Economic Analysis
In many cases, the consequences of making customers wait can be expressed as a waiting cost.
The manager is interested in minimizing the total cost. TC = Expected total cost per unit time SC = Expected service cost per unit time WC = Expected waiting cost per unit time The objective is then to choose the number of servers so as to Minimize TC = SC + WC
When each server costs the same (Cs = cost of server per unit time), SC = Cs s
When the waiting cost is proportional to the amount of waiting (Cw = waiting cost per unit time for each customer), WC = Cw L
83
Economic Analysis
Acme Machine Shop
The Acme Machine Shop has a tool crib for storing tool required by shop mechanics.
Two clerks run the tool crib.
The estimates of the mean arrival rate l and the mean service rate (per server) m are l = 120 customers per hour m = 80 customers per hour
The total cost to the company of each tool crib clerk is $20/hour, so Cs = $20.
While mechanics are busy, their value to Acme is $48/hour, so Cw = $48.
Choose s so as to Minimize TC = $20s + $48L.
84
Economic Analysis
Acme Machine Shop
85
Economic Analysis
Acme Machine Shop
86
Further Study
Read Chapter 11
Practice problems
11.6, 11.7, 11.8, 11.15, 11.16, 11.23, 11.27
The following problems are in Homework 3:
11.9, 11.13
87
Customers
Queue
Served Customers
Queueing System
Service
facility
S
S
S
S
C
C
C
C
C C C C C C C
Served Customers
20
40
60
80
1
2
3
4
Number of
Customers
in the
System
0
Time (in minutes)
100
î
í
ì
<
³
a
=
a
-
0
t
when
0
0
t
when
e
)
t
(
f
t
T
t
T
e
1
)
t
(
F
a
-
-
=
r
r
r
r
r
r
r
r
r
r
r
r
-
=
-
-
=
-
=
-
=
-
=
=
å
å
å
å
¥
=
-
¥
=
¥
=
¥
=
1
)
1
(
1
)
1
(
)
1
(
)
1
(
)
1
(
2
1
1
0
0
0
n
n
n
n
n
n
n
n
n
n
n
np
l
m
l
r
r
-
=
-
=
1
L
r
r
l
m
m
l
r
-
=
-
=
-
=
1
)
(
2
2
L
L
Q
)
(
1
l
m
m
l
m
-
=
-
=
W
W
Q
l
m
-
=
1
W
r
r
l
m
m
l
r
-
=
-
=
-
=
1
)
(
2
2
L
L
Q
3
4
5
B
C
D
E
G
H
Data
Results
l =
0.5
(mean arrival rate)
L =
1
m =
1
(mean service rate)
L
q
=
0.5
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
A
B
C
D
E
Data Table Demonstrating the Effect of
Increasing
r
on Lq and L for M/M/1
l = r
L
q
L
1
0.5
1
0
0.01
0.0001
0.0101
0
0.25
0.0833
0.3333
0
0.5
0.5
1
0
0.6
0.9
1.5
0
0.7
1.6333
2.3333
0
0.75
2.25
3
0
0.8
3.2
4
0
0.85
4.8167
5.6667
0
0.9
8.1
9
0
0.95
18.05
19
0
0.99
98.01
99
0
0.999
998.001
999
0
20
40
60
80
100
00.20.40.60.81
System Utilization (r)
Average Line Length (L)
Chart1
| 0.01 |
| 0.25 |
| 0.5 |
| 0.6 |
| 0.7 |
| 0.75 |
| 0.8 |
| 0.85 |
| 0.9 |
| 0.95 |
| 0.99 |
| 0.999 |
M|M|s
| Template for M/M/s Queueing Model | ||||||||||||
| Data | Results | Range Name | Cells | |||||||||
| l = | 0.5 | (mean arrival rate) | L = | 1 | L | G4 | ||||||
| m = | 1 | (mean service rate) | 0.5 | Lambda | C4 | |||||||
| s = | 1 | (# servers) | Lq | G5 | ||||||||
| 0 | W = | 2 | ||||||||||
| 0 | 1 | |||||||||||
| Data Table Demonstrating the Effect of | ||||||||||||
| r = | 0.5 | |||||||||||
| l = r | L | n | ||||||||||
| 1 | 0.5 | 1 | 0 | 0.5 | ||||||||
| 0 | 0.01 | 0.0001 | 0.0101 | |||||||||
| 0 | 0.25 | 0.0833 | 0.3333 | |||||||||
| 0 | 0.5 | 0.5 | 1 | |||||||||
| 0 | 0.6 | 0.9 | 1.5 | |||||||||
| 0 | 0.7 | 1.6333 | 2.3333 | |||||||||
| 0 | 0.75 | 2.25 | 3 | |||||||||
| 0 | 0.8 | 3.2 | 4 | |||||||||
| 0 | 0.85 | 4.8167 | 5.6667 | |||||||||
| 0 | 0.9 | 8.1 | 9 | |||||||||
| 0 | 0.95 | 18.05 | 19 | |||||||||
| 0 | 0.99 | 98.01 | 99 | |||||||||
| 0 | 0.999 | 998.001 | 999 | |||||||||
| 0 | ||||||||||||
| 0 | ||||||||||||
| 0 | ||||||||||||
| 0 | ||||||||||||
| 0 | ||||||||||||
| 0 | ||||||||||||
| 0 | ||||||||||||
| 0 | ||||||||||||
| 0 | ||||||||||||
| 0 | ||||||||||||
| 0 | ||||||||||||
| 0 |
M|M|s
M|M|s
| Template for the M/M/s Queueing Model | ||||||||||
| Data | Results | Range Name | Cells | |||||||
| l = | 0.5 | (mean arrival rate) | 1 | L = | 1 | L | G4 | |||
| m = | 1 | (mean service rate) | 0 | 0.5 | Lambda | C4 | ||||
| s = | 1 | (# servers) | 0 | Lq | G5 | |||||
| 0 | W = | 2 | Mu | C5 | ||||||
| Pr(W > t) = | 0.6065306597 | 0 | 1 | n | F13:F38 | |||||
| when t = | 1 | 0 | 0 | P0 | G13 | |||||
| 0 | 0 | r = | 0.5 | Pn | G13:G38 | |||||
| 0.3032653299 | 0 | Rho | G10 | |||||||
| when t = | 1 | 0 | n | s | C6 | |||||
| 0 | 0 | 0.5 | Time1 | C9 | ||||||
| 0 | 1 | 0.25 | Time2 | C12 | ||||||
| 0 | 2 | 0.125 | W | G7 | ||||||
| 0 | 3 | 0.0625 | Wq | G8 | ||||||
| 0 | 4 | 0.03125 | ||||||||
| 0 | 5 | 0.015625 | ||||||||
| 0 | 6 | 0.0078125 | ||||||||
| 0 | 7 | 0.00390625 | ||||||||
| 0 | 8 | 0.001953125 | ||||||||
| 0 | 9 | 0.0009765625 | ||||||||
| 0 | 10 | 0.0004882813 | ||||||||
| 0 | 11 | 0.0002441406 | ||||||||
| 0 | 12 | 0.0001220703 | ||||||||
| 0 | 13 | 0.0000610352 | ||||||||
| 0 | 14 | 0.0000305176 | ||||||||
| 0 | 15 | 0.0000152588 | ||||||||
| 0 | 16 | 0.0000076294 | ||||||||
| 17 | 0.0000038147 | |||||||||
| 18 | 0.0000019073 | |||||||||
| 19 | 0.0000009537 | |||||||||
| 20 | 0.0000004768 | |||||||||
| 21 | 0.0000002384 | |||||||||
| 22 | 0.0000001192 | |||||||||
| 23 | 0.0000000596 | |||||||||
| 24 | 0.0000000298 | |||||||||
| 25 | 0.0000000149 |
M|M|s
| Template for M/M/s Queueing Model | ||||||||||||
| Data | Results | Range Name | Cells | |||||||||
| l = | 0.5 | (mean arrival rate) | L = | 1 | L | G4 | ||||||
| m = | 1 | (mean service rate) | 0.5 | Lambda | C4 | |||||||
| s = | 1 | (# servers) | Lq | G5 | ||||||||
| 0 | W = | 2 | ||||||||||
| 0 | 1 | |||||||||||
| Data Table Demonstrating the Effect of | ||||||||||||
| r = | 0.5 | |||||||||||
| l = r | L | n | ||||||||||
| 1 | 0.5 | 1 | 0 | 0.5 | ||||||||
| 0 | 0.01 | 0.0001 | 0.0101 | |||||||||
| 0 | 0.25 | 0.0833 | 0.3333 | |||||||||
| 0 | 0.5 | 0.5 | 1 | |||||||||
| 0 | 0.6 | 0.9 | 1.5 | |||||||||
| 0 | 0.7 | 1.6333 | 2.3333 | |||||||||
| 0 | 0.75 | 2.25 | 3 | |||||||||
| 0 | 0.8 | 3.2 | 4 | |||||||||
| 0 | 0.85 | 4.8167 | 5.6667 | |||||||||
| 0 | 0.9 | 8.1 | 9 | |||||||||
| 0 | 0.95 | 18.05 | 19 | |||||||||
| 0 | 0.99 | 98.01 | 99 | |||||||||
| 0 | 0.999 | 998.001 | 999 | |||||||||
| 0 | ||||||||||||
| 0 | ||||||||||||
| 0 | ||||||||||||
| 0 | ||||||||||||
| 0 | ||||||||||||
| 0 | ||||||||||||
| 0 | ||||||||||||
| 0 | ||||||||||||
| 0 | ||||||||||||
| 0 | ||||||||||||
| 0 | ||||||||||||
| 0 |
M|M|s
DataResults
l =3(mean arrival rate)L =3
m =4(mean service rate)L
q
=2.25
s =1(# servers)
W =1
Pr(W > t) =0.368
W
q
=
0.75
when t =1
r =0.75
Prob(W
q
> t) =
0.276
when t =1n
P
n
00.25
10.1875
20.1406
30.1055
40.0791
50.0593
60.0445
70.0334
80.0250
90.0188
100.0141
M|M|s
| Template for the M/M/s Queueing Model | ||||||||||
| Data | Results | Range Name | Cells | |||||||
| l = | 3 | (mean arrival rate) | 1 | L = | 3 | L | G4 | |||
| m = | 4 | (mean service rate) | 0 | Lq = | 2.25 | Lambda | C4 | |||
| s = | 1 | (# servers) | 0 | Lq | G5 | |||||
| 0 | W = | 1 | Mu | C5 | ||||||
| Pr(W > t) = | 0.368 | 0 | Wq = | 0.75 | n | F13:F38 | ||||
| when t = | 1 | 0 | 0 | P0 | G13 | |||||
| 0 | 0 | r = | 0.75 | Pn | G13:G38 | |||||
| Prob(Wq > t) = | 0.276 | 0 | Rho | G10 | ||||||
| when t = | 1 | 0 | n | Pn | s | C6 | ||||
| 0 | 0 | 0.25 | Time1 | C9 | ||||||
| 0 | 1 | 0.1875 | Time2 | C12 | ||||||
| 0 | 2 | 0.1406 | W | G7 | ||||||
| 0 | 3 | 0.1055 | Wq | G8 | ||||||
| 0 | 4 | 0.0791 | ||||||||
| 0 | 5 | 0.0593 | ||||||||
| 0 | 6 | 0.0445 | ||||||||
| 0 | 7 | 0.0334 | ||||||||
| 0 | 8 | 0.0250 | ||||||||
| 0 | 9 | 0.0188 | ||||||||
| 0 | 10 | 0.0141 | ||||||||
| 0 | 11 | 0.0106 | ||||||||
| 0 | 12 | 0.0079 | ||||||||
| 0 | 13 | 0.0059 | ||||||||
| 0 | 14 | 0.0045 | ||||||||
| 0 | 15 | 0.0033 | ||||||||
| 0 | 16 | 0.0025 | ||||||||
| 17 | 0.0019 | |||||||||
| 18 | 0.0014 | |||||||||
| 19 | 0.0011 | |||||||||
| 20 | 0.0008 | |||||||||
| 21 | 0.0006 | |||||||||
| 22 | 0.0004 | |||||||||
| 23 | 0.0003 | |||||||||
| 24 | 0.0003 | |||||||||
| 25 | 0.0002 |
Sheet1
DataResults
l =2(mean arrival rate)L =1
m =4(mean service rate)L
q
=0.5
s =1(# servers)
W =0.5
Pr(W > t) =0.135
W
q
=
0.25
when t =1
r =0.5
Prob(W
q
> t) =
0.068
when t =1n
P
n
00.5
10.25
20.1250
30.0625
40.0313
50.0156
60.0078
70.0039
80.0020
90.0010
100.0005
M|M|s
| Template for the M/M/s Queueing Model | ||||||||||
| Data | Results | Range Name | Cells | |||||||
| l = | 2 | (mean arrival rate) | 1 | L = | 1 | L | G4 | |||
| m = | 4 | (mean service rate) | 0 | Lq = | 0.5 | Lambda | C4 | |||
| s = | 1 | (# servers) | 0 | Lq | G5 | |||||
| 0 | W = | 0.5 | Mu | C5 | ||||||
| Pr(W > t) = | 0.135 | 0 | Wq = | 0.25 | n | F13:F38 | ||||
| when t = | 1 | 0 | 0 | P0 | G13 | |||||
| 0 | 0 | r = | 0.5 | Pn | G13:G38 | |||||
| Prob(Wq > t) = | 0.068 | 0 | Rho | G10 | ||||||
| when t = | 1 | 0 | n | Pn | s | C6 | ||||
| 0 | 0 | 0.5 | Time1 | C9 | ||||||
| 0 | 1 | 0.25 | Time2 | C12 | ||||||
| 0 | 2 | 0.1250 | W | G7 | ||||||
| 0 | 3 | 0.0625 | Wq | G8 | ||||||
| 0 | 4 | 0.0313 | ||||||||
| 0 | 5 | 0.0156 | ||||||||
| 0 | 6 | 0.0078 | ||||||||
| 0 | 7 | 0.0039 | ||||||||
| 0 | 8 | 0.0020 | ||||||||
| 0 | 9 | 0.0010 | ||||||||
| 0 | 10 | 0.0005 | ||||||||
| 0 | 11 | 0.0002 | ||||||||
| 0 | 12 | 0.0001 | ||||||||
| 0 | 13 | 0.0001 | ||||||||
| 0 | 14 | 0.0000 | ||||||||
| 0 | 15 | 0.0000 | ||||||||
| 0 | 16 | 0.0000 | ||||||||
| 17 | 0.0000 | |||||||||
| 18 | 0.0000 | |||||||||
| 19 | 0.0000 | |||||||||
| 20 | 0.0000 | |||||||||
| 21 | 0.0000 | |||||||||
| 22 | 0.0000 | |||||||||
| 23 | 0.0000 | |||||||||
| 24 | 0.0000 | |||||||||
| 25 | 0.0000 |
Sheet1
)
(
1
l
m
m
l
m
-
=
-
=
W
W
Q
)
1
(
2
r
r
-
=
Q
L
÷
÷
ø
ö
ç
ç
è
æ
-
÷
ø
ö
ç
è
æ
+
=
r
r
1
2
1
2
k
k
L
Q
)
1
(
2
2
r
r
-
=
Q
L
)
1
(
2
2
2
2
r
r
s
l
-
+
=
Q
L
k
m
1
m
1
3
4
5
6
7
8
9
10
11
12
B
C
D
E
F
G
Data
Results
l =
3
(mean arrival rate)
L =
1.163
1/m =
0.2
(expected service time)
L
q
=
0.563
s=
0.1
(standard deviation)
s =
1
(# servers)
W =
0.388
W
q
=
0.188
r =
0.6
P
0
=
0.4
M|G|1
| Template for the M/G/1 Queueing Model | |||||||||
| Data | Results | Range Name | Cell | ||||||
| l = | 3 | (mean arrival rate) | L = | 1.163 | L | G4 | |||
| 1/m = | 0.2 | (expected service time) | 0.563 | Lambda | C4 | ||||
| s= | 0.1 | (standard deviation) | Lq | G5 | |||||
| s = | 1 | (# servers) | W = | 0.388 | OneOverMu | C5 | |||
| 0.188 | Rho | G10 | |||||||
| s | C7 | ||||||||
| 0 | r = | 0.6 | Sigma | C6 | |||||
| 0 | W | G7 | |||||||
| 0.4 | Wq | G8 |
Sheet1
m
l
r
s
=
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
B
C
D
E
G
H
Data
Results
l =
6
(mean arrival rate)
L =
3.4286
m =
4
(mean service rate)
L
q
=
1.9286
s =
2
(# servers)
W =
0.5714
Pr(W > t) =
0.169
W
q
=
0.3214
when t =
1
r =
0.75
Prob(W
q
> t) =
0.087
when t =
1
n
P
n
0
0.1429
1
0.2143
2
0.1607
3
0.1205
4
0.0904
5
0.0678
6
0.0509
7
0.0381
8
0.0286
9
0.0215
10
0.0161
M|M|s
| Template for the M/M/s Queueing Model | ||||||||||
| Data | Results | Range Name | Cells | |||||||
| l = | 6 | (mean arrival rate) | 1 | L = | 3.4286 | L | G4 | |||
| m = | 4 | (mean service rate) | 1.5 | Lq = | 1.9286 | Lambda | C4 | |||
| s = | 2 | (# servers) | 0 | Lq | G5 | |||||
| 0 | W = | 0.5714 | Mu | C5 | ||||||
| Pr(W > t) = | 0.169 | 0 | Wq = | 0.3214 | n | F13:F38 | ||||
| when t = | 1 | 0 | 0 | P0 | G13 | |||||
| 0 | 0 | r = | 0.75 | Pn | G13:G38 | |||||
| Prob(Wq > t) = | 0.087 | 0 | Rho | G10 | ||||||
| when t = | 1 | 0 | n | Pn | s | C6 | ||||
| 0 | 0 | 0.1429 | Time1 | C9 | ||||||
| 0 | 1 | 0.2143 | Time2 | C12 | ||||||
| 0 | 2 | 0.1607 | W | G7 | ||||||
| 0 | 3 | 0.1205 | Wq | G8 | ||||||
| 0 | 4 | 0.0904 | ||||||||
| 0 | 5 | 0.0678 | ||||||||
| 0 | 6 | 0.0509 | ||||||||
| 0 | 7 | 0.0381 | ||||||||
| 0 | 8 | 0.0286 | ||||||||
| 0 | 9 | 0.0215 | ||||||||
| 0 | 10 | 0.0161 | ||||||||
| 0 | 11 | 0.0120671817 | ||||||||
| 0 | 12 | 0.0090503863 | ||||||||
| 0 | 13 | 0.0067877897 | ||||||||
| 0 | 14 | 0.0050908423 | ||||||||
| 0 | 15 | 0.0038181317 | ||||||||
| 0 | 16 | 0.0028635988 | ||||||||
| 17 | 0.0021476991 | |||||||||
| 18 | 0.0016107743 | |||||||||
| 19 | 0.0012080807 | |||||||||
| 20 | 0.0009060606 | |||||||||
| 21 | 0.0006795454 | |||||||||
| 22 | 0.0005096591 | |||||||||
| 23 | 0.0003822443 | |||||||||
| 24 | 0.0002866832 | |||||||||
| 25 | 0.0002150124 |
Sheet1
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
B
C
D
E
G
H
Data
Results
l =
9
(mean arrival rate)
L =
3.9533
m =
4
(mean service rate)
L
q
=
1.7033
s =
3
(# servers)
W =
0.4393
Pr(W > t) =
0.090
W
q
=
0.1893
when t =
1
r =
0.75
Prob(W
q
> t) =
0.028
when t =
1
n
P
n
0
0.0748
1
0.1682
2
0.1893
3
0.1419
4
0.1065
5
0.0798
6
0.0599
7
0.0449
8
0.0337
9
0.0253
10
0.0189
M|M|s
| Template for the M/M/s Queueing Model | ||||||||||
| Data | Results | Range Name | Cells | |||||||
| l = | 9 | (mean arrival rate) | 1 | L = | 3.9533 | L | G4 | |||
| m = | 4 | (mean service rate) | 2.25 | Lq = | 1.7033 | Lambda | C4 | |||
| s = | 3 | (# servers) | 2.53125 | Lq | G5 | |||||
| 0 | W = | 0.4393 | Mu | C5 | ||||||
| Pr(W > t) = | 0.090 | 0 | Wq = | 0.1893 | n | F13:F38 | ||||
| when t = | 1 | 0 | 0 | P0 | G13 | |||||
| 0 | 0 | r = | 0.75 | Pn | G13:G38 | |||||
| Prob(Wq > t) = | 0.028 | 0 | Rho | G10 | ||||||
| when t = | 1 | 0 | n | Pn | s | C6 | ||||
| 0 | 0 | 0.0748 | Time1 | C9 | ||||||
| 0 | 1 | 0.1682 | Time2 | C12 | ||||||
| 0 | 2 | 0.1893 | W | G7 | ||||||
| 0 | 3 | 0.1419 | Wq | G8 | ||||||
| 0 | 4 | 0.1065 | ||||||||
| 0 | 5 | 0.0798 | ||||||||
| 0 | 6 | 0.0599 | ||||||||
| 0 | 7 | 0.0449 | ||||||||
| 0 | 8 | 0.0337 | ||||||||
| 0 | 9 | 0.0253 | ||||||||
| 0 | 10 | 0.0189 | ||||||||
| 0 | 11 | 0.0142099523 | ||||||||
| 0 | 12 | 0.0106574642 | ||||||||
| 0 | 13 | 0.0079930982 | ||||||||
| 0 | 14 | 0.0059948236 | ||||||||
| 0 | 15 | 0.0044961177 | ||||||||
| 0 | 16 | 0.0033720883 | ||||||||
| 17 | 0.0025290662 | |||||||||
| 18 | 0.0018967997 | |||||||||
| 19 | 0.0014225997 | |||||||||
| 20 | 0.0010669498 | |||||||||
| 21 | 0.0008002124 | |||||||||
| 22 | 0.0006001593 | |||||||||
| 23 | 0.0004501195 | |||||||||
| 24 | 0.0003375896 | |||||||||
| 25 | 0.0002531922 |
Sheet1
.
.
.
.
.
.
.
.
.
C
u
s
t
o
m
e
r
s
S
e
r
v
i
c
e
C
e
n
t
e
r
s
.
.
.
C
u
s
t
o
m
e
r
s
S
e
r
v
i
c
e
C
e
n
t
e
r
s
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
B
C
D
E
F
G
Data
n =
2
(# of priority classes)
m =
4
(mean service rate)
s =
1
(# servers)
l
i
L
Lq
W
Wq
Priority Class 1
1
0.5
0.25
0.5
0.25
Priority Class 2
2
2.5
2
1.25
1
Priority Class 3
1
#DIV/0!
#DIV/0!
#DIV/0!
#DIV/0!
Priority Class 4
1
#DIV/0!
#DIV/0!
#DIV/0!
#DIV/0!
Priority Class 5
1
1.75
1.5
1.75
1.5
l =
3
r =
0.75
Results
Nonpreemptive Priorities
| Template for M/M/s Nonpreemptive Priorities Queueing Model | ||||||
| Data | ||||||
| 1 | n = | 2 | (# of priority classes) | |||
| 0 | m = | 4 | (mean service rate) | |||
| 0 | s = | 1 | (# servers) | |||
| 0 | ||||||
| 0 | Results | |||||
| 0 | L | Lq | W | Wq | ||
| 0 | Priority Class 1 | 1 | 0.5 | 0.25 | 0.5 | 0.25 |
| 0 | Priority Class 2 | 2 | 2.5 | 2 | 1.25 | 1 |
| 0 | Priority Class 3 | 1 | 0 | 0 | 0 | 0 |
| 0 | Priority Class 4 | 1 | 0 | 0 | 0 | 0 |
| 0 | Priority Class 5 | 1 | 1.75 | 1.5 | 1.75 | 1.5 |
| 0 | ||||||
| 0 | l = | 3 | 0 | |||
| 0 | r = | 0.75 | ||||
| 0 | 0 | |||||
| 0 | ||||||
| 0 | ||||||
| 0 | ||||||
| 0 | ||||||
| 0 | ||||||
| 0 | ||||||
| 0 | ||||||
| 0 | ||||||
| 0 | ||||||
| 0 |
Sheet1
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
B
C
D
E
F
G
Data
n =
2
(# of priority classes)
m =
4
(mean service rate)
s =
1
(# servers)
l
i
L
Lq
W
Wq
Priority Class 1
1.5
0.825
0.45
0.55
0.3
Priority Class 2
1.5
2.175
1.8
1.45
1.2
Priority Class 3
1
#DIV/0!
#DIV/0!
#DIV/0!
#DIV/0!
Priority Class 4
1
#DIV/0!
#DIV/0!
#DIV/0!
#DIV/0!
Priority Class 5
1
1.75
1.5
1.75
1.5
l =
3
r =
0.75
Results
Nonpreemptive Priorities
| Template for M/M/s Nonpreemptive Priorities Queueing Model | ||||||
| Data | ||||||
| 1 | n = | 2 | (# of priority classes) | |||
| 0 | m = | 4 | (mean service rate) | |||
| 0 | s = | 1 | (# servers) | |||
| 0 | ||||||
| 0 | Results | |||||
| 0 | L | Lq | W | Wq | ||
| 0 | Priority Class 1 | 1.5 | 0.825 | 0.45 | 0.55 | 0.3 |
| 0 | Priority Class 2 | 1.5 | 2.175 | 1.8 | 1.45 | 1.2 |
| 0 | Priority Class 3 | 1 | 0 | 0 | 0 | 0 |
| 0 | Priority Class 4 | 1 | 0 | 0 | 0 | 0 |
| 0 | Priority Class 5 | 1 | 1.75 | 1.5 | 1.75 | 1.5 |
| 0 | ||||||
| 0 | l = | 3 | 0 | |||
| 0 | r = | 0.75 | ||||
| 0 | 0 | |||||
| 0 | ||||||
| 0 | ||||||
| 0 | ||||||
| 0 | ||||||
| 0 | ||||||
| 0 | ||||||
| 0 | ||||||
| 0 | ||||||
| 0 | ||||||
| 0 |
Sheet1
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
B
C
D
E
F
G
Data
Results
l =
120
(mean arrival rate)
L =
1.736842105
m =
80
(mean service rate)
L
q
=
0.236842105
s =
3
(# servers)
W =
0.014473684
Pr(W > t) =
0.02581732
W
q
=
0.001973684
when t =
0.05
r =
0.5
Prob(W
q
> t) =
0.00058707
when t =
0.05
n
P
n
0
0.210526316
1
0.315789474
Cs =
$20.00
(cost / server / unit time)
2
0.236842105
Cw =
$48.00
(waiting cost / unit time)
3
0.118421053
4
0.059210526
Cost of Service
$60.00
5
0.029605263
Cost of Waiting
$83.37
6
0.014802632
Total Cost
$143.37
7
0.007401316
Economic Analysis:
Economic Analysis
| Template for Economic Analysis of M/M/s Queueing Model | |||||||||
| Data | Results | Range Name | Cells | ||||||
| l = | 120 | (mean arrival rate) | L = | 1.7368421053 | CostOfService | C18 | |||
| m = | 80 | (mean service rate) | 0.2368421053 | CostOfWaiting | C19 | ||||
| s = | 3 | (# servers) | Cs | C15 | |||||
| W = | 0.0144736842 | Cw | C16 | ||||||
| Pr(W > t) = | 0.0258173221 | 0.0019736842 | L | G4 | |||||
| when t = | 0.05 | Lambda | C4 | ||||||
| r = | 0.5 | Lq | G5 | ||||||
| 0.0005870729 | Mu | C5 | |||||||
| when t = | 0.05 | n | n | F13:F38 | |||||
| 1 | 0 | 0.2105263158 | P0 | G13 | |||||
| 1.5 | Economic Analysis: | 1 | 0.3157894737 | Pn | G13:G38 | ||||
| 1.125 | Cs = | $20.00 | (cost / server / unit time) | 2 | 0.2368421053 | Rho | G10 | ||
| 0 | Cw = | $48.00 | (waiting cost / unit time) | 3 | 0.1184210526 | s | C6 | ||
| 0 | 4 | 0.0592105263 | Time1 | C9 | |||||
| 0 | Cost of Service | $60.00 | 5 | 0.0296052632 | Time2 | C12 | |||
| 0 | Cost of Waiting | $83.37 | 6 | 0.0148026316 | TotalCost | C20 | |||
| 0 | Total Cost | $143.37 | 7 | 0.0074013158 | W | G7 | |||
| 0 | 8 | 0.0037006579 | Wq | G8 | |||||
| 0 | 9 | 0.0018503289 | |||||||
| 0 | 10 | 0.0009251645 | |||||||
| 0 | 11 | 0.0004625822 | |||||||
| 0 | 12 | 0.0002312911 | |||||||
| 0 | 13 | 0.0001156456 | |||||||
| 0 | 14 | 0.0000578228 | |||||||
| 0 | 15 | 0.0000289114 | |||||||
| 0 | 16 | 0.0000144557 | |||||||
| 0 | 17 | 0.0000072278 | |||||||
| 0 | 18 | 0.0000036139 | |||||||
| 0 | 19 | 0.000001807 | |||||||
| 0 | 20 | 0.0000009035 | |||||||
| 0 | 21 | 0.0000004517 | |||||||
| 0 | 22 | 0.0000002259 | |||||||
| 0 | 23 | 0.0000001129 | |||||||
| 0 | 24 | 0.0000000565 | |||||||
| 0 | 25 | 0.0000000282 |
1
2
3
4
5
6
7
8
9
10
H
I
J
K
L
M
N
Data Table for Expected Total Cost of Alternatives
Cost of
Cost of
Total
s
r
L
Service
Waiting
Cost
0.50
1.74
$60.00
$83.37
$143.37
1
1.50
#N/A
$20.00
#N/A
#N/A
2
0.75
3.43
$40.00
$164.57
$204.57
3
0.50
1.74
$60.00
$83.37
$143.37
4
0.38
1.54
$80.00
$74.15
$154.15
5
0.30
1.51
$100.00
$72.41
$172.41
$0
$50
$100
$150
$200
$250
012345
Number of Servers (s)
Cost ($/hour)
Cost of
Service
Cost of
Waiting
Total Cost
Economic Analysis
| Economic Analysis of Acme Machine Shop Example | Data Table for Expected Total Cost of Alternatives | ||||||||||||
| Data | Results | Cost of | Cost of | Total | |||||||||
| l = | 120 | (mean arrival rate) | L = | 1.7368421053 | s | r | L | Service | Waiting | Cost | |||
| m = | 80 | (mean service rate) | 0.2368421053 | 0.50 | 1.74 | $60.00 | $83.37 | $143.37 | |||||
| s = | 3 | (# servers) | 1 | 1.50 | 0.00 | $20.00 | $0.00 | $0.00 | |||||
| W = | 0.0144736842 | 2 | 0.75 | 3.43 | $40.00 | $164.57 | $204.57 | ||||||
| Pr(W > t) = | 0.0258173221 | 0.0019736842 | 3 | 0.50 | 1.74 | $60.00 | $83.37 | $143.37 | |||||
| when t = | 0.05 | 0 | 4 | 0.38 | 1.54 | $80.00 | $74.15 | $154.15 | |||||
| 0 | r = | 0.5 | 5 | 0.30 | 1.51 | $100.00 | $72.41 | $172.41 | |||||
| 0.0005870729 | |||||||||||||
| when t = | 0.05 | n | |||||||||||
| 1 | 0 | 0.2105263158 | |||||||||||
| 1.5 | Economic Analysis: | 1 | 0.3157894737 | ||||||||||
| 1.125 | Cs = | $20.00 | (cost / server / unit time) | 2 | 0.2368421053 | ||||||||
| 0 | Cw = | $48.00 | (waiting cost / unit time) | 3 | 0.1184210526 | ||||||||
| 0 | 4 | 0.0592105263 | |||||||||||
| 0 | Cost of Service | $60.00 | 5 | 0.0296052632 | |||||||||
| 0 | Cost of Waiting | $83.37 | 6 | 0.0148026316 | |||||||||
| 0 | Total Cost | $143.37 | 7 | 0.0074013158 | |||||||||
| 0 | 8 | 0.0037006579 | |||||||||||
| 0 | 9 | 0.0018503289 | |||||||||||
| 0 | 10 | 0.0009251645 | |||||||||||
| 0 | 11 | 0.0004625822 | |||||||||||
| 0 | 12 | 0.0002312911 | |||||||||||
| 0 | 13 | 0.0001156456 | |||||||||||
| 0 | 14 | 0.0000578228 | |||||||||||
| 0 | 15 | 0.0000289114 | |||||||||||
| 0 | 16 | 0.0000144557 | |||||||||||
| 0 | 17 | 0.0000072278 | |||||||||||
| 0 | 18 | 0.0000036139 | |||||||||||
| 0 | 19 | 0.000001807 | |||||||||||
| 0 | 20 | 0.0000009035 | |||||||||||
| 0 | 21 | 0.0000004517 | |||||||||||
| 0 | 22 | 0.0000002259 | |||||||||||
| 0 | 23 | 0.0000001129 | |||||||||||
| 0 | 24 | 0.0000000565 | |||||||||||
| 0 | 25 | 0.0000000282 | |||||||||||
| Range Name | Cells | ||||||||||||
| CostOfService | C18 | ||||||||||||
| CostOfWaiting | C19 | ||||||||||||
| Cs | C15 | ||||||||||||
| Cw | C16 | ||||||||||||
| L | G4 | ||||||||||||
| Lambda | C4 | ||||||||||||
| Lq | G5 | ||||||||||||
| Mu | C5 | ||||||||||||
| n | F13:F38 | ||||||||||||
| P0 | G13 | ||||||||||||
| Pn | G13:G38 | ||||||||||||
| Rho | G10 | ||||||||||||
| s | C6 | ||||||||||||
| Time1 | C9 | ||||||||||||
| Time2 | C12 | ||||||||||||
| TotalCost | C20 | ||||||||||||
| W | G7 | ||||||||||||
| Wq | G8 |
Chart1
| 1 | 1 | 1 |
| 2 | 2 | 2 |
| 3 | 3 | 3 |
| 4 | 4 | 4 |
| 5 | 5 | 5 |
Economic Analysis
| Economic Analysis of Acme Machine Shop Example | Data Table for Expected Total Cost of Alternatives | ||||||||||||
| Data | Results | Cost of | Cost of | Total | |||||||||
| l = | 120 | (mean arrival rate) | L = | 1.7368421053 | s | r | L | Service | Waiting | Cost | |||
| m = | 80 | (mean service rate) | 0.2368421053 | 0.50 | 1.74 | $60.00 | $83.37 | $143.37 | |||||
| s = | 3 | (# servers) | 1 | 1.50 | 0.00 | $20.00 | $0.00 | $0.00 | |||||
| W = | 0.0144736842 | 2 | 0.75 | 3.43 | $40.00 | $164.57 | $204.57 | ||||||
| Pr(W > t) = | 0.0258173221 | 0.0019736842 | 3 | 0.50 | 1.74 | $60.00 | $83.37 | $143.37 | |||||
| when t = | 0.05 | 0 | 4 | 0.38 | 1.54 | $80.00 | $74.15 | $154.15 | |||||
| 0 | r = | 0.5 | 5 | 0.30 | 1.51 | $100.00 | $72.41 | $172.41 | |||||
| 0.0005870729 | |||||||||||||
| when t = | 0.05 | n | |||||||||||
| 1 | 0 | 0.2105263158 | |||||||||||
| 1.5 | Economic Analysis: | 1 | 0.3157894737 | ||||||||||
| 1.125 | Cs = | $20.00 | (cost / server / unit time) | 2 | 0.2368421053 | ||||||||
| 0 | Cw = | $48.00 | (waiting cost / unit time) | 3 | 0.1184210526 | ||||||||
| 0 | 4 | 0.0592105263 | |||||||||||
| 0 | Cost of Service | $60.00 | 5 | 0.0296052632 | |||||||||
| 0 | Cost of Waiting | $83.37 | 6 | 0.0148026316 | |||||||||
| 0 | Total Cost | $143.37 | 7 | 0.0074013158 | |||||||||
| 0 | 8 | 0.0037006579 | |||||||||||
| 0 | 9 | 0.0018503289 | |||||||||||
| 0 | 10 | 0.0009251645 | |||||||||||
| 0 | 11 | 0.0004625822 | |||||||||||
| 0 | 12 | 0.0002312911 | |||||||||||
| 0 | 13 | 0.0001156456 | |||||||||||
| 0 | 14 | 0.0000578228 | |||||||||||
| 0 | 15 | 0.0000289114 | |||||||||||
| 0 | 16 | 0.0000144557 | |||||||||||
| 0 | 17 | 0.0000072278 | |||||||||||
| 0 | 18 | 0.0000036139 | |||||||||||
| 0 | 19 | 0.000001807 | |||||||||||
| 0 | 20 | 0.0000009035 | |||||||||||
| 0 | 21 | 0.0000004517 | |||||||||||
| 0 | 22 | 0.0000002259 | |||||||||||
| 0 | 23 | 0.0000001129 | |||||||||||
| 0 | 24 | 0.0000000565 | |||||||||||
| 0 | 25 | 0.0000000282 | |||||||||||
| Range Name | Cells | ||||||||||||
| CostOfService | C18 | ||||||||||||
| CostOfWaiting | C19 | ||||||||||||
| Cs | C15 | ||||||||||||
| Cw | C16 | ||||||||||||
| L | G4 | ||||||||||||
| Lambda | C4 | ||||||||||||
| Lq | G5 | ||||||||||||
| Mu | C5 | ||||||||||||
| n | F13:F38 | ||||||||||||
| P0 | G13 | ||||||||||||
| Pn | G13:G38 | ||||||||||||
| Rho | G10 | ||||||||||||
| s | C6 | ||||||||||||
| Time1 | C9 | ||||||||||||
| Time2 | C12 | ||||||||||||
| TotalCost | C20 | ||||||||||||
| W | G7 | ||||||||||||
| Wq | G8 |