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),

Slides:



Advertisements
Similar presentations
Review of Probability Distributions
Advertisements

Lecture 13 – Continuous-Time Markov Chains
Model Antrian By : Render, ect. Outline  Characteristics of a Waiting-Line System.  Arrival characteristics.  Waiting-Line characteristics.  Service.
Waiting Lines and Queuing Theory Models
© The McGraw-Hill Companies, Inc., Technical Note 6 Waiting Line Management.
Queuing Systems Chapter 17.
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.
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 Lines Students should be able to:
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
Queuing. Elements of Waiting Lines  Population –Source of customers Infinite or finite.
To Accompany Russell and Taylor, Operations Management, 4th Edition,  2003 Prentice-Hall, Inc. All rights reserved. Chapter 16 Waiting Line Models and.
To accompany Quantitative Analysis for Management, 9e by Render/Stair/Hanna 14-1 © 2003 by Prentice Hall, Inc. Upper Saddle River, NJ Chapter 14.
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
WAITING LINES The study of waiting lines, called queuing theory, is one of the most widely used and oldest management science techniques. The three basic.
Group members  Hamid Ullah Mian  Mirajuddin  Safi Ullah.

Queuing Theory (Waiting Line Models)
Queuing Models and Capacity Planning
___________________________________________________________________________ Operations Research  Jan Fábry Waiting Line Models.
Introduction to Queuing Theory
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.
Queuing models Basic definitions, assumptions, and identities Operational laws Little’s law Queuing networks and Jackson’s theorem The importance of think.
McGraw-Hill/Irwin © 2006 The McGraw-Hill Companies, Inc., All Rights Reserved. 1.
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.
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.
Copyright 2006 John Wiley & Sons, Inc. Beni Asllani University of Tennessee at Chattanooga Waiting Line Analysis for Service Improvement Operations Management.
Queueing Theory What is a queue? Examples of queues: Grocery store checkout Fast food (McDonalds – vs- Wendy’s) Hospital Emergency rooms Machines waiting.
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.
1 Chapters 8 Overview of Queuing Analysis. Chapter 8 Overview of Queuing Analysis 2 Projected vs. Actual Response Time.
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.
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.
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.
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.
Managerial Decision Making Chapter 13 Queuing Models.
Module D Waiting Line Models.
McGraw-Hill/Irwin Copyright © 2009 by The McGraw-Hill Companies, Inc. All rights reserved.
WAITING LINES AND SIMULATION
Models of Traffic Flow 1.
McGraw-Hill/Irwin ©2009 The McGraw-Hill Companies, All Rights Reserved
Queueing Theory What is a queue? Examples of queues:
Management of Waiting Lines
Chapter 9: Queuing Models
Queuing models Basic definitions, assumptions, and identities
IV-2 Manufacturing Systems modeling
System Performance: Queuing
Queuing models Basic definitions, assumptions, and identities
Mitchell Jareo MAT4340 – Operations Research Dr. Bauldry
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
Presentation transcript:

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), obtain some kind of service, an then leave the system.  Managerial Problem Related to Queueing Systems:  Analysis Problems  Need to know if a given system is performing satisfactorily.  Design Problems  Want to design the features of a system to accomplish an overall objective.  Queueing System:  A system in which items (or customers) arrive at a station, wait in a line (or queue), obtain some kind of service, an then leave the system.  Managerial Problem Related to Queueing Systems:  Analysis Problems  Need to know if a given system is performing satisfactorily.  Design Problems  Want to design the features of a system to accomplish an overall objective.

3 Characteristics of Queueing System  A customer population, which is the collection of all possible customers.  An arrival process, which is how the customers from this population arrive.  A queueing process, which consists of  the way in which the customers wait for service and  the queueing discipline, which is how they are then selected for service.  A customer population, which is the collection of all possible customers.  An arrival process, which is how the customers from this population arrive.  A queueing process, which consists of  the way in which the customers wait for service and  the queueing discipline, which is how they are then selected for service.

4 Characteristics of Queueing System (cont’)  A service process, which is the way and rate at which customers are served.  A departure process, which is one of the following:  Items leave the system completely after being served, resulting in a one-step queueing system.  Items, once finished at a station, proceed to some other work station to receive further service, resulting in a network of queues.  A service process, which is the way and rate at which customers are served.  A departure process, which is one of the following:  Items leave the system completely after being served, resulting in a one-step queueing system.  Items, once finished at a station, proceed to some other work station to receive further service, resulting in a network of queues.

5 Queueing System Customer Population Arrival Process System Waiting Customers Queueing Process Depart Network of queues ArrivalDepart One-step queueing system One-step queueing system Arrival Depart Components of a Queueing System: Departure Processes: Servers Service Process

6 Arrival Process  Classes of Interarrival Times:  Deterministic, in which each successive customer arrives after the same fixed and known amount of time. A classic example is an assembly line, where the jobs arrive at a station at unvarying time intervals (called the cycle time).  Probabilistic, in which the time between successive arrivals is uncertain and varies. Probabilistic interarrival times are described by a probability distribution.  Classes of Interarrival Times:  Deterministic, in which each successive customer arrives after the same fixed and known amount of time. A classic example is an assembly line, where the jobs arrive at a station at unvarying time intervals (called the cycle time).  Probabilistic, in which the time between successive arrivals is uncertain and varies. Probabilistic interarrival times are described by a probability distribution.

7 Arrival Process (Example)  Exponential Distribution where is the average number of arrivals per unit of time. Probability of next customer arriving within T units of previous arrival: P (interarrival time  T) = 1- e - T For example: P (interarrival time  1/6 hour)= 1- e -20(1/6) =  Exponential Distribution where is the average number of arrivals per unit of time. Probability of next customer arriving within T units of previous arrival: P (interarrival time  T) = 1- e - T For example: P (interarrival time  1/6 hour)= 1- e -20(1/6) = 0.964

8 Queueing Process  Single-line Queueing System:  A queueing system in which the customers waiting in a single line for the next available server.  Multiple-line Queueing System:  A queueing system in which arriving customers may select one of several lines in which to wait for service.  Single-line Queueing System:  A queueing system in which the customers waiting in a single line for the next available server.  Multiple-line Queueing System:  A queueing system in which arriving customers may select one of several lines in which to wait for service.

9 Classifications of Queueing Models  Queueing Disciplines  First-In-First-Out (FIFO)  Last-In-First-Out (LIFO)  Priority Selection  Notations (Kendall) A / B / c / K / L where A: interarrival time distribution B: service time distribution c: no. of services K: the system capacity L: the size of the calling population  Queueing Disciplines  First-In-First-Out (FIFO)  Last-In-First-Out (LIFO)  Priority Selection  Notations (Kendall) A / B / c / K / L where A: interarrival time distribution B: service time distribution c: no. of services K: the system capacity L: the size of the calling population

10 Classifications of Queueing Models (cont’)  The arrival process: Symbol A to describe interarrival distribution:  D = deterministic interarrival time  M = probabilistic interarrival time with exponential distribution  G = probabilistic interarrival time with general distribution other than exponential.  The service process: Symbol B to describe the service time distribution:  D = deterministic service time  M = probabilistic service time with exponential distribution  G = probabilistic service time with general distribution other than exponential.  The arrival process: Symbol A to describe interarrival distribution:  D = deterministic interarrival time  M = probabilistic interarrival time with exponential distribution  G = probabilistic interarrival time with general distribution other than exponential.  The service process: Symbol B to describe the service time distribution:  D = deterministic service time  M = probabilistic service time with exponential distribution  G = probabilistic service time with general distribution other than exponential.

11 Classifications of Queueing Models (cont’)  The queueing process: this number c denotes how many parallel stations or channels are in the system (Servers are assumed to be identical in rate of service).  When the waiting space and/or customer population size is finite:  K = Maximum number of customers that can be in the system at any one time = number of parallel stations plus total number of customers that can wait for service  L = Total number of customers in the population  Example:  M/M/3//10 = a system that has room for an infinite number of customer (K has been left off) but only 10 possible customers exists.  The queueing process: this number c denotes how many parallel stations or channels are in the system (Servers are assumed to be identical in rate of service).  When the waiting space and/or customer population size is finite:  K = Maximum number of customers that can be in the system at any one time = number of parallel stations plus total number of customers that can wait for service  L = Total number of customers in the population  Example:  M/M/3//10 = a system that has room for an infinite number of customer (K has been left off) but only 10 possible customers exists.

12 Performance Measures  Performance Measures for Evaluating a Queueing System Transient PhaseSteady State Phase Customer number (in order of arrival)

13 Common performance Measures  Arrival rate –  Service rate of one server –   Server utilization–   Mean number in the system – L  Mean queue length – L q  Average time in the system – W  Average waiting time – W q  Steady-state probability distribution – P n, n = 0,1,2,…  Arrival rate –  Service rate of one server –   Server utilization–   Mean number in the system – L  Mean queue length – L q  Average time in the system – W  Average waiting time – W q  Steady-state probability distribution – P n, n = 0,1,2,…

14 L q =  W q L =  W W = W q + (1 /  ) Relationships among Performance Measures Average time in the system Average time in the system = Average waiting time Average waiting time + Average service time Average service time Average no. of customers in the system Average no. of customers in the system = Average no. of arrivals per unit of time Average no. of arrivals per unit of time  Average time in the system Average time in the system Average no. of customers in the queue Average no. of customers in the queue = Average no. of arrivals per unit of time Average no. of arrivals per unit of time  Average time in the queue Average time in the queue

15 Relationships among Performance Measures (Example)  Suppose = 12,  = 4, L q = 3

16 M / M / 1 Queueing System  Analyzing a Single-Line Single-Channel Queueing System with Exponential Arrival and Service Processes (M / M / 1)  Queueing System for Weigh Station = the average number of trucks arriving per hour = 60  =the average number of trucks that can be weighed per hour = 66  Analyzing a Single-Line Single-Channel Queueing System with Exponential Arrival and Service Processes (M / M / 1)  Queueing System for Weigh Station = the average number of trucks arriving per hour = 60  =the average number of trucks that can be weighed per hour = 66 Weigh Station

17 Formulas (M / M / 1) Performance MeasureGeneral Formula Utilization Average number in line Average waiting time in queue Average waiting time in system Performance MeasureGeneral Formula Utilization Average number in line Average waiting time in queue Average waiting time in system

18 Formulas (M / M / 1) (cont’) Performance MeasureGeneral Formula Average number in system Probability that no customers are in system Probability that an arriving customer has to wait Probability of n customers in the system Performance MeasureGeneral Formula Average number in system Probability that no customers are in system Probability that an arriving customer has to wait Probability of n customers in the system

19Computation Utilization (  ):  = /  = 60 / 66 = Prob.(no customers are in system) (P 0 ): P 0 = 1 -  = 1 – = Average no. in line (L q ): L q =  2 / (1 -  ) = Average waiting time in the queue (W q ): W q = L q / = / 60 = Average waiting time in the system (W): W = W q + 1 /  = Average no. in the system (L): L =  W = 60  = 10 Prob.(arriving customer having to wait) (P w ): P w = 1 - P 0 =  = Prob.(n customers in the system) (P n ): P n =  n  P 0 Utilization (  ):  = /  = 60 / 66 = Prob.(no customers are in system) (P 0 ): P 0 = 1 -  = 1 – = Average no. in line (L q ): L q =  2 / (1 -  ) = Average waiting time in the queue (W q ): W q = L q / = / 60 = Average waiting time in the system (W): W = W q + 1 /  = Average no. in the system (L): L =  W = 60  = 10 Prob.(arriving customer having to wait) (P w ): P w = 1 - P 0 =  = Prob.(n customers in the system) (P n ): P n =  n  P 0 n0123… pnpn …

20 M / M / c Queueing System  Analyzing a Single-Line Multiple-Channel Queueing System with Exponential Arrival and Service Processes (M / M / c)  Queueing System for Weigh Station with Two Scales c= 2 servers = 70 trucks per hour  =40 trucks per hour on each scale  Analyzing a Single-Line Multiple-Channel Queueing System with Exponential Arrival and Service Processes (M / M / c)  Queueing System for Weigh Station with Two Scales c= 2 servers = 70 trucks per hour  =40 trucks per hour on each scale Weigh Station

21 Formulas (M / M / c) Performance MeasureGeneral Formula Server utilization Probability that no customers are in system Average number in line Performance MeasureGeneral Formula Server utilization Probability that no customers are in system Average number in line

22 Formulas (M / M / c) (cont’) Performance MeasureGeneral Formula Average waiting time in queue Average waiting time in system Average number in system Performance MeasureGeneral Formula Average waiting time in queue Average waiting time in system Average number in system

23Computation Utilization (  ):  = / c  = 70 / (2  40) = Prob.(no customers are in system) (P 0 ): Utilization (  ):  = / c  = 70 / (2  40) = Prob.(no customers are in system) (P 0 ):

24 Computation (cont’) Average no. in line (L q ): Average waiting time in the queue (W q ): Average waiting time in the system (W): Average no. in the system (L): Average no. in line (L q ): Average waiting time in the queue (W q ): Average waiting time in the system (W): Average no. in the system (L):

25 Economic Analysis of Queueing System  American Weavers, Inc.  The plant has a large number of machines that jam frequently.  Machines are repaired on a first-come-first-serve basis by one of seven available repair persons.  An average of 10 to 12 machines are out of operation at any one time due to jams.  Hiring more repair people will reduce the number of jammed machines. How many should be hired?  American Weavers, Inc.  The plant has a large number of machines that jam frequently.  Machines are repaired on a first-come-first-serve basis by one of seven available repair persons.  An average of 10 to 12 machines are out of operation at any one time due to jams.  Hiring more repair people will reduce the number of jammed machines. How many should be hired?

26 Economic Analysis of Queueing System (cont’)  Modeling Current System:  Current number of repair persons (c = 7).  The occurrence of jammed machines can be approximated by a Poisson arrival process with an average rate of 25 per hour ( = 25).  Each jammed machine requires a random amount of time for repair that can be approximated by an exponential distribution with an average service time of 15 minutes, which is an average rate per server of four machines per hour (  = 4).  Modeling Current System:  Current number of repair persons (c = 7).  The occurrence of jammed machines can be approximated by a Poisson arrival process with an average rate of 25 per hour ( = 25).  Each jammed machine requires a random amount of time for repair that can be approximated by an exponential distribution with an average service time of 15 minutes, which is an average rate per server of four machines per hour (  = 4).

27 Analyzing the Current System M / M / c Queue Statistics Number of identical servers7 Mean arrival rate Mean service rate per server Mean server utilization (%) Expected number of customers in queue Expected number of customers in system Probability that a customer must wait Expected time in the queue Expected time in the system M / M / c Queue Statistics Number of identical servers7 Mean arrival rate Mean service rate per server Mean server utilization (%) Expected number of customers in queue Expected number of customers in system Probability that a customer must wait Expected time in the queue Expected time in the system0.4839

28 Cost Analysis c s = cost per server per unit of time = $50/hour c w = cost per unit of time for a customer waiting in the system = $100/hour for lost production, etc. L= average number of customers in the system Total Cost = cost of crew + cost of waiting = c s  c + c w  L = 50   = $ per hour c s = cost per server per unit of time = $50/hour c w = cost per unit of time for a customer waiting in the system = $100/hour for lost production, etc. L= average number of customers in the system Total Cost = cost of crew + cost of waiting = c s  c + c w  L = 50   = $ per hour

29 Cost Analysis (cont’) Crew sizeExpected no. in the systemHourly cost ($)   =   =   =   =   =