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

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

Queuing Models. Queue. System

Queuing Theory 1.1 Introduction

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

Chapter C Waiting Lines

INTRODUCTION AND CLASSIFICATION OF QUEUES 16.1 Introduction

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

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

Chapter 14. Waiting Lines and Queuing Theory Models

Chapter 13. Waiting Lines and Queuing Theory Models

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

Queueing Theory and Waiting Lines

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

Mathematical approach to the analysis of waiting lines

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

QUEUING THEORY 4.1 INTRODUCTION

Chapter III TRANSPORTATION SYSTEM. Tewodros N.

Queuing CEE 320. Anne Goodchild CEE 320

Lecture 45. Waiting Lines. Learning Objectives

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

Queuing Theory. Carles Sitompul

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

Learning Objectives. Scheduling. Learning Objectives

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

Introduction to Computer Simulation

OPERATIONS RESEARCH Code: MB0048. Section-A

LOAD SHARING IN HETEROGENEOUS DISTRIBUTED SYSTEMS

CSC 1600: Chapter 5. CPU Scheduling. Review of Process States

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

WAITING LINE MODELS Introduction

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

Paper: 10, Services Marketing Module: 29, Managing Waiting Lines

CSC 553 Operating Systems

א א א א א א א א

Chapter 8 Variability and Waiting Time Problems

Simulation Technique for Queuing Theory: A Case Study

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

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

Introduction to Operating Systems Prof. Chester Rebeiro Department of Computer Science and Engineering Indian Institute of Technology, Madras

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

CPU Scheduling. Chapter 9

Slides 2: Simulation Examples

Modeling and Performance Analysis with Discrete-Event Simulation

Scheduling I. Today. Next Time. ! Introduction to scheduling! Classical algorithms. ! Advanced topics on scheduling

PRODUCTION ACTIVITY CONTROL (PAC)

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

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

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

9.7 Summary. 9.8 Training Cases. 394 Business Process Modeling, Simulation and Design

Application of Queuing Theory in a Small Enterprise

2WB05 Simulation Lecture 6: Process-interaction approach

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

CPU Scheduling (Chapters 7-11)

G54SIM (Spring 2016)

Global Journal of Advance Engineering Technology and Sciences

An Optimal Service Ordering for a World Wide Web Server

The Queueing Theory. Chulwon Kim. November 8, is a concept that has driven the establishments throughout our history in an orderly fashion.

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

FIFO SJF STCF RR. Operating Systems. Minati De. Department of Mathematics, Indian Institute of Technology Delhi, India. Lecture 6: Scheduling

Comp 204: Computer Systems and Their Implementation. Lecture 10: Process Scheduling

Gang Scheduling Performance on a Cluster of Non-Dedicated Workstations

Intro to O/S Scheduling. Intro to O/S Scheduling (continued)

Motivation. Types of Scheduling

Scheduling Processes 11/6/16. Processes (refresher) Scheduling Processes The OS has to decide: Scheduler. Scheduling Policies

Use of Queuing Models in Health Care - PPT

CPU scheduling. CPU Scheduling

SCHEDULING AND CONTROLLING PRODUCTION ACTIVITIES

Introduction to Operating Systems. Process Scheduling. John Franco. Dept. of Electrical Engineering and Computing Systems University of Cincinnati

Motivating Examples of the Power of Analytical Modeling

Service Operations (SO) Post Graduate Program for Working Executives Week 5

Simulating Queuing Models in SAS

Optimal staffing policy for queuing systems with cyclic demands: waiting cost approach

Efficiency of Controlled Queue system in Supermarket using Matlab / Simulink

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

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

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

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

Module 12: Managing Service Delivery Lesson 30: Managing Demand and Capacity

Uniprocessor Scheduling

Examining and Modeling Customer Service Centers with Impatient Customers

Chapter 9 Uniprocessor Scheduling

SIMULATION OF MACHINE INTERFERENCE IN RANDOMLY CHANGING ENVIRONMENTS J. SZTRIK O. MŒLLER

Robustness to Estimation Errors for Size-Aware Scheduling

Lecture 3. Questions? Friday, January 14 CS 470 Operating Systems - Lecture 3 1

SE350: Operating Systems. Lecture 6: Scheduling

Solutions Manual Discrete-Event System Simulation Fifth Edition

Service efficiency evaluation of automatic teller machines a study of Taiwan financial institutions with the application of queuing theory

Queues (waiting lines)

Simulation of Process Scheduling Algorithms

Module 7:Application of stochastic processes in queueing theory Lecture 30:Examples of application of stochastic processes in Queueing Theory

COMP9334 Capacity Planning for Computer Systems and Networks

Scheduling Algorithms. Jay Kothari CS 370: Operating Systems July 9, 2008

Chapter 2 Simulation Examples. Banks, Carson, Nelson & Nicol Discrete-Event System Simulation

D.K.M.COLLEGE FOR WOMEN (AUTONOMOUS), VELLORE-1. OPERATIONS RESEARCH

PRACTICE PROBLEM SET Topic 1: Basic Process Analysis

University Question Paper Two Marks

The Study of Difference of Efficiency of a Bank in a Rural Area and a Bank in a Town

SERVICE OPERATIONS MANAGEMENT

System Analysis and Optimization

Transcription:

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

12-2 Where the Time Goes In a life time, the average person will spend: SIX MONTHS Waiting at stoplights EIGHT MONTHS Opening junk mail ONE YEAR Looking for misplaced 0bjects TWO YEARS Reading E-mail FOUR YEARS FIVE YEARS SIX YEARS Doing housework Waiting in line Eating

12-3 Cultural Attitudes Americans hate to wait. So business is trying a trick or two to make lines seem shorter The New York Times, September 25, 1988 An Englishman, even when he is by himself, will form an orderly queue of one George Mikes, How to be an Alien In the Soviet Union, waiting lines were used as a rationing device Hedrick Smith, The Russians

12-4 Waiting Realities Inevitability of Waiting: Waiting results from variations in arrival rates and service rates Economics of Waiting: High utilization purchased at the price of customer waiting. Make waiting productive (salad bar) or profitable (drinking bar).

12-5 Laws of Service Maister s First Law: Customers compare expectations with perceptions. Maister s Second Law: Is hard to play catch-up ball. Skinner s Law: The other line always moves faster. Jenkin s Corollary: However, when you switch to another other line, the line you left moves faster.

12-6 Remember Me I am the person who goes into a restaurant, sits down, and patiently waits while the wait-staff does everything but take my order. I am the person that waits in line for the clerk to finish chatting with his buddy. I am the one who never comes back and it amuses me to see money spent to get me back. I was there in the first place, all you had to do was show me some courtesy and service. The Customer 12-6

12-7 Psychology of Waiting That Old Empty Feeling: Unoccupied time goes slowly A Foot in the Door: Pre-service waits seem longer that in-service waits The Light at the End of the Tunnel: Reduce anxiety with attention Excuse Me, But I Was First: Social justice with FCFS queue discipline They Also Serve, Who Sit and Wait: Avoids idle service capacity

12-8 Approaches to Controlling Customer Waiting Animate: Disneyland distractions, elevator mirror, recorded music Discriminate: Avis frequent renter treatment (out of sight) Automate: Use computer scripts to address 75% of questions Obfuscate: Disneyland staged waits (e.g. House of Horrors)

12-9 Waiting Time Concepts Actual waiting times: Measurable time from arrival to beginning of service. Perceived waiting times: amount of time that customers believe they have waited from arrival to beginning of service.

12-10 Waiting Line System Queue is another name for a waiting line. A waiting line system consists of two components: The customer population (people or objects to be processed) The process or service system Whenever demand exceeds available capacity, a waiting line or queue forms There is a tradeoff between cost and service level.

12-11 Basic Queueing Process Arrivals Queue Service

12-12 Waiting Line System A waiting line system consists of two components: The customer population (people or objects to be processed) The process or service system Whenever demand exceeds available capacity, a waiting line or queue forms

12-13 Components of Queuing Systems Arrival Waiting area and queue Service Unit Departure Population Queuing System= Queue + Service Unit

12-14 Essential Features of Queuing Systems Calling population Arrival process Renege Queue configuration Queue discipline Service process Departure Balk No future need for service

12-15 1. Calling Population (Arrivals/ customers) Arrivals

12-16 Terminology Finite versus Infinite populations: Is the number of potential new customers affected by the number of customers already in queue? For practical intent and purposes, when the population is large in comparison to the service system, we assume the source population to be infinite (e.g., in a small barber shop, 200 potential customers per day may be treated as an infinite population).

Customer Service Population Sources 12-17 Population Source Finite Example: Number of machines needing repair when a company only has three machines. Infinite (without known bound) Example: The number of people who could wait in a line for gasoline. The population is the source of customers. Finite: small pool. Entry/exit affects probability of new arrivals. Infinite: large pool. Entry/exit has no affect

12-18 2. Arrival Process Arrival Process

12-19 Behavior of Arrivals Most queuing models assume arriving customer is patient customer. Patient customers are people or machines wait in queue until served and do not switch between lines. Life and decision models are complicated by fact people balk or renege. Balking refers to customers who refuse to join queue because it is too long to suit their needs. Reneging customers enter queue but become impatient and leave without completing transaction.

12-20 Arrival Process Arrival process Static Dynamic Random arrivals with constant rate Random arrival rate varying with time Facilitycontrolled Customerexercised control Accept/Reject Price Appointments Reneging Balking

12-21 Degree of Patience No Way! No Way! BALKING Line too long? Customer balks (never enters queue) RENEGING Line too long? Customer reneges (abandons queue)

Arrival 12-22

12-23 Distribution of Arrivals Arrival rate: mean (average) number of customers or units arriving per time period (e.g., per hour). Constant rate has no variance. Variable Poisson distribution frequently applied. Inter-arrival time: mean (average) time between arrivals. Variable Exponential distribution frequently applied.

12-24 Arrival process distributions Two basic distributions Exponential Inter-arrival time: mean (average) time between arrivals Continuous prob.function Poisson Arrival rate: mean (average) number of customers or units arriving per time period (e.g., per hour). Rate has no variance. Discrete probability function

12-25 POISSON ARRIVAL PROCESS REQUIRED CONDITIONS Orderliness at most one customer will arrive in any small time interval of t Stationarity for time intervals of equal length, the probability of n arrivals in the interval is constant Independence the time to the next arrival is independent of when the last arrival occurred

12-26 NUMBER OF ARRIVALS IN TIME t Assume = the average number of arrivals per a given interval of time (THE ARRIVAL RATE) For a Poisson process, the probability of x arrivals in t time periods has the following Poisson distribution: P(x) P(x arrivals in time t) ( t) x e x! t, x 0,1,2,... t 2 t

12-27 Time Between Arrivals The average time between arrivals is 1/ For a Poisson process, the time between arrivals (t) has the following exponential distribution: f(t) e t, t 0 F(t) 1 e t 1/ 2 1/ 2

12-28 Poisson and Exponential Equivalence Poisson distribution for number of arrivals per hour (top view) One-hour 1 2 0 1 interval Arrival Arrivals Arrivals Arrival 62 min. 40 min. 123 min. Exponential distribution of time between arrivals in minutes (bottom view)

12-29 Distribution of Arrivals Relation of Poisson/exponential distribution Poisson is based on rate, mean is. Say that 15 customers arrive per hour, with the Poisson distribution, = 15 customers/hour. Exponential is based on time. If 15 customers arrive per hour, the mean inter-arrival time is 4 minutes. This can be determined as 1/ = 1/15 customers/hour = 1/15 hour x 60 minutes/hour = 4 minutes. Work the other way: inter-arrival time is 10 minutes or 1/6 hour. So 1/ = 1/6, thus = 6 customers/hour.

Examples Poisson Distribution for Arrival Times 12-30

Distribution of Patient Interarrival Times (the mean times between arrivals is 2.4 minutes, which implies that λ=0.4167 arrival per minute) 12-31 Relative frequency, % 40 30 20 10 0 1 3 5 7 9 11 13 15 17 19 Patient interarrival time, minutes

12-32 3. Queue Configuration Queue

12-33 Queue Characteristics Length of queue either limited (finite) or unlimited (infinite). Queue limited when it cannot increase to infinite length due to physical or other restrictions. Queue defined as unlimited when size is unrestricted. Assume queue lengths are unlimited. Queue discipline. Rule by which customers in line receive service. Most systems use queue discipline known as first-in, first-out rule (FIFO).

12-34 Queue Configurations Multiple Queue Single queue Take a Number Enter 3 4 2 8 6 10 12 11 9 5 7

12-35 Number of Lines Waiting lines systems can have single or multiple queues. Single queues avoid jockeying behavior & all customers are served on a first-come, firstserved fashion (perceived fairness is high) Multiple queues are often used when arriving customers have differing characteristics (e.g.: paying with cash, less than 10 items, etc.) and can be readily segmented

12-36 4. Queue Discipline Queue

12-37 Priority Rule The priority rule determines which customer to serve next. Most service systems use the first-come, first-serve (FCFS) rule. Other priority rules include: Earliest promised due date (EDD) Customer with the shortest expected processing time (SPT) Preemptive discipline: A rule that allows a customer of higher priority to interrupt the service or another customer.

Customer Selection 12-38

12-39 Queue discipline Static (FCFS rule) Dynamic selection based on status of queue Selection based on individual customer attributes Number of customers waiting Round robin Priority Preemptive Processing time of customers (SPT or cµ rule)

12-40 5. Service Process Service process

12-41 Service Facility Characteristics Important to examine two basic properties: (1) Configuration of service facility. (2) Pattern of service times. Number of service channels in queuing system is number of servers. Single-phase means customer receives service at only one station before leaving system. Multiphase implies two or more stops before leaving system.

12-42

12-43

Service Facility Structure 12-44

12-45 Service Facility Arrangements Service facility Parking lot Self-serve Server arrangement Cafeteria Servers in series Toll booths Servers in parallel Supermarket Self-serve, first stage; parallel servers, second stage Hospital Many service centers in parallel and series, not all used by each patient

12-46 Service Rate Capacity of server how many customers can be serviced per time-unit (e.g., per hour). Constant rate has no variance. Variable Poisson distribution frequently applied. Service time: mean (average) time per service. Constant time has no variance. Variable negative exponential distribution frequently applied. Note that the same Poisson/negative exponential relationship shown in arrival rate applies to the service rate.

12-47 Service Pattern Service Pattern Constant Example: Items coming down an automated assembly line. Variable Example: People spending time shopping. Same classification as arrival process

12-48 The Queuing System Queue Discipline Length Queuing System Single Q, single S Single Q, multiple S Multiple Qs, multiple Ss, w/ Q switching Number of Lines & Line Structures First in, first out (FIFO) First in, last out (LIFO) Various priorities Service Time Distribution Constant inter-arrival times Random Event dependent

12-49 Exit May need service again (particularly affects finite populations). Low probability of [immediate] re-service.

12-50 Common Performance Measures The average number of customers waiting in queue The average number of customers in the system (multiphase systems) The average waiting time in queue The average time in the system The system utilization rate (% of time servers are busy)

12-51 Thrifty Car Rental Queue Features Customer Counter Garage Car Wash Calling Population Arrival Process Queue Configuration Queue Discipline Service Process 12-51