Chapter 14. Waiting Lines and Queuing Theory Models

Similar documents
Chapter 13. Waiting Lines and Queuing Theory Models

Textbook: pp Chapter 12: Waiting Lines and Queuing Theory Models

Queueing Theory and Waiting Lines

INTRODUCTION AND CLASSIFICATION OF QUEUES 16.1 Introduction

Queuing Models. Queue. System

Queuing Theory 1.1 Introduction

Mathematical approach to the analysis of waiting lines

Chapter 7A Waiting Line Management. OBJECTIVES Waiting Line Characteristics Suggestions for Managing Queues Examples (Models 1, 2, 3, and 4)

Hamdy A. Taha, OPERATIONS RESEARCH, AN INTRODUCTION, 5 th edition, Maxwell Macmillan International, 1992

Use of Queuing Models in Health Care - PPT

Global Journal of Advance Engineering Technology and Sciences

Managing Waiting Lines. Copyright 2008 by The McGraw-Hill Companies, Inc. All rights reserved.

QUEUING THEORY 4.1 INTRODUCTION

Waiting Line Models. 4EK601 Operations Research. Jan Fábry, Veronika Skočdopolová

Simulating Queuing Models in SAS

Chapter 14. Simulation Modeling. Learning Objectives. After completing this chapter, students will be able to:

Queuing Theory: A Case Study to Improve the Quality Services of a Restaurant

ISM 270. Service Engineering and Management Lecture 7: Queuing Systems, Capacity Management

Introduction - Simulation. Simulation of industrial processes and logistical systems - MION40

Chapter III TRANSPORTATION SYSTEM. Tewodros N.

Queues (waiting lines)

Queuing Model to Study the Need of Capacity Expansion at a Food Factory

PERFORMANCE MODELING OF AUTOMATED MANUFACTURING SYSTEMS

Lecture 45. Waiting Lines. Learning Objectives

Prof. John W. Sutherland. March 20, Lecture #25. Service Processes & Systems Dept. of Mechanical Engineering - Engineering Mechanics

INDIAN INSTITUTE OF MATERIALS MANAGEMENT Post Graduate Diploma in Materials Management PAPER 18 C OPERATIONS RESEARCH.

COMPUTATIONAL ANALYSIS OF A MULTI-SERVER BULK ARRIVAL WITH TWO MODES SERVER BREAKDOWN

Queuing Theory. Carles Sitompul

APPLICABILITY OF INFORMATION TECHNOLOGIES IN PARKING AREA CAPACITY OPTIMIZATION

Assume only one reference librarian is working and M/M/1 Queuing model is used for Questions 1 to 7.

Chapter C Waiting Lines

DESIGN OF SERVICE SYSTEM FOR INSURANCE BUSINESS FACING CUSTOMER IMPATIENCE USING QUEUING THEORY

COMP9334 Capacity Planning for Computer Systems and Networks

Application of Queuing Theory in a Small Enterprise

OPERATIONS RESEARCH Code: MB0048. Section-A

and type II customers arrive in batches of size k with probability d k

Revista Economică 66:5 (2014) THE IMPORTANCE OF PROPER MANAGEMENT OF WAITING LINES

Mathematical Modeling and Analysis of Finite Queueing System with Unreliable Single Server

System Analysis and Optimization

Simulation Examples. Prof. Dr. Mesut Güneş Ch. 2 Simulation Examples 2.1

Introduction to Computer Simulation

AN M/M/1/N FEEDBACK QUEUING SYSTEM WITH REVERSE BALKING

UNIVERSIDAD COOPERATIVA DE COLOMBIA Bucaramanga Facultad de Ciencias Administrativas y Económicas BUSINESS ADMINISTRATION

Queuing CEE 320. Anne Goodchild CEE 320

Effective Business Management in Uncertain Business Environment Using Stochastic Queuing System with Encouraged Arrivals and Impatient Customers

Application of queuing theory in construction industry

Inventory Control Models

An-Najah National University Faculty of Engineering Industrial Engineering Department. System Dynamics. Instructor: Eng.

Simulation Technique for Queuing Theory: A Case Study

WAITING LINE MODELS Introduction

International Journal of Scientific & Engineering Research, Volume 8, Issue 1, January ISSN

Service Rate Optimization of Finite Population Queueing Model with State Dependent Arrival and Service Rates

OPERATING SYSTEMS. Systems and Models. CS 3502 Spring Chapter 03

The application of queuing theory in the effective management of time in money deposit banks - A study of Zenith bank PLC in Enugu Metropolis

CH-1. A simulation: is the imitation of the operation of a real-world process WHEN SIMULATION IS THE APPROPRIATE TOOL:

BERTHING PROBLEM OF SHIPS IN CHITTAGONG PORT AND PROPOSAL FOR ITS SOLUTION

Slides 2: Simulation Examples

THE INTERNATIONAL JOURNAL OF SCIENCE & TECHNOLEDGE

Cost Effective Decisions on Service Rate at a Customer Care Centre with Multi-Server Queuing Model

GEORGETOWN UNIVERSITY

The Application of Waiting Lines System in Improving Customer Service Management: The Examination of Malaysia Fast Food Restaurants Industry

ANALYSING QUEUES USING CUMULATIVE GRAPHS

Cost Effective Decisions on Service Rate at a Customer Care Centre with Multi-Server Queuing Model

Modeling and Performance Analysis with Discrete-Event Simulation

VARIABILITY PROFESSOR DAVID GILLEN (UNIVERSITY OF BRITISH COLUMBIA) & PROFESSOR BENNY MANTIN (UNIVERSITY OF WATERLOO)

Analysis of Queuing Model: A Case Study of Madonna Model Secondary School, Owerri

Efficiency of Controlled Queue system in Supermarket using Matlab / Simulink

Midterm for CpE/EE/PEP 345 Modeling and Simulation Stevens Institute of Technology Fall 2003

Application the Queuing Theory in the Warehouse Optimization Jaroslav Masek, Juraj Camaj, Eva Nedeliakova

UDC Transient Analysis of a Multi-Server Queuing Model with Discouraged Arrivals and Retention of Reneging Customers

Maintenance and Reliability

Analysis of Vehicle Service Queuing System Using Arena in Authorized Workshop

Abstract. 1 Introduction

Investigating the Influences of Automated Guided Vehicles (AGVs) as Material Transportation for Automotive Assembly Process

THE APPLICATION OF QUEUEING MODEL/WAITING LINES IN IMPROVING SERVICE DELIVERING IN NIGERIA S HIGHER INSTITUTIONS

Queueing and Service Patterns in a University Teaching Hospital F.O. Ogunfiditimi and E.S. Oguntade

WAYNE STATE UNIVERSITY Department of Industrial and Manufacturing Engineering May, 2010

Simulation Software. Chapter 3. Based on the slides provided with the textbook. Jiang Li, Ph.D. Department of Computer Science

Code No: RR Set No. 1

International Journal of Sciences: Basic and Applied Research (IJSBAR)

Introduction CHAPTER 1

ALLOCATING SHARED RESOURCES OPTIMALLY FOR CALL CENTER OPERATIONS AND KNOWLEDGE MANAGEMENT ACTIVITIES

STATISTICAL TECHNIQUES. Data Analysis and Modelling

Use of Monte Carlo Simulation for Analyzing Queues in a Financial Institution

A Queuing Approach for Energy Supply in Manufacturing Facilities

Maintenance Management. Prepared by: IMAN PIRMAN HIDAYAT

Reducing Customer Waiting Time with New Layout Design

BUSSINES SIMULATING PROCES FOR THE PRODUCTION SURROUND, USING QUEUEING SYSTEM SIMULATION WITH WINQSB

Lecture Introduction QM. Aim of the course

A Study on the Optimum Bucket Size for Master Scheduling:

Application of Queuing Theory for Effective Equipment Utilization and Maximization of Productivity in Construction Management

A Simulation Study on M/M/1 and M/M/C Queueing Model in a Multi Speciality Hospital

Volume 6, Issue 2, February 2018 International Journal of Advance Research in Computer Science and Management Studies

A Study of Queuing and Reliability Model for Machine Interference with Bernoulli Vacation Schedule

Quantitative Analysis for Management, 12e (Render) Chapter 2 Probability Concepts and Applications

AN ABSTRACT OF THE DISSERTATION OF

Using Queuing Analysis to Define Appropriate Staffing Levels in a Municipality By

Secondary Queuing Models for Railway Reservation System with Truncation of the Range of Probability of Surrendering Reserved Tickets.

Queue time and x-factor characteristics for semiconductor manufacturing with small lot sizes

G54SIM (Spring 2016)

Transcription:

Chapter 4 Waiting Lines and Queuing Theory Models To accompany Quantitative Analysis for Management, Tenth Edition, by Render, Stair, and Hanna Power Point slides created by Jeff Heyl 2008 Prentice-Hall, Inc. 2009 Prentice-Hall, Inc.

Learning Objectives After completing this chapter, students will be able to:. Describe the trade-off curves for cost-ofwaiting time and cost-of-service 2. Understand the three parts of a queuing system: the calling population, the queue itself, and the service facility 3. Describe the basic queuing system configurations 4. Understand the assumptions of the common models dealt with in this chapter 5. Analyze a variety of operating characteristics of waiting lines 2009 Prentice-Hall, Inc. 4 2

Chapter Outline 4. Introduction 4.2 Waiting Line Costs 4.3 Characteristics of a Queuing System 4.4 Single-Channel Queuing Model with Poisson Arrivals and Exponential Service Times (M/M/) 4.5 Multichannel Queuing Model with Poisson Arrivals and Exponential Service Times (M/M/m) 2009 Prentice-Hall, Inc. 4 3

Chapter Outline 4.6 Constant Service Time Model (M/D/) 4.7 Finite Population Model (M/M/ with Finite Source) 4.8 Some General Operating Characteristic Relationships 4.9 More Complex Queuing Models and the Use of Simulation 2009 Prentice-Hall, Inc. 4 4

Introduction Queuing theory is the study of waiting lines It is one of the oldest and most widely used quantitative analysis techniques Waiting lines are an everyday occurrence for most people Queues form in business process as well The three basic components of a queuing process are arrivals, service facilities, and the actual waiting line Analytical models of waiting lines can help managers evaluate the cost and effectiveness of service systems 2009 Prentice-Hall, Inc. 4 5

Waiting Line Costs Most waiting line problems are focused on finding the ideal level of service a firm should provide In most cases, this service level is something management can control When an organization does have control, they often try to find the balance between two extremes A large staff and many service facilities generally results in high levels of service but have high costs 2009 Prentice-Hall, Inc. 4 6

Waiting Line Costs Having the minimum number of service facilities keeps service cost down but may result in dissatisfied customers There is generally a trade-off between cost of providing service and cost of waiting time Service facilities are evaluated on their total expected cost which is the sum of service costs and waiting costs Organizations typically want to find the service level that minimizes the total expected cost 2009 Prentice-Hall, Inc. 4 7

Cost Waiting Line Costs Queuing costs and service level Total Expected Cost Cost of Providing Service Cost of Waiting Time Figure 4. * Optimal Service Level Service Level 2009 Prentice-Hall, Inc. 4 8

Three Rivers Shipping Company Example Three Rivers Shipping operates a docking facility on the Ohio River An average of 5 ships arrive to unload their cargos each shift Idle ships are expensive More staff can be hired to unload the ships, but that is expensive as well Three Rivers Shipping Company wants to determine the optimal number of teams of stevedores to employ each shift to obtain the minimum total expected cost 2009 Prentice-Hall, Inc. 4 9

Three Rivers Shipping Company Example Three Rivers Shipping waiting line cost analysis (a) (b) (c) (d) (e) (f) Average number of ships arriving per shift Average time each ship waits to be unloaded (hours) Total ship hours lost per shift (a x b) Estimated cost per hour of idle ship time Value of ship s lost time or waiting cost (c x d) Stevedore team salary or service cost NUMBER OF TEAMS OF STEVEDORES WORKING 2 3 4 5 5 5 5 7 4 3 2 35 20 5 0 $,000 $,000 $,000 $,000 $35,000 $20,000 $5,000 $0,000 $6,000 $2,000 $8,000 $24,000 (g) Total expected cost (e + f) $4,000 $32,000 $33,000 $34,000 Table 4. Optimal cost 2009 Prentice-Hall, Inc. 4 0

Characteristics of a Queuing System There are three parts to a queuing system. The arrivals or inputs to the system (sometimes referred to as the calling population) 2. The queue or waiting line itself 3. The service facility These components have their own characteristics that must be examined before mathematical models can be developed 2009 Prentice-Hall, Inc. 4

Characteristics of a Queuing System Arrival Characteristics have three major characteristics, size, pattern, and behavior Size of the calling population Can be either unlimited (essentially infinite) or limited (finite) Pattern of arrivals Can arrive according to a known pattern or can arrive randomly Random arrivals generally follow a Poisson distribution 2009 Prentice-Hall, Inc. 4 2

Characteristics of a Queuing System The Poisson distribution is where P( X ) e X X! for X 0,, 2, 3, 4,... P(X) = probability of X arrivals X = number of arrivals per unit of time = average arrival rate e = 2.783 2009 Prentice-Hall, Inc. 4 3

2009 Prentice-Hall, Inc. 4 4 Characteristics of a Queuing System We can use Appendix C to find the values of e If = 2, we can find the values for X = 0,, and 2! ) ( X e X P X %. ) (.! ) ( 4 0 353 0 353 0 2 0 0 2 e P %. ) (.! ) ( 27 0 2706 2 0 353 2 2 2 2 e e P %. ) (. ) (! ) ( 27 0 2706 2 4 0 353 2 4 2 2 2 2 2 2 e e P

Probability Probability Characteristics of a Queuing System Two examples of the Poisson distribution for arrival rates 0.30 0.25 0.25 0.20 0.5 0.0 0.05 0.20 0.5 0.0 0.05 0.00 0 2 3 4 X 5 6 7 8 9 0.00 0 2 3 4 X 5 6 7 8 9 = 2 Distribution = 4 Distribution Figure 4.2 2009 Prentice-Hall, Inc. 4 5

Characteristics of a Queuing System Behavior of arrivals Most queuing models assume customers are patient and will wait in the queue until they are served and do not switch lines Balking refers to customers who refuse to join the queue Reneging customers enter the queue but become impatient and leave without receiving their service That these behaviors exist is a strong argument for the use of queuing theory to managing waiting lines 2009 Prentice-Hall, Inc. 4 6

Characteristics of a Queuing System Waiting Line Characteristics Waiting lines can be either limited or unlimited Queue discipline refers to the rule by which customers in the line receive service The most common rule is first-in, first-out (FIFO) Other rules are possible and may be based on other important characteristics Other rules can be applied to select which customers enter which queue, but may apply FIFO once they are in the queue 2009 Prentice-Hall, Inc. 4 7

Characteristics of a Queuing System Service Facility Characteristics Basic queuing system configurations Service systems are classified in terms of the number of channels, or servers, and the number of phases, or service stops A single-channel system with one server is quite common Multichannel systems exist when multiple servers are fed by one common waiting line In a single-phase system the customer receives service form just one server If a customer has to go through more than one server, it is a multiphase system 2009 Prentice-Hall, Inc. 4 8

Characteristics of a Queuing System Four basic queuing system configurations Queue Arrivals Service Facility Departures after Service Single-Channel, Single-Phase System Queue Arrivals Type Service Facility Type 2 Service Facility Departures after Service Single-Channel, Multiphase System Figure 4.3 (a) 2009 Prentice-Hall, Inc. 4 9

Characteristics of a Queuing System Four basic queuing system configurations Queue Service Facility Departures Arrivals Service Facility 2 after Service Facility 3 Service Multichannel, Single-Phase System Figure 4.3 (b) 2009 Prentice-Hall, Inc. 4 20

Characteristics of a Queuing System Four basic queuing system configurations Arrivals Queue Type Service Facility Type Service Facility 2 Type 2 Service Facility Type 2 Service Facility 2 Departures after Service Multichannel, Multiphase System Figure 4.3 (c) 2009 Prentice-Hall, Inc. 4 2

Characteristics of a Queuing System Service time distribution Service patterns can be either constant or random Constant service times are often machine controlled More often, service times are randomly distributed according to a negative exponential probability distribution Models are based on the assumption of particular probability distributions Analysts should take to ensure observations fit the assumed distributions when applying these models 2009 Prentice-Hall, Inc. 4 22

Characteristics of a Queuing System Two examples of exponential distribution for service times f (x) f (x) = e x for x 0 and > 0 = Average Number Served per Minute Average Service Time of 20 Minutes Figure 4.4 0 30 60 90 20 Average Service Time of Hour 50 80 Service Time (Minutes) 2009 Prentice-Hall, Inc. 4 23

Identifying Models Using Kendall Notation D. G. Kendall developed a notation for queuing models that specifies the pattern of arrival, the service time distribution, and the number of channels It is of the form Arrival distribution Service time distribution Number of service channels open Specific letters are used to represent probability distributions M = Poisson distribution for number of occurrences D = constant (deterministic) rate G = general distribution with known mean and variance 2009 Prentice-Hall, Inc. 4 24

Identifying Models Using Kendall Notation So a single channel model with Poisson arrivals and exponential service times would be represented by M/M/ If a second channel is added we would have M/M/2 A three channel system with Poisson arrivals and constant service time would be M/D/3 A four channel system with Poisson arrivals and normally distributed service times would be M/G/4 2009 Prentice-Hall, Inc. 4 25

Single-Channel Model, Poisson Arrivals, Exponential Service Times (M/M/) Assumptions of the model Arrivals are served on a FIFO basis No balking or reneging Arrivals are independent of each other but rate is constant over time Arrivals follow a Poisson distribution Service times are variable and independent but the average is known Service times follow a negative exponential distribution Average service rate is greater than the average arrival rate 2009 Prentice-Hall, Inc. 4 26

Single-Channel Model, Poisson Arrivals, Exponential Service Times (M/M/) When these assumptions are met, we can develop a series of equations that define the queue s operating characteristics Queuing Equations We let = mean number of arrivals per time period = mean number of people or items served per time period The arrival rate and the service rate must be for the same time period 2009 Prentice-Hall, Inc. 4 27

Single-Channel Model, Poisson Arrivals, Exponential Service Times (M/M/). The average number of customers or units in the system, L L 2. The average time a customer spends in the system, W W 3. The average number of customers in the queue, L q L q 2 ( ) 2009 Prentice-Hall, Inc. 4 28

Single-Channel Model, Poisson Arrivals, Exponential Service Times (M/M/) 4. The average time a customer spends waiting in the queue, W q W q ( ) 5. The utilization factor for the system,, the probability the service facility is being used 2009 Prentice-Hall, Inc. 4 29

Single-Channel Model, Poisson Arrivals, Exponential Service Times (M/M/) 6. The percent idle time, P 0, the probability no one is in the system P 0 7. The probability that the number of customers in the system is greater than k, P n>k P n k k 2009 Prentice-Hall, Inc. 4 30

Arnold s Muffler Shop Case Arnold s mechanic can install mufflers at a rate of 3 per hour Customers arrive at a rate of 2 per hour = 2 cars arriving per hour = 3 cars serviced per hour L 2 3 2 2 2 cars in the system on the average W 3 2 hour that an average car spends in the system 2009 Prentice-Hall, Inc. 4 3

Arnold s Muffler Shop Case Lq 2 2 2 4 ( ) 3( 3 2) 3( ).33 cars waiting in line on the average Wq ( ) 2 3 hour 40 minutes average waiting time per car 2 3 0. 67 percentage of time mechanic is busy 2 P0 0. 33 3 probability that there are 0 cars in the system 2009 Prentice-Hall, Inc. 4 32

Arnold s Muffler Shop Case Probability of more than k cars in the system k P n>k = ( 2 / 3 ) k+ 0 0.667 Note that this is equal to P 0 = 0.33 = 0.667 0.444 2 0.296 3 0.98 Implies that there is a 9.8% chance that more than 3 cars are in the system 4 0.32 5 0.088 6 0.058 7 0.039 2009 Prentice-Hall, Inc. 4 33

Arnold s Muffler Shop Case Input data and formulas using Excel QM Program 4.A 2009 Prentice-Hall, Inc. 4 34

Arnold s Muffler Shop Case Output from Excel QM analysis Program 4.B 2009 Prentice-Hall, Inc. 4 35

Arnold s Muffler Shop Case Introducing costs into the model Arnold wants to do an economic analysis of the queuing system and determine the waiting cost and service cost The total service cost is Total service cost Total service cost = = mc s (Number of channels) x (Cost per channel) where m = number of channels C s = service cost of each channel 2009 Prentice-Hall, Inc. 4 36

Arnold s Muffler Shop Case Waiting cost when the cost is based on time in the system Total waiting cost Total waiting cost = = (Total time spent waiting by all arrivals) x (Cost of waiting) (Number of arrivals) x (Average wait per arrival)c w = (W)C w If waiting time cost is based on time in the queue Total waiting cost = (W q )C w 2009 Prentice-Hall, Inc. 4 37

Arnold s Muffler Shop Case So the total cost of the queuing system when based on time in the system is Total cost = Total service cost + Total waiting cost Total cost = mc s + WC w And when based on time in the queue Total cost = mc s + W q C w 2009 Prentice-Hall, Inc. 4 38

Arnold s Muffler Shop Case Arnold estimates the cost of customer waiting time in line is $0 per hour Total daily waiting cost = (8 hours per day)w q C w = (8)(2)( 2 / 3 )($0) = $06.67 Arnold has identified the mechanics wage $7 per hour as the service cost Total daily service cost = (8 hours per day)mc s = (8)()($7) = $56 So the total cost of the system is Total daily cost of the queuing system = $06.67 + $56 = $62.67 2009 Prentice-Hall, Inc. 4 39

Arnold s Muffler Shop Case Arnold is thinking about hiring a different mechanic who can install mufflers at a faster rate The new operating characteristics would be = 2 cars arriving per hour = 4 cars serviced per hour L 2 4 2 2 2 car in the system on the average W 4 2 /2 hour that an average car spends in the system 2009 Prentice-Hall, Inc. 4 40

Arnold s Muffler Shop Case Lq 2 2 2 4 ( ) 4( 4 2) 8( ) /2 cars waiting in line on the average Wq ( ) 4 hour 5 minutes average waiting time per car 2 4 0. 5 percentage of time mechanic is busy 2 P0 0. 5 4 probability that there are 0 cars in the system 2009 Prentice-Hall, Inc. 4 4

Arnold s Muffler Shop Case Probability of more than k cars in the system k P n>k = ( 2 / 4 ) k+ 0 0.500 0.250 2 0.25 3 0.062 4 0.03 5 0.06 6 0.008 7 0.004 2009 Prentice-Hall, Inc. 4 42

Arnold s Muffler Shop Case The customer waiting cost is the same $0 per hour Total daily waiting cost = (8 hours per day)w q C w = (8)(2)( / 4 )($0) = $40.00 The new mechanic is more expensive at $9 per hour Total daily service cost = (8 hours per day)mc s = (8)()($9) = $72 So the total cost of the system is Total daily cost of the queuing system = $40 + $72 = $2 2009 Prentice-Hall, Inc. 4 43

Arnold s Muffler Shop Case The total time spent waiting for the 6 customers per day was formerly (6 cars per day) x ( 2 / 3 hour per car) = 0.67 hours It is now is now (6 cars per day) x ( / 4 hour per car) = 4 hours The total system costs are less with the new mechanic resulting in a $50 per day savings $62 $2 = $50 2009 Prentice-Hall, Inc. 4 44

Enhancing the Queuing Environment Reducing waiting time is not the only way to reduce waiting cost Reducing waiting cost (C w ) will also reduce total waiting cost This might be less expensive to achieve than reducing either W or W q 2009 Prentice-Hall, Inc. 4 45

Multichannel Model, Poisson Arrivals, Exponential Service Times (M/M/m) Assumptions of the model Arrivals are served on a FIFO basis No balking or reneging Arrivals are independent of each other but rate is constant over time Arrivals follow a Poisson distribution Service times are variable and independent but the average is known Service times follow a negative exponential distribution Average service rate is greater than the average arrival rate 2009 Prentice-Hall, Inc. 4 46

2009 Prentice-Hall, Inc. 4 47 Multichannel Model, Poisson Arrivals, Exponential Service Times (M/M/m) Equations for the multichannel queuing model We let m = number of channels open = average arrival rate = average service rate at each channel. The probability that there are zero customers in the system m m m m n P m m n n n for 0 0!!

2009 Prentice-Hall, Inc. 4 48 Multichannel Model, Poisson Arrivals, Exponential Service Times (M/M/m) 2. The average number of customer in the system 0 2 P m m L m ) )!( ( ) / ( 3. The average time a unit spends in the waiting line or being served, in the system L P m m W m 0 2 ) )!( ( ) / (

Multichannel Model, Poisson Arrivals, Exponential Service Times (M/M/m) 4. The average number of customers or units in line waiting for service L q L 5. The average number of customers or units in line waiting for service Lq Wq W 6. The average number of customers or units in line waiting for service m 2009 Prentice-Hall, Inc. 4 49

2009 Prentice-Hall, Inc. 4 50 Arnold s Muffler Shop Revisited Arnold wants to investigate opening a second garage bay He would hire a second worker who works at the same rate as his first worker The customer arrival rate remains the same m m m m n P m m n n n for 0 0!! 0 5 0. P probability of 0 cars in the system

Arnold s Muffler Shop Revisited Average number of cars in the system L ( m m ( / ) )!( m ) P 2 0. 0 75 Average time a car spends in the system W L 3 8 hours 22 2 minutes 2009 Prentice-Hall, Inc. 4 5

Arnold s Muffler Shop Revisited Average number of cars in the queue L q L 3 4 2 3 2 0. 083 Average time a car spends in the queue W q W Lq 0. 083 2 0.045 hour 2 2 minutes 2009 Prentice-Hall, Inc. 4 52

Arnold s Muffler Shop Revisited Effect of service level on Arnold s operating characteristics LEVEL OF SERVICE OPERATING CHARACTERISTIC Probability that the system is empty (P 0 ) Average number of cars in the system (L) Average time spent in the system (W) Average number of cars in the queue (L q ) Average time spent in the queue (W q ) Table 4.2 ONE MECHANIC = 3 TWO MECHANICS = 3 FOR BOTH ONE FAST MECHANIC = 4 0.33 0.50 0.50 2 cars 0.75 cars car 60 minutes 22.5 minutes 30 minutes.33 cars 0.083 car 0.50 car 40 minutes 2.5 minutes 5 minutes 2009 Prentice-Hall, Inc. 4 53

Arnold s Muffler Shop Revisited Adding the second service bay reduces the waiting time in line but will increase the service cost as a second mechanic needs to be hired Total daily waiting cost = (8 hours per day)w q C w = (8)(2)(0.045)($0) = $6.64 Total daily service cost = (8 hours per day)mc s = (8)(2)($7) = $2 So the total cost of the system is Total system cost = $6.64 + $2 = $8.64 The fast mechanic is the cheapest option 2009 Prentice-Hall, Inc. 4 54

Arnold s Muffler Shop Revisited Input data and formulas for Arnold s multichannel queuing decision using Excel QM Program 4.2A 2009 Prentice-Hall, Inc. 4 55

Arnold s Muffler Shop Revisited Output from Excel QM analysis Program 4.2B 2009 Prentice-Hall, Inc. 4 56

Constant Service Time Model (M/D/) Constant service times are used when customers or units are processed according to a fixed cycle The values for L q, W q, L, and W are always less than they would be for models with variable service time In fact both average queue length and average waiting time are halved in constant service rate models 2009 Prentice-Hall, Inc. 4 57

Constant Service Time Model (M/D/). Average length of the queue L q 2 2 ( ) 2. Average waiting time in the queue W q 2 ( ) 2009 Prentice-Hall, Inc. 4 58

Constant Service Time Model (M/D/) 3. Average number of customers in the system L L q 4. Average time in the system W W q 2009 Prentice-Hall, Inc. 4 59

Constant Service Time Model (M/D/) Garcia-Golding Recycling, Inc. The company collects and compacts aluminum cans and glass bottles Trucks arrive at an average rate of 8 per hour (Poisson distribution) Truck drivers wait about 5 before they empty their load Drivers and trucks cast $60 per hour New automated machine can process truckloads at a constant rate of 2 per hour New compactor will be amortized at $3 per truck 2009 Prentice-Hall, Inc. 4 60

Constant Service Time Model (M/D/) Analysis of cost versus benefit of the purchase Current waiting cost/trip = ( / 4 hour waiting time)($60/hour cost) = $5/trip New system: = 8 trucks/hour arriving = 2 trucks/hour served Average waiting time in queue = W q = / 2 hour Waiting cost/trip with new compactor = ( / 2 hour wait)($60/hour cost) = $5/trip Savings with new equipment = $5 (current system) $5 (new system) = $0 per trip Cost of new equipment amortized = $3/trip Net savings = $7/trip 2009 Prentice-Hall, Inc. 4 6

Constant Service Time Model (M/D/) Input data and formulas for Excel QM s constant service time queuing model Program 4.3A 2009 Prentice-Hall, Inc. 4 62

Constant Service Time Model (M/D/) Output from Excel QM constant service time model Program 4.3B 2009 Prentice-Hall, Inc. 4 63

Finite Population Model (M/M/ with Finite Source) When the population of potential customers is limited, the models are different There is now a dependent relationship between the length of the queue and the arrival rate The model has the following assumptions. There is only one server 2. The population of units seeking service is finite 3. Arrivals follow a Poisson distribution and service times are exponentially distributed 4. Customers are served on a first-come, firstserved basis 2009 Prentice-Hall, Inc. 4 64

Finite Population Model (M/M/ with Finite Source) Equations for the finite population model Using = mean arrival rate, = mean service rate, N = size of the population The operating characteristics are. Probability that the system is empty P 0 N n0 N! ( N n)! n 2009 Prentice-Hall, Inc. 4 65

Finite Population Model (M/M/ with Finite Source) 2. Average length of the queue L q N P 0 3. Average number of customers (units) in the system 4. Average waiting time in the queue L Lq P 0 W q L q ( N L) 2009 Prentice-Hall, Inc. 4 66

Finite Population Model (M/M/ with Finite Source) 5. Average time in the system W W q 6. Probability of n units in the system n N! Pn P0 for n 0,,..., N n! N 2009 Prentice-Hall, Inc. 4 67

Department of Commerce Example The Department of Commerce has five printers that each need repair after about 20 hours of work Breakdowns follow a Poisson distribution The technician can service a printer in an average of about 2 hours, following an exponential distribution = / 20 = 0.05 printer/hour = / 2 = 0.50 printer/hour 2009 Prentice-Hall, Inc. 4 68

Department of Commerce Example. P 0. 5 n n0 5! 0. 05 ( 5 n)! 0. 5 0 564 2. 0. 05 0. 5 L q 5 0 0. 05 P 0.2 printer 3. L 0. 2 0. 564 0.64 printer 2009 Prentice-Hall, Inc. 4 69

Department of Commerce Example 4. W q ( 5 0. 2 0. 64) 0. 05 0. 2 0. 22 0.9hour 5. W 0. 9 2.9 hours 0. 50 If printer downtime costs $20 per hour and the technician is paid $25 per hour, the total cost is Total hourly cost = (Average number of printers down) (Cost per downtime hour) + Cost per technician hour = (0.64)($20) + $25 = $0.80 2009 Prentice-Hall, Inc. 4 70

Department of Commerce Example Excel QM input data and formulas for solving the Department of Commerce finite population queuing model Program 4.4A 2009 Prentice-Hall, Inc. 4 7

Department of Commerce Example Output from Excel QM finite population queuing model Program 4.4B 2009 Prentice-Hall, Inc. 4 72

Some General Operating Characteristic Relationships Certain relationships exist among specific operating characteristics for any queuing system in a steady state A steady state condition exists when a system is in its normal stabilized condition, usually after an initial transient state The first of these are referred to as Little s Flow Equations And L = W L q = W q (or W = L/) (or W q = L q /) W = W q + / 2009 Prentice-Hall, Inc. 4 73

More Complex Queuing Models and the Use of Simulation In the real world there are often variations from basic queuing models Computer simulation can be used to solve these more complex problems Simulation allows the analysis of controllable factors Simulation should be used when standard queuing models provide only a poor approximation of the actual service system 2009 Prentice-Hall, Inc. 4 74