1 / 35

Queueing Theory

Chapter 17. Queueing Theory. Introduction. Queues (waiting lines) are part of everyday life, and an inefficient use of time Other types of inefficiencies Machines waiting to be repaired Ships waiting to be unloaded Airplanes waiting to take off or land Queueing models

augusta
Download Presentation

Queueing Theory

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 Queueing Theory

  2. Introduction • Queues (waiting lines) are part of everyday life, and an inefficient use of time • Other types of inefficiencies • Machines waiting to be repaired • Ships waiting to be unloaded • Airplanes waiting to take off or land • Queueing models • Determine how to operate a queueing system most efficiently

  3. 17.1 Prototype Example • Emergency room at County Hospital is experiencing an increase in the number of visits • Patients are at peak usage hours often have to wait • One doctor is on duty at all times • Proposal: add another doctor • Hospital’s management engineer is assigned to study the proposal • Will use queueing theory models

  4. 17.2 Basic Structure of Queueing Models • Basic queueing process • Customers requiring service are generated over time by an input source • Customers enter a queueing system and join a queue if service not immediately available • Queue discipline rule is used to select a member of the queue for service • Service is performed by the service mechanism • Customer leaves the queueing system

  5. Basic Structure of Queueing Models • Calling population • Population from which arrivals come • Size may be assumed to be infinite or finite • Calculations are far easier for infinite case • Statistical pattern by which customers are generated over time must be specified • Common assumption: Poisson process • Interarrival time • Time between consecutive arrivals

  6. Basic Structure of Queueing Models • Balking • Customer refuses to enter queue if it is too long • Queue is characterized by the number of members it can contain • Can be infinite or finite • Infinite is the standard assumption for most models • Queue discipline examples • First-come-first-served, random, or other

  7. Basic Structure of Queueing Models • Service mechanism • Parallel service channels are called servers • Service time (holding time) • Time for service to be completed • Exponential distribution is frequently assumed in practice

  8. Basic Structure of Queueing Models

  9. Basic Structure of Queueing Models • Model notation example • M/M/s • First letter refers to distribution of interarrival times • Second letter indicates distribution of service times • Third letter indicates number of servers • M: exponential distribution • D: degenerate distribution • Ek: Erlang distribution • G: general distribution (any arbitrary distribution allowed)

  10. Basic Structure of Queueing Models • Transient condition of a queue • Condition when a queue has recently begun operation • Steady-state condition of a queue • Independent of initial state and elapsed time

  11. Basic Structure of Queueing Models • Little’s formula • In a steady state queueing process: • Where L is expected number of customers, is the mean arrival rate, and W is the waiting time

  12. 17.3 Examples of Real Queueing Systems • Classes of queueing systems • Commercial service systems • Example: barbershop • Transportation service systems • Example: cars waiting at a tollbooth • Internal service systems • Customers are internal to the organization • Social service systems • Example: judicial system

  13. 17.4 The Role of the Exponential Distribution • Operating characteristics of queueing systems determined by: • Probability distribution of interarrival times • Probability distribution of service times • Negative values cannot occur in the probability distributions • Exponential distribution • Meets goals of realistic, reasonable, simple, and mathematically tractable

  14. The Role of the Exponential Distribution • Key properties of the exponential distribution • fT(t) is a strictly decreasing function of t

  15. The Role of the Exponential Distribution • Key properties of the exponential distribution • Lack of memory • Probability distribution of remaining time until event is always the same • The minimum of several independent exponential random variables has an exponential distribution • A relationship exists with the Poisson distribution

  16. The Role of the Exponential Distribution • Key properties of the exponential distribution • For all positive values of t: • For small • Unaffected by aggregation or disaggregation • Relevant primarily for verifying that the input process is Poisson

  17. 17.5 The Birth-and-Death Process • Birth • Arrival of a new customer into the queueing system • Death • Departure of a served customer • Birth-and-death process • Describes how the number of customers in the queueing system changes as t increases

  18. The Birth-and-Death Process • Individual births and deaths occur randomly • Lack of memory is characteristic of a Markov chain • Arrows in the diagram indicate possible transitions in the state of the system

  19. The Birth-and-Death Process • Analysis is very difficult if the system is in a transient condition • Straightforward if a steady state condition exists • For any state of the system: • Mean entering rate equals mean leaving rate • Called the balance equation for state n

  20. The Birth-and-Death Process • Key measures of performance for the queueing system

  21. 17.6 Queueing Models Based on the Birth-and-Death Process • Models have a Poisson input and exponential service times • The M/M/s model

  22. Queueing Models Based on the Birth-and-Death Process • The M/M/s model as applied to the County Hospital example • See Pages 755-757 in the text • The finite queue variation of the M/M/s model • Called the M/M/s/K model • Queue capacity is equal to (K − s)

  23. Queueing Models Based on the Birth-and-Death Process • The finite calling population variation of the M/M/s model • Given on Pages 760-762 of the text • See next slide for diagram

  24. Queueing Models Based on the Birth-and-Death Process

  25. 17.7 Queueing Models Involving Nonexponential Distributions • Poisson distribution does not apply when arrivals or service times are carefully scheduled or regulated • Mathematical analysis much more difficult • Summary of models available for nonexponential service times • The M/G/1 model • The M/D/s model • The M/Ek/s model

  26. Queueing Models Involving Nonexponential Distributions • Summary of models available for nonexponential input distributions • The GI/M/s model • The D/M/s model • The Ek/M/s model • Other models deal with: • Hyperexponential distributions • Phase-type distributions

  27. 17.8 Priority-Discipline Queueing Models • Queue discipline based on a priority system • Assumes N priority classes exist • Poisson input process and exponential service times are assumed for each priority class • Nonpreemptive priorities • Customer being served cannot be ejected

  28. Priority-Discipline Queueing Models • Preemptive properties • Lowest priority customer is ejected back into the queue • Whenever higher priority customer enters queueing system • Results for the nonpreemptive priorities model • Little’s formula still applies • See Pages 771-772 in the text

  29. Priority-Discipline Queueing Models • Results for the preemptive priorities model • Total expected waiting time in the system changes • For the single server case:

  30. 17.9 Queueing Networks • Only a single service facility has been considered so far • Some problems have multiple service facilities, or a queueing network • Two basic kinds of networks • Infinite queues in series • Jackson networks

  31. Queueing Networks • Equivalence property • Assume that a service facility with s servers and an infinite queue has Poisson input with parameter λ and the same exponential service time distribution with parameter μ for each server (the M/M/s model) where sμ> λ • Steady state output of this service facility is also a Poisson process with parameter λ

  32. 17.10 The Application of Queueing Theory • Queueing system design involves the selection of: • Number of servers at a service facility • Efficiency of the servers • Number of service facilities • Amount of waiting space in the queue • Any priorities for different categories of customers

  33. The Application of Queueing Theory • Primary considerations in decision making • Cost of service capacity provided by the queueing system • Consequences of making customers wait in the queueing system • Approaches • Establish how much waiting time is acceptable • Determine the cost of waiting

  34. The Application of Queueing Theory • Other issues • Waiting cost may not be proportional to amount of waiting • Might be a nonlinear function • Is it better to have a single fast server or multiple slower servers?

  35. 17.11 Conclusions • Queueing theory provides a basis for modeling queueing systems • Goal is to achieve an appropriate balance between cost of service and cost of waiting • The exponential distribution plays a fundamental role in queueing theory • Priority-discipline queueing models • Appropriate when some categories of customers given priority over others

More Related