Chapter 13 Queueing Models

Slides:



Advertisements
Similar presentations
Part 3 Probabilistic Decision Models
Advertisements

Introduction Queuing is the study of waiting lines, or queues.
Lecture 10 Queueing Theory. There are a few basic elements common to almost all queueing theory application. Customers arrive, they wait for service in.
Introduction to Queuing Theory
Introduction into Simulation Basic Simulation Modeling.
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.
QUEUING MODELS Based on slides for Hilier, Hiller, and Lieberman, Introduction to Management Science, Irwin McGraw-Hill.
Silberschatz, Galvin and Gagne  2002 Modified for CSCI 399, Royden, Operating System Concepts Operating Systems Lecture 19 Scheduling IV.
Nur Aini Masruroh Queuing Theory. Outlines IntroductionBirth-death processSingle server modelMulti server model.
Queuing Analysis Based on noted from Appendix A of Stallings Operating System text 6/10/20151.
Model Antrian By : Render, ect. Outline  Characteristics of a Waiting-Line System.  Arrival characteristics.  Waiting-Line characteristics.  Service.
ECS 152A Acknowledgement: slides from S. Kalyanaraman & B.Sikdar
Waiting Line Models And Service Improvement
1 Performance Evaluation of Computer Networks Objectives  Introduction to Queuing Theory  Little’s Theorem  Standard Notation of Queuing Systems  Poisson.
Data Communication and Networks Lecture 13 Performance December 9, 2004 Joseph Conron Computer Science Department New York University
Chapter 9: Queuing Models
Lecture 14 – Queuing Systems
Group members  Hamid Ullah Mian  Mirajuddin  Safi Ullah.

Queuing Theory (Waiting Line Models)
___________________________________________________________________________ Operations Research  Jan Fábry Waiting Line Models.
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.
Chapter 6: CPU Scheduling
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
1 1 Slide © 2001 South-Western College Publishing/Thomson Learning Anderson Sweeney Williams Anderson Sweeney Williams Slides Prepared by JOHN LOUCKS QUANTITATIVE.
Introduction to Operations Research
1 Queuing Analysis Overview What is queuing analysis? - to study how people behave in waiting in line so that we could provide a solution with minimizing.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. 18 Management of Management of Waiting Lines.
Queuing Theory Basic properties, Markovian models, Networks of queues, General service time distributions, Finite source models, Multiserver queues Chapter.
1 Elements of Queuing Theory The queuing model –Core components; –Notation; –Parameters and performance measures –Characteristics; Markov Process –Discrete-time.
1 Systems Analysis Methods Dr. Jerrell T. Stracener, SAE Fellow SMU EMIS 5300/7300 NTU SY-521-N NTU SY-521-N SMU EMIS 5300/7300 Queuing Modeling and Analysis.
Waiting Lines and Queuing Models. Queuing Theory  The study of the behavior of waiting lines Importance to business There is a tradeoff between faster.
Queuing Theory. Introduction Queuing is the study of waiting lines, or queues. The objective of queuing analysis is to design systems that enable organizations.
1 Queuing Systems (2). Queueing Models (Henry C. Co)2 Queuing Analysis Cost of service capacity Cost of customers waiting Cost Service capacity Total.
1 Chapters 8 Overview of Queuing Analysis. Chapter 8 Overview of Queuing Analysis 2 Projected vs. Actual Response Time.
1 ISE 195 Introduction to Industrial & Systems Engineering.
Chapter 20 Queuing Theory to accompany Operations Research: Applications and Algorithms 4th edition by Wayne L. Winston Copyright (c) 2004 Brooks/Cole,
CSCI1600: Embedded and Real Time Software Lecture 19: Queuing Theory Steven Reiss, Fall 2015.
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
1 1 Slide © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
1 1 Slide © 2009 South-Western, a part of Cengage Learning Slides by John Loucks St. Edward’s University.
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.
Chapter 6 Queueing Models
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.
Advantages of simulation 1. New policies, operating procedures, information flows and son on can be explored without disrupting ongoing operation of the.
Example 14.3 Queuing | 14.2 | 14.4 | 14.5 | 14.6 | 14.7 |14.8 | Background Information n County Bank has several.
© 2015 McGraw-Hill Education. All rights reserved. Chapter 17 Queueing Theory.
Waiting Line Theroy BY, PRAYASH NEUPANE, KARAN CHAND & SANTOSH SHERESTHA.
Queuing Models.
Mohammad Khalily Islamic Azad University.  Usually buffer size is finite  Interarrival time and service times are independent  State of the system.
Simple Queueing Theory: Page 5.1 CPE Systems Modelling & Simulation Techniques Topic 5: Simple Queueing Theory  Queueing Models  Kendall notation.
1 BIS 3106: Business Process Management (BPM) Lecture Nine: Quantitative Process Analysis (2) Makerere University School of Computing and Informatics Technology.
Queueing Theory/Waiting Line: Models and Analysis Navneet Vidyarthi
Abu Bashar Queuing Theory. What is queuing ?? Queues or waiting lines arise when the demand for a service facility exceeds the capacity of that facility,
Managerial Decision Making Chapter 13 Queuing Models.
© 2006 Prentice Hall, Inc.D – 1 Operations Management Module D – Waiting-Line Models © 2006 Prentice Hall, Inc. PowerPoint presentation to accompany Heizer/Render.
Models of Traffic Flow 1.
Chapter 9: Queuing Models
Modeling and Simulation CS 313
Chapter 5 Designing Services.
Chapter 6: CPU Scheduling
Mitchell Jareo MAT4340 – Operations Research Dr. Bauldry
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
Presentation transcript:

Chapter 13 Queueing Models Managerial Problem Solving Techniques – CBTL212

13.1 Introduction We all spend time waiting in lines (queues) line at a bank, at a supermarket, at a fast-food restaurant, at a stoplight, and so on Televisions at a television repair shop, other than the one(s) being repaired, are essentially waiting in line to be repaired Messages are sent through a computer network, they often must wait in a queue before being processed.

13.1 Introduction cont’ The same type of analysis applies to all of these. The purpose of such an analysis is generally two fold: We want to examine an existing system to quantify its operating characteristics. We want to learn how to make a system better.

13.1 Introduction cont’ We want to examine an existing system to quantify its operating characteristics. For example, if a fast-food restaurant currently employs 12 people in various jobs, the manager might be interested in determining the amount of time a typical customer must wait in line or how many customers are typically waiting in line.

13.1 Introduction cont’ We want to learn how to make a system better. The manager might find, for example, that the fast-food restaurant would do better, from an economic standpoint, by employing only 10 workers and deploying them in a different manner.

13.1 Introduction cont’ The two basic modelling approaches are analytical and simulation.

13.1 Introduction cont’ Analytical approach we search for mathematical formulas that describe the operating characteristics of the system, usually in “steady state.” The mathematical models are typically too complex to solve unless we make simplifying (and sometimes unrealistic) assumptions.

13.1 Introduction cont’ Simulation allows us to analyze much more complex systems, without making many simplifying assumptions. However, the drawback to queueing simulation is that it usually requires specialized software packages or trained computer programmers to implement.

13.1 Introduction cont’ We discuss several well-known queueing models that describe situations in the real world. These models illustrate how to calculate such operating characteristics as the average waiting time per customer, the average number of customers in line, and the fraction of time servers are busy. These analytical models generally require simplifying assumptions, and even then they can be difficult to understand.

13.1 Introduction cont’ The inputs are typically: mean customer arrival rates and mean service times. The required outputs are typically: mean waiting times in queues, mean queue lengths, the fraction of time servers are busy, and possibly others.

13.2 ELEMENTS OF QUEUEING MODELS Almost all queueing systems are alike in that customers enter a system, possibly wait in one or more queues, get served, and then depart.

Characteristics of Arrivals The arrival process consist of: the timing of arrivals a well as the types of arrivals

Characteristics of Arrivals cont’ Timing of arrivals Interarrival times - the times between successive customer arrivals These interarrival times might be known or nonrandom (doctors’ offices) or they can be unknown or random (Shoprite)

Characteristics of Arrivals cont’ Types of arrivals: There are at least two issues. Do customers arrive one at a time or in batches carloads, for example? The simplest system is when customer’ arrive one at a time, as we assume in all of the models in this chapter.

Characteristics of Arrivals cont’ Are all customers essentially alike, or can they be separated into priority classes? At a computer centre, for example, certain jobs might receive higher priority and run first, whereas the lower- priority jobs might be sent to the back of the line and run only after midnight. We assume throughout this chapter that all customers have the same priority.

Characteristics of Arrivals cont’ Another issue is whether (or how long) customers will wait in line. Balking - A customer might arrive to the system, see that too many customers are waiting in line, and decide not to enter the system at all.

Characteristics of Arrivals cont’ limited waiting room system we assume there is a waiting room size so that if the number of customers in the system equals the waiting room size, newly arriving customers are not allowed to enter the system. when the choice is made by the system, not the customer.

Characteristics of Arrivals cont’ Reneging - when a customer already in line becomes impatient and leaves the system before starting service

Service Discipline When customers enter the system, they might have to wait in line until a server becomes available The service discipline is the rule that states which customer, from all who are waiting, goes into service next.

Service Discipline cont’ The most common service discipline is first-come-first-served (FCFS), where customers are served in the order of their arrival. All of the models we discuss use the FCFS discipline.

Service Discipline cont’ Other service disciplines are possible, including: service-in-random-order (SRO), last- come-first-served (LCFS)

Service Discipline cont’ One other aspect of the waiting process is whether there is a single line or multiple lines. For example, most banks now have a single line. An arriving customer joins the end of the line. When any teller finishes service, the customer at the head of the line goes to that teller. In contrast, most supermarkets have multiple lines. When a customer goes to a checkout counter, she must choose which of several lines to enter.

Service Characteristics Each customer is served by exactly one server, even when the system contains multiple servers. For example, when you enter a bank, you are eventually served by a single teller, even though several tellers are working. Interarrival times must typically be estimated from service time data in real applications.

Service Characteristics cont’ like a typical bank, where customers join a single line and are then served by the first available teller, we say the servers (tellers) are in parallel (see Figure 14.1).

Short-Run versus Steady-State Behaviour If you run a fast-food restaurant, you are particularly interested in the queueing behaviour during your peak lunchtime period. The customer arrival rate during this period increases sharply, and you probably employ more workers to meet the increased customer load. In this case, your primary interest is in the short-run behaviour of the system

Short-Run versus Steady-State Behaviour cont’ Analytical models are best suited for studying long-run behaviour. This type of analysis is called steady-state analysis and is the focus of much of the chapter. One requirement for steady-state analysis is that the parameters of the system remain constant for the entire time period.

Short-Run versus Steady-State Behaviour cont’ Another requirement for steady-state analysis is that the system must be stable. This means that the servers must serve fast enough to keep up with arrivals—otherwise, the queue can theoretically grow without limit

Short-Run versus Steady-State Behaviour cont’ For example, in a single-server system where all arriving customers join the system, the requirement for system stability is that the arrival rate must be less than the service rate. If the system is not stable, the analytical models discussed in this chapter cannot be used.

13.4 IMPORTANT QUEUEING RELATIONSHIP We typically calculate two general types of outputs in a queueing model: time averages and customer averages. Typical time averages are L, the expected number of customers in the system LQ, the expected number of customers in the queue LS, the expected number of customers in service P(all idle), the probability that all servers are idle P(all busy), the probability that all servers are busy

13.4 IMPORTANT QUEUEING RELATIONSHIP cont’ Typical customer averages are: W, the expected time spent in the system (waiting in line or being served) WQ, the expected time spent in the queue Ws, the expected time spent in service

Little’s Formula λ = arrival rate (mean number of arrivals per time period) μ = service rate (mean number of people or items served per time period) U = server utilization (the long-run fraction of time the server is busy)

13.5 ANALYTICAL STEADY-STATE QUEUEING MODELS The Basic Single-Server Model (M/M/1) Kendell Notation: M/M/1 first M implies that the distribution of interarrival times is exponential. The second M implies that the distribution of service times is also exponential. the “1” implies that there is a single server

The Basic Single-Server Model (M/M/1) Mean time between arrivals = 1/ λ The mean service time per customer = 1/ μ ρ = traffic intensity = λ/μ

The Basic Single-Server Model (M/M/1) cont’ ρ = traffic intensity = λ/μ This is called the traffic intensity, which is a very useful measure of the congestion of the system. In the system is stable only if ρ < 1. If ρ ≥ 1, so that λ ≥ μ, then arrivals occur at least as fast as the server can handle them; in the long run, the queue becomes infinitely large—that is, it is unstable. Therefore, we must assume that ρ < 1 to obtain steady-state results.

The Basic Single-Server Model (M/M/1) cont’ Assuming that the system is stable, let pn, be the steady-state probability that there are exactly n customer in the system (waiting in line or being served) at any point in time For example, p0 is the long-run fraction of time when there are no customers in the system, p1 is the long-run fraction of time when there is exactly one customer in the system, and so on.

The Basic Multi-Server Model (M/M/s) Many service facilities such as banks and postal branches employ multiple servers. These servers work in parallel, so that each customer goes to exactly one server for service and then departs

labelled the M/M/s model. First M means that interarrival times are exponentially distributed. The second M means that the service times for each server are exponentially distributed. the s in M/M/s denotes the number of servers. E.G. M/M/3 - has 3 servers

Multiple-server facilities have two types of waiting line configurations. The first, usually seen at supermarkets, is where each server has a separate line. Each customer must decide which line to join (and then either stay in that line or switch later on). The second, seen at most banks and post offices, is where there is a single waiting line, from which customers are served in FCFS order. We examine only the second type because it is arguably the more common system in real-world situations and is much easier to analyze mathematically.

There are three inputs to this system: the arrival rate λ, the service rate (per server) μ, and the number of servers s. To ensure that the system is stable, we must also assume that the traffic intensity, now given by ρ = λ /(sμ), is less than 1. i.e.we require that the arrival rate λ be less than the maximum service rate sμ (which is achieved when all s servers are busy). If the traffic intensity is not less than 1, the length of the queue eventually increases without bound.