Sie sind auf Seite 1von 57

Table of Contents Chapter 14 (Queueing Models)

Elements of a Queueing Model (Section 14.1) Some Examples of Queueing Systems (Section 14.2) Measures of Performance for Queueing Systems (Section 14.3) A Case Study: The Dupit Corp. Problem (Section 14.4) Some Single-Server Queueing Models (Section 14.5) Some Multiple-Server Queueing Models (Section 14.6) Priority Queueing Models (Section 14.7) Some Insights about Designing Queueing Systems (Section 14.8) Economic Analysis of the Number of Servers to Provide (Section 14.9) 14.214.13 14.1414.16 14.1714.20 14.2114.23 14.2414.33 14.3414.42 14.4314.50 14.5114.53 14.5414.57

A Basic Queueing System


Served Customers Queueing System Queue Customers CCCCCCC C C C C S S S S

Service facility

Served Customers

Herr Cutters Barber Shop


Herr Cutter is a German barber who runs a one-man barber shop. Herr Cutter opens his shop at 8:00 A.M.

The table shows his queueing system in action over a typical morning.

Customer
1 2 3 4 5 6

Time of Arrival 8:03 8:15 8:25 8:30 9:05 9:43

Haicut Begins 8:03 8:20 8:41 9:00 9:15

Duration of Haircut 17 minutes 21 minutes 19 minutes 15 minutes 20 minutes

Haircut Ends 8:20 8:41 9:00 9:15 9:35

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


where l is the Greek letter lambda. The mean of the probability distribution of interarrival times is 1 / l = Expected interarrival time Most queueing models assume that the form of the probability distribution of interarrival times is an exponential distribution.

Evolution of the Number of Customers

Number of Cus tomers 3 in the Sys tem 2

20

40 60 Time (in minutes)

80

100

The Exponential Distribution for Interarrival Times

Mean

Time

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.

The Queue
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, firstserved.

Service
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 where m is the Greek letter mu.

The interpretation of m itself is the mean service rate. m = Expected service completions per unit time for a single busy server

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.

Erlang Distribution
Fills the middle ground between the exponential distribution and constant. Has a shape parameter, k that determines the standard deviation. In particular, s = mean / (k)

Standard Deviation and Mean for Distributions

Distribution Exponential Degenerate (constant) Erlang, any k Erlang, k = 2 Erlang, k = 4 Erlang, k = 8 Erlang, k = 16

Standard Deviation mean 0 (1 / k) (Mean) (1 / 2) (Mean) (1 / 2) (Mean) (1 / 22) (Mean) (1 / 4) (Mean)

Labels for Queueing Models


To identify which probability distribution is being assumed for service times (and for interarrival times), a queueing model conventionally is labeled as follows:

Distribution of service times


// Number of Servers

Distribution of interarrival times

The symbols used for the possible distributions are M = Exponential distribution (Markovian) D = Degenerate distribution (constant times) Ek = Erlang distribution (shape parameter = k) GI = General independent interarrival-time distribution (any distribution) G = General service-time distribution (any arbitrary distribution)

Summary of Usual Model Assumptions


1. Interarrival times are independent and identically distributed according to a specified probability distribution. 2. All arriving customers enter the queueing system and remain there until service has been completed. 3. The queueing system has a single infinite queue, so that the queue will hold an unlimited number of customers (for all practical purposes). 4. The queue discipline is first-come, first-served.

5. The queueing system has a specified number of servers, where each server is capable of serving any of the customers.
6. Each customer is served individually by any one of the servers. 7. Service times are independent and identically distributed according to a specified probability distribution.

Examples of Commercial Service Systems That Are Queueing Systems


Type of System Barber shop Bank teller services ATM machine service Customers People People People Server(s) Barber Teller ATM machine

Checkout at a store
Plumbing services Ticket window at a movie theater Check-in counter at an airport Brokerage service Gas station Call center for ordering goods Call center for technical assistance Travel agency Automobile repair shop Vending services Dental services Roofing Services

People
Clogged pipes People People People Cars People People People Car owners People People Roofs

Checkout clerk
Plumber Cashier Airline agent Stock broker Pump Telephone agent Technical representative Travel agent Mechanic Vending machine Dentist Roofer

Examples of Internal Service Systems That Are Queueing Systems


Type of System Secretarial services Copying services Computer programming services Mainframe computer First-aid center Customers Employees Employees Employees Employees Employees Server(s) Secretary Copy machine Programmer Computer Nurse

Faxing services
Materials-handling system Maintenance system Inspection station

Employees
Loads Machines Items

Fax machine
Materials-handling unit Repair crew Inspector

Production system
Semiautomatic machines Tool crib

Jobs
Machines Machine operators

Machine
Operator Clerk

Examples of Transportation Service Systems That Are Queueing Systems


Type of System Highway tollbooth Truck loading dock Port unloading area Airplanes waiting to take off Airplanes waiting to land Airline service Taxicab service Elevator service Fire department Parking lot Ambulance service Customers Cars Trucks Ships Airplanes Airplanes People People People Fires Cars People Server(s) Cashier Loading crew Unloading crew Runway Runway Airplane Taxicab Elevator Fire truck Parking space Ambulance

Choosing a Measure of Performance


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.

Defining the 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.

Relationship between L, W, Lq, and Wq


Since 1/m is the expected service time W = Wq + 1/m

Littles formula states that


L = lW and Lq = lWq

Combining the above relationships leads to L = Lq + l/m

Using Probabilities as Measures of 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

The Dupit Corp. Problem


The Dupit Corporation is a longtime leader in the office photocopier marketplace. Dupit Dupits service division is responsible for providing support to the customers by promptly repairing the machines when needed. This is done by the companys service technical representatives, or tech reps.

Current policy: Each tech reps 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.

Alternative Approaches to the Problem


Approach Suggested by John Phixitt: Modify the current policy by decreasing the percentage of time that tech reps are expected to be repairing machines. John

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 companys other customers.

The Queueing System for Each Tech Rep


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.)

Notation for Single-Server Queueing Models

= Mean arrival rate for customers = Expected number of arrivals per unit time

1/l = expected interarrival time

= Mean service rate (for a continuously busy server) = Expected number of service completions per unit time

1/m = expected service time

= the utilization factor = the average fraction of time that a server is busy serving customers =l/m

The M/M/1 Model


Assumptions
1. Interarrival times have an exponential distribution with a mean of 1/l. 2. Service times have an exponential distribution with a mean of 1/m. 3. The queueing system has one server.

The expected number of customers in the system is L = r / (1 r) = l / (m l) The expected waiting time in the system is W = (1 / l)L = 1 / (m l) The expected waiting time in the queue is Wq = W 1/m = l / [m(m l)]

The expected number of customers in the queue is


Lq = lWq = l2 / [m(m l)] = r2 / (1 r)

The M/M/1 Model


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 : : P(W > t) = em(1r)t for t 0 The probability that the waiting time in the queue exceeds t is P(Wq > t) = rem(1r)t for t 0

The probability that the waiting time in the system exceeds t is

M/M/1 Queueing Model for the Dupits Current Policy


B 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 l m s= Pr(W > t) = w hen t = Prob(W q > t) = w hen t = C Data 3 4 1 0.368 1 0.276 1 D (mean arrival rate) (mean service rate) (# servers) E G L= Lq = W= Wq = r n 0 1 2 3 4 5 6 7 8 9 10 H Results 3 2.25 1 0.75 0.75 Pn 0.25 0.1875 0.1406 0.1055 0.0791 0.0593 0.0445 0.0334 0.0250 0.0188 0.0141

John Phixitts Approach (Reduce Machines/Rep)


The proposed new service standard is that the average waiting time before service begins be two hours (i.e., Wq 1/4 day).

John Phixitts suggested approach is to lower the tech reps 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.

M/M/1 Model for John Phixitts Suggested Approach (Reduce Machines/Rep)


B 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 l m s= Pr(W > t) = w hen t = Prob(W q > t) = w hen t = C Data 2 4 1 0.135 1 0.068 1 D (mean arrival rate) (mean service rate) (# servers) E G L= Lq = W= Wq = r n 0 1 2 3 4 5 6 7 8 9 10 H Results 1 0.5 0.5 0.25 0.5 Pn 0.5 0.25 0.1250 0.0625 0.0313 0.0156 0.0078 0.0039 0.0020 0.0010 0.0005

The M/G/1 Model


Assumptions
1. Interarrival times have an exponential distribution with a mean of 1/l. 2. Service times can have any probability distribution. You only need the mean (1/m) and standard deviation (s). 3. The queueing system has one server.

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

The Values of s and Lq for the M/G/1 Model with Various Service-Time Distributions
Distribution Exponential Degenerate (constant) Erlang, with shape parameter k Mean 1/m 1/m 1/m s 1/m 0 (1/k) (1/m) Model M/M/1 M/D/1 M/Ek/1 Lq r2 / (1 r) (1/2) [r2 / (1 r)] (k+1)/(2k) [r2 / (1 r)]

VP for Engineering Approach (New Equipment)


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.

M/G/1 Model for the VP of Engineering Approach (New Equipment)

B 3 4 5 6 7 8 9 10 11 12 l 1/m s s=

C Data 3 0.2 0.1 1

D (mean arrival rate) (expected service time) (standard deviation) (# servers)

F L= Lq = W= Wq = r P0 =

G Results 1.163 0.563 0.388 0.188 0.6 0.4

The M/M/s Model


Assumptions
1. Interarrival times have an exponential distribution with a mean of 1/l. 2. Service times have an exponential distribution with a mean of 1/m. 3. Any number of servers (denoted by s).

With multiple servers, the formula for the utilization factor becomes r = l / sm but still represents that average fraction of time that individual servers are busy.

Values of L for the M/M/s Model for Various Values of s


Steady-state expected number of customers in the queueing sys tem 100

10

s = 25 s = 20 s = 15 s = 10 s =7 s =5 s =4 s =3 s =2 s =1 0 0.1 1.0 rl sm

0.5 0.2 0.1

0.3

0.5 0.7 Utilization factor

0.9

CFO Suggested Approach (Combine Into Teams)


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 Mean arrival rate = l = 6 Mean service rate = m = 4 Number of servers = s = 2 Utilization factor = r = l/sm = 0.75 (versus 150 before) (versus l = 3 before) (as before) (versus s = 1 before) (as before)

M/M/s Model for the CFOs Suggested Approach (Combine Into Teams of Two)
B 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 l m s= Pr(W > t) = w hen t = Prob(W q > t) = w hen t = C Data 6 4 2 0.169 1 0.087 1 D (mean arrival rate) (mean service rate) (# servers) E G L= Lq = W= Wq = r n 0 1 2 3 4 5 6 7 8 9 10 H Results 3.4286 1.9286 0.5714 0.3214 0.75 Pn 0.1429 0.2143 0.1607 0.1205 0.0904 0.0678 0.0509 0.0381 0.0286 0.0215 0.0161

CFO Suggested Approach (Teams of Three)


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 Mean arrival rate = l = 9 Mean service rate = m = 4 Number of servers = s = 3 Utilization factor = r = l/sm = 0.75 (versus 150 before) (versus l = 3 before) (as before) (versus s = 1 before) (as before)

M/M/s Model for the CFOs Suggested Approach (Combine Into Teams of Three)
B 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 l m s= Pr(W > t) = w hen t = Prob(W q > t) = w hen t = C Data 9 4 3 0.090 1 0.028 1 D (mean arrival rate) (mean service rate) (# servers) E G L= Lq = W= Wq = r n 0 1 2 3 4 5 6 7 8 9 10 H Results 3.9533 1.7033 0.4393 0.1893 0.75 Pn 0.0748 0.1682 0.1893 0.1419 0.1065 0.0798 0.0599 0.0449 0.0337 0.0253 0.0189

Comparison of Wq with Territories of Different Sizes

Number of Tech Reps 1 2 3

Number of Machines 150 300 450

l
3 6 9

m
4 4 4

s
1 2 3

r
0.75 0.75 0.75

Wq
0.75 workday (6 hours) 0.321 workday (2.57 hours) 0.189 workday (1.51 hours)

Values of L for the M/D/s Model for Various Values of s


Steady-state expected number of c ustomers in the queueing system 100

10

s = 25 s = 20 s = 15 s = 10 s =7 s =5

1.0

s =4 s =3 s =2 s =1

0.1

0.1

0.3

0.5 0.7 Utilization factor

0.9

1.0 rl sm

Values of L for the M/Ek/2 Model for Various Values of k


Steady-state expected number of customers in the queueing sys tem 100

k=1 10 k=2 k=8

1.0

0.1

0.2

0.4

0.6 0.8 Utilization factor

1.0

rl sm

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. 12

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.

Preemptive Priorities Queueing Model


Additional Assumptions
1. Preemptive priorities are used as previously described. 2. 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. 3. All service times have an exponential distribution with a mean of 1/m, regardless of the priority class involved. 4. The queueing system has a single server.

The utilization factor for the server is r = (l1 + l2 + + ln) / m

Nonpreemptive Priorities Queueing Model


Additional Assumptions
1. Nonpreemptive priorities are used as previously described. 2. 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. 3. All service times have an exponential distribution with a mean of 1/m, regardless of the priority class involved. 4. The queueing system can have any number of servers.

The utilization factor for the servers is r = (l1 + l2 + + ln) / sm

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 l2 = 2 customers (other machines) per workday (now) (now)

The proportion of printer-copiers is expected to increase, so in a couple years


l1 = 1.5 customers (printer-copiers) per workday l2 = 1.5 customers (other machines) per workday (later) (later)

Nonpreemptive Priorities Model for VP of Marketings Approach (Current Arrival Rates)


B 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 Priority Class Priority Class Priority Class Priority Class Priority Class 1 2 3 4 5 n= m s= C Data 2 4 1 D (# of priority classes) (mean service rate) (# servers) Results li 1 2 1 1 1 3 0.75 L 0.5 2.5 #DIV/0! #DIV/0! 1.75 Lq 0.25 2 #DIV/0! #DIV/0! 1.5 W 0.5 1.25 #DIV/0! #DIV/0! 1.75 Wq 0.25 1 #DIV/0! #DIV/0! 1.5 E F G

l r

Nonpreemptive Priorities Model for VP of Marketings Approach (Future Arrival Rates)


B 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 Priority Class Priority Class Priority Class Priority Class Priority Class 1 2 3 4 5 n= m s= C Data 2 4 1 D (# of priority classes) (mean service rate) (# servers) Results li 1.5 1.5 1 1 1 3 0.75 L 0.825 2.175 #DIV/0! #DIV/0! 1.75 Lq 0.45 1.8 #DIV/0! #DIV/0! 1.5 W 0.55 1.45 #DIV/0! #DIV/0! 1.75 Wq 0.3 1.2 #DIV/0! #DIV/0! 1.5 E F G

l r

Expected Waiting Times with Nonpreemptive Priorities

When

l1

l2

Wq for Printer Copiers

Wq for Other Machines

1
1 2

Now
Later Now

1
1.5 2

2
1.5 4

4
4 4

0.75
0.75 0.75

0.25 workday (2 hrs.)


0.3 workday (2.4 hrs.) 0.107 workday (0.86 hr.)

1 workday (8 hrs.)
1.2 workday (9.6 hrs.) 0.439 workday (3.43 hrs.)

2
3 3

Later
Now Later

3
3 4.5

3
6 4.5

4
4 4

0.75
0.75 0.75

0.129 workday (1.03 hrs.)


0.063 workday (0.50 hr.) 0.076 workday (0.61 hr.)

0.514 workday (4.11 hrs.)


0.252 workday (2.02 hrs.) 0.303 workday (2.42 hrs.)

The Four Approaches Under Considerations


Proposer John Phixitt Proposal Additional Cost

Maintain one-person territories, but $300 million per year reduce number of machines assigned to each from 150 to 100 Keep current one-person territories, but provide new state-of-the-art equipment to the tech-reps One-time cost of $500 million

VP for Engineering

Chief Financial Officer

Change to three-person territories

None, except disadvantages of larger territories


None, except disadvantages of larger territories

VP for Marketing

Change to two-person territories with priority given to the printercopiers for repairs

Decision: Adopt fourth proposal (except for sparsely populated areas where second proposal should be adopted).

Some Insights About Designing Queueing Systems


1. 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. 2. Decreasing the variability of service times (without any change in the mean) improves the performance of a queueing system substantially. 3. 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. 4. Applying priorities when selecting customers to begin service can greatly improve the measures of performance for high-priority customers.

Effect of High-Utilization Factors (Insight 1)


B 3 4 5
A 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 B

l m
C

C Data 0.5 1
D

D (mean arrival rate) (mean service rate)


E

G L= Lq =

H Results 1 0.5

Data Table De monstrating the Effe ct of Incre asingr on Lq and L for M /M /1


l r 1 0 0.01 0 0.25 0 0.5 0 0.6 0 0.7 0 0.75 0 0.8 0 0.85 0 0.9 0 0.95 0 0.99 0 0.999 Lq 0.5 0.0001 0.0833 0.5 0.9 1.6333 2.25 3.2 4.8167 8.1 18.05 98.01 998.001 L 1 0.0101 0.3333 1 1.5 2.3333 3 4 5.6667 9 19 99 999

Average Line Length (L)

100 80 60 40 20 0 0 0.2 0.4 0.6 0.8 1 System Utilization (r)

Effect of Decreasing s (Insight 2)


A 1 2 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 F G H

Te mplate for the M /G/1 Que ue ing M ode l


l 1/m s s= Data 0.5 1 0.5 1 Results L= 0.8125 Lq = 0.3125 W= Wq = r P0 = 1.625 0.625 0.5 0.5

(mean arrival rate) (expected service time) (standard deviation) (# servers)

Data Table De monstrating the Effe ct of De cre asing s on Lq for M /G/1


Body of Table Show s L q Values s 0.5 0.313 1.406 5.063 61.256

r (l)

0.3125 0.5 0.75 0.9 0.99

1 0.500 2.250 8.100 98.010

0 0.250 1.125 4.050 49.005

Economic Analysis of the Number of Servers to Provide


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

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.

Excel Template for Choosing the Number of Servers


B 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 l m s= C Data 120 80 3 D (mean arrival rate) (mean service rate) (# servers) E F L= Lq = W= Wq = r Prob(W q > t) = 0.00058707 w hen t = 0.05 Economic Analysis: Cs = Cw = Cost of Service Cost of Waiting Total Cost n 0 1 2 3 4 5 6 7 Pn 0.210526316 0.315789474 0.236842105 0.118421053 0.059210526 0.029605263 0.014802632 0.007401316 G Results 1.736842105 0.236842105 0.014473684 0.001973684 0.5

Pr(W > t) = 0.02581732 w hen t = 0.05

$20.00 $48.00 $60.00 $83.37 $143.37

(cost / server / unit time) (w aiting cost / unit time)

Comparing Expected Cost vs. Number of Clerks


H 1 2 3 4 5 6 7 8 9 10 I J K L M N

Data Table for Expe cted Total Cost of Alte rnative s


Cost of Service $60.00 $20.00 $40.00 $60.00 $80.00 $100.00 Cost of Waiting $83.37 #N/A $164.57 $83.37 $74.15 $72.41 Total Cost $143.37 #N/A $204.57 $143.37 $154.15 $172.41

s 1 2 3 4 5

r 0.50 1.50 0.75 0.50 0.38 0.30

L 1.74 #N/A 3.43 1.74 1.54 1.51

$250

Cost ($/hour)

$200 $150 $100 $50 $0 0 1 2 3 4 5 Number of Servers (s)

Cost of Service Cost of Waiting Total Cost

Das könnte Ihnen auch gefallen