Chapter 6 Queueing Models

Slides:



Advertisements
Similar presentations
Introduction to Queuing Theory
Advertisements

Chapter Queueing Notation
Queueing Models and Ergodicity. 2 Purpose Simulation is often used in the analysis of queueing models. A simple but typical queueing model: Queueing models.
Lecture 13 – Continuous-Time Markov Chains
Nur Aini Masruroh Queuing Theory. Outlines IntroductionBirth-death processSingle server modelMulti server model.
Model Antrian By : Render, ect. Outline  Characteristics of a Waiting-Line System.  Arrival characteristics.  Waiting-Line characteristics.  Service.
Waiting Lines and Queuing Theory Models
Queuing Systems Chapter 17.
1 Analysis Of Queues For this session, the learning objectives are:  Learn the fundamental structure of a queueing system.  Learn what needs to be specified.
Chapter 13 Queuing Theory
1 Queuing Theory 2 Queuing theory is the study of waiting in lines or queues. Server Pool of potential customers Rear of queue Front of queue Line (or.
Queueing Theory: Part I
Lecture 11 Queueing Models. 2 Queueing System  Queueing System:  A system in which items (or customers) arrive at a station, wait in a line (or queue),
Data Communication and Networks Lecture 13 Performance December 9, 2004 Joseph Conron Computer Science Department New York University
Queuing. Elements of Waiting Lines  Population –Source of customers Infinite or finite.
To accompany Quantitative Analysis for Management, 9e by Render/Stair/Hanna 14-1 © 2003 by Prentice Hall, Inc. Upper Saddle River, NJ Chapter 14.
Queuing Theory. Queuing theory is the study of waiting in lines or queues. Server Pool of potential customers Rear of queue Front of queue Line (or queue)
Fall 2010 CSC 446/546 Part 5: Queueing Models. Fall 2010 CSC 446/546 Agenda 1.The Purpose 2.Characteristics of Queues Systems 3.Queueing Notations 4.Long-Run.
Introduction to Queuing Theory. 2 Queuing theory definitions  (Kleinrock) “We study the phenomena of standing, waiting, and serving, and we call this.
Chapter 9: Queuing Models
Lecture 14 – Queuing Systems

Queuing Theory (Waiting Line Models)
___________________________________________________________________________ Operations Research  Jan Fábry Waiting Line Models.
Introduction to Queuing Theory
Spreadsheet Modeling & Decision Analysis
Copyright 2006 John Wiley & Sons, Inc. Beni Asllani University of Tennessee at Chattanooga Waiting Line Analysis for Service Improvement Operations Management.
Introduction to Management Science
Waiting Line Models ___________________________________________________________________________ Quantitative Methods of Management  Jan Fábry.
Network Analysis A brief introduction on queues, delays, and tokens Lin Gu, Computer Networking: A Top Down Approach 6 th edition. Jim Kurose.
Introduction to Queuing Theory
Introduction to Operations Research
Queuing Theory Basic properties, Markovian models, Networks of queues, General service time distributions, Finite source models, Multiserver queues Chapter.
Queueing Theory What is a queue? Examples of queues: Grocery store checkout Fast food (McDonalds – vs- Wendy’s) Hospital Emergency rooms Machines waiting.
TexPoint fonts used in EMF.
1 Elements of Queuing Theory The queuing model –Core components; –Notation; –Parameters and performance measures –Characteristics; Markov Process –Discrete-time.
Waiting Lines and Queuing Models. Queuing Theory  The study of the behavior of waiting lines Importance to business There is a tradeoff between faster.
CS433 Modeling and Simulation Lecture 12 Queueing Theory Dr. Anis Koubâa 03 May 2008 Al-Imam Mohammad Ibn Saud University.
1 Queuing Systems (2). Queueing Models (Henry C. Co)2 Queuing Analysis Cost of service capacity Cost of customers waiting Cost Service capacity Total.
yahoo.com SUT-System Level Performance Models yahoo.com SUT-System Level Performance Models8-1 chapter11 Single Queue Systems.
Chapter 20 Queuing Theory to accompany Operations Research: Applications and Algorithms 4th edition by Wayne L. Winston Copyright (c) 2004 Brooks/Cole,
CS352 - Introduction to Queuing Theory Rutgers University.
Copyright 2006 John Wiley & Sons, Inc. Beni Asllani University of Tennessee at Chattanooga Waiting Line Analysis for Service Improvement Operations Management.
Waiting Lines and Queuing Theory Models
Chapter 6 Queueing Models Banks, Carson, Nelson & Nicol Discrete-Event System Simulation.
Chapter 1 Introduction. “Wait-in-line” is a common phenomenon in everywhere. Reason: Demand is more than service. “How long must a customer wait?” or.
1 1 Slide Chapter 12 Waiting Line Models n The Structure of a Waiting Line System n Queuing Systems n Queuing System Input Characteristics n Queuing System.
Introduction Definition M/M queues M/M/1 M/M/S M/M/infinity M/M/S/K.
Queuing Theory.  Queuing Theory deals with systems of the following type:  Typically we are interested in how much queuing occurs or in the delays at.
Queuing Models.
Simple Queueing Theory: Page 5.1 CPE Systems Modelling & Simulation Techniques Topic 5: Simple Queueing Theory  Queueing Models  Kendall notation.
Queueing Theory/Waiting Line: Models and Analysis Navneet Vidyarthi
Managerial Decision Making Chapter 13 Queuing Models.
Module D Waiting Line Models.
Chapter 1 Introduction.
“QUEUING THEORY”.
Al-Imam Mohammad Ibn Saud University
Queueing Theory What is a queue? Examples of queues:
Chapter 9: Queuing Models
Chapter 6 Queueing Models
Queueing Theory.
Queuing Systems Don Sutton.
Chapter 6 Queuing Models.
TexPoint fonts used in EMF.
Mitchell Jareo MAT4340 – Operations Research Dr. Bauldry
Lecture 13 – Queuing Systems
Queueing Theory 2008.
Waiting Line Models Waiting takes place in virtually every productive process or service. Since the time spent by people and things waiting in line is.
Queuing Models J. Mercy Arokia Rani Assistant Professor
Course Description Queuing Analysis This queuing course
Presentation transcript:

Chapter 6 Queueing Models

Purpose A simple but typical queueing model: Simulation is often used in the analysis of queueing models. A simple but typical queueing model: Queueing models provide the analyst with a powerful tool for designing and evaluating the performance of queueing systems. Typical measures of system performance: -Server utilization, length of waiting lines, and delays of customers - For relatively simple systems, compute mathematically -For realistic models of complex systems, simulation is usually required.

Characteristics of Queueing Systems Key elements of queueing systems: Customer: refers to anything that arrives at a facility and requires service, e.g., people, machines, trucks, emails. Server: refers to any resource that provides the requested service, e.g., repairpersons, retrieval machines, runways at airport. Calling population: the population of potential customers, may be assumed to be finite or infinite. Finite population model: if arrival rate depends on the number of customers being served and waiting, e.g., model of one corporate jet, if it is being repaired, the repair arrival rate becomes zero. Infinite population model: if arrival rate is not affected by the number of customers being served and waiting, e.g., systems with large population of potential customers.

System Capacity: a limit on the number of customers that may be in the waiting line or system Limited capacity, e.g., an automatic car wash only has room for 10 cars to wait in line to enter the mechanism. Unlimited capacity, e.g., concert ticket sales with no limit on the number of people allowed to wait to purchase tickets.

Queue Behavior and Queue Discipline Queue behavior: the actions of customers while in a queue waiting for service to begin, for example: Balk: leave when they see that the line is too long, Renege: leave after being in the line when its moving too slowly, Jockey: move from one line to a shorter line. Queue discipline: the logical ordering of customers in a queue that determines which customer is chosen for service when a server becomes free, for example: First-in-first-out (FIFO) Last-in-first-out (LIFO) Service in random order (SIRO) Shortest processing time first (SPT) Service according to priority (PR).

Queueing Notation A notation system for parallel server queues: A/B/c/N/K A represents the interarrival-time distribution, B represents the service-time distribution, c represents the number of parallel servers, N represents the system capacity, K represents the size of the calling population. Ex. M/M/1/∞/ ∞ ---------- M/M/1 Tire curing system ------------G/G/1/5/5

Primary performance measures of queueing systems: Pn: steady-state probability of having n customers in system, Pn(t): probability of n customers in system at time t, λ: arrival rate, λe: effective arrival rate, μ: service rate of one server, ρ: server utilization, An: interarrival time between customers n-1 and n, Sn: service time of the nth arriving customer, Wn: total time spent in system by the nth arriving customer, Wn Q: total time spent in the waiting line by customer n, L(t): the number of customers in system at time t, LQ(t): the number of customers in queue at time t, L: long-run time-average number of customers in system, LQ: long-run time-average number of customers in queue, w: long-run average time spent in system per customer, wQ: long-run average time spent in queue per customer.

Long-run measures of performance of the queuing system long-run time-avg no. of customers in the system (L) long-run time-avg no. of customers in the queue (LQ) Long-run average time spent in the system per customer (w) Long-run average time spent in the system per customer (wQ) Server Utilization (or proportion of the time server is busy) (ρ) 2 types of estimators: An ordinary sample average A time-integrated (or time-weighted) sample average.

Time-Average Number in System L and in the queue LQ Consider a queueing system over a period of time T, Let Ti denote the total time during [0,T] in which the system contained exactly i customers, the time-weighted-average number in a system is defined by: 1 Consider the total area under the function is L(t), then, 2 The long-run time-average # in system, with probability 1: The time-weighted-average number in queue is:

G/G/1/N/K example: consider the results from the queueing system (N > 4, K > 3). ? =?

Average Time Spent in System Per Customer w: The average time spent in system per customer, called the average system time, is: where W1, W2, …, WN are the individual times that each of the N customers spend in the system during [0,T]. For stable systems: If the system under consideration is the queue alone: G/G/1/N/K example (cont.): the average system time is

The Conservation Equation Conservation equation (a.k.a. Little’s law) Holds for almost all queueing systems or subsystems (regardless of the number of servers, the queue discipline, or other special circumstances). Derivation of Equation: G/G/1/N/K example (cont.): On average, one arrival every 4 time units and each arrival spends 4.6 time units in the system. Hence, at an arbitrary point in time, there is (1/4)(4.6) = 1.15 customers present on average.

Server Utilization Definition: the proportion of time that a server is busy. Observed server utilization, , is defined over a specified time interval [0,T]. Long-run server utilization is ρ. For systems with long-run stability:  ρ as T ∞ For G/G/1/∞/∞ queues: Any single-server queueing system with average arrival rate λ customers per time unit, where average service time E(S) = 1/μ time units, infinite queue capacity and calling population. Conservation equation, L = λw, can be applied to the server . For a stable system, the average arrival rate to the server, λs , must be identical to λ. The average number of customers in the server is:

In general, for a single-server queue: For a single-server stable queue: For an unstable queue (λ > μ), long-run server utilization is 1 and long-run average queue length is infinite and the long run-performance measures are meaningless for such a system.

For G/G/c/∞/∞ queues: A system with c identical servers in parallel. If an arriving customer finds more than one server idle, the customer chooses a server without favoring any particular server. For systems in statistical equilibrium, the average number of busy servers, Ls, is: Ls = λE(s) = λ/μ. A Q. system is said to be in statistical equilibrium or steady state if probability that the system is in a given state is not time- dependent. The long-run average server utilization is:

Costs in Queueing Problems Cρ = avg no of busy servers If server cost is imposed only when servers are idle, then server cost per hour= $5. c(1 – ρ)

Steady-State Behavior of Infinite-Population Markovian Models Queue Discipline will be FIFO

M/G/1 Queues

Example

M/M/1 Queues

Example 2

Effect of Utilization and Service Variability [Steady-State of Markovian Model]

For deterministic service times, V(X)=0, so cv=0 For Erlang service times of order k, V(X) = 1 / kμ2 and E(X) = 1 / μ , so cv = 1 / sqrt(k) For exponential service times at service rate μ, the mean service time is E(X) = 1 / μ and variance V(X) = 1 / μ2 so that cv=1

Example 1

Example 12