Simple Queueing Theory: Page 5.1 CPE1005 - Systems Modelling & Simulation Techniques Topic 5: Simple Queueing Theory  Queueing Models  Kendall notation.

Slides:



Advertisements
Similar presentations
Quantitative Techniques for Decision Making M.P. Gupta & R.B. Khanna © Prentice Hall India Page 1.
Advertisements

Review of Probability Distributions
Probabilistic OR Models and their Formulations Prepared by Prof.Dr.Fetih YILDIRIM Certainty and Uncertainty Measurements Randomness Experiments- Random.
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.
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.
To accompany Quantitative Analysis for Management, 8e by Render/Stair/Hanna 14-1 © 2003 by Prentice Hall, Inc. Upper Saddle River, NJ Chapter 14.
Waiting Line Management
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),
1 Queueing Theory H Plan: –Introduce basics of Queueing Theory –Define notation and terminology used –Discuss properties of queuing models –Show examples.
Management of Waiting Lines
Queueing Network Model. Single Class Model Open - Infinite stream of arriving customers Closed - Finite population eg Intranet users Indistinguishable.
CHAPTER 18 Waiting Lines.
Queueing Theory Professor Stephen Lawrence Leeds School of Business University of Colorado Boulder, CO
To accompany Quantitative Analysis for Management, 9e by Render/Stair/Hanna 14-1 © 2003 by Prentice Hall, Inc. Upper Saddle River, NJ Chapter 14.
Chapter 9: Queuing Models

Queuing Theory (Waiting Line Models)
Queuing Models and Capacity Planning
___________________________________________________________________________ Operations Research  Jan Fábry Waiting Line Models.
Spreadsheet Modeling & Decision Analysis
McGraw-Hill/Irwin © 2003 The McGraw-Hill Companies, Inc., All Rights Reserved. Waiting Line Models.
Waiting Line Models ___________________________________________________________________________ Quantitative Methods of Management  Jan Fábry.
Chapter 20 Queuing Theory to accompany Operations Research: Applications and Algorithms 4th edition by Wayne L. Winston Copyright (c) 2004 Brooks/Cole,
NETE4631:Capacity Planning (2)- Lecture 10 Suronapee Phoomvuthisarn, Ph.D. /
Structure of a Waiting Line System Queuing theory is the study of waiting lines Four characteristics of a queuing system: –The manner in which customers.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. 18 Management of Management of Waiting Lines.
Waiting Line and Queuing Theory Kusdhianto Setiawan Gadjah Mada University.
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.
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.
Queuing Theory. Introduction Queuing is the study of waiting lines, or queues. The objective of queuing analysis is to design systems that enable organizations.
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.
SIMULATION EXAMPLES QUEUEING SYSTEMS.
M/M/1 Queues Customers arrive according to a Poisson process with rate. There is only one server. Service time is exponential with rate  j-1 jj+1...
Waiting Lines and Queuing Theory Models
Chapter 6 Queueing Models Banks, Carson, Nelson & Nicol Discrete-Event System Simulation.
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.
Stevenson and Ozgur First Edition Introduction to Management Science with Spreadsheets McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies,
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.
Technical Supplement 2 Waiting Line Models McGraw-Hill/Irwin Copyright © 2011 by the McGraw-Hill Companies, Inc. All rights reserved.
Structure of a Waiting Line System Queuing theory is the study of waiting lines Four characteristics of a queuing system: –The manner in which customers.
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.
Introduction Definition M/M queues M/M/1 M/M/S M/M/infinity M/M/S/K.
Adeyl Khan, Faculty, BBA, NSU Elements of Queuing System ArrivalsServiceWaiting line Exit Processing order System.
© 2015 McGraw-Hill Education. All rights reserved. Chapter 17 Queueing Theory.
Queuing Models.
Mohammad Khalily Islamic Azad University.  Usually buffer size is finite  Interarrival time and service times are independent  State of the system.
OPERATIONS MANAGEMENT INTEGRATING MANUFACTURING AND SERVICES FIFTH EDITION Mark M. Davis Janelle Heineke Copyright ©2005, The McGraw-Hill Companies, Inc.
McGraw-Hill/Irwin Copyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 18 Management of Waiting Lines.
WAITING LINES AND SIMULATION
Chapter 1 Introduction.
Al-Imam Mohammad Ibn Saud University
Management of Waiting Lines
Chapter 9: Queuing Models
Queueing Theory Carey Williamson Department of Computer Science
Chapter 20 Queuing Theory
System Performance: Queuing
Queuing Analysis Two analytical techniques can be employed to study queuing processes: Shock wave analysis Demand-capacity process is deterministic Suited.
Mitchell Jareo MAT4340 – Operations Research Dr. Bauldry
Queueing Theory 2008.
Carey Williamson Department of Computer Science University of Calgary
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
SIMULATION EXAMPLES QUEUEING SYSTEMS.
Presentation transcript:

Simple Queueing Theory: Page 5.1 CPE Systems Modelling & Simulation Techniques Topic 5: Simple Queueing Theory  Queueing Models  Kendall notation  Steady state analysis  Performance measures  Different queue models

Simple Queueing Theory: Page 5.2 CPE Systems Modelling & Simulation Techniques Queues and components  Queues are frequently used in simulations.  Population: The entity (“customers”) that requires service  Server: The entity that provides the service  Queue: The entity that tempoparily holds the waiting “customers” before they are served.  Events: arrival, service, and leaving. Calling Population Waiting line Server arrival leaving service

Simple Queueing Theory: Page 5.3 CPE Systems Modelling & Simulation Techniques Purpose of Queueing Models  Most models are to determine the level of service  Two major factors:  Cost of providing service: cannot afford many idle servers.  Cost of customer dissatisfaction: customers will leave if queue is too long.  Tradeoff between these 2 factors Service level Cost Total cost Cost of providing service Cost of customer dissatisfaction

Simple Queueing Theory: Page 5.4 CPE Systems Modelling & Simulation Techniques Characteristics of Queue models  Calling population  infinite population: leads to simpler model, useful when number of potential “customers” >> number of “customers” in system.  Finite population: arrival rate is affected by the number of customers already in the system.  System capacity  The number of customers that can be in the queue or under service.  An infinite capacity means no customer will exit prematurely.  Arrival process  For infinite population, arrival process is defined by the interarrival times of successive customers  Arrivals can be scheduled or at random times, Poisson dist’n is used frequently for random arrivals, and scheduled arrivals usually use a constant interarrival rate.

Simple Queueing Theory: Page 5.5 CPE Systems Modelling & Simulation Techniques Characteristics of Queue models  Queue behaviour  describes how the customer behaves while in the queue waiting  balking - leave when they see the line is too long  renege - leave after being in the queue for too long  jockey - move from one queue to another  Queue discipline  FIFO - first in first out (most common)  FILO - first in last out (stack)  SIRO - service in random order  SPT - shortest processing time first  PR - service based on priority

Simple Queueing Theory: Page 5.6 CPE Systems Modelling & Simulation Techniques Characteristics of Queue models  Service Times  random: mainly modeled by using exponential distribution or truncated normal distribution (truncate at 0).  Constant  Service mechanism describes how the servers are configured.  Parallel - multiple servers are operating and take customer in from the same queue.  Serial - customers have to go through a series of servers before completion of service  combinations of parallel and serial.

Simple Queueing Theory: Page 5.7 CPE Systems Modelling & Simulation Techniques Kendall Notations  Kendall defined the notations for parallel server systems A / B / c / N / K  A: interarrival distribution type  B: service time distribution type  Common symbols for A, B are M for exponential, D for constant, E k for Erlang, G for general or arbitary.  c: for number of parallel servers  N: for system capacity  K: for size of calling population.

Simple Queueing Theory: Page 5.8 CPE Systems Modelling & Simulation Techniques Queue Characteristics and Metrics  Characteristics  customer arrival rate (in customers per time unit)  service rate of one server (in service/transaction per time unit)  Performance metrics  average utilisation factor, percentage the server is busy.  L q average length of queue  Laverage number of customers in the system  W q average waiting time in queue  Waverage time spent in the system  P n Probability of n customers in the system

Simple Queueing Theory: Page 5.9 CPE Systems Modelling & Simulation Techniques Transient and long term behaviour  Queue metrics changes whenever state change events happen, e.g. customers in queue at time t, service time for customer n, etc.  Average metrics such as average customers in system L, average utilisation factor  will vary but will approach a steady state or long term value.  For simple queues, the long term metrics can be calculated analytically, based on the queue characteristics (,  for M/M queues) and the initial conditions (whether a customer is already under service, whether customers are already queuing at time 0).

Simple Queueing Theory: Page 5.10 CPE Systems Modelling & Simulation Techniques M/M/1/  /  or M/M/1 model  One of the basic queueing models.  Single server, both arrival rate and service rate  are exponential

Simple Queueing Theory: Page 5.11 CPE Systems Modelling & Simulation Techniques M/M/1 example

Simple Queueing Theory: Page 5.12 CPE Systems Modelling & Simulation Techniques M/M/1/N/  Single server queue, fixed length  Fixed length queue means customer will not get into the system if the maximum system capacity is filled up.

Simple Queueing Theory: Page 5.13 CPE Systems Modelling & Simulation Techniques M/M/1/N/  example

Simple Queueing Theory: Page 5.14 CPE Systems Modelling & Simulation Techniques Adding more servers M/M/c  Complicated formula to find P 0, probability that all servers are empty, and P , probability that all servers are busy.

Simple Queueing Theory: Page 5.15 CPE Systems Modelling & Simulation Techniques M/M/c example

Simple Queueing Theory: Page 5.16 CPE Systems Modelling & Simulation Techniques Other models  M/M/c/K/K  This is used to model a finite number of calling population. E.g. a restaurant with X tables of customers and Y waiters to serve the customers.  M/D/1  Service time has no variation.  D/M/1  deterministic arrival pattern, with exponential service time. E.g. a doctor’s timetable with appointments.  M/E k /1  Service follows an Erlang distribution. E.g. a series of procedures that take the same average time to complete for each.