Queuing Analysis Two analytical techniques can be employed to study queuing processes: Shock wave analysis Demand-capacity process is deterministic Suited.

Slides:



Advertisements
Similar presentations
Nur Aini Masruroh Queuing Theory. Outlines IntroductionBirth-death processSingle server modelMulti server model.
Advertisements

Model Antrian By : Render, ect. Outline  Characteristics of a Waiting-Line System.  Arrival characteristics.  Waiting-Line characteristics.  Service.
Queuing Systems Chapter 17.
Queuing CEE 320 Anne Goodchild.
Queuing and Transportation
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.
Lec13, Ch.6, pp : Gap acceptance and Queuing Theory (Objectives)
CE 4640: Transportation Design Prof. Tapan Datta, Ph.D., P.E. Fall 2002.
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),
CEE 320 Spring 2007 Queuing CEE 320 Steve Muench.
To accompany Quantitative Analysis for Management, 9e by Render/Stair/Hanna 14-1 © 2003 by Prentice Hall, Inc. Upper Saddle River, NJ Chapter 14.
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)
Operations Management Waiting-Line Models Module D
Chapter 9: Queuing Models
Group members  Hamid Ullah Mian  Mirajuddin  Safi Ullah.

Queuing Theory (Waiting Line Models)
Asst. Prof. Dr. Mongkut Piantanakulchai
OREGON TECH CIV475 Lindgren1 CIV 475 Traffic Engineering Mannering / Kilareski Chapter 5 Queuing Theory.
Introduction to Operations Research
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.
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.
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.
1 Chapters 8 Overview of Queuing Analysis. Chapter 8 Overview of Queuing Analysis 2 Projected vs. Actual Response Time.
Traffic Flow Fundamentals
Queueing System Provide a mean to estimate important measures of Highway Performance Travel time Speed Affects Roadway Design Required left-turn bay length.
CS352 - Introduction to Queuing Theory Rutgers University.
Waiting Lines and Queuing Theory Models
Maciej Stasiak, Mariusz Głąbowski Arkadiusz Wiśniewski, Piotr Zwierzykowski Model of the Nodes in the Packet Network Chapter 10.
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.
1 CEE 8207 Summer 2013 L#6 Queue. 2 Queueing System Provide a mean to estimate important measures of Highway Performance  Travel time  Speed Affects.
Waiting Line Theory Akhid Yulianto, SE, MSc (log).
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.
Delays  Deterministic Assumes “error free” type case Delay only when demand (known) exceeds capacity (known)  Stochastic Delay may occur any time Random.
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.
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,
McGraw-Hill/Irwin Copyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 18 Management of Waiting Lines.
WAITING LINES AND SIMULATION
Models of Traffic Flow 1.
Lecture 2.7. Queuing Theory
Al-Imam Mohammad Ibn Saud University
Queueing Theory What is a queue? Examples of queues:
Management of Waiting Lines
Chapter 9: Queuing Models
Introduction Traffic flow characteristics
Demo on Queuing Concepts
Management of Waiting Lines
Chapter 6 Queuing Models.
Queueing Theory Carey Williamson Department of Computer Science
Queuing models Basic definitions, assumptions, and identities
Delays Deterministic Stochastic Assumes “error free” type case
System Performance: Queuing
MATS Quantitative Methods Dr Huw Owens
Transportation Engineering Basic Queuing Theory February 18, 2011
COMP60611 Fundamentals of Parallel and Distributed Systems
Queuing Theory By: Brian Murphy.
Mitchell Jareo MAT4340 – Operations Research Dr. Bauldry
Delays Deterministic Stochastic Assumes “error free” type case
COMP60621 Designing for Parallelism
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
Course Description Queuing Analysis This queuing course
Queueing analysis Basics Methodologies Models Queueing process
Presentation transcript:

Queuing Analysis Two analytical techniques can be employed to study queuing processes: Shock wave analysis Demand-capacity process is deterministic Suited to evaluating the space occupied by the queuing processes and their interactions Queuing analysis Deterministic (input-output) or stochastic Vertical queues are assumed

Objectives 1. To estimate queuing characteristics when demand exceeds capacity at a bottleneck. For example, a. Average number of vehicles in a queue at a given time b. Average delay per vehicle c. Total hours of delay d. Duration of queuing 2. To determine idle time (of system, employees, etc.)

Queuing Process Queuing system Arrivals Departures Queue Server Stream of customers who demand service Line of customers waiting to be served

Queuing Application Examples Bank teller problem Transportation applications Toll booth Check-in counter at airport Blockage on highway Signal at intersection

Queuing Analysis in Traffic Applications Arrivals Departures Queue Server arrival rate determined by traffic demand departure rate determined by facility capacity How long the queue is going to be? How much delay? Duration of congestion? …

Queuing Characteristics/Classifications Arrivals: l (rate, distribution) Servicing: m (rate, distribution) Queue discipline: (e.g.FIFO) Number of channels (m) Arrival rate=demand=input Service rate=capacity=departure=output Served in random order

Queue discipline First come (in) – first served (out) (FIFO) First in, last out (FILO) Random service (SIRO: served in random order) Priority Inpatient customer Infinite (∞)or finite lines

Queuing Models Deterministic Stochastic Arrival and servicing are uniform (same interval, no randomness) arrival and service rates may vary over time Can be used to temporary blockage, temporary overloading, and periodical interruption such as signal Stochastic constant long-term arrival and service rates Arrival and service conform to certain random distribution short-term random fluctuation causes queue (even with arrival rate <service rate)

Deterministic Queuing arrival l Slope: flow rate 1 Cumulative vehicles Point of queue accumulation m2 Point of queue dissipation Waiting time(delay) 1 Queue length departure m1 1 Time

Deterministic Queuing Example Vehicles arrive at the entrance to a park with a single gate where a ranger distributes a free brochure. Park opens at 8:00 a.m. and arrivals are 480 veh/hr. After 20 min, arrival rate declines to 120 veh/hr for remainder of day. Time required to distribute a brochure is 15 seconds. Describe operational characteristics.

Arrival and Departure Rates l(1) = 480 veh/hr / 60 min/hr = 8 veh/min for t < 20 l(2) = 120 veh/hr / 60 min/hr = 2 veh/min for t > 20 m= 60 sec/min / 15 sec/veh = 4 veh/min for all t

Total number of vehicles 10 30 20 40 50 60 300 250 200 150 100 Total number of vehicles Time

Total vehicle arrivals @ t = 20 10 30 20 40 50 60 300 250 200 150 100 Total number of vehicles Time (min) Total vehicle arrivals @ t = 20 8t = 8 (20) = 160 veh (20, 160) Arrival curve 1 8 1

Total vehicle arrivals @ t > 20 10 30 20 40 50 60 300 250 200 150 100 Total number of vehicles Time Total vehicle arrivals @ t > 20 160 + 2(t - 20) Arrival curve 2 2 1 (20, 160) Arrival curve 1

Vehicle departures @ all t 10 30 20 40 50 60 300 250 200 150 100 Total number of vehicles Time Arrival curve 2 (20, 160) 4 Arrival curve 1 1 Departure curve Vehicle departures @ all t 4t

Vehicle departures @ all t 10 30 20 40 50 60 300 250 200 150 100 Total number of vehicles Time Arrival curve 2 Point of queue dissipation (20, 160) Arrival curve 1 Departure curve Vehicle departures @ all t 4t

Total number of vehicles 10 30 20 40 50 60 300 250 200 150 100 Total number of vehicles Time Arrival curve 2 Point of queue dissipation (20, 160) Arrival curve 1 Departure curve arrivals = departures 160 + 2(t-20) = 4t t = 60 min

Total number of vehicles 10 30 20 40 50 60 300 250 200 150 100 Total number of vehicles Time (60, 240) Arrival curve 2 Point of queue dissipation (20, 160) Arrival curve 1 Departure curve Total vehicles 4t = 4(60) = 240 veh =8(20)+2(40)

Total number of vehicles 10 30 20 40 50 60 300 250 200 150 100 Total number of vehicles Time (60, 240) Arrival curve 2 Point of queue dissipation (20, 160) Longest vehicle delay (FIFO) Arrival curve 1 Departure curve Longest vehicle queue

What is Longest vehicle queue? 10 30 20 40 50 60 300 250 200 150 100 Total number of vehicles Time What is Longest vehicle queue? Arrival curve 2 Departure curve (20, 160) Longest Vehicle Queue Occurs at t = 20 Queue = Arrivals – Departures = 8t – 4t = 8(20) – 4(20) = 160 – 80 =80 vehs Arrival curve 1

What is Queue Length at t=40? 10 30 20 40 50 60 300 250 200 150 100 Total number of vehicles Time What is Queue Length at t=40? Arrival curve 2 Arrivals Departures Arrival curve 1 Veh. In Queue = Arrivals – Departures = [160 + 2(t-20)] – 4t =[160 + 2(40-20)] - 4(40) = 40 vehs Departure curve

Total number of vehicles 10 30 20 40 50 60 300 250 200 150 100 Total number of vehicles Time Arrival curve 2 Departure curve (20, 160) 160 = 8 tEnter tEnter = 20 min 160 = 4tExit tExit = 40 min Arrival curve 1 Longest vehicle delay Delay = tExit – tEnter Delay = 40 min – 20 min = 20 mins

Total number of vehicles 10 30 20 40 50 60 300 250 200 150 100 Total number of vehicles Time What is delay of the 200th vehicle? Delay = tExit – tEnter Delay = 50 min – 40 min = 10 mins Arrival curve 2 Departure curve Arrival curve 1 200 = 160 – 2(tEnter - 20) tEnter = 40 min 200 = 4tExit tExit = 50 min

Total number of vehicles 10 30 20 40 50 60 300 250 200 150 100 Total number of vehicles Time What is the TOTAL amount of Delay? 20 min 40 min 80 vehs

Total number of vehicles 10 30 20 40 50 60 300 250 200 150 100 Total number of vehicles Time What is the average delay and queue length? 240 Total delay=2400veh mins Little’s Formula

Deterministic Queuing Example: Signalized Intersection Uniform Delay Calculation Uniform delay: delay due to red time under uniform arrivals

Signalized Intersection

Queuing Patterns

More Examples (with Equations) LTs: Longest queue Ts: time when LTs occurs Tc: Total duration of congestion D: total delay W: average waiting time

Microscopic Analysis Deterministic queuing analysis can be undertaken at the microscopic level Requires arrival and departure times of individual vehicles Computer simulation often used to calculate MOEs

Microscopic Analysis Example: Signalized intersection (Left turn) Arrival to downstream is assumed to be 10secs after arrivals to upstream, which is the start of the left-turn lane and beyond the back of queue.

Stochastic Queuing Kendall’s notation Letter 1 / Letter 2 / Number Letter 1: arrivals process Letter 2: service process Number of channels (servers)

Stochastic Queuing Traffic Density ρ = λ/µ, where ρ < 1 (λ < µ) ρ = traffic intensity λ = mean arrival rate (vehicles per time interval) µ = mean service rate per channel (vehicles per time interval) λ and µ must have the same units

Kendall’s Notation Letter 1 / Letter 2 / Number M: Random (negative exponential distribution) D: Deterministic E: Erlang distribution G: Generalized arrival or departure Number: the number of channels Example: M/D/1 [or M/D/1(∞,FIFO)], M/M/1, M/M/n

M/D/1 Queuing Regime Arrival times are exponentially distributed (arrivals on Poisson distribution) Service rate deterministic (no random variation) One service channel

M/D/1 Queuing Traffic Intensity: Average number in system: (waiting and service) Average Waiting Time: Average time in system:

M/M/1 Queuing Arrivals and departures are exponentially distributed One service channel

M/M/1 Queuing Regime Traffic Intensity: Average Queue Length: Average Waiting Time: Average time in system :

M/M/1 Queuing Regime

Little’s Law Lq = lWq Or E(m)=lE(w)

Multichannel M/M/n

M/M/1 Example Park scenario. Arrivals: negative exponentially distributed, arrival rate = 180 vph (3 vehs/minute) Park ranger takes an average of 15 sec to distribute brochures. The service time distribution is also negative exponential.

M/M/1 Example

Stochastic Queuing Example: Random Delay at Intersection Classical Queuing System Applications: Poison Arrival, General (Arbitrary, but continuous) service times (M,G,1) Poisson Arrival, Erlang service times (M, Ea,1) Poison Arrival, Uniform service times (M,D,1)