1 / 30

Chapter 17

Chapter 17. Standing in line – at the bank, the market, the movies – is the time-waster everyone loves to hate. Stand in just one 15-minute line a day, every day, and kiss goodbye to almost four days of idle time by year’s end.—Kathleen Doheny Waiting Lines (Queues). Queuing Analysis.

tamyra
Download Presentation

Chapter 17

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Chapter 17 Standing in line – at the bank, the market, the movies – is the time-waster everyone loves to hate. Stand in just one 15-minute line a day, every day, and kiss goodbye to almost four days of idle time by year’s end.—Kathleen Doheny Waiting Lines (Queues)

  2. Queuing Analysis • A queue is a waiting line. • A queuing system involves customers arriv- ing for service who sometimes have to wait. • Queuing analysis provides: • Summary measures for assessing a queuing system in terms of customers and time. • A way to balance the costs of providing service and costs of congestion. • Importance of Queuing Analysis: • Servicing customers can be costly. • Retail environments are plagued with customer congestion. Managing that has benefits.

  3. Single-Server Queuing Model(M/M/1) • Assumes exponential distribution for times: • between successive arrivals—mean rate l • to complete service—mean rate m • Provides important results: • Probability for n customers in system: P0 = 1-l/m Pn= ( l/m)n P0 • Mean number of customers in system: • Mean customer time spent in system:

  4. Single-Server Queuing Model (M/M/1) • Important results (continued): • Mean number of customers waiting: • Mean customer waiting time: • Server utilization factor:

  5. Single-Server Queuing Model (M/M/1) • Problem: Customers arrive at a supply room with mean rate l= 25/hr. Service take a mean of 2 minutes, so that m= 30/hr. Do a queuing analysis. • Solution: r = 25/30 = .833 P0 = 1 - .833 = .167 P1 = (25/30)1(.167) = .139 P2 = (25/30)2(.167) = .116

  6. Single-Server Queuing Model (M/M/1) • Problem (continued): Hourly cost of providing service is $10 (clerk’s wages). Lost productivity of employee customers while getting supplies is $7/hr, the congestion penalty. Evaluate total cost. • Solution (continued): The hourly system cost may be used to compare alternatives: TC = hourly queuing cost + hourly service cost = $7×W ×l+ $10 = $7(.20)(25) + 10 = $45 • The queuing cost accounts for all l customers in the system during the hour, and collective time under a congestion penalty, W × l, applies above. • When the congestion penalty involves just the waiting time, Wq× l is used for queuing cost. Retail customers resent the wait, not the time receiving service.

  7. Multiple-Server Queuing Model (M/M/S) • Multiple servers involve greater complexity. • The model begins with computation of

  8. Multiple-Server Queuing Model (M/M/S) • The mean number of customers is then found: • Then the mean customer waiting time is found: • That is followed by:

  9. Queuing SpreadsheetTemplates and Software • Queuing Templates • Palisade Decision Tools BestFit 4.0

  10. Queuing Spreadsheet Templates • M/M/1 • M/M/S • Cost analysis for M/M/S • M/M/1 non-exponential service times • Exponential distribution • Poisson distribution • Waiting times for M/M/1 • M/M/1 with a finite queue • M/M/1 with a limited population • M/M/1 with a constant service time

  11. 1. Enter the problem parameters in G6:G7. Remember lambda must be less than mu. M/M/1 (Figure 17-4) 2. Queuing summary results are here: L, W, Lq, Wq, and rho. 3. System state probabilities are here, Pn and S Pn. To fit the spreadsheet on one page some of the rows have been hidden.

  12. 1. Enter the problem parameters in G6:G8. M/M/S(Figure 17-6) 2. Remember that lambda must be less than mu times S. Otherwise the results will not be meaningful (negative probabilities). 3. The number of servers is limited to 100 or less. Caution: For large S and n sometimes the resulting numbers are too large for Excel so error messages occur, such as #NUM!

  13. 2. The Sum !A2:C102 in cell D20 refers to the table located on the Sum worksheet, shown next. M/M/S Formulas 1. All the calculations on this spreadsheet are based on Po found in cell D20. 3. The formulas in D21:E21 are copied down to the end of the table.

  14. SumWorksheet (Sum Tab)(Figure 17-19) This worksheet is used to compute the sum The sum is used in the P0 calculation. MMS!$G$6 in cell B2 refers to cell G6 on the MMS worksheet, shown previously. The formulas in B3:C3 are copied down to B102:C102.

  15. 1. Enter the problem parameters in G6:G9. Cost Analysis for M/M/S(Figure 17-7) 2. Remember that lambda must be less than mu times S for results to be meaningful. Consequently, rows 14 - 21 are hidden (because lambda is not less than mu times s for these rows). 3. The number of servers is limited to 100 or less. Note: In order for the spreadsheet to compute correctly, make sure automatic calculation is selected on both worksheets (Tools, Options, Calculation Tab, and click on the Automatic button under Calculation).

  16. Formulas forM/M/SCost Analysis(Figure 17-20) 1. The Sum !$A$2:$C$102 in cell B22 refers to the table located on the Sum worksheet. It is identical with the one for the M/M/S template shown previously. 2. The formulas in row 22 are copied down to the other rows of the table.

  17. M/M/1Non-exponential Service(Figure 17-8) Enter the problem parameters in G6:G8. Remember lambda must be less than mu.

  18. Exponential Distribution(Figure 17-9) 1. Enter the problem parameters in D5:D7. 2. The exponential frequency curve and cumulative distribution are here:

  19. Poisson Distribution(Figure 17-11) A B C D E F G POISSON DISTRIBUTION 1 2 3 PROBLEM: Number of Arrivals at Supply Room 4 5 Mean process rate lambda = 25 6 Duration t = 0.1 7 Lower limit for the number of events, a = 0 8 Upper limit for the number of events, b = 8 9 Pr[X < a] = 10 Pr[X < a] = 0.08208 0 E Pr[a < X < b] = 11 0.99886 Pr[a < X < b] = 10 =IF(E7>0,POISSON(E7-1,E5*56,TRUE),0) 12 0.99575 Pr[a < X < b] = 13 0.91677 E Pr[a < X < b] = 14 0.91367 15 =1-POISSON(E8,E5*E6,TRUE) Pr[X > b] = 15 Pr[X > b] = 0.00425 0.00114 16 17 Number of Cumulative C 18 Successes Probability Probability 10 =POISSON(E7,E5*E6,TRUE) Pr{R < r] 19 r Pr[R = r] 11 =POISSON(E8,E5*E6,TRUE)-E10 20 0 0.08208 0.08208 12 =POISSON(E8-1,E5*E6,TRUE)-E11 21 1 0.20521 0.28730 13 =POISSON(E8,E5*E6,TRUE)-C10 22 2 0.25652 0.54381 14 =POISSON(E8-1,E5*E6,TRUE)-C10 23 3 0.21376 0.75758 15 =1-POISSON(E8-1,E5*E6,TRUE) 24 4 0.13360 0.89118 B 25 5 0.06680 0.95798 20 =POISSON(A20,$E$5*$E$6,FALSE) 26 6 0.02783 0.98581 21 =POISSON(A21,$E$5*$E$6,FALSE) 27 7 0.00994 0.99575 22 =POISSON(A22,$E$5*$E$6,FALSE) 28 8 0.00311 0.99886 C 29 9 0.00086 0.99972 20 =POISSON(A20,$E$5*$E$6,TRUE) 30 10 0.00022 0.99994 21 =POISSON(A21,$E$5*$E$6,TRUE) 31 11 0.00005 0.99999 22 =POISSON(A22,$E$5*$E$6,TRUE) 32 12 0.00001 1.00000 33 13 0.00000 1.00000 1. Enter the problem parameters in D5:D8. 2. The Poisson probabilities and cumulative probabilities are here:

  20. Waiting Times for M/M/1(Figure 17-13) 1. Enter the problem parameters in G6:G7. Remember lambda must be less than mu. 2. The cumulative distributions for the waiting times in the line and in the system are here:

  21. M/M/1with a Finite Queue(Figure 17-14) Enter the problem parameters in G6:G8. Remember lambda must be less than mu.

  22. M/M/1 with a Limited Population(Figure 17-15) Enter the problem parameters in G6:G8. NOTE: The size of the population M is limited to 100.

  23. 1. All the calculations on this spreadsheet are based on Po found in cell D20. FormulasM/M/1 with a Limited Population 2. The Sum !A2:C102 in cell D20 refers to the table located on the Sum worksheet, shown next.

  24. SumWorksheet (Sum Tab)(Figure 17-21) This worksheet is used to compute the sum 1. ‘Limited Pop’!$G$8 in cell B2 refers to cell G8 on the Limited Pop worksheet, shown previously. 3. The formula in C3 is copied down to C12. The sum is used in the P0 calculation. 4. Columns B and C will return the error function #NUM! Whenever n > M. 2. The formula in B2 is copied down to B12.

  25. M/M/1 with Constant Service(Figure 17-16) Enter the problem parameters in G6:G7. Remember lambda must be less than mu.

  26. Palisade Decision ToolsBestFit The BestFit 4.0 software program on the CD-ROM accompanying this book can be used to find the distribution that best fits a set of data. It compares data with more than 30 different distributions using chi-square, Kolmogorov-Smirnov, and Anderson-Darling tests. A few of the common distributions it checks are beta, binomial, chi-square, exponential, gamma, geometric, hypergeometric, normal, Poisson, triangular, and uniform.

  27. BestFit To start BestFit, click on the Windows Start button, select Programs, Palisade Decision Tools, then BestFit 4.0 BestFit will open and the initial screen shown next will appear.

  28. Initial Screen 1. Enter the 25 times from Table 17-5 of the text in the Sample column. 2. Click Fitting on the menu bar and select Run Fit. This will give the Fit Results dialog box shown next.

  29. BestFit Results Box(Figure 17-17) 1. This figure shows portions of the Fit Results dialog box. 2. The distributions fitted, from the best (Inverse Gaussian) to the worst (Uniform). 5. Click on the GOF (Goodness of Fit) tab to see the test values of Chi-Sq, A-D, or K-S. 3. The distributions are ranked by K-S values. Click on the down arrow to rank by Chi-Square or Anderson-Darling values. 4. Graph of the best fit and the data.

  30. Exponential Fit(Figure 17-18) 2. The GOF tab gives the test values. 1. The graph compares the WaySafe data with an exponential distribution. 3. BestFit also gives the critical values for various significance levels. 4. The Chi-Sq and K-S test values are less than all the critical values. The A-D test value is less than the 0.01 critical value but larger than the others.

More Related