Waiting Lines Queues.

Slides:



Advertisements
Similar presentations
Introduction to Queuing Theory
Advertisements

Capacity Setting and Queuing Theory
Queuing Theory Models By Nancy Hutchins.
Lindsay Mullen Seminar Presentation #2 November 4, 2013
D Waiting-Line Models PowerPoint presentation to accompany
Model Antrian By : Render, ect. Outline  Characteristics of a Waiting-Line System.  Arrival characteristics.  Waiting-Line characteristics.  Service.
System Performance & Scalability i206 Fall 2010 John Chuang.
© The McGraw-Hill Companies, Inc., Technical Note 6 Waiting Line Management.
Queuing Systems Chapter 17.
Waiting Line Models And Service Improvement
1 Performance Evaluation of Computer Networks Objectives  Introduction to Queuing Theory  Little’s Theorem  Standard Notation of Queuing Systems  Poisson.
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.
Queueing Theory: Part I
To accompany Quantitative Analysis for Management, 8e by Render/Stair/Hanna 14-1 © 2003 by Prentice Hall, Inc. Upper Saddle River, NJ Chapter 14.
Waiting Line Management
Queueing Theory Chapter 17.
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),
Data Communication and Networks Lecture 13 Performance December 9, 2004 Joseph Conron Computer Science Department New York University
Queueing Network Model. Single Class Model Open - Infinite stream of arriving customers Closed - Finite population eg Intranet users Indistinguishable.
To Accompany Russell and Taylor, Operations Management, 4th Edition,  2003 Prentice-Hall, Inc. All rights reserved. Chapter 16 Waiting Line Models and.
7/3/2015© 2007 Raymond P. Jefferis III1 Queuing Systems.
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)
Lecture 14 – Queuing Systems
Group members  Hamid Ullah Mian  Mirajuddin  Safi Ullah.

Queuing Models and Capacity Planning
___________________________________________________________________________ Operations Research  Jan Fábry Waiting Line Models.
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
Queueing Theory Models Training Presentation By: Seth Randall.
Waiting Line Models ___________________________________________________________________________ Quantitative Methods of Management  Jan Fábry.
Introduction to Queuing Theory
Introduction to Operations Research
Introduction to Queueing Theory
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.
Queueing Theory What is a queue? Examples of queues: Grocery store checkout Fast food (McDonalds – vs- Wendy’s) Hospital Emergency rooms Machines waiting.
Waiting Lines and Queuing Models. Queuing Theory  The study of the behavior of waiting lines Importance to business There is a tradeoff between faster.
Spreadsheet Models for Managers: Session 12 12/1 Copyright © Richard Brenner Spreadsheet Models for Managers Session 12 Service Systems Single-Server.
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.
Modeling and Simulation Queuing theory
Copyright 2006 John Wiley & Sons, Inc. Beni Asllani University of Tennessee at Chattanooga Waiting Line Analysis for Service Improvement Operations Management.
CDAE Class 22 Nov. 9 Last class: 4. Queuing analysis and applications Quiz 6 Today: Result of Quiz 6 4. Queuing analysis and applications Project.
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.
CDAE Class 20 Nov. 2 Last class: Results of the midterm exam 4. Queuing analysis and midterm exam Today: 4. Queuing analysis and applications Next.
Chapter 6 Queueing Models
Waiting Line Models Production and Operations Management Reporter:
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.
© 2015 McGraw-Hill Education. All rights reserved. Chapter 17 Queueing Theory.
OPERATIONS MANAGEMENT INTEGRATING MANUFACTURING AND SERVICES FIFTH EDITION Mark M. Davis Janelle Heineke Copyright ©2005, The McGraw-Hill Companies, Inc.
QUEUING THEORY 1.  - means the number of arrivals per second   - service rate of a device  T - mean service time for each arrival   = ( ) Utilization,
1 BIS 3106: Business Process Management (BPM) Lecture Nine: Quantitative Process Analysis (2) Makerere University School of Computing and Informatics Technology.
Module D Waiting Line Models.
McGraw-Hill/Irwin Copyright © 2009 by The McGraw-Hill Companies, Inc. All rights reserved.
Al-Imam Mohammad Ibn Saud University
Queueing Theory What is a queue? Examples of queues:
Queuing Systems Don Sutton.
Introduction Notation Little’s Law aka Little’s Result
Waiting Lines Queues.
System Performance: Queuing
Mitchell Jareo MAT4340 – Operations Research Dr. Bauldry
QUEUING THEORY Made by Abdulsalam shek salim
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.
Course Description Queuing Analysis This queuing course
Presentation transcript:

Waiting Lines Queues

Queuing Theory Managers use queuing models to be more efficient in providing customer service. Models measure average waiting times and average length of waiting lines.

Historical Roots Agner Krarup Erlang, a Danish engineer who worked for the Copenhagen Telephone Exchange, published the first paper on queueing theory in 1909. David G. Kendall introduced an A/B/C queueing notation in 1953.

Three queuing disciplines used in Telephone Networks First In First Out – This principle states that customers are served one at a time and that the customer that has been waiting the longest is served first.[5] Last In First Out – This principle also serves customers one at a time, however the customer with the shortest waiting time will be served first.[5] Processor Sharing – Customers are served equally. Network capacity is shared between customers and they all effectively experience the same delay Source: Wikipedia.org

FIFO “First In First Out”

LIFO “Last in First Out” Elevators are a circumstance where this occurs.

SIRO “Service In Random Order”

Single-server Single-stage Queue Customers In queue Service Facility Arrival Stream Waiting for the Newest ????????

Multiple-server Single-stage Queue Service Facilities Customers In queue

Single-server Multiple-stage Queue Service Facility Customers In queue Pharmacy Conveyor System >>>>>

Multiple-server Multiple-Stage Queue Customers In queue Service Facilities

Little's Theorem Little's theorem: L =  /  The average number of customers (N) can be determined from the following equation: Here lambda () is the average customer arrival rate and mu () is the average service time for a customer.

Queuing system state probabilities (Basic Model)  P0 = 1 -  n (  ) Probability distribution for the number of customers in the system = Pn = P0  1, 2, 3,… n =

Queuing Formulas (Basic Model)  Average # of Customers in the system L =  -  1 L Average Customer Time spent in the system W = =   -  2 = Average # of Customers waiting (length of line) Lq  ( - ) Lq  Average Customers waiting time Wq = =   ( - )   = Server Utilization Factor 

Phlebotomy Room Example A queuing system for blood draws. An average of 25 patients arrive for a blood draw each hour. One full-time (very experienced) phlebotomist can take one patient every two minutes, thus 30 draws per hour can be done.

Queuing Formulas (Basic Model)  = 25 Pts per hour  = 30 Pts per hour  25 Average # of Patients in the system: L = = = 5 customers  -  30 - 25 1 1 1 Average Patient Time spent in the system: W = = hour =  -  30 - 25 5 2 (25)2 25 1 Average # of Patients waiting: Lq = = = = 4 customers  ( - ) 30 (30 - 25) 6 6 Lq  25 1 Average Patients waiting time: Wq = = = hour = 30 (30 - 25) 6   ( - )  25 5 Server Utilization Factor:  = = =  30 6 = The phlebotomist is busy five-sixths of the time.

The system state probabilities  25 P0 = 1 - = 1 - = .1667  30 1 (  ) ( 25 ) P1 = P0 = (.1667) = .1389  30 2 2 (  ) ( 25 ) P2 = P0 = (.1667) = .1158  30 This formula provides the probability that n (0, 1, 2, 3, …) patients will be in the blood drawing room. If you add the individual probabilities for values of n cumulatively you would find 54 in the number of patients where all probabilities of n total 1.

Multiple server models Uses same notation as basic model but different formulas. Formulas are based on FIFO discipline. The customer at the head to waiting line proceeds to the first server. S = Number of service channels

Queuing system state probabilities (Multiple Servers) 1 [ ( /)n ( ) S-1 P0 = 1 + S! 1 - /S n! n=0 ( /)n P0 If 0 < n < S n! Pn = ( /)n If n > S S!Sn-s

Phlebotomy Room Example with a second Phlebotomist Multiple Servers A 2 service channel queuing system for blood draws. An average of 50 patients arrive for a blood draw each hour. Two full-time phlebotomists can take one patient each every two minutes, thus 60 draws per hour can be done.

The Probability that there are no patients in the system. S = 2 service channels  = 50 Pts per hour  = 60 Pts per hour [ 1 ] ( /)0 ( /)1 ( /)2 ( ) P0 = 1 + + 1 - /2 0! 1! 2! [ 1 ] (50 /60)0 (50 /60)1 (50 /60)2 ( ) = 1 + + 1 - 50/2(60) 0! 1! 2! [ ] (.833)2 1 ( ) = 1 1 + .833 + 2! 1 - .416 = 1 /[1 + .833 + .594] = 1 / 2.427 = .412

Queuing Formulas (Multiple Servers) S = 2 service channels  = 50 Pts per hour  = 60 Pts per hour (/)2 (/S) Average # of Patients waiting: Lq = P0 S! (1 - /S)2 Lq Average Patients waiting time: Wq =  1 Average Patient Time spent in the system: W = Wq +   Average # of Patients in the system: L = Lq +   Server Utilization Factor:  = S

Queuing Formulas (Multiple Servers) S = 2 service channels  = 50 Pts per hour  = 60 Pts per hour (50/60)2 (50/2(60)) Average # of Patients waiting: Lq = (.412) = .175 2! (1 - 50/2(60))2 Lq .175 Average Patients waiting time: Wq = = = .0035 = 12.6 seconds  50 1 Average Patient Time spent in the system: W = Wq + = .0035 + 1/60 = .0035+.016 = .0195  = .0195 hour = 1.17 minutes  Average # of Patients in the system: L = Lq + = .175 + 50/60 = .175 + .833 = 1.008 pts   Server Utilization Factor:  = = 50/ 2(60) = 0.416 S

Two Fax machines example An organization is considering renting 2 fax machines. The 2006 model can send 100 faxes per minute. However, loading the originals and entering the receiving phone number slows the process. The vendor indicates the effective service rate is .5 job per minute. The demand for fax service in the organization is projected at 3 jobs every 5 minutes (.6 job per minute) S = 2 service channels  = .5 job per minute  = .6 job per minute

The Probability that there are no patients in the system. S = 2 service channels  = .5 job per minute  = .6 job per minute [ 1 ] ( /)0 ( /)1 ( /)2 ( ) P0 = 1 + + 1 - /2 0! 1! 2! [ 1 ] (.6 /.5)0 (.6 /.5)1 (.6 /.5)2 ( ) = 1 + + 1 - .6/2(.5) 0! 1! 2! [ ] (1.2)2 1 ( ) = 1 1 + 1.2 + 2! 1 - .6 = 1 /[1 + 1.2 + 1.8] = 1 / 4 = . 25

Queuing Formulas (Multiple Servers) S = 2 service channels  = .5 job per minute  = .6 job per minute (/)2 (/S) (.6/.5)2 [.6/2(.5)] Average # of Jobs waiting: Lq = P0 = (. 25) = .68 job S! (1 - /S)2 2! [1 - .6/2(.5)]2 Lq .68 Average job waiting time per job: Wq = = = 1.13 minutes  .6 1 1 1 Average Job Time spent in the fax room: W = Wq + = 1.13 + = 3.13 minutes  .5  .6 Average # of jobs in the fax room: L = = .68 + = 1.88 jobs Lq + .5 

Establishing a queuing system cost Consider the average hourly cost of operating two rented fax machines. Each job is personally processed by the user. The average hourly payroll cost is $10. Machine rental is a straight $.05 per copy, and an average job involves 12 copies. The average number of jobs per hour is: .6 X 60 = 36 jobs Each employee spends an average of W = 3.13 minutes: 3.13/60 = .0522 hour Average cost of labor lost making copies: $10 X 36 X .0522 = $18.79 Hourly rental cost : $.05 X 12 X 36 = $21.60 Total hourly average cost of operating two machines: $18.79 (labor cost) + $21.60 (equipment rental) = $40.39

Two compared to one fax that is twice as fast. One would would think that one server twice as fast would produce identical results to two servers. THIS IS NOT TRUE. If so we would not need a different model for multi-channel queues. If a 2008 model fax is twice as fast as the 2006 model is there a difference? If  = 1 job per minute. 2 (.6)2 .36 Average # of jobs waiting: Lq = = = = .9 Job (2008 model)  ( - ) 1(1 - .6) .4 Lq  .9 Average Patients waiting time: Wq = = = 1.5 Minutes (2008 model) = .6   ( - ) 1 1 Average job time spent in fax room: W = = = 2.5 Minutes (2008 model)  -  1 - .6 2.5 60 Results in a smaller hourly labor cost. $10 X 36 X = $15.00 The new model might rent for a little more than the older model, but would still be cheaper than two 2006 models.

Single Server Model w/a finite queue A waiting line of limited length is called a finite queue. e.g., Hospital Emergency room with a limited number of beds. If the number of patients reaches a given point additional patients are diverted. The patient (customer) who does not enter the system does not return. There are not limits on the number of patients waiting for service 1 -  / Probabilities for # of patients in the system P0 = 1 - ( /)M + 1 Pn = ( /)n P0 for 1 < n < M  /  (M + 1)( / )M+1 Average # of patients in the system L = 1 - / 1 - ( /)M+1 Average length of waiting line Lq = L – (1 – Po) Lq L Average patient waiting times Wq = W = (1 – PM) (1 – PM)

Summary What is queue? A waiting line. Queue disicplines FIFO LIFO SIRO Queuing models Single server Single stage Multiple server Single stage Single server Multiple stage Multiple server Multiple stage Single Server Model w/a finite queue