A QUEUE REPRESENTS ITEMS OR PEOPLE AWAITING SERVICE

Slides:



Advertisements
Similar presentations
Waiting Line Management
Advertisements

UNIT-II Queuing Theory
Part 3 Probabilistic Decision Models
Biostatistics Unit 5 Samples Needs to be completed. 12/24/13.
Components of the Queuing System
Introduction Queuing is the study of waiting lines, or queues.
Chapter 13 Queueing Models
Process Analysis and Design
Waiting Line Management
Chapter 5: Service Processes
Structure of a Waiting Line System
© 2007 Pearson Education Waiting Lines Supplement C.
Introduction to Queuing Theory
Chapter 15: Quantitatve Methods in Health Care Management Yasar A. Ozcan 1 Chapter 15. Simulation.
Copyright 2009 John Wiley & Sons, Inc. Beni Asllani University of Tennessee at Chattanooga Service Design Operations Management - 6 th Edition Chapter.
Queuing Analysis Chapter 13.
Waiting Lines and Queuing Theory Models
Introduction into Simulation Basic Simulation Modeling.
QUEUING MODELS Based on slides for Hilier, Hiller, and Lieberman, Introduction to Management Science, Irwin McGraw-Hill.
D Waiting-Line Models PowerPoint presentation to accompany
Queuing Models Basic Concepts
Model Antrian By : Render, ect. Outline  Characteristics of a Waiting-Line System.  Arrival characteristics.  Waiting-Line characteristics.  Service.
Waiting Lines and Queuing Theory Models
© The McGraw-Hill Companies, Inc., Technical Note 6 Waiting Line Management.
Queuing Systems Chapter 17.
Waiting Line Models And Service Improvement
Chapter 13 Queuing Theory
D – 1 Operations Management Module D – Waiting-Line Models © 2006 Prentice Hall, Inc. PowerPoint presentation to accompany Heizer/Render Principles of.
To Accompany Russell and Taylor, Operations Management, 4th Edition,  2003 Prentice-Hall, Inc. All rights reserved. Chapter 16 Waiting Line Models and.
To accompany Quantitative Analysis for Management, 9e by Render/Stair/Hanna 14-1 © 2003 by Prentice Hall, Inc. Upper Saddle River, NJ Chapter 14.
Chapter 9: Queuing Models
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)
© 2008 Prentice Hall, Inc.D – 1 Operations Management Module D – Waiting-Line Models PowerPoint presentation to accompany Heizer/Render Principles of Operations.
Spreadsheet Modeling & Decision Analysis
Copyright 2006 John Wiley & Sons, Inc. Beni Asllani University of Tennessee at Chattanooga Waiting Line Analysis for Service Improvement Operations Management.
Operations Management
Operations Management
Introduction to Management Science
D-1 © 2004 by Prentice Hall, Inc., Upper Saddle River, N.J Operations Management Waiting-Line Models Module D.
McGraw-Hill/Irwin Copyright © 2008 by The McGraw-Hill Companies, Inc. All rights reserved. Service Processes CHAPTER 5.
Supplement D Waiting Line Models Operations Management by R. Dan Reid & Nada R. Sanders 3rd Edition © Wiley 2005 PowerPoint Presentation by Roger B. Grinde,
Queuing Models. © 2002 Prentice-Hall, IncCh 9-2 Stay in Queue: Short Video &feature=related
McGraw-Hill/Irwin © 2006 The McGraw-Hill Companies, Inc., All Rights Reserved. 1.
Supplement C Waiting Line Models Operations Management by R. Dan Reid & Nada R. Sanders 4th Edition © Wiley 2010.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. 18 Management of Management of Waiting Lines.
1-1 McGraw-Hill/Irwin ©2009 The McGraw-Hill Companies, All Rights Reserved 1 Chapter 8A Waiting Line Management.
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.
1 Queuing Systems (2). Queueing Models (Henry C. Co)2 Queuing Analysis Cost of service capacity Cost of customers waiting Cost Service capacity Total.
Supplement D Waiting Line Models
Components of the Queuing System
Waiting Lines and Queuing Theory Models
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.
Adeyl Khan, Faculty, BBA, NSU Elements of Queuing System ArrivalsServiceWaiting line Exit Processing order System.
Queuing Models.
Queueing Theory/Waiting Line: Models and Analysis Navneet Vidyarthi
Managerial Decision Making Chapter 13 Queuing Models.
© 2006 Prentice Hall, Inc.D – 1 Operations Management Module D – Waiting-Line Models © 2006 Prentice Hall, Inc. PowerPoint presentation to accompany Heizer/Render.
McGraw-Hill/Irwin Copyright © 2009 by The McGraw-Hill Companies, Inc. All rights reserved.
Supplement C Developing the Master Production Schedule
McGraw-Hill/Irwin ©2009 The McGraw-Hill Companies, All Rights Reserved
Chapter 9: Queuing Models
Supplement D Waiting Line Models
Mitchell Jareo MAT4340 – Operations Research Dr. Bauldry
Waiting Lines Waiting lines are non-value added occurrences.
QUEUING THEORY Made by Abdulsalam shek salim
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
Presentation transcript:

A QUEUE REPRESENTS ITEMS OR PEOPLE AWAITING SERVICE QUEUING THEORY Body of knowledge about waiting lines Helps managers to better understand systems in manufacturing, service, and maintenance Provides competitive advantage and cost saving A QUEUE REPRESENTS ITEMS OR PEOPLE AWAITING SERVICE Applied Management Science for Decision Making, 1e © 2012 Pearson Prentice-Hall, Inc. Philip A. Vaccaro , PhD

Queue Characteristics Average number of customers in a line Average number of customers in a service facility Probability a customer must wait Average time a customer spends in a waiting line. Average time a customer spends in a service facility Percentage of time a service facility is busy

Queuing System Examples Customers Servers Grocery Store Shoppers Checkout Clerks Phone System Phone Calls Switching Equipment Toll Highway Vehicles Tollgate Restaurant Parties of Diners Tables & Waitstaff Factory Products Workers

The Father of Queuing Theory Danish engineer, who, in 1909 experimented with fluctuating demand in telephone traffic in Copenhagen. In 1917, he published a report addressing the delays in auto- matic telephone dialing equip- ment. At the end of World War II, his work was extended to more general problems, including waiting lines in business. AGNER K. ERLANG

Lack of Managerial Intuition Surrounding Waiting Lines Queuing theory is not a matter of common sense. It is one of those applications where diligent, intelligent managers will arrive at drastically wrong solutions if they fail to thoroughly appreciate and understand the mathematics involved.

THE QUEUING COST TRADE-OFF Total Cost Cost of Providing Service ( salaries + benefits ) Minimum Total Cost Cost of Waiting Time ( time x value of time ) Low Level Of Service Optimal Service Level High Level Of Service

Aspects of a Queuing Process SYSTEM ARRIVALS THE QUEUE ITSELF THE SERVICE FACILITY

The Calling Population The source of all system arrivals It is usually of infinite size Theoretically, any person or object can enter the service facility during operating hours

Poisson Arrival Distribution ( probability ) .25 .20 .15 .10 .05 .00 Poisson Probability Distribution for λ = 2 (estimated mean arrival rate) 0 1 2 3 4 5 6 7 8 9 10 X ( the number of arrivals )

Poisson Arrival Distribution ( probability ) .25 .20 .15 .10 .05 .00 Poisson Probability Distribution for λ = 4 (estimated mean arrival rate) 0 1 2 3 4 5 6 7 8 9 10 X ( the number of arrivals )

Establishing A Discrete Poisson Arrival Distribution Given any average arrival rate ( λ ) in seconds, minutes, hours, days: - λ x P ( X ) = ε λ X! ( FOR X = 0,1,2,3,4,5, etc. ) Where : P ( X ) = probability of X arrivals X = number of arrivals per time unit λ = the average arrival rate ε = 2.7183 ( base of the natural logarithm )

If the average arrival rate probability of three ( 3 ) EXAMPLE If the average arrival rate per hour is two people ( λ = 2 ) , what is the probability of three ( 3 ) arrivals per hour?

Solution P ( 3 ) = 2.7183 2 3 ! = [ 1 / 7.389 ] x 8 (3)(2)(1) - λ X ε λ P ( X ) = X ! Given λ = 2 : - 2 3 P ( 3 ) = 2.7183 2 3 ! = [ 1 / 7.389 ] x 8 (3)(2)(1) = .1353 x 8 = .1804 ≈ 18% 6

The Remaining Probabilities GIVEN THAT λ = 2 P ( 0 arrivals ) = 14% P ( 1 arrival ) = 28% P ( 2 arrivals ) = 28% P ( 3 arrivals ) = 18% P ( 4 arrivals ) = 9% P ( 5 arrivals ) = 4% P ( 6 arrivals ) = 2% P ( 7 arrivals ) = 1% P ( 8 arrivals ) = .8% P ( 9 arrivals ) = .6% P ( => 10 “ ) = 0%

Poisson Probability Table For a given value of λ , entry indicates the probability of obtaining a specified value of ‘X’ X λ = 1.8 λ = 1.9 λ = 2.0 .1653 .1496 .1353 1 .2975 .2842 .2707 2 .2678 .2700 3 .1607 .1710 .1804 4 .0723 .0812 .0902 5 .0260 .0309 .0361 6 .0078 .0098 .0120 7 .0020 .0027 .0034 8 .0005 .0006 .0009 9 .0001 .0002 EXAMPLE

Precise Terminology Theoretical Distribution Observed Distribution The discrete arrival probability distribution, based on the average arrival rate ( λ ) which was computed from the actual system observations The actual discrete arrival probability distribution that was constructed from the actual system observations THIS DISTRIBUTION MAY OR MAY NOT BE POISSON DISTRIBUTED.

The theoretical poisson arrival probability distribution must be statistically identical to the observed arrival probability distribution THIS CAN BE ESTABLISHED BY A GOODNESS – OF - FIT HYPOTHESIS TEST If the two probability distributions are not found to be statistically identical, we are forced to study and solve the problem via simulation modeling

Service Times Service times normally follow a negative exponential .25 .20 .15 .10 .05 .00 P R O B A I L T Y Service times normally follow a negative exponential probability distribution THE PROBABILITY A CUSTOMER WILL REQUIRE THAT SERVICE TIME 0 30 60 90 120 150 180 210 seconds

Queue Discipline Balking, reneging, and jockeying are not permitted in the service system. Jockeying is the switching from one waiting line to another. JOCKEYING CAN BE DISCOURAGED BY PLACING BARRICADES SUCH AS MAGAZINE RACKS AND IMPULSE ITEM DISPLAYS BETWEEN WAITING LINES

Queuing Theory Variables Lambda ( λ ) is the average arrival rate of people or items into the service system. It can be expressed in seconds, minutes, hours, or days. From the Greek small letter “ L “.

Queuing Theory Variables Mu ( μ ) is the average service rate of the service system. It can be expressed as the number of people or items processed per second, minute, hour, or day. From the Greek small letter “ M “.

Queuing Theory Variables Rho ( ρ ) is the % of time that the service facility is busy on the average. It is also known as the utilization rate. From the Greek small letter “ R “. “BUSY” IS DEFINED AS AT LEAST ONE PERSON OR ITEM IN THE SYSTEM

Queuing Theory Variables Mu ( M ) is a channel or service point in the ser-vice system. Examples are gasoline pumps, checkout coun-ters, vending machines, bank teller windows. From the Greek large letter “ M “.

Queuing Theory Variables Phases are the number of service points that must be negotiated by a customer or item before leaving the service system. They have no symbol. A CARWASH TAKES A VEHICLE THROUGH SEVERAL PHASES: PRE-WASH, WASH, WAX, AND DRY BEFORE IT IS ALLOWED TO LEAVE THE FACILITY.

Queuing Theory Variables Po or ( 1 – ρ ) is the percentage of time that the service facility is idle. L is the average number of people or items in the service system both waiting to be served and currently being served. Lq is the average number of people or items in the waiting line ( queue ) only !

Queuing Theory Variables W is the average time a customer or item spends in the service system, both waiting and receiving service. Wq is the average time a customer or item spends in the waiting line ( queue ) only. Pw is the probability that a customer or item must wait to be served.

Queuing Theory Variables The average number of customers or items processed by the entire service system “Mμ” is the effective service rate.* It can be expressed in seconds, minutes, hours, or days * [ NUMBER OF SERVERS ] x [ AVERAGE SERVICE RATE PER SERVER ]

IMPORTANT CONSIDERATION The average service rate must always exceed the average arrival rate. Otherwise, the queue will grow to infinity. μ > λ THERE WOULD BE NO SOLUTION !

Single-Channel / Single-Phase System EXIT ONE WAITING LINE or QUEUE ONE SERVICE POINT or CHANNEL

Dual-Channel / Single-Phase System EXIT EXIT No Jockeying Permitted Between Lines ONE OR TWO WAITING LINES TWO DUPLICATE SERVICE POINTS

Dual-Channel / Triple-Phase System EXIT C C EXIT B B A A Jockeying Is Permitted Between Lines ! ENTER ENTER TWO IDENTICAL SERVICE CHANNELS. EACH CHANNEL HAS 3 DISTINCT SERVICE POINTS ( A-B-C )

The Service System COMPRISED OF TWO GROUPS Customers or items waiting to be served or processed Customers or items currently being served or processed SUPERMARKET SHOPPERS ARE NOT IN THE SERVICE SYSTEM UNTIL THEY MOVE TO THE CHECKOUT AREA RESTAURANT PATRONS ENTER THE SERVICE SYSTEM AS SOON AS THEY ARRIVE

Queuing Theory Limitations Formulae only accommodate eight ( 8 ) channels and / or eight ( 8 ) phases If service systems exceed the above, it may be possible to divide them into sub-systems for separate analyses. BJ’s WHOLESALE CLUB HAS FOURTEEN (14) CHECKOUTS. HOWEVER,THEY COULD BE DIVIDED INTO CONTRACTOR, EXPRESS, CASH-ONLY, AND CREDIT-CARD-ONLY SUBSYSTEMS.

Stealth Queuing Systems NORMAL CHARACTERISTICS MISSING VISITING NURSES, PLUMBERS, ELECTRICIANS Moving waiting lines may be replaced by sitting customers or stockpiled items. Fixed channels may be replaced by mobile servers who carry portable equipment and make housecalls. BROKEN MACHINES WAITING FOR A MECHANIC, OR SEATED PATIENTS IN A DENTIST’S OFFICE, OR WORK-IN-PROCESS INVENTORY WAITING FOR PROCESSING.

Behavioral Considerations QUEUING THEORY Customer willingness to wait depends on what is perceived as reasonable. Waiting lines that are always moving are perceived as less painful. Customer willingness to wait is higher if they know that others are also waiting their turn. Customers should be permitted to perform the services that they can easily provide for themselves.

Behavioral Considerations QUEUING THEORY Well projected waiting times allow customers to adjust their expectations and therefore their aggravation. If customers are kept busy, their waiting time may not be construed as wasted time. Customers should be rewarded with price discounts or gifts if they must wait beyond a certain period of time. IT SHOWS THAT THE FIRM VALUES THEIR TIME AND IS WILLING TO PAY THEM FOR IT IF THE WAIT IS TOO LONG FILLING OUT SURVEYS AND FORMS, BEING ENTERTAINED

Single-Channel / Single-Phase Model The Average Number of Customers in the System λ L = μ - λ

Single-Channel / Single-Phase Model The Average Number Just Waiting in Line 2 λ Lq = μ ( μ - λ )

Single-Channel / Single-Phase Model Average Customer Time Spent in the System 1 W = ( μ - λ )

Single-Channel / Single-Phase Model Percentage of Time the System is Busy λ ρ = μ

Single-Channel / Single-Phase Model A clerk can serve thirty customers per hour on average. Twenty customers arrive each hour on average. APPLICATION Therefore: μ = 30 λ = 20 M = 1

Single-Channel / Single-Phase Model APPLICATION The Average Number of Customers in the System 20 L = = 2 ( 30 - 20 )

Single-Channel / Single-Phase Model APPLICATION The Average Number Just Waiting in Line 2 ( 20 ) Lq = = 1.33 30 ( 30 - 20 )

Single-Channel / Single-Phase Model APPLICATION The Average Customer Time Spent in the System 1 W = = .10 hrs ( 30 - 20 ) ( 6 minutes )

Single-Channel / Single-Phase Model APPLICATION The Percentage of Time the System is Busy 20 ρ = = 67% 30

QM for Windows QUEUING APPLICATIONS Single-Channel Single-Phase Model

WE SCROLL TO “WAITING LINES”

Twenty ( 20 ) Arrivals per Hour Thirty ( 30 ) Customers Can Be One ( 1 ) Clerk On-Duty Twenty ( 20 ) Arrivals per Hour Thirty ( 30 ) Customers Can Be Served per Hour

The probability of exactly seven (7) persons in the system is 2% ( = k ) The probability of seven or fewer persons in the system is 96% ( <= k ) The probability of more than seven (7) persons in the system is 4% ( > k )

Queuing Theory Modeling with Single-Channel Single-Phase Model

Template and Sample Data

Multi-Channel Single-Phase Systems This system is a single waiting line serviced by more than one server. It assumes: an infinite calling population a first-come, first-served queue discipline a poisson arrival rate negative exponential service times Additional Parameters M = number of servers or channels Mμ = mean effective service rate for the facility

Multi-Channel Single-Phase Systems The probability that the service facility is idle: 1 Po = n = M-1 n M Σ 1/n! (λ / μ) + 1 (λ / μ) . Mμ n=0 M! Mμ-λ

Multi-Channel Single-Phase Systems The average number of customers in the system: M λμ ( λ / μ ) L = . Po + λ / μ (M-1)! (Mμ-λ) 2

Multi-Channel Single-Phase Systems The average number of customers in the queue: Lq = L – ( λ / μ ) The average time a customer spends in the system: W = L / λ The average waiting time in the queue: Wq = W – ( 1 / μ ) or Lq / λ The probability that all the system’s servers are currently busy: M 1 λ . Mμ . Po Pw = M! μ Mμ-λ

Multi-Channel Single-Phase Systems Application Example A bank has three loan officers on duty, each of whom can serve four customers per hour. Every hour, ten loan applicants arrive at the loan department and join a common queue. What are the system’s operating characteristics? 1 Po = 0 1 2 3 1 (10 / 4 ) + 1 (10 / 4 ) + 1 ( 10 / 4 ) + 1 . ( 10 / 4 ) . 3(4) 0! 1! 2! 3! 3(4) - 10 = .045 = 4.5%

Multi-Channel Single-Phase Systems Application Example Continued 3 L = ( 10 )( 4 )( 10 / 4 ) . ( .045 ) + [ 10 / 4 ] = ( 3 – 1 ) ! [ 3 ( 4 ) – 10 ] 2 3 L = ( 40 )( 2.5 ) . ( .045 ) + 2.5 = 2 2 ! [ 12 - 10 ] L = ( 40 )( 15.625 ) x .045 + 2.5 = 2 ( 2 )( 1 ) [ 2 ] L = [ ( 625 / 8 ) x .045 ] + 2.5 = L = 3.515625 + 2.5 ≈ 6.0

Multi-Channel Single-Phase Systems Application Example Continued L = 6 Lq = 6 – [10/4] = 3.5 W = 6/10 = .60 hours ( 36 minutes ) Wq = 3.5 / 10 = .35 hours ( 21 minutes ) 3 1 10 . 3(4) . (.045) = .703 = 70.3% 3! 4 3(4)-10 Pw =

QM for Windows QUEUING APPLICATIONS Multi-Channel Single-Phase Model

Queuing Theory Modeling with Multi-Channel Single-Phase Model

Template and Sample Data

Finite Calling Population Model Application A shop has fifteen (15) machines which are repaired in the same order in which they fail. The machines fail according to a poisson distribution, and the service times are expo- nentially distributed. One (1) mechanic is on-duty. A machine fails on average, every forty (40) hours. The average repair takes 3.6 hours. N = 15 machines λ = 1/40th of a machine per hour = .0250 machine per hour μ = 1/3.6th of a machine per hour = .2778 machine per hour

Finite Calling Population Model Probability that the system is empty: 1 Po = N! λ (N – n)! μ N n Σ n = 0 N = size of the finite calling population

Finite Calling Population Model Average length of the queue Lq = N – λ + μ ( 1 – Po ) λ

Finite Calling Population Model Average number of customers (items) in the system: L = Lq + ( 1 – Po ) Average waiting time in the queue: Lq Wq = ( N – L ) λ Average time in the system: W = Wq + ( 1 / μ )

Finite Calling Population Model Application 1 Po = = .0616 = 6.16% 15! .0250 ( 15 – n )! .2778 n 15 Σ n = 0 Lq = 15 – .0250 + .2778 ( 1 - .0616 ) = 3.63 machines .0250

Finite Calling Population Model APPLICATION L = 3.63 + ( 1 - .0616 ) = 4.57 machines 3.63 Wq = = 13.94 hours ( 15 – 4.57 ) ( .0250 ) W = 13.94 + ( 1 / .2778 ) = 17.54 hours

Finite Calling Population Model Performance Summary Number of Mechanics Utilization Rate ( ρ ) Average Wait Line (Lq) Number In System (L) Wait (Wq) Time In System (W) Probability of Waiting (Pw) M = 1 .9384 3.63 Machines 4.57 13.94 Hours 17.54 91.14% M = 2 .6008 .4464 1.648 1.337 4.9372 39.49% M = 3 .4109 .0678 1.300 .198 3.7977 11.47% M = 4 .3094 .0099 1.247 .0287 3.6284 .0251

Finite Calling Population Model Cost Summary Number of Mechanics Total Hourly Wage Average Number In System (L) Total Hourly Opportunity Cost M = 1 $24.00 4.57 Machines $13,710.00 $13,734.00 M = 2 $48.00 1.648 4,944.00 $4,992.00 M = 3 $72.00 1.300 $3,900.00 $3,972.00 M = 4 $96.00 1.247 $3,741.00 $3,837.00 Assume Machine Hourly Opportunity Cost of $3,000.00

Finite Calling Population QM for Windows QUEUING APPLICATIONS The Mechanic Problem operational analysis and cost analysis Single-Channel Single-Phase Finite Calling Population Model

We assume that a mechanic earns out-of-service machine $24.00 per hour on average. We also assume that the opportunity cost of an out-of-service machine is $3,000.00 per hour.

Queuing Theory Modeling with Single-Channel Single-Phase Finite Calling Population Model The Mechanic Problem ( operational analysis only )

Template and Sample Data

Kendall-Lee Convention Widely accepted classification system for queuing models. Indicates the pattern of arrivals, the service time distribution, and the number of channels in a model. Often encountered in queuing software. Known also as the Kendall Notation.

Basic Three - Symbol Notation The Template Arrival Distribution Service Time Distribution Service Channels Open 1st 2nd 3rd Where: M = poisson distribution D = constant (deterministic) rate G = general distribution with mean and variance known m / s = number of channels or servers

M 1 1st Example Poisson Arrival Distribution Negative Exponential Service Time Distribution SINGLE-CHANNEL SINGLE-SERVER MODEL

M m 2nd Example Poisson Arrival Distribution Negative Exponential Service Time Distribution MULTI-CHANNEL MULTI-SERVER MODEL

M s 2nd Example Poisson Arrival Distribution Negative Exponential Service Time Distribution MULTI-CHANNEL MULTI-SERVER MODEL

M 1 3rd Example Imposed Legend Poisson Arrival Distribution Negative WITH FINITE POPULATION Poisson Arrival Distribution Negative Exponential Service Time Distribution SINGLE-CHANNEL SINGLE-SERVER MODEL WITH FINITE CALLING POPULATION

M D 3 4th Example Poisson Arrival Distribution Constant Service Time TRIPLE-CHANNEL TRIPLE-SERVER MODEL

MD3 Example 3 stamping machines in a work center 5 second fixed stamp time per inserted disc blank steel discs follow a poisson arrival pattern into the center

M G 2 5th Example Poisson Arrival Distribution The Normal Curve Service Time Distribution DUAL-CHANNEL DUAL-SERVER MODEL

MG2 Example μ = 2.0 min σ = 30 secs M = 2 An office copy room has 2 copiers Copy job time is normally distributed The mean copy job time is 2 minutes The standard deviation is 30 seconds Employees follow a poisson arrival pattern into the copy room

What We Have Seen PROBLEM MODEL The Convenience Store Clerk M / M / 1 The Loan Officers M / M / m or M / M / s The Mechanic M / M / 1 with finite calling population

QUEUING THEORY Applied Management Science for Decision Making, 1e © 2012 Pearson Prentice-Hall, Inc. Philip A. Vaccaro , PhD

Solved Problems Queuing Theory Computer-Based Manual Applied Management Science for Decision Making, 1e © 2010 Pearson Prentice-Hall, Inc. Philip A. Vaccaro , PhD

The Post Office Queuing Theory Problem 1 A post office has a single line for customers to use while waiting for the next available postal clerk. There are two postal clerks who work at the same rate. The arrival rate of customers follows a poisson dis- tribution, while the service time follows an exponential distribution. The average arrival rate is one customer every three ( 3 ) minutes and the average service rate is one customer every two ( 2 ) minutes for each of the two clerks. The facility is idle 50% of the time ( Po = .50 ).

The Post Office Queuing Theory REQUIREMENT: What is the average length of the line? How long does the average person spend waiting for a clerk to become available? What proportion of the time are both clerks idle? Po = .50 BUT NOW SHOW ALL SUPPORTING CALCULATIONS

The Post Office Queuing Theory Problem 1 Given: λ = 20 and μ = 30 ( per hour rates ) and M = 2 The average number of customers in the system ( L ) * : Po = .50 2 ( 20 x 30 ) ( .67 ) ( 2 - 1 )! (2 x 30 – 20) x ( .50 ) + .67 L = 2 600 ( .4489 ) X ( .50 ) + .67 = .754165 L = 2 ( 60 – 20 ) * L needs to be calculated before Lq can be found.

The Post Office Queuing Theory Problem 1 Given: λ = 20 and μ = 30 ( per hour rates ) and M = 2 The average length of the line ( Lq ) : Lq = L – ( λ / μ ) Lq = .7541 – ( 20 / 30 ) = .0841

The Post Office Queuing Theory REQUIREMENT: What is the average length of the line? How long does the average person spend waiting for a clerk to become available? What proportion of the time are both clerks idle? Po = .50 BUT NOW SHOW ALL SUPPORTING CALCULATIONS

The Post Office Queuing Theory Problem 1 The average time in the system ( W ) : W = L / λ = ( .7541 / 20 ) = .0377 of an hour or 2.25 minutes The average time in the queue ( Wq ) : Wq = Lq / λ = ( .0841 / 20 ) = .0042 of an hour or .25 minutes

The Post Office Queuing Theory REQUIREMENT: What is the average length of the line? How long does the average person spend waiting for a clerk to become available? What proportion of the time are both clerks idle? Po = .50 BUT NOW SHOW ALL SUPPORTING CALCULATIONS

The Post Office Queuing Theory 1 Po = 2 1 1 20 1 20 1 x 20 x 2(30) 0! 30 1! 30 (2)(1) 30 2(30) - 20 + + 1 Po = [ 1 + .67 ] + .50 ( .4489 ) ( 1.5 ) Po = .50 - THE PROBABILITY THAT THE POST OFFICE IS IDLE

The Post Office Revisited Queuing Theory Problem 2 A post office has a single line for customers to use while waiting for the next available postal clerk. There are three postal clerks who work at the same rate. The arrival rate of customers follows a poisson dis- tribution, while the service time follows an exponential distribution. The average arrival rate is one customer every three ( 3 ) minutes and the average service rate is one customer every two minutes for each of the three clerks. The facility is idle 51.22% of the time ( Po = .5122 ).

The Post Office Revisited Queuing Theory REQUIREMENT: What is the average length of the line? How long does the average person spend waiting for a clerk to become available? What proportion of the time are all three clerks idle? Po = .5122 BUT NOW SHOW ALL SUPPORTING CALCULATIONS

The Post Office Revisted Queuing Theory Problem 2 Given: λ = 20 and μ = 30 ( per hour rates ) and M = 3 The average number of customers in the system ( L ) * : 3 ( 20 x 30 ) ( .67 ) ( 3 - 1 )! (3 x 30 – 20) Po = .5122 Given x ( .5122 ) + .67 L = 2 600 ( .300763 ) X ( .5122 ) + .67 = .6794 L = 2 2! ( 90 – 20 ) * L needs to be calculated before Lq can be found.

The Post Office Revisited Queuing Theory Problem 2 Given: λ = 20 and μ = 30 ( per hour rates ) and M = 3 The average length of the line ( Lq ) : Lq = L – ( λ / μ ) Lq = .6794 – ( 20 / 30 ) = .0094

The Post Office Revisted Queuing Theory REQUIREMENT: What is the average length of the line? How long does the average person spend waiting for a clerk to become available? What proportion of the time are all three clerks idle? Po = .5122 BUT NOW SHOW ALL SUPPORTING CALCULATIONS

The Post Office Revisited Queuing Theory Problem 2 The average time in the system ( W ) : W = L / λ = ( .6794 / 20 ) = .0339 of an hour or 2.028 minutes The average time in the queue ( Wq ) : Wq = Lq / λ = ( .0094 / 20 ) = .00047 of an hour or .028 minutes

The Post Office Revisited Queuing Theory REQUIREMENT: What is the average length of the line? How long does the average person spend waiting for a clerk to become available? What proportion of the time are all three clerks idle? Po = .5122 BUT NOW SHOW ALL SUPPORTING CALCULATIONS

The Post Office Revisited Queuing Theory 1 Po = 3 1 2 1 20 1 20 1 20 1 x 20 x 3(30) 0! 30 1! 30 2! 30 (3)(2)(1) 30 3(30) - 20 + + + 1 Po = [ 1 + .67 + .2244 ] + .166 ( .3007 ) ( 1.285 ) Po ≈ .5122 THE PROBABILITY THAT THE POST OFFICE IS IDLE

The Computer Technician Queuing Theory Problem 3 A technician monitors a group of five (5) computers that run an automated manufacturing facility. It takes an average of fifteen (15) minutes ( exponentially distributed ) to adjust a computer that developes a problem. The computers run for an average of eighty-five (85) minutes ( poisson distributed ) without requiring adjustments.

The Computer Technician Queuing Theory Problem 3 REQUIREMENT : What is the average number of computers waiting for adjustment? What is the average number of computers not in working order? What is the probability that the system is empty? What is the average time in the queue? What is the average time in the system? Note: Po = .344 or 34.4% ( no need to manually compute! )

The Computer Technician Queuing Theory Problem 3 Given: λ = 60/85 = .706 computers ; μ = 4 computers ; N = 5 M = 1 ( technician ) ; Po = .344 Average number of computers waiting for adjustment : Lq = N - λ + μ (1 – Po ) λ Lq = 5 – 4.706 ( .66 ) = 5 – 4.4 = .576 .706

The Computer Technician Queuing Theory Problem 3 REQUIREMENT : What is the average number of computers waiting for adjustment? What is the average number of computers not in working order? What is the probability that the system is empty? What is the average time in the queue? What is the average time in the system? Note: Po = .344 or 34.4% ( no need to manually compute! )

The Computer Technician Queuing Theory Problem 3 The average number of computers not in working order: L = Lq + ( 1 – Po ) L = .576 + ( 1 - .34 ) = 1.24

The Computer Technician Queuing Theory Problem 3 REQUIREMENT : What is the average number of computers waiting for adjustment? What is the average number of computers not in working order? What is the probability that the system is empty? What is the average time in the queue? What is the average time in the system? Note: Po = .344 or 34.4% ( no need to manually compute! )

The Computer Technician Queuing Theory Problem 3 The probability that the system is empty : Po = 0.344 ( as given )

The Computer Technician Queuing Theory Problem 3 REQUIREMENT : What is the average number of computers waiting for adjustment? What is the average number of computers not in working order? What is the probability that the system is empty? What is the average time in the queue? What is the average time in the system? Note: Po = .344 or 34.4% ( no need to manually compute! )

The Computer Technician Queuing Theory Problem 3 The average time in the queue : Lq ( N – L ) λ Wq = .576 ( 5 – 1.24 )( .706 ) Wq = = .217 of an hour

The Computer Technician Queuing Theory Problem 3 REQUIREMENT : What is the average number of computers waiting for adjustment? What is the average number of computers not in working order? What is the probability that the system is empty? What is the average time in the queue? What is the average time in the system? Note: Po = .344 or 34.4% ( no need to manually compute! )

The Computer Technician Queuing Theory Problem 3 The average time in the system : W = W q + ( 1 / μ ) W = .217 + ( 1 / 4 ) = .217 + .25 = .467 of an hour

Solved Problems Queuing Theory Computer-Based Manual Applied Management Science for Decision Making, 1e © 2010 Pearson Prentice-Hall, Inc. Philip A. Vaccaro , PhD