The Theory of Queues Models of Waiting in line. Queuing Theory Basic model: Arrivals  Queue  Being Served  Done – Queuing theory lets you calculate:

Slides:



Advertisements
Similar presentations
Lecture 10 Queueing Theory. There are a few basic elements common to almost all queueing theory application. Customers arrive, they wait for service in.
Advertisements

Exponential Distribution
Many useful applications, especially in queueing systems, inventory management, and reliability analysis. A connection between discrete time Markov chains.
Lab Assignment 1 COP 4600: Operating Systems Principles Dr. Sumi Helal Professor Computer & Information Science & Engineering Department University of.
Queuing Analysis Based on noted from Appendix A of Stallings Operating System text 6/10/20151.
Queuing Models Basic Concepts
Simulation A Queuing Simulation. Example The arrival pattern to a bank is not Poisson There are three clerks with different service rates A customer must.
Queuing Models Basic Concepts. QUEUING MODELS Queuing is the analysis of waiting lines It can be used to: –Determine the # checkout stands to have open.
#11 QUEUEING THEORY Systems Fall 2000 Instructor: Peter M. Hahn
Simulation A Queuing Simulation. Example The arrival pattern to a bank is not Poisson There are three clerks with different service rates A customer must.
Queuing Systems Chapter 17.
Multiple server queues In particular, we look at M/M/k Need to find steady state probabilities.
Waiting Line Models And Service Improvement
Queueing Theory: Part I
Data Communication and Networks Lecture 13 Performance December 9, 2004 Joseph Conron Computer Science Department New York University
THE POISSON RANDOM VARIABLE. POISSON DISTRIBUTION ASSUMPTIONS Can be used to model situations where: –No two events occur simultaneously –The probabilities.
The Theory of Queues Models of Waiting in line. Queuing Theory Basic model: Arrivals  Queue  Being Served  Done – Queuing theory lets you calculate:
Queuing Analysis Based on noted from Appendix A of Stallings Operating System text 6/28/20151.
Module C10 Simulation of Inventory/Queuing Models.
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.
QUEUING MODELS Queuing theory is the analysis of waiting lines It can be used to: –Determine the # checkout stands to have open at a store –Determine the.
Internet Queuing Delay Introduction How many packets in the queue? How long a packet takes to go through?

This is a discrete distribution. Poisson is French for fish… It was named due to one of its uses. For example, if a fish tank had 260L of water and 13.
Copyright 2006 John Wiley & Sons, Inc. Beni Asllani University of Tennessee at Chattanooga Waiting Line Analysis for Service Improvement Operations Management.
Service Systems & Queuing Chapter 12S OPS 370. Nature of Services –A
Copyright warning. COMP5348 Lecture 6: Predicting Performance Adapted with permission from presentations by Alan Fekete.
Copyright ©: Nahrstedt, Angrave, Abdelzaher, Caccamo1 Queueing Systems.
Poisson Random Variable Provides model for data that represent the number of occurrences of a specified event in a given unit of time X represents the.
CS433 Modeling and Simulation Lecture 13 Queueing Theory Dr. Anis Koubâa 03 May 2009 Al-Imam Mohammad Ibn Saud University.
4/11: Queuing Models Collect homework, roll call Queuing Theory, Situations Single-Channel Waiting Line System –Distribution of arrivals –Distribution.
Geometric Distribution
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.
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.
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.
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.
M/M/1 queue λn = λ, (n >=0); μn = μ (n>=1) λ μ λ: arrival rate
Free Powerpoint Templates ROHANA BINTI ABDUL HAMID INSTITUT E FOR ENGINEERING MATHEMATICS (IMK) UNIVERSITI MALAYSIA PERLIS ROHANA BINTI ABDUL HAMID INSTITUT.
Traffic Flow Fundamentals
WOOD 492 MODELLING FOR DECISION SUPPORT Lecture 24 Simulation.
WOOD 492 MODELLING FOR DECISION SUPPORT Lecture 25 Simulation.
Copyright 2006 John Wiley & Sons, Inc. Beni Asllani University of Tennessee at Chattanooga Waiting Line Analysis for Service Improvement Operations Management.
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.
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.
Queuing Theory 2 HSPM J716. Simple queue model assumes … Constant average arrival rate λ and service rate μ Independence – One arrival doesn’t make another.
1 Ardavan Asef-Vaziri Sep-09Operations Management: Waiting Lines3 Example: The arrival rate to a GAP store is 6 customers per hour and has Poisson distribution.
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.
 Recall your experience when you take an elevator.  Think about usually how long it takes for the elevator to arrive.  Most likely, the experience.
Example 14.3 Queuing | 14.2 | 14.4 | 14.5 | 14.6 | 14.7 |14.8 | Background Information n County Bank has several.
Random Variables r Random variables define a real valued function over a sample space. r The value of a random variable is determined by the outcome of.
Simulation of single server queuing systems
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.
Module D Waiting Line Models.
Queuing Theory. Model Customers arrive randomly in accordance with some arrival time distribution. One server services customers in order of arrival.
18 Management of Waiting Lines
Models of Traffic Flow 1.
Queuing Theory Queuing Theory.
Internet Queuing Delay Introduction
Internet Queuing Delay Introduction
Solutions Queueing Theory 1
Solutions Hwk Que3 1 The port of Miami has 3 docking berths for loading and unloading ships but is considering adding a 4th berth.
Queuing Theory III.
Queuing Theory III.
Queuing Theory III.
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.
Presentation transcript:

The Theory of Queues Models of Waiting in line

Queuing Theory Basic model: Arrivals  Queue  Being Served  Done – Queuing theory lets you calculate: How long will it take an average customer to get done? How many customers are waiting, on average?

Why this is useful How long will it take a customer to get done? – Time allocation For customers For service How many customers are waiting? – Space allocation – Social dynamic

Arrivals  Queue  Being Served  Done – Jargon: Queue < System Queue is a subset of the System System = In queue + being served

Arrivals  Queue  Being Served  Done – Standard Greek letters: λ (Lambda) – Average arrival rate μ (Mu) – Average service rate 1/λ = Average time between arrivals 1/μ = Average time for service

Steady State -- when average performance is not changing λ Lambda – Average arrival rate μ Mu – Average service rate If μ > λ – if the service rate is faster than the arrival rate – there is a steady state. If λ > μ, there is no steady state. The queue will grow and grow.

Y a Q if λ < μ? Why is there a queue if customers are served faster than they are arriving, on average?

Y a Q if λ<μ? Why is there a queue if customers are served faster than they are arriving, on average? Because of random variation in arrival and service times.

Randomness Modeled – Suppose … An event can happen at any time Events are independent We know the average rate of occurrence – Then we use … Poisson distribution – random variation with no limit – extremes are unlikely but possible

Poisson distribution Limit of the binomial Cut t amount of time into smaller and smaller pieces Only one arrival allowed during each piece. The probability of an arrival during the piece is λ/N, where N is the number of pieces. As N  ∞, the probability of x arrivals during t amount of time is …

Poisson distribution Prob (x arrivals during time t) =

10 pieces

A model of randomness and independence of events – Using the Poisson distribution in your queuing model means adopting to binomial distribution’s assumptions: An event can happen at any time With equal probability Independent events

Poisson distribution application Running total of Poisson distribution can show how much inventory is needed.

Exponential Distribution Probability that the next ARRIVAL will be during the next t amount of time =

Exponential Distribution Probability that the SERVER will finish with the current customer during the next t amount of time =

Exponential Distribution example If μ = 1 per hour, Probability the the SERVER will finish current customer during the next hour is 1 – e -1 = For half of the customers, the service takes less than 42 minutes.

Steady State When the distribution of probabilities of various numbers in the system stabilizes When startup conditions are far behind λ<μ required for steady state to exist ρ=λ/μ is how busy the server is ρ is server busy time ÷ all time ρ< 1 for steady state to be possible

Steady State with Poisson arrivals and service times For single-server single-stage queue with Poisson arrivals and service: Probability of n in the system (waiting or being served)= (1-ρ)ρ n

Customers in System and in Queue L – customers in system = L q – customers in queue = ρL These are averages, once the steady state is reached. There are usually fewer in the system than L because the prob of n in system is skewed.

L = ρ/(1-ρ) = λ/(u-λ) When the arrival rate nearly equals the service rate, the line can get very long. If the arrival rate nearly equals the service rate, small changes in either rate can make a big difference.

Time in System W – time in system = L/λ W q – time waiting to be served = ρW These are averages, once the steady state is reached. Most customers get through in less time.

W = L/λ = 1/(u-λ) When the arrival rate and the service rate are nearly equal, the wait can be very long. When the arrival rate and the service rate are nearly equal, small changes in either rate can make a big difference.

Economic Analysis Weigh The cost of waiting – Against -- The cost of speeding up service or reducing arrivals.