Queueing Theory (2). Home Work 12-9 and 12-18 Due Day: October 31 (Monday) 2005.

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

Chapter Queueing Notation
Queueing Models and Ergodicity. 2 Purpose Simulation is often used in the analysis of queueing models. A simple but typical queueing model: Queueing models.
Continuous-Time Markov Chains Nur Aini Masruroh. LOGO Introduction  A continuous-time Markov chain is a stochastic process having the Markovian property.
INDR 343 Problem Session
TCOM 501: Networking Theory & Fundamentals
Lecture 13 – Continuous-Time Markov Chains
Nur Aini Masruroh Queuing Theory. Outlines IntroductionBirth-death processSingle server modelMulti server model.
1 1 Slide 2009 University of Minnesota-Duluth, Econ-2030 (Dr. Tadesse) Chapter 5: Probability Distributions: Discrete Probability Distributions.
Queuing Models Basic Concepts
Model Antrian By : Render, ect. Outline  Characteristics of a Waiting-Line System.  Arrival characteristics.  Waiting-Line characteristics.  Service.
1.(10%) Let two independent, exponentially distributed random variables and denote the service time and the inter-arrival time of a system with parameters.
HW # Due Day: Nov 23.
Queuing Systems Chapter 17.
EMGT 501 Fall 2005 Midterm Exam SOLUTIONS.
Waiting Line Models And Service Improvement
Queueing Theory: Part I
Question 11 – 3.
Queueing Theory Chapter 17.
Waiting Line Analysis OPIM 310-Lecture 3 Instructor: Jose Cruz.
To Accompany Russell and Taylor, Operations Management, 4th Edition,  2003 Prentice-Hall, Inc. All rights reserved. Chapter 16 Waiting Line Models and.
Waiting line Models.
HW # Due Day: Nov 23.
Waiting Line Analysis for Service Improvement
Lecture 14 – Queuing Systems
MNG221 - Management Science –
Solutions Queueing Theory 1
Queuing Theory (Waiting Line Models)
Queuing Models and Capacity Planning
Copyright 2006 John Wiley & Sons, Inc. Beni Asllani University of Tennessee at Chattanooga Waiting Line Analysis for Service Improvement Operations Management.
Introduction to Management Science
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
1 1 Slide © 2001 South-Western College Publishing/Thomson Learning Anderson Sweeney Williams Anderson Sweeney Williams Slides Prepared by JOHN LOUCKS QUANTITATIVE.
Queuing Models. © 2002 Prentice-Hall, IncCh 9-2 Stay in Queue: Short Video &feature=related
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.
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 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.
Why Wait?!? Bryan Gorney Joe Walker Dave Mertz Josh Staidl Matt Boche.
1 1 Slide University of Minnesota-Duluth, Econ-2030 (Dr. Tadesse) University of Minnesota-Duluth, Econ-2030 (Dr. Tadesse) Chapter 5: Probability Distributions:
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...
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.
Maciej Stasiak, Mariusz Głąbowski Arkadiusz Wiśniewski, Piotr Zwierzykowski Model of the Nodes in the Packet Network Chapter 10.
Chapter 6 Queueing Models
Waiting Line Models Production and Operations Management Reporter:
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.
Chapter 5 Elementary Stochastic Analysis Prof. Ali Movaghar.
© 2015 McGraw-Hill Education. All rights reserved. Chapter 17 Queueing Theory.
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,
Module D Waiting Line Models.
WAITING LINES AND SIMULATION
Models of Traffic Flow 1.
Queueing Theory What is a queue? Examples of queues:
Birth-Death Process Birth – arrival of a customer to the system
Solutions Queueing Theory 1
Solutions Queueing Theory 1
Introduction to Queueing Theory
Solutions Queueing Theory 1
Queueing networks.
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:

Queueing Theory (2)

Home Work 12-9 and Due Day: October 31 (Monday) 2005

Elementary Queueing Process C C C C C C C CCCCCCCC S S Service S facility S Customers Queueing system Queue Served customers

Relationships between and Assume that is a constant for all n. In a steady-state queueing process, Assume that the mean service time is a constant, for all It follows that,

The Birth-and-Death Process Most elementary queueing models assume that the inputs and outputs of the queueing system occur according to the birth-and-death process. In the context of queueing theory, the term birth refers to the arrival of a new customer into the queueing system, and death refers to the departure of a served customer.

The birth-and-death process is a special type of continuous time Markov chain. State: n-2 n-1 n n+1 and are mean rates.

Rate In = Rate Out Principle. For any state of the system n (n = 0,1,2,…), average entering rate = average leaving rate. The equation expressing this principle is called the balance equation for state n.

State n – 1 n Rate In = Rate Out

State: 0: 1: 2: To simplify notation, let for n = 1,2,…

and then define for n = 0. Thus, the steady-state probabilities are for n = 0,1,2,… The requirement that implies that so that

The definitions of L and specify that is the average arrival rate. is the mean arrival rate while the system is in state n. is the proportion of time for state n,

The Finite Queue Variation of the M/M/s Model] (Called the M/M/s/K Model) Queueing systems sometimes have a finite queue; i.e., the number of customers in the system is not permitted to exceed some specified number (denoted K) so the queue capacity is K - s. Any customer that arrives while the queue is “full” is refused entry into the system and so leaves forever.

From the viewpoint of the birth-and-death process, the mean input rate into the system becomes zero at these times. The one modification is needed for n = 0, 1, 2,…, K-1 for n K. Because for some values of n, a queueing system that fits this model always will eventually reach a steady-state condition, even when

Question 1 Consider a birth-and-death process with just three attainable states (0,1, and 2), for which the steady-state probabilities are P 0, P 1, and P 2, respectively. The birth-and-death rates are summarized in the following table: Birth RateDeath RateState _22_22

(a)Construct the rate diagram for this birth-and-death process. (b)Develop the balance equations. (c)Solve these equations to find P 0,P 1, and P 2. (d)Use the general formulas for the birth-and-death process to calculate P 0,P 1, and P 2. Also calculate L, L q, W, and W q.

Question 1 - SOLUTINON Single Serve & Finite Queue (a) Birth-and-death process 012 (b)InOut (1) Balance Equation (2) (3) (4)

(b)

From (4) so

Question 2 Consider the birth-and-death process with the following mean rates. The birth rates are =2, =3, =2, =1, and =0 for n>3. The death rates are =3 =4 =1 =2 for n>4. (a)Construct the rate diagram for this birth-and-death process. (b)Develop the balance equations. (c)Solve these equations to find the steady-state probability distribution P 0,P 1, ….. (d)Use the general formulas for the birth-and-death process to calculate P 0,P 1, ….. Also calculate L,L q, W, and W q.

Question 2 - SOLUTION (a) (b) (1) (2) (3) (4) (5) (6)

(c)

So,

(d)

The Finite Calling Population Variation of the M/M/s Model The only deviation from the M/M/s model is that the input source is limited; i.e., the size of the calling population is finite. For this case, let N denote the size of the calling population. When the number of customers in the queueing system is n (n = 0, 1, 2,…, N), there are only N - n potential customers remaining in the input source.

State: n-2 n-1 n N-1 N (a) Single-server case ( s = 1) for n = 0, 1, 2, …, N for n N for n = 1, 2,...

State: s-2 s-1 s N-1 N (a) Multiple-server case ( s > 1) for n = 0, 1, 2, …, N for n N for n = 1, 2, …, s for n = s, s + 1,...

[1] Single-Server case ( s = 1) Birth-Death Process n-1 n n+1 State n Rate In = Rate Out

Example

[2] Multiple-Server case ( s > 1) Birth-Death Process s-2 s-1 s s+1

State s - 1 s s + 1 Rate In = Rate Out

Question 1 Mom-and-Pop’s Grocery Store has a small adjacent parking lot with three parking spaces reserved for the store’s customers. During store hours, cars enter the lot and use one of the spaces at a mean rate of 2 per hour. For n = 0, 1, 2, 3, the probability P n that exactly n spaces currently are being used is P 0 = 0.2, P 1 = 0.3, P 2 = 0.3, P 3 = 0.2. (a) Describe how this parking lot can be interpreted as being a queueing system. In particular, identify the customers and the servers. What is the service being provided? What constitutes a service time? What is the queue capacity? (b) Determine the basic measures of performance - L, L q, W, and W q - for this queueing system. (c) Use the results from part (b) to determine the average length of time that a car remains in a parking space.

Question 2 Consider the birth-and-death process with all and for n = 3, 4, … (a) Display the rate diagram. (b) Calculate P 0, P 1, P 2, P 3, and P n for n = 4, 5,... (c) Calculate L, L q, W, and W q.

Question 3 A certain small grocery store has a single checkout stand with a full- time cashier. Customers arrive at the stand “randomly” (i.e., a Poisson input process) at a mean rate of 30 per hour. When there is only one customer at the stand, she is processed by the cashier alone, with an expected service time of 1.5 minutes. However, the stock boy has been given standard instructions that whenever there is more than one customer at the stand, he is to help the cashier by bagging the groceries. This help reduces the expected time required to process a customer to 1 minute. In both cases, the service-time distribution is exponential. (a) Construct the rate diagram for this queueing system. (b) What is the steady-state probability distribution of the number of customers at the checkout stand? (c) Derive L for this system. Use this information to determine L q, W, and W q.