Queueing Theory Dr. Ron Lembke Operations Management.

Slides:



Advertisements
Similar presentations
Lecture 5 This lecture is about: Introduction to Queuing Theory Queuing Theory Notation Bertsekas/Gallager: Section 3.3 Kleinrock (Book I) Basics of Markov.
Advertisements

Waiting Line Management
Lecture 10 Queueing Theory. There are a few basic elements common to almost all queueing theory application. Customers arrive, they wait for service in.
Exponential Distribution
Many useful applications, especially in queueing systems, inventory management, and reliability analysis. A connection between discrete time Markov chains.
E&CE 418: Tutorial-4 Instructor: Prof. Xuemin (Sherman) Shen
What is the Poisson Distribution? Dr. Ron Tibben-Lembke.
Service Processes Operations Management Dr. Ron Lembke.
Lecture 10 – Introduction to Probability Topics Events, sample space, random variables Examples Probability distribution function Conditional probabilities.
Review of Probability Distributions
1.(10%) Let two independent, exponentially distributed random variables and denote the service time and the inter-arrival time of a system with parameters.
Queuing Models Economic Analyses. ECONOMIC ANALYSES Each problem is different Examples –To determine the minimum number of servers to meet some service.
Probability Distributions Finite Random Variables.
Chapter 13 Queuing Theory
1 Review of Probability Theory [Source: Stanford University]
BCOR 1020 Business Statistics Lecture 14 – March 4, 2008.
1 Overview of Queueing Systems Michalis Faloutsos Archana Yordanos The web.
MGTSC 352 Lecture 23: Congestion Management Introduction: Asgard Bank example Simulating a queue Types of congested systems, queueing template Ride’n’Collide.
Queueing Theory.
7/3/2015© 2007 Raymond P. Jefferis III1 Queuing Systems.
Model Antrian By : Render, ect. M/M/1 Example 2 Five copy machines break down at UM St. Louis per eight hour day on average. The average service time.
Lecture 4 Mathematical and Statistical Models in Simulation.
The Exponential Distribution. EXPONENTIAL DISTRIBUTION If the number of events in time period t has a Poisson distribution, the time between events has.
Internet Queuing Delay Introduction How many packets in the queue? How long a packet takes to go through?
Lecture 14 – Queuing Systems
The Poisson Distribution (Not in Reif’s book)
4-1 Continuous Random Variables 4-2 Probability Distributions and Probability Density Functions Figure 4-1 Density function of a loading on a long,

Lecture 10 – Introduction to Probability Topics Events, sample space, random variables Examples Probability distribution function Conditional probabilities.
Spreadsheet Modeling & Decision Analysis
Copyright warning. COMP5348 Lecture 6: Predicting Performance Adapted with permission from presentations by Alan Fekete.
Simulation Examples ~ By Hand ~ Using Excel
Exponential and Chi-Square Random Variables
D-1 © 2004 by Prentice Hall, Inc., Upper Saddle River, N.J Operations Management Waiting-Line Models Module D.
Copyright ©: Nahrstedt, Angrave, Abdelzaher, Caccamo1 Queueing Systems.
Winter 2006EE384x1 Review of Probability Theory Review Session 1 EE384X.
4/11: Queuing Models Collect homework, roll call Queuing Theory, Situations Single-Channel Waiting Line System –Distribution of arrivals –Distribution.
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 Birth and death process N(t) Depends on how fast arrivals or departures occur Objective N(t) = # of customers at time t. λ arrivals (births) departures.
Service Processes Operations Management Dr. Ron Tibben-Lembke.
Chapter 20 Queuing Theory to accompany Operations Research: Applications and Algorithms 4th edition by Wayne L. Winston Copyright (c) 2004 Brooks/Cole,
MGTSC 352 Lecture 25: Congestion Management MEC example Manufacturing example.
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.
Simulation Chapter 16 of Quantitative Methods for Business, by Anderson, Sweeney and Williams Read sections 16.1, 16.2, 16.3, 16.4, and Appendix 16.1.
Copyright ©: Nahrstedt, Angrave, Abdelzaher, Caccamo1 Queueing Systems.
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.
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.
MAT 1235 Calculus II Section 8.5 Probability
Managerial Decision Making Chapter 13 Queuing Models.
BUSINESS MATHEMATICS & STATISTICS. LECTURE 39 Patterns of probability: Binomial, Poisson and Normal Distributions Part 4.
Queuing Theory. Model Customers arrive randomly in accordance with some arrival time distribution. One server services customers in order of arrival.
4-1 Continuous Random Variables 4-2 Probability Distributions and Probability Density Functions Figure 4-1 Density function of a loading on a long,
Probability Distributions: a review
Dr. Ron Lembke Operations Management
Queuing Theory Queuing Theory.
Poisson Distribution (Not in Reif’s book)
Internet Queuing Delay Introduction
Demo on Queuing Concepts
ECE 358 Examples #1 Xuemin (Sherman) Shen Office: EIT 4155
Internet Queuing Delay Introduction
Introduction Notation Little’s Law aka Little’s Result
Solutions Queueing Theory 1
Delays Deterministic Stochastic Assumes “error free” type case
Variability 8/24/04 Paul A. Jensen
Queueing Theory II.
Poisson Distribution (Not in Reif’s book)
Delays Deterministic Stochastic Assumes “error free” type case
Presentation transcript:

Queueing Theory Dr. Ron Lembke Operations Management

Queues In England, they don’t ‘wait in line,’ they ‘wait on queue.’ So the study of lines is called queueing theory.

Cost-Effectiveness How much money do we lose from people waiting in line for the copy machine? Would that justify a new machine? How much money do we lose from bailing out (balking)?

We are the problem Customers arrive randomly. Time between arrivals is called the “interarrival time” Interarrival times often have the “memoryless property”: On average, interarrival time is 60 sec. the last person came in 30 sec. ago, expected time until next person: 60 sec. 5 minutes since last person: still 60 sec. Variability in flow means excess capacity is needed

Memoryless Property Interarrival time = time between arrivals Memoryless property means it doesn’t matter how long you’ve been waiting. If average wait is 5 min, and you’ve been there 10 min, expected time until bus comes = 5 min Exponential Distribution Probability time is t =

Poisson Distribution Assumes interarrival times are exponential Tells the probability of a given number of arrivals during some time period T.

Ce n'est pas les petits poissons. Les poissons How I love les poissons Love to chop And to serve little fish First I cut off their heads Then I pull out the bones Ah mais oui Ca c'est toujours delish Les poissons Hee hee hee Hah hah hah With the cleaver I hack them in two I pull out what's inside And I serve it up fried God, I love little fishes Don't you?

Simeon Denis Poisson "Researches on the probability of criminal and civil verdicts" 1837 looked at the form of the binomial distribution when the number of trials was large. He derived the cumulative Poisson distribution as the limiting case of the binomial when the chance of success tend to zero.

Binomial Distribution The binomial distribution tells us the probability of having x successes in n trials, where p is the probability of success in any given attempt.

Binomial Distribution The probability of getting 8 tails in 10 coin flips is:

Poisson Distribution

POISSON(x,mean,cumulative) X is the number of events. Mean is the expected numeric value. Cumulative is a logical value that determines the form of the probability distribution returned. If cumulative is TRUE, POISSON returns the cumulative Poisson probability that the number of random events occurring will be between zero and x inclusive; if FALSE, it returns the Poisson probability mass function that the number of events occurring will be exactly x.

Larger average, more normal

Queueing Theory Equations Memoryless Assumptions: Exponential arrival rate = = 10 Avg. interarrival time = 1/ = 1/10 hr or 60* 1/10 = 6 min Exponential service rate =  = 12 Avg service time = 1/  = 1/12 Utilization =  = /  10/12 = 5/6 = 0.833

Avg. # in System L q = avg # in line = L s = avg # in system = Prob. n in system = Because We can also write it as

Example Customers arrive at your service desk at a rate of 20 per hour, you can help 35 per hr. What % of the time are you busy? How many people are in the line on average? How many people are there, in total on avg? What are the odds you have 3 or more people there?

Queueing Example λ=20, μ=35 so ρ=20/35 = L q = avg # in line = L s = avg # in system = L q + ρ = = 1.332

Prob. Given # in System Prob. n people in system, ρ = Prob 0-3 people = = Prob 4 or more = = n(1-ρ)*ρ n Value * =0.429 * * = 0.429* * = 0.429* * = 0.429* * = 0.429*

Probability of n in system

Average Time W q = avg wait in line W s = avg time in system

How Long is the Wait? Time waiting for service = L q = 0.762, λ=20 W q = / 20 = hours W q = * 60 = 2.29 min Total time in system = L s = 1.332, λ=20 W s = / 20 = hours W s = * 60 = = 4 min μ=35, service time = 1/35 hrs = min W s = = 4.0 min

What did we learn? Memoryless property means exponential distribution, Poisson arrivals Results hold for simple systems: one line, one server Average length of time in line, and system Average number of people in line and in system Probability of n people in the system