QueueTraffic and queuing theory +. 2 Queues in everyday life You have certainly been in a queue somewhere. –Where? –How were they different?  We encounter.

Slides:



Advertisements
Similar presentations
Capacity Planning and Queuing Models
Advertisements

Closed Queuing Networks (Mean Value Analysis). Closed Queuing Networks Arise in two situations Arise in two situations When “source” of requests is explicitly.
Queueing Models and Ergodicity. 2 Purpose Simulation is often used in the analysis of queueing models. A simple but typical queueing model: Queueing models.
CS 241 Spring 2007 System Programming 1 Queuing Framework for Process Management Evaluation Lecture 20 Klara Nahrstedt.
INDR 343 Problem Session
Review of Probability Distributions
QUEUING MODELS Based on slides for Hilier, Hiller, and Lieberman, Introduction to Management Science, Irwin McGraw-Hill.
Waiting Lines Example-1
1 Waiting Lines Also Known as Queuing Theory. 2 Have you ever been to the grocery store and had to wait in line? Or maybe you had to wait at the bank.
QMD: Waiting-line analysis
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/10/20151.
#11 QUEUEING THEORY Systems Fall 2000 Instructor: Peter M. Hahn
Queuing Models Economic Analyses. ECONOMIC ANALYSES Each problem is different Examples –To determine the minimum number of servers to meet some service.
Queues / Lines You manage a call center which can answer an average of 20 calls an hour. Your call center gets 17.5 calls in an average hour. On average.
OS Fall ’ 02 Performance Evaluation Operating Systems Fall 2002.
1 Queuing Theory 2 Queuing theory is the study of waiting in lines or queues. Server Pool of potential customers Rear of queue Front of queue Line (or.
Waiting Line Management
The Theory of Queues Models of Waiting in line. Queuing Theory Basic model: Arrivals  Queue  Being Served  Done – Queuing theory lets you calculate:
14-1. Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin 14 Capacity Planning and Queuing Models.
Waiting lines problems
Project 2: ATM’s & Queues
Waiting line Models.
Queuing Theory. Queuing theory is the study of waiting in lines or queues. Server Pool of potential customers Rear of queue Front of queue Line (or queue)
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.
Queuing Theory (Waiting Line Models)
Queuing Networks. Input source Queue Service mechanism arriving customers exiting customers Structure of Single Queuing Systems Note: 1.Customers need.
OPSM 301: Operations Management
Spreadsheet Modeling & Decision Analysis
D-1 © 2004 by Prentice Hall, Inc., Upper Saddle River, N.J Operations Management Waiting-Line Models Module D.
APPLICATION OF QUEUING THEORY TO WASHU DINING Presented by: Rohit Ray and Antonia Ferguson.
Management of Waiting Lines McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
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.
Introduction to Operations Research
Project 2: ATM’s & Queues. ATM’s & Queues  Certain business situations require customers to wait in line for a service Examples:  Waiting to use an.
NETE4631:Capacity Planning (2)- Lecture 10 Suronapee Phoomvuthisarn, Ph.D. /
Ch 6 Tech Notes OBJECTIVES
Supplement C Waiting Line Models Operations Management by R. Dan Reid & Nada R. Sanders 4th Edition © Wiley 2010.
Queuing Theory Basic properties, Markovian models, Networks of queues, General service time distributions, Finite source models, Multiserver queues Chapter.
Waiting Lines and Queuing Models. Queuing Theory  The study of the behavior of waiting lines Importance to business There is a tradeoff between faster.
Example simulation execution The Able Bakers Carhops Problem There are situation where there are more than one service channel. Consider a drive-in restaurant.
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.
OMSAN LOJİSTİK. Top Management Program in Logistics & Supply Chain Management (TMPLSM) Production and Operations Management 3: Process Analysis.
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...
CSCI1600: Embedded and Real Time Software Lecture 19: Queuing Theory Steven Reiss, Fall 2015.
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.
NETE4631: Network Information System Capacity Planning (2) Suronapee Phoomvuthisarn, Ph.D. /
1 1 Slide © 2009 South-Western, a part of Cengage Learning Slides by John Loucks St. Edward’s University.
Management of Waiting Lines Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent.
Queuing Models.
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.
Managing Flow Variability: Safety Capacity
Queues Queue Concept Queue Design Considerations
Queuing Theory Queuing Theory.
Introduction Notation Little’s Law aka Little’s Result
Solutions Hwk Que3 1 The port of Miami has 3 docking berths for loading and unloading ships but is considering adding a 4th berth.
System Performance: Queuing
Solutions Queueing Theory 1
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 Made by Abdulsalam shek salim
Presentation transcript:

QueueTraffic and queuing theory +

2 Queues in everyday life You have certainly been in a queue somewhere. –Where? –How were they different?  We encounter queues all the time! At ticket vending machines, cash desks, at the doctors, at printers, in a call center, …

3 Examples: supermarket, doctor Supermarket: many cash desks, many queues –They even might have an express queue line! Doctor: one doctors (~cash desk), one queue –Similar: queues in a self service restaurant, queues in front of a cable car

4 What is it about today?  Learn a mathematical model –How are queues analyzed? –What are important concepts and terms for this? Learning goals with the use of QueueTraffic Being able to explain the concepts arrival rate, throughput, utilization and calculate those for given situations with the help of QueueTraffic Being able to interpret different values for utilization: Do we get a queue or not? Being able to explain the difference between Poisson and uniform distribution in a illustrative way

5 The best system? What is better, what worse? –Many cash desks? –Fast lines? –Number tickets? –...?  Cannot be decided like this!  What can be decided: How well works a system in a certain situation.

6 Waiting queues and me: 2 points of view 1.I am responsible for the setting of queues –Manager of a store –Doctor in a medical practice –Operator of a cable car –... 2.I am waiting in a queue –Client –Patient –Hiker –...  I am depending on the system  I can control the system

7 Problems of a store manger When and why do we get queues? What can we do about it? –More cash desks What if there are too many desks open? –Let on more people in –First serve the people who need little service time –Limit the time during which someone is being served –Too many people, too few desks  costs, boredom, …  e.g. printers that sorts job by their size  e.g. limited treatment time per client at the doctor

8 Problems of a customer Why does it always feel to us like all other queues move faster? Which queue should I take? Where shall I append? How long do I have to wait? –Where there are the fewest people in queue? –Where the people have the least products to dispatch? –Where the fastest cashier is? –Where one can only pay cash? –Where someone helps me bagging? –...?

9 We observe From the right the queue gets shortened From the left he queue gets extended

10 The act of clients being cleared from queue from the right is called service process. The time one service process takes for one client is called the service time b. Arrival and service-process The act of new clients permanently putting theirselves in queue is called arrival process. The number of clients adding theirselves to the queue within a certain period of time is called the arrival rate λ.

11 Arrival rate λ : How often do new clients arrive? Service time b: how long takes a service station for one client? –It take the man at the cashier on average 15 minutes to serve a client.  service time: –In a supermarket 5 clients come through the door per hour, on average.  Arrival rate: Arrival rate λ (lambda) und service time b λ = 5/60 clients/minute b = 15 minutes/client

12 throughput μ (Mu) Throughput μ : How many clients are served per time unit? The throughput is the reciprocal of the service time: μ = 1/b Example: service time b = 15 minute/client Throughput: μ = 1 / 15 clients/minute = 1 client / 15 minutes = 4 clients/hour

13 Utilization  (Rho) Utilization  = λ/μ: How much of the capacity of the system is used?  Important parameter for the analysis of queuing systems ! 3 examples: - λ 1 = 10 clients/hour, μ 1 = 30 c./h - λ 2 = 30 c./h, μ 2 = 30 c./h - λ 3 = 60 c./h, μ 3 = 30 c./h Utilization:   1 =  1 /μ 1 = 10 / 30 = 0.33   2 =  2 /μ 2 = 30 / 30 = 1   3 =  3 /μ 3 = 60 / 30 = 2

14 Distributions at the arrival Arrivals in QueueTraffic are uniform or Poisson distributed. or

15 QueueTraffic: Demo Source:

16 QueueTraffic Situation and help Simulation area Traffic control Volume of traffic Simulation control Data and charts

17 You solve some first exercises Solve exercises A until 3.

18 Theoretical and effective throughput in in QueueTraffic So far, we only considered the theoretical throughput μ t, since we took at look at how many clients (cars) can be served (drive through) under optimal conditions. QueueTraffic is a simulation and to calculate the throughput it counts the number of cars driving over the crossroad per round. This is called the effective throughput μ e.

19 Why do we need the effective throughput? Fact: How many car could theoretically get through cannot easily be measured or counted. The number of “served” cars can easily be counted! –This gives us the effective throughput μ e –μ e = μ t is reached, if > μ t, i.e. if “enough” cars arrive.

20 Sample - calculation Arrival rate: – = 10 car/60s Effective throughput: –  e = 10 cars/60s Theoretical throughput: –  t = (28 s/60s) * (1 car/1s) = 28 cars/60s Utilization: –  = /  t = (10 cars/60 s) / (28 cars/60 s) = 0.36 !!! calculated! simulated! (counted)

21 Remarks to the calculations in QueueTraffic Traffic volume is per 60 s Formula for theoretical throughput μ t = „proportion green time” * capacity per lane e.g.: μ t = 28s/60s * 1 car/s Use the theoretical throughput μ t to calculate the utilization:  = /  t given!

22 …now: your turn!

23 The most important terms termexample Arrival rate λ 12 cars/minute Service time b0.1 minute/car throughput  t = 1/b10 cars/minute utilization  = /  t 1.2

24 Connection between utilization  = /  t and traffic jam. In general holds:  < 1  no (or little) jam: system under-worked  ≈ 1  „a little“ jam: system loaded  > 1  growing jam: system overloaded Practical Interpretation: Jam if >  t, i.e. if the arrival rate is bigger than the (theoretical) throughput. –Thus: If more cars arrive than what can be served, we get jam!

25 What was it about today?  Get to know a mathematical model –How are waiting queues analyzed? –What are important terms and concepts? Concrete goals: Being able to explain the concepts arrival rate, throughput, utilization and calculate those for given situations with the help of QueueTraffic Being able to interpret different values for utilization: Do we get a queue or not? Being able to explain the difference between Poisson and uniform distribution in a illustrative way

26 THE END QueueTraffic und queuing theory Remarks and feedback please to: