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

Slides:



Advertisements
Similar presentations
Chapter 13 Queueing Models
Advertisements

Lecture 10 Queueing Theory. There are a few basic elements common to almost all queueing theory application. Customers arrive, they wait for service in.
Introduction to Queuing Theory
Queuing Analysis Based on noted from Appendix A of Stallings Operating System text 6/10/20151.
Chap. 20, page 1051 Queuing Theory Arrival process Service process Queue Discipline Method to join queue IE 417, Chap 20, Jan 99.
Model Antrian By : Render, ect. Outline  Characteristics of a Waiting-Line System.  Arrival characteristics.  Waiting-Line characteristics.  Service.
Queueing Theory (2). Home Work 12-9 and Due Day: October 31 (Monday) 2005.
EMGT 501 Fall 2005 Midterm Exam SOLUTIONS.
Queueing Theory: Part I
Question 11 – 3.
7/3/2015© 2007 Raymond P. Jefferis III1 Queuing Systems.
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
Group members  Hamid Ullah Mian  Mirajuddin  Safi Ullah.
Location Models For Airline Hubs Behaving as M/D/C Queues By: Shuxing Cheng Yi-Chieh Han Emile White.
Queuing Theory (Waiting Line Models)
___________________________________________________________________________ Operations Research  Jan Fábry Waiting Line Models.
Waiting Line Models ___________________________________________________________________________ Quantitative Methods of Management  Jan Fábry.
Introduction to Operations Research
Chapter 20 Queuing Theory to accompany Operations Research: Applications and Algorithms 4th edition by Wayne L. Winston Copyright (c) 2004 Brooks/Cole,
NETE4631:Capacity Planning (2)- Lecture 10 Suronapee Phoomvuthisarn, Ph.D. /
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.
Queueing Theory What is a queue? Examples of queues: Grocery store checkout Fast food (McDonalds – vs- Wendy’s) Hospital Emergency rooms Machines waiting.
1 Elements of Queuing Theory The queuing model –Core components; –Notation; –Parameters and performance measures –Characteristics; Markov Process –Discrete-time.
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.
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.
Chapter 20 Queuing Theory to accompany Operations Research: Applications and Algorithms 4th edition by Wayne L. Winston Copyright (c) 2004 Brooks/Cole,
CS352 - Introduction to Queuing Theory Rutgers University.
Waiting Lines and Queuing Theory Models
Chapter 1 Introduction. “Wait-in-line” is a common phenomenon in everywhere. Reason: Demand is more than service. “How long must a customer wait?” or.
QUEUING THEORY.
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.
Chapter 6 Queueing Models
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.
Queuing Theory.  Queuing Theory deals with systems of the following type:  Typically we are interested in how much queuing occurs or in the delays at.
CS 4594 Broadband Intro to Queuing Theory. Kendall Notation Kendall notation: [Kendal 1951] A/B/c/k/m/Z A = arrival probability distribution (most often.
Chapter 5 Elementary Stochastic Analysis Prof. Ali Movaghar.
© 2015 McGraw-Hill Education. All rights reserved. Chapter 17 Queueing Theory.
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.
QUEUING THEORY 1.  - means the number of arrivals per second   - service rate of a device  T - mean service time for each arrival   = ( ) Utilization,
Chapter 1 Introduction.
Models of Traffic Flow 1.
Queueing Theory What is a queue? Examples of queues:
Chapter 9: Queuing Models
Demo on Queuing Concepts
Queuing Systems Don Sutton.
Solutions Queueing Theory 1
IV-2 Manufacturing Systems modeling
Chapter 20 Queuing Theory
System Performance: Queuing
Variability 8/24/04 Paul A. Jensen
Mitchell Jareo MAT4340 – Operations Research Dr. Bauldry
Lecture 13 – Queuing Systems
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
LECTURE 09 QUEUEING THEORY PART3
VIRTUE MARYLEE MUGURACHANI QUEING THEORY BIRTH and DEATH.
Presentation transcript:

Nur Aini Masruroh Queuing Theory

Outlines IntroductionBirth-death processSingle server modelMulti server model

Introduction  Involves the mathematical study of queues or waiting line.  The formulation of queues occur whenever the demand for a service exceeds the capacity to provide that service.  Decisions regarding the amount of capacity to provide must be made frequently in industry and elsewhere.  Queuing theory provides a means for decision makers to study and analyze characteristics of the service facility for making better decisions.

Basic structure of queuing model  Customers requiring service are generated over time by an input source.  These customers enter the queuing system and join a queue.  At certain times, a member of the queue is selected for service by some rule know as the service disciple.  The required service is then performed for the customer by the service mechanism, after which the customer leaves the queuing system

The basic queuing process Input source Queue Service mechanism Customers Served Customers Queuing system

Characteristics of queuing models  Input or arrival (interarrival) distribution  Output or departure (service) distribution  Service channels  Service discipline  Maximum number of customers allowed in the system  Calling source

Kendall and Lee’s Notation Kendall and Lee introduced a useful notation representing the 6 basic characteristics of a queuing model. Notation: a/b/c/d/e/f where a = arrival (or interarrival) distribution b = departure (or service time) distribution c = number of parallel service channels in the system d = service disciple e = maximum number allowed in the system (service + waiting) f = calling source

Conventional Symbols for a, b M = Poisson arrival or departure distribution (or equivalently exponential distribution or service times distribution) D = Deterministic interarrival or service times Ek = Erlangian or gamma interarrival or service time distribution with parameter k GI = General independent distribution of arrivals (or interarrival times) G = General distribution of departures (or service times)

Conventional Symbols for d  FCFS = First come, first served  LCFS = Last come, first served  SIRO = Service in random order  GD = General service disciple

Transient and Steady States Transient state  The system is in this state when its operating characteristics vary with time.  Occurs at the early stages of the system’s operation where its behavior is dependent on the initial conditions. Steady state  The system is in this state when the behavior of the system becomes independent of time.  Most attention in queuing theory analysis has been directed to the steady state results.

Queuing Model Symbols n = Number of customers in the system s = Number of servers pn(t) = Transient state probabilities of exactly n customers in the system at time t pn = Steady state probabilities of exactly n customers in the system λ = Mean arrival rate (number of customers arriving per unit time) μ = Mean service rate per busy server (number of customers served per unit time)

Queuing Model Symbols (Cont’d) ρ = λ/μ = Traffic intensity W = Expected waiting time per customer in the system Wq = Expected waiting time per customer in the queue L = Expected number of customers in the system Lq = Expected number of customers in the queue

Relationship Between L and W If λ n is a constant λ for all n, it can be shown that L = λW L q = λ W q If λ n are not constant then λ can be replaced in the above equations by λ bar,the average arrival rate over the long run. If μn is a constant μ for all n, then W = W q + 1/μ

Relationship Between L and W (cont’d) These relationships are important because:  They enable all four of the fundamental quantities L, W, Lq and Wq to be determined as long as one of them is found analytically.  The expected queue lengths are much easier to find than that of expected waiting times when solving a queuing model from basic principles.

Birth and Death Process Most elementary queuing models assume that the inputs and outputs of the queuing system occur according to the birth and death process.  Birth :Refers to the arrival of a new customer into the queuing system.  Death: Refers to the departure of a served customer. Except for a few special cases, analysis of the birth and death process is very difficult when the system is in transient condition. However, it is relatively easy to derive the probability distribution of p n after the system has reached a steady state condition.

Rate Diagram for the Birth and Death Process  Rate In = Rate Out Principle  For any state of the system n, the mean rate at which the entering incidents occurs must equal the mean rate at which the leaving incidents.

Balance equation The equations for the rate diagram can be formulated as follows: State 0: μ 1 p 1 = λ 0 p 0 State 1: λ 0 p 0 + μ 2 p 2 = (λ 1 + μ 1 )p 1 State 2: λ 1 p 1 + μ 3 p 3 = (λ 2 + μ 2 )p 2 …. State n: λ n-1 p n-1 + μ n+1 p n+1 = (λ n + μ n )p n ….

Balance equation (cont’d) cncn

 Expected number of customers in the system  Expected number of customers in the queue:  Furthermore where is the average arrival rate over the long run It given by

Single server queuing models  M/M/1/FCFS/∞/∞ Model when the mean arrival rate λn and mean service μn are all constant we have

Single server queuing models (cont’d) Consequently

Single server queuing models (cont’d)

Multi server queuing models  M/M/s/FCFS/∞/∞ Model When the mean arrival rate λ n and mean service μ n, are all constant, we have the following rate diagram

Multi server queuing models (cont’d)

Some General Comments  Only very simple models allow analytic determination of quantities of interests.  That is, closed form solution can be obtained for simple queuing models only.  Transient versus steady state behavior  For some real world queuing systems, the transient behavior may be of interests to the decision makers.  For the more complex queuing systems, the quantities  of interests may be obtained through simulation.