# Waiting Lines Essay

## Waiting Lines

The central problem in virtually every waiting line situation is a trade-off decision. The manager must weigh the added cost of providing more rapid service (more trafﬁc lanes, additional landing strips, more checkout stands) against the inherent cost of waiting. Frequently, the cost trade-off decision is straightforward. For example, if we ﬁnd that the total time our employees spend in the line waiting to use a copying machine would otherwise be spent in productive activities, we could compare the cost of installing one additional machine to the value of employee time saved.

The decision could then be reduced to dollar terms and the choice easily made. On the other hand, suppose that our waiting line problem centers on demand for beds in a hospital. We can compute the cost of additional beds by summing the costs for building construction, additional equipment required, and increased maintenance. But what is on the other side of the scale? Here we are confronted with the problem of trying to place a dollar ﬁgure on a patient’s need for a hospital bed that is unavailable. While we can estimate lost hospital income, what about the human cost arising from this lack of adequate hospital care?

PRODUCT DESIGN AND PROCESS SELECTION

COST-EFFECTIVENESS BAL ANCE Exhibit TN6.1 shows the essential trade-off relationship under typical (steady-state) customer trafﬁc conditions. Initially, with minimal service capacity, the waiting line cost is at a maximum. As service capacity is increased, there is a reduction in the number of customers in the line and in their waiting times, which decreases waiting line cost. The variation in this function is often represented by the negative exponential curve.

The cost of installing service capacity is shown simplistically as a linear rather than step function. The aggregate or total cost is shown as a U-shaped curve, a common approximation in such equilibrium problems. The idealized optimal cost is found at the crossover point between the service capacity and waiting line curves.

THE PRACTICAL VIEW

OF WAITING LINES Before we proceed with a technical presentation of waiting line theory, it is useful to look at the intuitive side of the issue to see what it means. Exhibit TN6.2 shows arrivals at a service facility (such as a bank) and service requirements at that facility (such as tellers and loan ofﬁcers). One important variable is the number of arrivals over the hours that the service system is open. From the service delivery viewpoint, customers demand varying amounts of service, often exceeding normal capacity. We can control arrivals in a variety of ways.

For example, we can have a short line (such as a drive-in at a fast-food restaurant with only several spaces), we can establish speciﬁc hours for speciﬁc customers, or we

can run specials. For the server, we can affect service time by using faster or slower servers, faster or slower machines, different tooling, different material, different layout, faster setup time, and so on.

SUGGESTIONS FOR MANAGING QUEUES

The following are some useful suggestions for managing queues that go beyond the quantitative waiting line models. 1 Determine an acceptable waiting time for your customers. How long do your customers expect to wait? Set operational objectives based on what is acceptable. 2 Try to divert your customer’s attention when waiting. Providing music, a video, or some other form of entertainment may help to distract the customers from the fact they are waiting. 3 Inform your customers of what to expect. This is especially important when the waiting time will be longer than normal.

Tell them why the waiting time is longer than normal and what you are doing to alleviate the queue. 4 Keep employees not serving the customers out of sight. Nothing is more frustrating to someone waiting in line than to see employees, who potentially could be serving those in line, working on other activities. 5 Segment customers. If a group of customers needs something that can be done very quickly, give them a special line so they do not have to wait for the slower customers. SOURCE: BASED PP. 51–52.

Train your servers to be friendly. Greeting the customer by name, or providing some other special attention, can go a long way toward overcoming

the negative feeling of a long wait. [Hint: Rather than servers being told to just “be friendly,” psychologists suggest they be told when to invoke specific friendly actions such as smiling—when greeting customers, when taking orders, and when giving change (in a convenience store). Tests using such specific behavioral actions have shown significant increases in perceived friendliness of the servers in the eyes of the customer.] Encourage customers to come during the slack periods. Inform customers of times when they usually would not have to wait; also tell them when the peak periods are— this may help to smooth the load.

Take a long-term perspective toward getting rid of the queues. Develop plans for alternative ways to serve your customers. Where appropriate, develop plans for automating or speeding up the process in some manner. This is not to say you want to eliminate personal attention; some customers expect this. WAITING-IN-LINE BLUES,” SLOAN MANAGEMENT REVIEW, WINTER 1991,

The essential point is waiting lines are not a ﬁxed condition of a productive system but are to a very large extent within the control of the system management and design. Professor Richard Larson (the famous “wait-watcher”) and his colleagues offer useful suggestions for managing queues based on their research in the banking industry. (See the box titled “Suggestions for Managing Queues.”)

THE QUEUING SYSTEM

● ● ● The queuing system consists essentially of three major components: (1) the source population and the way customers arrive at the system, (2) the servicing system, and (3) the condition of the customers exiting the system (back to source population or not?), as seen in Exhibit TN6.3. The following

sections discuss each of these areas. Queuing system

CUSTOMER ARRIVALS

Arrivals at a service system may be drawn from a ﬁnite or an inﬁnite population. The distinction is important because the analyses are based on different premises and require different equations for their solution. F i n i t e P o p u l a t i o n A ﬁnite population refers to the limited-size customer pool that will use the service and, at times, form a line.

The reason this ﬁnite classiﬁcation is important is that when a customer leaves its position as a member for the population (a machine breaking down and requiring service, for example), the size of the user group is reduced by one, which reduces the probability of the next occurrence. Conversely, when a customer is serviced and returns to the user group, the population increases and the probability of a user requiring service also increases. This ﬁnite class of problems requires a separate set of formulas from that of the inﬁnite population case. Population source

PRODUCT DESIGN AND PROCESS SELECTION

EXHIBIT TN6.3 Components of a Queuing System

Servicing System Waiting line Servers Exit Customer arrivals

As an example, consider a group of six machines maintained by one repairperson. When one machine breaks down, the source population is reduced to ﬁve, and the chance of one of the remaining ﬁve breaking down and needing repair is certainly less than when six machines were operating. If two machines are down with only four operating, the probability of another breakdown is again changed. Conversely, when a machine is repaired and returned to service, the machine population increases, thus raising the probability of the next breakdown.

A ﬁnite population model with one server that can be used in such cases is presented in Exhibits TN6.8 and TN6.10. I n f i n i t e P o p u l a t i o n An inﬁnite population is large enough in relation to the service system so that the population size caused by subtractions or additions to the population (a customer needing service or a serviced customer returning to the population) does not signiﬁcantly affect the system probabilities. If, in the preceding ﬁnite explanation, there were 100 machines instead of six, then if one or two machines broke down, the probabilities for the next breakdowns would not be very different and the

assumption could be made without a great deal of error that the population (for all practical purposes) was inﬁnite. Nor would the formulas for “inﬁnite” queuing problems cause much error if applied to a physician with 1,000 patients or a department store with 10,000 customers.

tions M era

OF ARRIVALS When describing a waiting system, we need to deﬁne the manner in which customers or the waiting units are arranged for service. Waiting line formulas generally require an arrival rate, or the number of units per period (such as an average of one every six minutes).

A constant arrival distribution is periodic, with exactly the same time between successive arrivals. In productive systems, the only arrivals that truly approach a constant interval period are those subject to machine control. Much more common are variable (random) arrival distributions. In observing arrivals at a service facility, we can look at them from two viewpoints: First, we can analyze the time between successive arrivals to see if the times follow some statistical distribution. Usually we assume that the time between arrivals is exponentially distributed.

Second, we can set some time length (T ) and try to determine how many arrivals might enter the system within T. We typically assume that the number of arrivals per time unit is Poisson distributed. E x p o n e n t i a l D i s t r i b u t i o n In the ﬁrst case, when arrivals at a service facility occur in a purely random fashion, a plot of the interarrival times yields an exponential distribution such as that shown in Exhibit TN6.4. The probability function is [TN6.1]

WAITING LINE MANAGEMENT

technical note

EXHIBIT TN6.4 Exponential Distribution

The cumulative area beneath the curve in Exhibit TN6.4 is the summation of equation (TN6.1) over its positive range, which is e−λt. This integral allows us to compute the probabilities of arrivals within a speciﬁed time. For example, for the case of single arrivals to a waiting line (λ = 1), the following table can be derived either by solving e−λt or by using Appendix F. Column 2 shows the probability that it will be more than t minutes until the next arrival.

Column 3 shows the probability of the next arrival within t minutes (computed as 1 minus column 2) (1) (2) PROBABILITY THAT THE NEXT ARRIVAL WILL OCCUR IN t MINUTES OR MORE (FROM APPENDIX F OR SOLVING e−t) 1.00 0.61 0.37 0.22 0.14 (3) PROBABILITY THAT THE NEXT ARRIVAL WILL OCCUR IN t MINUTES OR LESS [1 − COLUMN (2)] 0 0.39 0.63 0.78 0.86

t (MINUTES) 0 0.5 1.0 1.5 2.0

P o i s s o n D i s t r i b u t i o n In the second case, where one is interested in the number of arrivals during some time period T, the distribution appears as in Exhibit TN6.5 and is obtained by ﬁnding the probability of exactly n arrivals during T. If the arrival process is

random, the distribution is the Poisson, and the formula is [TN6.2]

Poisson distribution

Equation (TN6.2) shows the probability of exactly n arrivals in time T.1 For example, if the mean arrival rate of units into a system is three per minute (λ = 3) and we want to ﬁnd the probability that exactly ﬁve units will arrive within a one-minute period (n = 5, T = 1), we have P1 (5) = 35 e−3 (3 × 1)5 e−3×1 = = 2.025e−3 = 0.101 5! 120

That is, there is a 10.1 percent chance that there will be ﬁve arrivals in any one-minute interval. Although often shown as a smoothed curve, as in Exhibit TN6.5, the Poisson is a discrete distribution. (The curve becomes smoother as n becomes large.) The distribution is discrete because n refers, in our example, to the number of arrivals in a system, and this must be an integer. (For example, there cannot be 1.5 arrivals.) Also note that the exponential and Poisson distributions can be derived from one another. The mean and variance of the Poisson are equal and denoted by λ. The mean of the

PRODUCT DESIGN AND PROCESS SELECTION

EXHIBIT TN6.5 Poisson Distribution for λT = 3

Probability .20 of n arrivals in time T .10 .05 0 1 2 3 4 5 6 8 Number of arrivals (n ) 10 12

EXHIBIT TN6.6 Customer Arrivals in Queues

Distribution Constant Exponential or Poisson Other Controllable Pattern Uncontrollable Single Size of arrival Batch Patient (in line and stay) Degree of patience Impatient Arrive, wait awhile, then leave Arrive, view, and leave

exponential is 1/λ and its variance is 1/λ2. (Remember that the time between arrivals is exponentially distributed and the number of arrivals per unit of time is Poisson distributed.) Other arrival characteristics include arrival patterns, size of arrival units, and degree of patience. (See Exhibit TN6.6.) Arrival patterns The arrivals at a system are far more controllable than is generally recognized. Barbers may decrease their Saturday arrival rate (and supposedly shift it to other days of the week) by charging an extra $1 for adult haircuts or charging adult prices for children’s haircuts.

Department stores run sales during the off-season or hold one-dayonly sales in part for purposes of control. Airlines offer excursion and off-season rates for similar reasons. The simplest of all arrival-control devices is the posting of business hours. Some service demands are clearly uncontrollable, such as emergency medical demands on a city’s hospital facilities. But even in these situations, arrivals at emergency rooms in speciﬁc hospitals are controllable to some extent by, say, keeping ambulance drivers in the service region informed of the status of their respective host hospitals. Size of arrival units A single arrival may be thought of as one unit. (A unit is the smallest number handled.) A single arrival on the ﬂoor of the New York Stock Exchange

FACTORS SUCH AS LINE LENGTH, CAPACITY, AND

NUMBER OF LINES MUST BE CONSIDERED WHEN DESIGNING A QUEUING SYSTEM.

MULTIPLE LINES

WITH PEOPLE COUNTERS TO KEEP TRACK OF THE PARK’S CAPACITY ARE USED AT THE ENTRANCE TO SIX FLAGS MAGIC MOUNTAIN, VALENCIA, CA.

(NYSE) is 100 shares of stock; a single arrival at an egg-processing plant might be a dozen eggs or a ﬂat of 21⁄2 dozen; a single arrival at a restaurant is a single person. A batch arrival is some multiple of the unit, such as a block of 1,000 shares on the NYSE, a case of eggs at the processing plant, or a party of ﬁve at a restaurant. Degree of patience A patient arrival is one who waits as long as necessary until the service facility is ready to serve him or her. (Even if arrivals grumble and behave impatiently, the fact that they wait is sufﬁcient to label them as patient arrivals for purposes of waiting line theory.) There are two classes of impatient arrivals.

Members of the ﬁrst class arrive, survey both the service facility and the length of the line, and then decide to leave. Those in the second class arrive, view the situation, join the waiting line, and then, after some period of time, depart. The behavior of the ﬁrst type is termed balking, while the second is termed reneging.

THE QUEUING SYSTEM: FACTORS

The queuing system consists primarily of the waiting line(s) and the available number of servers. Here we discuss issues pertaining to waiting line characteristics and management, line structure, and service rate. Factors to consider with waiting lines include the line length, number of lines, and queue discipline. Length In a practical sense, an inﬁnite line is simply one that is very long in terms of the capacity of the service system. Examples of inﬁnite potential length are a line of vehicles backed up for miles at a bridge crossing and customers who must form a line around the block as they wait to purchase tickets at a theater. Gas stations, loading docks, and parking lots have limited line capacity caused by legal restrictions or physical space characteristics.

This complicates the waiting line problem not only in service system utilization and waiting line computations but also in the shape of the actual arrival distribution. The arrival denied entry into the line because of lack of space may rejoin the population for a later try or may seek service elsewhere. Either action makes an obvious difference in the ﬁnite population case. Number of lines A single line or single ﬁle is, of course, Line length one line only.

The term multiple lines refers to the single lines that form in front of two or more servers or to single lines that converge at some central redistribution point. The disadvantage of multiple lines in a busy facility is that arrivals often Number of lines shift lines if several previous services have been of short duration or if those customers currently in other lines appear to require a short service time.

Infinite potential length Limited capacity Single Multiple

PRODUCT DESIGN AND PROCESS SELECTION

Queue discipline A queue discipline is a priority rule or set of rules for determining the order of service to customers in a waiting line. The rules selected can have a dramatic effect on the system’s overall performance. The number of customers in line, the average waiting time, the range of variability in waiting time, and the efﬁciency of the service facility are just a few of the factors affected by the choice of priority rules.

Probably the most common priority rule is ﬁrst come, ﬁrst served (FCFS). This rule states that customers in line are served on the basis of their chronological arrival; no other characteristics have any bearing on the selection process. This is popularly accepted as the fairest rule, although in practice it discriminates against the arrival requiring a short service time.

First come, first served Shortest processing time Reservations first Queue discipline Emergencies first Limited needs Other

Reservations ﬁrst, emergencies ﬁrst, highest-proﬁt customer ﬁrst, largest orders ﬁrst, best customers ﬁrst, longest waiting time in line, and soonest promised date are other examples of priority rules. There are two major practical problems in using any rule: One is ensuring that customers know and follow the rule. The other is ensuring that a system exists to enable employees to manage the line (such as take-a-number systems).

S e r v i c e T i m e D i s t r i b u t i o n Another important feature of the waiting structure is the time the customer or unit spends with the server once the service has started. Waiting line formulas generally specify service rate as the capacity of the server in number of units per time period (such as 12 completions per hour) and not as service time, which might average ﬁve minutes each.

A constant service time rule states that each service takes exactly the same time. As in constant arrivals, this characteristic is generally limited to machinecontrolled operations. When service times are random, they can be approximated by the exponential distribution. When using the exponential distribution as an approximation of the service times, we will refer to µ as the average number of units or customers that can be served per time period. L i n e S t r u c t u r e s As Exhibit TN6.7 shows, the ﬂow of items to be serviced may go through a single line, multiple lines, or some mixtures of the two.

The choice of format depends partly on the volume of customers served and partly on the restrictions imposed by sequential requirements governing the order in which service must be performed. 1 Single channel, single phase This is the simplest type of waiting line structure, and straightforward formulas are available to solve the problem for standard distribution patterns of arrival and service. When the distributions are nonstandard, the problem is easily solved by computer simulation.

A typical example of a single-channel, single-phase situation is the one-person barbershop. 2 Single channel, multiphase A car wash is an illustration because a series of services (vacuuming, wetting, washing, rinsing, drying, window cleaning, and parking) is performed in a fairly uniform sequence. A critical factor in the single-channel case with service

Single phase Multi-to-single channel Multiphase Mixed Alternative paths, such as:

in series is the amount of buildup of items allowed in front of each service, which in turn constitutes separate waiting lines. 3 Multichannel, single phase Tellers’ windows in a bank and checkout counters in high-volume department stores exemplify this type of structure. The difﬁculty with this format is that the uneven service time given each customer results in unequal speed or ﬂow among the lines. This results in some customers being served before others who arrived earlier, as well as in some degree of line shifting.

Varying this structure to ensure the servicing of arrivals in chronological order would require forming a single line, from which, as a server becomes available, the next customer in the queue is assigned. The major problem of this structure is that it requires rigid control of the line to maintain order and to direct customers to available servers. In some instances, assigning numbers to customers in order of their arrival helps alleviate this problem. 4 Multichannel, multiphase This case is similar to the preceding one except that two or more services are performed in sequence.

The admission of patients in a hospital follows this pattern because a speciﬁc sequence of steps is usually followed: initial contact at the admissions desk, ﬁlling out forms, making identiﬁcation tags, obtaining a room assignment, escorting the patient to the room, and so forth. Because several servers are usually available for this procedure, more than one patient at a time may be processed. 5 Mixed Under this general heading we consider two subcategories: (1) multiple-tosingle channel structures and (2) alternative path structures.

Under (1), we ﬁnd either lines that merge into one for single-phase service, as at a bridge crossing where two lanes merge into one, or lines that merge into one for multiphase service, such as subassembly lines feeding into a main line. Under (2), we encounter two structures that differ in directional ﬂow requirements. The ﬁrst is similar to the multichannel–multiphase case, except that

PRODUCT DESIGN AND PROCESS SELECTION

(a) there may be switching from one channel to the next after the ﬁrst

service has been rendered and (b) the number of channels and phases may vary—again—after performance of the ﬁrst service.

EXIT

Once a customer is served, two exit fates are possible: (1) The customer may return to the source population and immediately become a competing candidate for service again or (2) there may be a low probability of reservice. The ﬁrst case can be illustrated by a machine that has been routinely repaired and returned to duty but may break down again; the second can be illustrated by a machine that has been overhauled or modiﬁed and has a low probability of reservice over the near future. In a lighter vein, we might refer to the ﬁrst as the “recurring-common-cold case” and to the second as the “appendectomy-only-once case.”

Low probability of reservice Exit Return to source population

It should be apparent that when the population source is ﬁnite, any change in the service performed on customers who return to the population modiﬁes the arrival rate at the service facility. This, of course, alters the characteristics of the waiting line under study and necessitates reanalysis of the problem.

WA I T I N G L I N E M O D E L S

● ● ● In this section we present four sample waiting line problems followed by their solutions. Each has a slightly different structure (see Exhibit TN6.8) and solution equation (see Exhibit TN6.10). There are more types of models than these four, but the formulas and solutions become quite complicated, and those problems are generally solved using computer simulation (see Technical Note 15). Also, in using these formulas, keep in mind that they are steady-state formulas derived on the assumption that the process under study is ongoing.

Thus, they may provide inaccurate results when applied to processes where the arrival rates and/or service rates change over time. The Excel Spreadsheet Queue.xls, developed by John McClain of Cornell University and included on the CD-ROM, can be used to solve these problems.

EXHIBIT TN6.8

MODEL 1 LAYOUT Single channel SERVICE PHASE Single

Properties of Some Specific Waiting Line Models

SOURCE POPULATION Infinite ARRIVAL PATTERN Poisson QUEUE DISCIPLINE FCFS SERVICE PATTERN Exponential PERMISSIBLE QUEUE LENGTH Unlimited TYPICAL EXAMPLE Drive-in teller at bank; one-lane toll bridge Roller coaster rides in amusement park Parts counter in auto agency Machine breakdown and repair in a factory

WAITING LINE MANAGEMENT

Here is a quick preview of our four problems to illustrate each of the four waiting line models in Exhibits TN6.8 and TN6.10. Exhibit TN6.9 deﬁnes the notations used in Exhibit TN6.10.

Notations for Equations (Exhibit TN6.10)

INFINITE QUEUING NOTATION: MODELS 1–3 λ = Arrival rate µ = Service rate 1 = Average service time µ 1 = Average time between arrivals λ ρ = Ratio of total arrival rate to service rate for a single λ ∗ server µ Lq = Average number waiting in line Ls = Average number in system (including any being served) Wq = Average time waiting in line Ws = Average total time in system (including time to be served) n = Number of units in the system S = Number of identical service channels Pn = Probability of exactly n units in system Pw = Probability of waiting in line * For single-server queues this is equivalent to utilization.

EXHIBIT TN6.9

FINITE QUEUING NOTATION: MODEL 4 D = Probability that an arrival must wait in line F = Efficiency factor, a measure of the effect of having to wait in line H = Average number of units being serviced J = Population source less those in queuing system (N − n) L = Average number of units in line S = Number of service channels n = Average number of units in queuing system (including the one being served) N = Number of units in population source Pn = Probability of exactly n units in queuing system T = Average time to perform the service U = Average time between customer service requirements W = Average waiting time in line X = Service factor, or proportion of service time required

Equations for Solving Four Model Problems

(Exhibit TN6.11 provides the value of Lq given ρ = λ/µ and the number of servers S.) Model 3

Model 4 is a finite queuing situation that is most easily solved by using finite tables. These tables, in turn, require the manipulation of specific

terms. X= Pn = W= T T+U N! XnP0 (N − n)! LT L(T + U) = H N−L H = FNX L = N(1 − F) J = NF(1 − X) F= T+U T+U+W n=L+H (TN6.6)

PRODUCT DESIGN AND PROCESS SELECTION

Problem 1: Customers in line. A bank wants to know how many customers are waiting for a drive-in teller, how long they have to wait, the utilization of the teller, and what the service rate would have to be so that 95 percent of the time there will not be more than three cars in the system at any time. Problem 2: Equipment selection. A franchise for Robot Car Wash must decide which equipment to purchase out of a choice of three.

Larger units cost more but wash cars faster. To make the decision, costs are related to revenue. Problem 3: Determining the number of servers. An auto agency parts department must decide how many clerks to employ at the counter. More clerks cost more money, but there is a savings because mechanics wait less time.

Problem 4: Finite population source. Whereas the previous models assume a large population, ﬁnite queuing employs a separate set of equations for those cases where the calling customer population is small. In this last problem, mechanics must service four weaving machines to keep them operating. Based on the costs associated with machines being idle and the costs of mechanics to service them, the problem is to decide how many mechanics to use.

EXAMPLE TN6.1: Customers in Line

Serv i

Western National Bank is considering opening a drive-through window for customer service. Management estimates that customers will arrive at the rate of 15 per hour. The teller who will staff the window can service customers at the rate of one every three minutes. Part 1 1 2 3 4 5 Assuming Poisson arrivals and exponential service, ﬁnd Utilization of the teller. Average number in the waiting line. Average number in the system. Average waiting time in line. Average waiting time in the system, including service.

SOLUTION—Part 1

1 The average utilization of the teller is (using Model 1) ρ= 2 15 λ = = 75 percent µ 20

The average number in the waiting line is Lq = λ2 (15)2 = = 2.25 customers µ(µ − λ) 20(20 − 15)

The average number in the system is Ls = 15 λ = = 3 customers µ−λ 20 − 15

Average waiting time in line is Wq = Lq 2.25 = = 0.15 hour, or 9 minutes λ 15

Average waiting time in the system is Ws = Ls 3 = = 0.2 hour, or 12 minutes λ 15

WAITING LINE MANAGEMENT Part 2 Because of limited space availability and a desire to provide an acceptable level of service, the bank manager would like to ensure, with 95 percent conﬁdence, that no more than three cars will be in the system at any time. What is the present level of service for the three-car limit? What level of teller use must be attained and what must be the service rate of the teller to ensure the 95 percent level of service?

SOLUTION—Part 2

The present level of service for three or fewer cars is the probability that there are 0, 1, 2, or 3 cars in the system. From Model 1, Exhibit TN6.10. Pn = 1 − at n = 0, P0 = (1 − 15/20) at n = 1, P1 = (1/4) at n = 2, P2 = (1/4)

at n = 3, P3 = (1/4) λ µ λ µ n

(15/20)0 = 0.250 (15/20)1 = 0.188 (15/20)2 = 0.141 (15/20)3 = 0.106 0.685 or 68.5 percent

The probability of having more than three cars in the system is 1.0 minus the probability of three or fewer cars (1.0 − 0.685 = 31.5 percent). For a 95 percent service level of three or fewer cars, this states that P0 + P1 + P2 + P3 = 95 percent. 0.95 = 1 − 0.95 = 1 − λ µ λ µ λ µ 1+ 0 0.95 ≈ 0.95135 Therefore, with the utilization ρ = λ/µ of 47 percent, the probability of three or fewer cars in the system is 95 percent. To ﬁnd the rate of service required to attain this 95 percent service level, we simply solve the equation λ/µ = 0.47, where λ = number of arrivals per hour. This gives µ = 32 per hour.

That is, the teller must serve approximately 32 people per hour (a 60 percent increase over the original 20-per-hour capability) for 95 percent conﬁdence that not more than three cars will be in the system. Perhaps service may be speeded up by modifying the method of service, adding another teller, or limiting the types of transactions available at the drive-through window. Note that with the condition of 95 percent conﬁdence that three or fewer cars will be in the system, the teller will be idle 53 percent of the time.

PRODUCT DESIGN AND PROCESS SELECTION

The Robot Company franchises combination gas and car wash stations throughout the United States. Robot gives a free car wash for a gasoline ﬁll-up or, for a wash alone, charges $0.50. Past experience shows that the number of customers that have car washes following ﬁll-ups is about the same as for a wash alone. The average proﬁt on a gasoline ﬁll-up is about $0.70, and the cost of the car wash to Robot is $0.10. Robot stays open 14 hours per day. Robot has three power units and drive assemblies, and a franchisee must select the unit preferred.

Unit I can wash cars at the rate of one every ﬁve minutes and is leased for $12 per day. Unit II, a larger unit, can wash cars at the rate of one every four minutes but costs $16 per day. Unit III, the largest, costs $22 per day and can wash a car in three minutes. The franchisee estimates that customers will not wait in line more than ﬁve minutes for a car wash. A longer time will cause Robot to lose the gasoline sales as well as the car wash sale. If the estimate of customer arrivals resulting in washes is 10 per hour, which wash unit should be selected?

SOLUTION

Using unit I, calculate the average waiting time of customers in the wash line (µ for unit I = 12 per hour). From the Model 2 equations (Exhibit TN6.10), Lq = Wq = λ2 102 = = 2.08333 2µ(µ − λ) 2(12)(12 − 10) Lq 2.08333 1 = = 0.208 hour, or 12 12 minutes λ 10

For unit II at 15 per hour, Lq = Wq = 102 = 0.667 2(15)(15 − 10) 0.667 = 0.0667 hour, or 4 minutes 10

If waiting time is the only criterion, unit II should be purchased. But before we make the ﬁnal decision, we must look at the proﬁt differential between both units. 1 With unit I, some customers would balk and renege because of the 12 12 -minute wait. And, although this greatly complicates the mathematical analysis, we can gain some estimate of lost sales 1 with unit I by increasing Wq = 5 minutes or 12 hour (the average length of time customers will wait) and solving for λ. This would be the effective arrival rate of customers: Wq = Wq = λ= Lq = λ λ2 /2µ(µ −

Therefore, because the original estimate of λ was 10 per hour, an estimated 2 customers per hour will be lost. Lost proﬁt of 2 customers per hour × 14 hours × 1 ($0.70 ﬁll-up proﬁt + $0.40 wash proﬁt) 2 = $15.40 per day. Because the additional cost of unit II over unit I is only $4 per day, the loss of $15.40 proﬁt obviously warrants installing unit II. The original ﬁve-minute maximum wait constraint is satisﬁed by unit II. Therefore unit III is not considered unless the arrival rate is expected to increase.

EXAMPLE TN6.3: Determining the Number of Servers

In the service department of the Glenn-Mark Auto Agency, mechanics requiring parts for auto repair or service present their request forms at the parts department counter. The parts clerk ﬁlls a request while the mechanic waits. Mechanics arrive in a random (Poisson) fashion at the rate of 40 per hour, and a clerk can ﬁll requests at the rate of 20 per hour (exponential). If the cost for a parts clerk is $6 per hour and the cost for a mechanic is $12 per hour, determine the optimum number of clerks to staff the counter. (Because of the high arrival rate, an inﬁnite source may be assumed.) Serv i Serv i

SOLUTION

First, assume that three clerks will be used because having only one or two clerks would create inﬁnitely long lines (since λ = 40 and µ = 20). The equations for Model 3 from Exhibit TN6.10 will be used here. But ﬁrst we need to obtain the average number in line using the table of Exhibit TN6.11. Using the table and values λ/µ = 2 and S = 3, we obtain Lq = 0.8888 mechanic. At this point, we see that we have an average of 0.8888 mechanic waiting all day. For an eighthour day at $12 per hour, there is a loss of mechanic’s time worth 0.8888 mechanic × $12 per hour × 8 hours = $85.32.

Our next step is to reobtain the waiting time if we add another parts clerk. We then compare the added cost of the additional employee with the time saved by the mechanics. Again, using the table of Exhibit TN6.11 but with S = 4, we obtain Lq = 0.1730 mechanic in line 0.1730 × $12 × 8 hours = $16.61 cost of a mechanic waiting in line Value of mechanics’ time saved is $85.32 − $16.61 Cost of reduction by adding fourth clerk = $68.71 = $20.71 Cost of an additional parts clerk is 8 hours × $6/hour = 48.00

This problem could be expanded to consider the addition of runners to deliver parts to mechanics; the problem then would be to determine the optimal number of runners. This, however, would have to include the added cost of lost time caused by errors in parts receipts. For example, a mechanic would recognize a wrong part at the counter and obtain immediate correction,

whereas the parts runner might not.

EXAMPLE TN6.4: Finite Population Source

Studies of a bank of four weaving machines at the Loose Knit textile mill have shown that, on average, each machine needs adjusting every hour and that the current servicer averages 7 1 minutes per 2 adjustment. Assuming Poisson arrivals, exponential service, and a machine idle time cost of $40 per hour, determine if a second servicer (who also averages 7 1 minutes per adjustment) should be hired 2 at a rate of $7 per hour. ce

SOLUTION

This is a ﬁnite queuing problem that can be solved by using ﬁnite queuing tables. (See Exhibit TN6.12.) The approach in this problem is to compare the cost of machine downtime (either waiting in line or being serviced) and of one repairer, to the cost of machine downtime and two repairers. We do this by ﬁnding the average number of machines that are in the service system and multiply this number by the downtime cost per hour. To this we add the repairers’ cost.

Before we proceed, we ﬁrst deﬁne some terms: N = Number of machines in the population S = Number of repairers T = Time required to service a machine U = Average time a machine runs before requiring service X = Service factor, or proportion of service time required for each machine (X = T/(T + U)) L = Average number of machines waiting in line to be serviced H = Average number of machines being serviced

PRODUCT DESIGN AND PROCESS SELECTION The values to be determined from the ﬁnite tables are D = Probability that a machine needing service will have to wait F = Efﬁciency factor, which measures the effect of having to wait in line to be serviced The tables are arranged according to three variables: N, population size; X, service factor; and S, the number of service channels (repairers in this problem). To look up a value, ﬁrst ﬁnd the table for the correct N size, then search the ﬁrst column for the appropriate X, and ﬁnally ﬁnd the line for S.

Then read off D and F. (In addition to these values, other characteristics about a ﬁnite queuing system can be found by using the ﬁnite formulas.) To solve the problem, consider Case I with one repairer and Case II with two repairers. Case I: One repairer. From problem statement, N=4 S=1 T = 7 1 minutes 2 U = 60 minutes X= T 7.5 = = 0.111 T +U 7.5 + 60

From Exhibit TN6.12, which displays the table for N = 4, F is interpolated as being approximately 0.957 at X = 0.111 and S = 1. The number of machines waiting in line to be serviced is L, where L = N(1 − F) = 4(1 − 0.957) = 0.172 machine The number of machines being serviced is H, where H = FNX = 0.957(4)(0.111) = 0.425 machine Exhibit TN6.13 shows the cost resulting from unproductive machine time and the cost of the repairer.

Case II: Two repairers. From Exhibit TN6.12, at X = 0.111 and S = 2, F = 0.998. The number of machines waiting in line, L, is L = N(1 − F ) = 4(1 − 0.998) = 0.008 machine The number of machines being serviced, H, is H = FNX = 0.998(4)(0.111) = 0.443 machine The costs for the machines being idle and for the two repairers are shown in Exhibit TN6.13. The ﬁnal column of that exhibit shows that retaining just one repairer is the best choice.

EXHIBIT TN6.13

A Comparison of Downtime Costs for Service and Repair of Four Machines NUMBER OF REPAIRERS 1 2 NUMBER OF MACHINES DOWN (H + L) 0.597 0.451 COST PER HOUR

FOR MACHINES DOWN [(H + L) × $40/HOUR] $23.88 18.04 COST OF REPAIRERS ($7/HOUR EACH) $ 7.00 14.00 TOTAL COST PER HOUR $30.88 32.04

A P P R OX I M AT I N G C U S T O M E R WA I T I N G T I M E 2 ● ● ● Good news for managers. All you need is the mean and standard deviation to compute average waiting time! Some good research has led to a “quick and dirty” mathematical approximation to the queuing models illustrated earlier in the technical note. What’s nice about the approximation is that it does not assume a particular arrival rate or service distribution. All that is needed is the mean and standard deviation of the interarrival time and the service time. We will not burden you will all the details of how the approximations were derived, just how to use the formulas. First, you will need to collect some data on your service time.

The service time is the amount of time that it takes to serve each customer. Keep in mind that you want to collect your data during a period of time that fairly represents what you expect to happen during the period that you are concerned about. For example, if you want to know how many bank tellers you should have to service customers on Friday around the lunch period, collect your data during that period.

This will ensure that the transactions being performed are similar to those that you expect in the future. You can use a stop watch to time how long it takes to serve each customer. Using these data, calculate the mean and standard deviation of the service time. Recall from your statistics that the mean is N

Next, capture data on the amount of time between the arrivals of each new customer during the period of time you are studying. This is called the interarrival time. From the data, calculate the mean and standard deviation of the interarrival time. From these calculations, we have X s = Mean service time X a = Mean interarrival time Ss = Standard deviation of the service time sample Sa = Standard deviation of the interarrival time sample Next, deﬁne the following: Cs = Coefﬁcient of variation of service time = Ss Xs Sa Xa

The utilization (ρ) is the percentage of time that the servers are expected to be busy. Often companies that provide high service target this number at between 70 and 80 percent depending on the amount of variance there is in the customer arrival and service rates. Lq is how long the queue is expected to be, and Wq is how long a customer is expected to have to wait in the queue. Ls and Ws are the expected number of customers in the system and the expected time that a customer is in the system.

These statistics consider that the total number of customers and the total waiting time must include those that are actually being served. EXAMPLE TN6.5: Waiting Line Approximation Let’s consider an example of a call center that takes orders for a mail order business. During the peak period, the average time between call arrivals (X a ) is 0.5 minute with a standard deviation (σa ) of 0.203 minute. The average time to service a call (X s ) is 4 minutes and the standard deviation of the service time (σs ) is 2.5 minutes. If the call center is using 9 operators to service calls, how long would you expect customers to wait before being serviced? What would be the impact of adding an additional operator?

SOLUTION

Exc

Waitin el:

Wq is the time that we expect a customer to wait before being served. The best way to do these calculations is with a spreadsheet. The spreadsheet “Waiting Line Approximation.xls” on the CD-ROM can be easily used. The following steps are needed for the calculation of the customer wait time. Step 1. Calculate expected customer arrival rate (λ), service rate per server (µ), coefﬁcient of variation for the interarrival time (Ca ) and service time (Cs ). 1 Xa 1 Xs Sa Xa Ss Xs 1 = 2 customers per minute .5 1 = .25 customer per minute 4 .203 = .406 .5 2.5 = .625 4

With 10 operators, the waiting time is cut one-third to 14.6 seconds. If you add two operators (bringing the total to 11), the waiting time in queue is 6.4 seconds. Adding the ﬁrst additional operator has a signiﬁcant impact on customer wait time.

This approximation is useful for many typical queuing situations. It is easy to implement using a spreadsheet such as the “Waiting Line Approximation.xls” spreadsheet on the CD-ROM included with the book. Keep in mind that the approximation assumes that the population to be served is large and customers arrive one at a time. The approximation can be useful for a quick analysis of a queuing situation.

C O M P U T E R S I M U L AT I O N O F WA I T I N G L I N E S ● ● ● Some waiting line problems that seem simple on ﬁrst impression turn out to be extremely difﬁcult or impossible to solve. Throughout this supplement we have been treating waiting line situations that are independent; that is, either the entire system consists of a single phase, or else each service that is performed in a series is independent. (This could happen if the output of one service location is allowed to build up in front of the next one so that this, in essence, becomes a calling population for the next service.)

When a series of services is performed in sequence where the output rate of one becomes the input rate of the next, we can no longer use the simple formulas. This is also true for any problem where conditions do not meet the requirements of the equations, as speciﬁed in Exhibit TN6.9. The technique best suited to solving this type of problem is computer simulation. We treat the topic of modeling and simulation in Technical Note 15.

CONCLUSION

● ● ● Waiting line problems both challenge and frustrate those who try to solve them. The basic objective is to balance the cost of waiting with the cost of adding more resources. For a service system this means that the utilization of a server may be quite low to provide a

PRODUCT DESIGN AND PROCESS SELECTION

short waiting time to the customer. One main concern in dealing with waiting line problems is which procedure or priority rule to use in selecting the next product or customer to be served. Many queuing problems appear simple until an attempt is made to solve them. This technical note has dealt with the simpler problems. When the situation becomes more complex, when there are multiple phases, or where services are performed only in a particular sequence, computer simulation is necessary to obtain the optimal solution.

KEY TERMS

Queue A line of waiting persons, jobs, things, or the like. Queuing system Consists of three major components: (1) the source population and the way customers arrive at the system, (2) the serving systems, and (3) how customers exit the system. Arrival rate The expected number of customers that arrive each period.

Exponential distribution A probability distribution often associated with interarrival times. Poisson distribution Probability distribution often used to describe the number of arrivals during a given time period. Service rate The capacity of a server measured in number of units that can be processed over a given time period.

SOLVED PROBLEM 1

Quick Lube Inc. operates a fast lube and oil change garage. On a typical day,

customers arrive at the rate of three per hour, and lube jobs are performed at an average rate of one every 15 minutes. The mechanics operate as a team on one car at a time. Assuming Poisson arrivals and exponential service, ﬁnd a. b. c. d. Utilization of the lube team. The average number of cars in line. The average time a car waits before it is lubed. The total time it takes to go through the system (that is, waiting in line plus lube time).

Solution

λ = 3, µ = 4 a. Utilization ρ = b. L q = c. Wq = d. Ws = λ 3 = = 75%. µ 4

λ2 32 9 = = = 2.25 cars in line. µ(µ − λ) 4(4 − 3) 4 Lq 2.25 = = .75 hour, or 45 minutes. λ 3 Ls λ 3 = λ= 3 = 1 hour (waiting + lube). λ µ−λ 4−3

SOLVED PROBLEM 2

American Vending Inc. (AVI) supplies vended food to a large university. Because students often kick the machines out of anger and frustration, management has a constant repair problem. The machines break down on an average of three per hour, and the breakdowns are distributed in a Poisson manner. Downtime costs the company $25/hour per machine, and each maintenance worker gets $4 per hour.

One worker can service machines at an average rate of ﬁve per hour, distributed exponentially; two workers working together can service seven per hour, distributed exponentially; and a team of three workers can do eight per hour, distributed exponentially. What is the optimal maintenance crew size for servicing the machines?

PRODUCT DESIGN AND PROCESS SELECTION

Solution

Case I—One worker: λ = 3/hour Poisson, µ = 5/hour exponential There is an average number of machines in the system of Ls = λ 3 3 = = = 1 1 machines 2 µ−λ 5−3 2

Downtime cost is $25 × 1.5 = $37.50 per hour; repair cost is $4.00 per hour; and total cost per hour for 1 worker is $37.50 + $4.00 = $41.50. Downtime (1.5 × $25) = $37.50 Labor (1 worker × $4) = 4.00 $41.50 Case II—Two workers: λ = 3, µ = 7 Ls = λ 3 = = .75 machine µ−λ 7−3

Downtime (.75 × $25) = $18.75 Labor (2 workers × $4.00) = 8.00 $26.75 Case III—Three workers: λ = 3, µ = 8 Ls = λ 3 3 = = = .60 machine µ−λ 8−3 5

Downtime (.60 × $25) = $15.75 Labor (3 workers × $4) = 12.00 $27.00 Comparing the costs for one, two, or three workers, we see that Case II with two workers is the optimal decision.

SOLVED PROBLEM 3

American Bank has a single automated teller machine (ATM) located in a shopping center. Data were collected during a period of peak usage on Saturday afternoon and it was found that the average time between customer arrivals is 2.1 minutes with a standard deviation of .8 minute. It also was found it takes an average of 1.9 minutes for a customer to complete a transaction with a standard deviation of 2 minutes. Approximately how long will customers need to wait in line during the peak usage period?

DISCUSSION QUESTIONS

Cultural factors affect waiting lines. For example, fast checkout lines (e.g., 10 items or less) are uncommon in Japan. Why do you think this is so? 2 How many waiting lines did you encounter during your last airline ﬂight? 3 Distinguish between a channel and a phase. 4 What is the major cost trade-off that must be made in managing waiting line situations? 5 Which assumptions are necessary to employ the formulas given for Model 1? 6 In what way might the ﬁrst-come, ﬁrst-served rule be unfair to the customer waiting for service in a bank or hospital?

7 Deﬁne, in a practical sense, what is meant by an exponential service time. 8 Would you expect the exponential distribution to be a good approximation of service times for a. Buying an airline ticket at the airport? b. Riding a merry-go-round at a carnival? c. Checking out of a hotel? d. Completing a midterm exam in your OM class? 9 Would you expect the Poisson distribution to be a good approximation of a. Runners crossing the ﬁnish line in the Boston Marathon? b. Arrival times of the students in your OM class? c. Arrival times of the bus to your stop at school?

PROBLEMS

1 Students arrive at the Administrative Services Ofﬁce at an average of one every 15 minutes, and their requests take on average 10 minutes to be processed.

The service counter is staffed by only one clerk, Judy Gumshoes, who works eight hours per day. Assume Poisson arrivals and exponential service times. a. What percentage of time is Judy idle? b. How much time, on average, does a student spend waiting in line? c. How long is the (waiting) line on average? d. What is the probability that an arriving student (just before entering the Administrative Services Ofﬁce) will ﬁnd at least one other student waiting in line? The managers of the Administrative Services Ofﬁce estimate that the time a student spends waiting in line costs them (due to goodwill loss and so on) $10 per hour.

To reduce the time a student spends waiting, they know that they need to improve Judy’s processing time (see Problem 1). They are currently considering the following two options: a. Install a computer system, with which Judy expects to be able to complete a student request 40 percent faster (from 2 minutes per request to 1 minute and 12 seconds, for example). b. Hire another temporary clerk, who will work at the same rate as Judy.

If the computer costs $99.50 to operate per day, while the temporary clerk gets paid $75 per day, is Judy right to prefer the hired help? Assume Poisson arrivals and exponential service times. 1. a. 33.33%. b. 20 minutes. c. 1.33 students. d. 44.44%.

PRODUCT DESIGN AND PROCESS SELECTION 3 Sharp Discounts Wholesale Club has two service desks, one at each entrance of the store. Customers arrive at each service desk at an average of one every six minutes.

The service rate at each service desk is four minutes per customer. a. How often (what percentage of time) is each service desk idle? b. What is the probability that both service clerks are busy? c. What is the probability that both service clerks are idle? d. How many customers, on average, are waiting in line in front of each service desk? e. How much time does a customer spend at the service desk (waiting plus service time)? Sharp Discounts Wholesale Club is considering consolidating its two service desks (see Problem 3) into one location, staffed by two clerks.

The clerks will continue to work at the same individual speed of four minutes per customer. a. What is the probability of waiting in line? b. How many customers, on average, are waiting in line? c. How much time does a customer spend at the service desk (waiting plus service time)? d. Do you think the Sharp Discounts Wholesale Club should consolidate the service desks? Burrito King (a new fast-food franchise opening up nationwide) has successfully automated burrito production for its drive-up fast-food establishments. The Burro-Master 9000 requires a constant 45 seconds to produce a batch of burritos.

It has been estimated that customers will arrive at the drive-up window according to a Poisson distribution at an average of one every 50 seconds. To help determine the amount of space needed for the line at the drive-up window, Burrito King would like to know the expected average time in the system, the average line length (in cars), and the average number of cars in the system (both in line and at the window). The Bijou Theater in Hermosa Beach, California, shows vintage movies. Customers arrive at the theater line at the rate of 100 per hour. The ticket seller averages 30 seconds per customer, which includes placing validation stamps on customers’ parking lot receipts and punching their frequent watcher cards. (Because of these added services, many customers don’t get in until after the feature has started.)

a. What is the average customer waiting time in the system? b. What would be the effect on system waiting time of having a second ticket taker doing nothing but validations and card punching, thereby cutting the average service time to 20 seconds? c. Would system waiting time be less than you found in b if a second window was opened with each server doing all three tasks? To support National Heart Week, the Heart Association plans to install a free blood pressure testing booth in El Con Mall for the week. Previous experience indicates that, on the average, 10 persons per hour request a test.

Assume arrivals are Poisson from an inﬁnite population. Blood pressure measurements can be made at a constant time of ﬁve minutes each. Assume the queue length can be inﬁnite with FCFS discipline. a. What average number in line can be expected? b. What average number of persons can be expected to be in the system? c. What is the average amount of time that a person can expect to spend in line? d. On the average, how much time will it take to measure a person’s blood pressure, including waiting time? e. On weekends, the arrival rate can be expected to increase to over 12 per hour.

What effect will this have on the number in the waiting line? A cafeteria serving line has a coffee urn from which customers serve themselves. Arrivals at the urn follow a Poisson distribution at the rate of three per minute. In serving themselves, customers take about 15 seconds, exponentially distributed. a. How many customers would you expect to see on the average at the coffee urn? b. How long would you expect it to take to get a cup of coffee? c. What percentage of time is the urn being used? d. What is the probability that three or more people are in the cafeteria? If the cafeteria installs an automatic vendor that dispenses a cup of coffee at a constant time of 15 seconds, how does this change your answers to a and b? An engineering ﬁrm retains a technical specialist to assist four design engineers working on a project.

The help that the specialist gives engineers ranges widely in time consumption. The specialist has some answers available in memory; others require computation, and still others require signiﬁcant search time. On the average, each request for assistance takes the specialist one hour. The engineers require help from the specialist on the average of once each day. Because each assistance takes about an hour, each engineer can work for seven hours, on the average, without assistance. One further point: Engineers needing help do not interrupt if the specialist is already involved with another problem.

WAITING LINE MANAGEMENT Treat this as a ﬁnite queuing problem and answer the following questions: a. How many engineers, on average, are waiting for the technical specialist for help? b. What is the average time that an engineer has to wait for the specialist? c. What is the probability that an engineer will have to wait in line for the specialist? 10 L. Winston Martin (an allergist in Tucson) has an excellent system for handling his regular patients who come in just for allergy injections.

Patients arrive for an injection and ﬁll out a name slip, which is then placed in an open slot that passes into another room staffed by one or two nurses. The speciﬁc injections for a patient are prepared, and the patient is called through a speaker system into the room to receive the injection. At certain times during the day, patient load drops and only one nurse is needed to administer the injections. Let’s focus on the simpler case of the two—namely, when there is one nurse.

Also assume that patients arrive in a Poisson fashion and the service rate of the nurse is exponentially distributed. During this slower period, patients arrive with an interarrival time of approximately three minutes. It takes the nurse an average of two minutes to prepare the patients’ serum and administer the injection. a. What is the average number you would expect to see in Dr. Martin’s facilities? b. How long would it take for a patient to arrive, get an injection, and leave?

c. What is the probability that there will be three or more patients on the premises? d. What is the utilization of the nurse? e. Assume three nurses are available. Each takes an average of two minutes to prepare the patients’ serum and administer the injection. What is the average total time of a patient in the system? 11 The Judy Gray Income Tax Service is analyzing its customer service operations during the month prior to the April ﬁling deadline.

On the basis of past data it has been estimated that customers arrive according to a Poisson process with an average interarrival time of 12 minutes. The time to complete a return for a customer is exponentially distributed with a mean of 10 minutes. Based on this information, answer the following questions:

a. If you went to Judy, how much time would you allow for getting your return done? b. On average, how much room should be allowed for the waiting area? c. If Judy stayed in the ofﬁce 12 hours per day, how many hours on average, per day, would she be busy? d. What is the probability that the system is idle? e. If the arrival rate remained unchanged but the average time in system must be 45 minutes or less, what would need to be changed? 12 A graphics reproduction ﬁrm has four units of equipment that are automatic but occasionally become inoperative because of the need for supplies, maintenance, or repair.

Each unit requires service roughly twice each hour, or, more precisely, each unit of equipment runs an average of 30 minutes before needing service. Service times vary widely, ranging from a simple service (such as pressing a restart switch or repositioning paper) to more involved equipment disassembly. The average service time, however, is ﬁve minutes. Equipment downtime results in a loss of $20 per hour.

The one equipment attendant is paid $6 per hour. Using ﬁnite queuing analysis, answer the following questions: a. What is the average number of units in line? b. What is the average number of units still in operation? c. What is the average number of units being serviced? d. The ﬁrm is considering adding another attendant at the same $6 rate. Should the ﬁrm do it? 13 Benny the Barber owns a one-chair shop. At barber college, they told Benny that his customers would exhibit a Poisson arrival distribution and that he would provide an exponential service distribution.

His market survey data indicate that customers arrive at a rate of two per hour. It will take Benny an average of 20 minutes to give a haircut. Based on these ﬁgures, ﬁnd the following: a. The average number of customers waiting. b. The average time a customer waits. c. The average time a customer is in the shop. d. The average utilization of Benny’s time. 14 Benny the Barber (see Problem 13) is considering the addition of a second chair.

Customers would be selected for a haircut on a FCFS basis from those waiting. Benny has assumed that both barbers would take an average of 20 minutes to give a haircut, and that business would remain unchanged with customers arriving at a rate of two per hour. Find the following information to help Benny decide if a second chair should be added: a. The average number of customers waiting.

PRODUCT DESIGN AND PROCESS SELECTION b. The average time a customer waits. c. The average time a customer is in the shop. Customers enter the camera department of a store at the average rate of six per hour. The department is staffed by one employee, who takes an average of six minutes to serve each arrival. Assume this is a simple Poisson arrival exponentially distributed service time situation. a.

As a casual observer, how many people would you expect to see in the camera department (excluding the clerk)? How long would a customer expect to spend in the camera department (total time)? b. What is the utilization of the clerk? c. What is the probability that there are more than two people in the camera department (excluding the clerk)? d. Another clerk has been hired for the camera department who also takes an average of six minutes to serve each arrival. How long would a customer expect to spend in the department now? Cathy Livingston, bartender at the Tucson Racquet Club, can serve drinks at the rate of one every 50 seconds. During a hot evening recently, the bar was particularly busy and every 55 seconds someone was at the bar asking for a drink. a.

Assuming that everyone in the bar drank at the same rate and that Cathy served people on a ﬁrst-come, ﬁrst-served basis, how long would you expect to have to wait for a drink? b. How many people would you expect to be waiting for drinks? c. What is the probability that three or more people are waiting for drinks? d. What is the utilization of the bartender (how busy is she)? e. If the bartender is replaced with an automatic drink dispensing machine, how would this change your answer in part a? An ofﬁce employs several clerks who originate documents and one operator who enters the document information in a word processor. The group originates documents at a rate of 25 per hour.

The operator can enter the information with average exponentially distributed time of two minutes. Assume the population is inﬁnite, arrivals are Poisson, and queue length is inﬁnite with FCFS discipline. a. Calculate the percentage utilization of the operator. b. Calculate the average number of documents in the system. c. Calculate the average time in the system. d. Calculate the probability of four or more documents being in the system. e. If another clerk were added, the document origination rate would increase to 30 per hour.

What would this do to the word processor workload? Show why. A study-aid desk staffed by a graduate student has been established to answer students’ questions and help in working problems in your OM course. The desk is staffed eight hours per day. The dean wants to know how the facility is working. Statistics show that students arrive at a rate of four per hour, and the distribution is approximately Poisson. Assistance time averages 10 minutes, distributed exponentially.

Assume population and line length can be inﬁnite and queue discipline is FCFS. a. Calculate the percentage utilization of the graduate student. b. Calculate the average number of students in the system. c. Calculate the average time in the system. d. Calculate the probability of four or more students being in line or being served. e. Before a test, the arrival of students increases to six per hour on the average. What does this do to the average length of the line? At the California border inspection station, vehicles arrive at the rate of 10 per minute in a Poisson distribution.

For simplicity in this problem, assume that there is only one lane and one inspector, who can inspect vehicles at the rate of 12 per minute in an exponentially distributed fashion. a. What is the average length of the waiting line? b. What is the average time that a vehicle must wait to get through the system? c. What is the utilization of the inspector? d. What is the probability that when you arrive there will be three or more vehicles ahead of you? The California border inspection station (see Problem 19) is considering the addition of a second inspector. The vehicles would wait in one lane and then be directed to the ﬁrst available inspector.

Arrival rates would remain the same (10 per minute) and the new inspector would process vehicles at the same rate as the ﬁrst inspector (12 per minute). a. What would be the average length of the waiting line? b. What would be the average time that a vehicle must wait to get through the system?

WAITING LINE MANAGEMENT If a second lane was added (one lane for each inspector): c. What would be the average length of the waiting line? d. What would be the average time that a vehicle must wait to get through the system? During the campus Spring Fling, the bumper car amusement attraction has a problem of cars becoming disabled and in need of repair. Repair personnel can be hired at the rate of $20 per hour, but they only work as one team. Thus, if one person is hired, he or she works alone; two or three people work together on the same repair.

One repairer can ﬁx cars in an average time of 30 minutes. Two repairers take 20 minutes, and three take 15 minutes. While these cars are down, lost income is $40 per hour. Cars tend to break down at the rate of two per hour. How many repairers should be hired? A toll tunnel has decided to experiment with the use of a debit card for the collection of tolls. Initially, only one lane will be used. Cars are estimated to arrive at this experimental lane at the rate of 750 per hour. It will take exactly four seconds to verify the debit card. a. In how much time would you expect the customer to wait in line, pay with the debit card, and leave? b. How many cars would you expect to see in the system?

You are planning a bank. You plan for six tellers. Tellers take 15 minutes per customer with a standard deviation of 7 minutes. Customers arrive one every three minutes according to an exponential distribution (recall that the standard deviation is equal to the mean). Every customer that arrives eventually gets serviced. a. On average how many customers would be waiting in line? b. On average how long would a customer spend in the bank? c. If a customer arrived, saw the line, and decided not to get in line, that customer has ________. d. A customer who enters the line but decides to leave the line before getting service is said to have ________. You are planning the new layout for the local branch of the Sixth Ninth Bank.

You are considering separate cashier windows for the three different classes of service. Each class of service would be separate with its own cashiers and customers. Oddly enough, each class of service, while different, has exactly the same demand and service times. People for one class of service arrive every four minutes and arrival times are exponentially distributed (the standard deviation is equal to the mean). It takes seven minutes to service each customer and the standard deviation of the service times is three minutes. You assign two cashiers to each type of service. a. On average, how long will each line be at each of the cashier windows? b. On average how long will a customer spend in the bank (assume they enter, go directly to one line, and leave as soon as service is complete).

You decide to consolidate all the cashiers so they can handle all types of customers without increasing the service times. c. What will happen to the amount of time each cashier spends idle? (increase, decrease, stay the same, depends on ______) d. What will happen to the average amount of time a customer spends in the bank? (increase, decrease, stay the same, depends on ______)

SELECTED BIBLIOGRAPHY

Davis, M. M., and M. J. Maggard, “An Analysis of Customer Satisfaction with Waiting Times in a Two-Stage Service Process.” Journal of Operations Management 9, no. 3 (August 1990), pp. 324–34. Fitzsimmons, J. A., and M. J. Fitzsimmons. Service Management. New York: Irwin/McGraw-Hill, 1998, pp. 318–39. Gross, D., and C. M. Harris. Fundamentals of Queuing Theory. New York: Wiley, 1997. Hillier, F. S., et al. Queuing Tables and Graphs. New York: Elsevier– North Holland, 1981. Katz, K. L.; B. M. Larson; and R. C. Larson. “Prescription for the Waitingin-Line Blues: Entertain, Enlighten, and Engage.” Sloan Management Review 32, no. 2 (Winter 1991), pp. 44–53. Kleinrock, L., and R. Gail. Queuing Systems: Problems and Solutions.

New York: Wiley, 1996. Winston, W. L., and S. C. Albright. Practical Management Science: Spreadsheet Modeling and Application. New York: Duxbury, 1997, pp. 537–79.

FOOTNOTES

1 n! is deﬁned as n(n − 1)(n − 2) · · · (2)(1). 2 We are indebted to Gilvan Souza of the Robert H. Smith School of Business, University of Maryland, for his help with this section.