1 / 37

Chapter 14 Waiting Lines and Queuing Theory Models

Chapter 14 Waiting Lines and Queuing Theory Models. Prepared by Lee Revere and John Large. Learning Objectives. Students will be able to: Describe the trade-off curves for cost-of-waiting time and cost-of-service.

sturman
Télécharger la présentation

Chapter 14 Waiting Lines and Queuing Theory Models

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 14 Waiting Lines and Queuing Theory Models Prepared by Lee Revere and John Large 14-1

  2. Learning Objectives Students will be able to: • Describe the trade-off curves for cost-of-waiting time and cost-of-service. • Understand the three parts of a queuing system: the calling population, the queue itself, and the service facility. • Describe the basic queuing system configurations. • Understand the assumptions of the common models dealt with in this chapter. • Analyze a variety of operating characteristics of waiting lines. 14-2

  3. Chapter Outline 14.1Introduction 14.2 Waiting Line Costs 14.3Characteristics of a Queuing System 14.4 Single-Channel Queuing Model with Poisson Arrivals and Exponential Service Times 14.5Multiple-Channel Queuing Model with Poisson Arrivals and Exponential service Times 14-3

  4. Chapter Outline (continued) 14.6Constant Service Time Model 14.7Finite Population Model 14.8 Some General Operating Characteristics Relationships 14.9More Complex Queuing Models and the Use of Simulation 14-4

  5. Introduction • Arrivals • Service facilities • Actual waiting line Queuing theoryis one of the most widely used quantitative analysis techniques. The three basic components are: 14-5

  6. Waiting Line Costs Queuing analysis includes: • Determining the best level of service for an organization. • Analyzing the trade-off between cost of providing service and cost of waiting time. • Finding the service level that minimizes the total expected cost. 14-6

  7. Queuing Costs and Service Levels Total Expected Cost Optimal Service Level Cost of Providing Service Cost of Operating Service Facility Cost of Waiting Time Service Level 14-7

  8. Three Rivers Shipping: Waiting Line Cost Analysis Avg. number of ships arriving per shift Average waiting time per ship Total ship hours lost Est. cost per hour of idle ship time Value of ships' lost time Stevedore teams salary Total Expected Cost The superintendent at Three Rivers Shipping Company wants to determine the optimal number of stevedores to employ each shift. Number of Stevedore Teams 1 2 3 4 5 5 5 5 7 4 3 2 35 20 15 10 $1,000 $1,000 $1,000 $1,000 35,000 29,000 $15,000 $10,000 $6,000 $12,000 18,000 $24,000 $41,000 $32,000 $33,000 $34,000 14-8

  9. Characteristics of a Queuing System • Arrival Characteristics • Size of the calling population • Pattern of arrivals • Behavior of arrivals • Waiting Line Characteristics • Queue length • Queue discipline • Service Facility Characteristics • Configuration of the queuing system • Service time distribution 14-9

  10. Arrival Characteristics of a Queuing System • Calling Population: • Unlimited (infinite) • Limited (finite) • Arrival Pattern • Randomly • Poisson Distribution 14-10

  11. Arrival Characteristics: Poisson Distribution P(X),  = 2 P(X),  = 4 .35 P(X) P(X) .30 .30 .25 .25 .20 .20 .15 .15 .10 .10 .05 .05 .00 .00 0 1 2 3 4 5 6 7 8 9 10 11 0 1 2 3 4 5 6 7 8 9 10 11 X X 14-11

  12. Arrival Characteristics of a Queuing System (continued) Behavior of arrivals: • Join the queue, and wait till served. • Balk; refuse to join the line. • Renege; leave the line. 14-12

  13. Waiting Line Characteristics of a Queuing System Waiting Line Characteristics: • Length of the queue • Limited • Unlimited (assumed) • Service priority/Queue discipline • FIFO (assumed) • Other 14-13

  14. Waiting Line Characteristics of a Queuing System(continued) Service Facility Characteristics • Number of channels (servers) • Single • Multiple • Number of phases in service system (customer stations) • Single (1 stop) • Multiple (2+ stops) • Service time distribution • Negative exponential • Other 14-14

  15. Service Characteristics: Queuing System Configurations Queue Service facility arrivals Single Channel, Single Phase Service Facility Queue Facility 2 Facility 1 arrivals Single Channel, Multi-Phase 14-15

  16. Service Characteristics: Queuing System Configurations Service facility 1 Queue Service facility 2 Service facility 3 Multi-Channel, Single Phase Queue Type 2 Service Facility Type 1 Service Facility Type 1 Service Facility Type 2 Service Facility Multi-Channel, Multiphase Phase arrivals arrivals 14-16

  17. Service Characteristics of a Queuing System Service Time Patterns: • Negative exponential probability distribution • Other distribution 14-17

  18. Service Time Characteristics: Exponential Distribution Average Service Time of 20 Minutes Probability (for Intervals of 1 Minute) Average Service Time of 1 Hour 30 60 90 120 150 180 X 14-18

  19. Kendall Notation for Queuing Models Kendall notation consists of a basic three-symbol form. Arrival Service Time Number of Service Distribution Distribution Channels Open Where, M = Poisson distribution for the number of occurrences (or exponential times) D = Constant (deterministic rate)G = General distribution with mean and variance known Single channel with Poisson arrivals and exponential service times and two channels M/M/2 14-19

  20. Assumptions: M/M/1 Model 1. Queue discipline: FIFO 2. No balking or reneging 3. Independent arrivals; constant rate over time 4. Arrivals: Poisson distributed 5. Service times: average known 6. Service times: negative exponential 7. Average service rate > average arrival rate 14-20

  21. Operating Characteristics of Queuing Systems • Average time each customer spends in the queue • Average length of the queue • Average time each customer spends in the system • Average number of customers in the system • Probability that the service facility will be idle • Utilization factor for the system • Probability of a specific number of customers in the system 14-21

  22. Operating Characteristic Equations: M/M/1 Probability the number of customers (n) is > k, 14-22

  23. Car Wash Example: M/M/1 • Assume you are planning a car wash to raise money for a local charity. • You anticipate the cars arriving in a single line and being serviced by one team of washers. • Based on historical data, you believe cars will arrive every 30 minutes, and the team can wash a car in about 20 minutes. • The arrival rates follow a Poisson distribution and the service rates are exponentially distributed. • What are the operating characteristics for this system? 14-23

  24. Car Wash Example: Operating Characteristics  = 2 cars arriving per hour u = 3 cars serviced per hour L => ? cars in the system on average W => ? hours that an average car spends in the system Lq => ? cars waiting on average Wq => ? hours is average wait in line Pw => ? percent of time car washers are busy Po => ? probability that there are 0 cars in the system 14-24

  25. Car Wash Example: Operating Characteristics Solution  = 2 cars arriving per hour u = 3 cars serviced per hour L = 2/(3-2) => 2 cars in the system on average W = 1/(3-2) => 1 hour that an average car spends in the system Lq = 22/[3(3-2)] => 1.33 cars waiting on average Wq = 2/[3(3-2)] => .67 hours is average waitPw = 2/3 => .67 percent of time washers are busyP(0) = 1 – (2/3) => .33 probability that there are 0 cars in the system 14-25

  26. Operating Characteristic Equations: M/M/m 1 = P 0 é ù n M æ ö æ ö l l m = - n M 1 1 1 M å ç ÷ ç ÷ + ê ú ç ÷ ç ÷ m m m - l n ! M ! M ê ú è ø è ø ë û = n 0 M æ ö l lm ç ÷ m l è ø = + L P ( ) ( ) 0 m 2 - m - l M 1 ! M Probability there are no customers in the system, Average number of customers in the system, 14-26

  27. Operating Characteristic Equations: M/M/m l L = = - W L L q l m L l 1 q = - = r = W W q m l m M The average time a customer spends in the system, The average number of customers in line waiting, The average time a customer spends in the queue waiting for service, The utilization rate, 14-27

  28. Car Wash Example: M/M/2  = 2 cars/ hr Should you have 2 teams of car washers??? u = 3 cars/ hr P(0) = 1 1 2 = = 0.5 1 + 2 + 146 3 2 9 6-2 2 L = 2 3 2/3 1 2 1! 2 3 -2 2 3 = 3 = 0.75 4 + 2 W = 0.75 = 3 = 22.5 minutes 2 4 Lq = 0.75 – 2 = 1 = 0.083 3 12 Wq = 0.083 = 0.0415 hour = 2.5 minutes 2 14-28

  29. Operating Characteristic Equations: M/D/1 l 2 = L ( ) q m m - l 2 l = W ( ) q m m - l 2 l = + L L q m 1 = + W W q m Average length of the queue, Average waiting time in the queue, Average number of customers in the queue, Average time in the system, 14-29

  30. Car Wash Example: M/D/1 • Your charity is considering purchasing an automatic car wash system. • Cars will continue to arrive according to a Poisson distribution, with 2 cars arriving every hour. • However, the service time will now be constant with a rate of 3 cars per hour. Compare the operating characteristics of this model with your previous models. 14-30

  31. Car Wash Example: Operating Characteristics M/D/1 M/D/1 M/M/1 Lq = 4 2(3) (3-2) = 2 3 4 cars 3 2 hour 3 2 cars 1 hour Both Lq and Wq are reduced by 50%! Wq = 2 2(3)(3-2) = 1 3 L = 4 + 2 6 3 = 8 6 W = 1 + 1 3 3 = 2 6 14-31

  32. Operating Characteristic Equations: M/M/1 - Finite Source 1 = P 0 n æ ö l N N ! å ç ÷ ç ÷ - m ( N n )! è ø = 0 n l + m æ ö ( ) = - - ç ÷ L N 1 P q 0 l è ø ( ) = + - L L 1 P 0 q The probability that the system is empty, The average length of the queue, The average number of customers in the system, 14-32

  33. Operating CharacteristicEquations: M/M/1 - Finite Source L q = W ( ) q - l N L 1 = + W W q m n æ ö l N ! ç ÷ £ = = P(n, n N) P P ç ÷ ( ) n 0 - m N n ! è ø The average waiting time in the queue, The average waiting time in the system, Probability of n units in the system, 14-33

  34. Department of Commerce Example: M/M/1 – finite source • The Department of Commerce has 5 printers that each need repair after about 20 hours of work. Breakdowns follow a Poisson distribution. • The technician can service a printer in an average of about 2 hours, following an exponential distribution. Determine the operating characteristics for this model. 14-34

  35. Operating Characteristics M/M/1 Finite source = 1/20 = 0.05 printer/ hr.  u = ½ = 0.50 printer/ hr. P0 = 1 5! 0.05 (5-n)! 0.5 5 = 0.564 n ∑ n=0 Lq = 0.05 + 0.5 0.05 (1-Po) = 5 – 4.8 = 0.2 5 - L = 0.2 + (1-0.564) = 0.64 printer Wq = 0.2 (5-0.64)(0.05) = 0.91 hour W = 0.91 + 1 = 2.91 hours 0.50 14-35

  36. General Operating Characteristic Relationships After reaching a steady state, certain relationships exist among specific operating characteristics. 14-36

  37. Complex Queuing Models and Simulation Computer simulationis used to handle many real-world queuing applications that are complex. Simulation allows: • Analysis of controllable factors • Approximation of the actual service system 14-37

More Related