1 BIS 3106: Business Process Management (BPM) Lecture Nine: Quantitative Process Analysis (2) Makerere University School of Computing and Informatics Technology.

Slides:



Advertisements
Similar presentations
Chapter 13 Queueing Models
Advertisements

Waiting Line Management
Introduction to Queuing Theory
Capacity Setting and Queuing Theory
Lab Assignment 1 COP 4600: Operating Systems Principles Dr. Sumi Helal Professor Computer & Information Science & Engineering Department University of.
QUEUING MODELS Based on slides for Hilier, Hiller, and Lieberman, Introduction to Management Science, Irwin McGraw-Hill.
Queuing Analysis Based on noted from Appendix A of Stallings Operating System text 6/10/20151.
Chap. 20, page 1051 Queuing Theory Arrival process Service process Queue Discipline Method to join queue IE 417, Chap 20, Jan 99.
Model Antrian By : Render, ect. Outline  Characteristics of a Waiting-Line System.  Arrival characteristics.  Waiting-Line characteristics.  Service.
Queuing Systems Chapter 17.
Chapter 13 Queuing Theory
1 Performance Evaluation of Computer Networks Objectives  Introduction to Queuing Theory  Little’s Theorem  Standard Notation of Queuing Systems  Poisson.
Waiting Lines Queues.
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
1 Service A Queuing System Arrival Rate (  Average Number in Queue ( L q ) Avg Time in System ( W ) Avg Number in System ( L ) Average Wait in Queue.
14-1. Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin 14 Capacity Planning and Queuing Models.
Queuing. Elements of Waiting Lines  Population –Source of customers Infinite or finite.
To accompany Quantitative Analysis for Management, 9e by Render/Stair/Hanna 14-1 © 2003 by Prentice Hall, Inc. Upper Saddle River, NJ Chapter 14.
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)
Chapter 9: Queuing Models
Lecture 14 – Queuing Systems
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.
Group members  Hamid Ullah Mian  Mirajuddin  Safi Ullah.

Queuing Theory (Waiting Line Models)
Queuing Models and Capacity Planning
Spreadsheet Modeling & Decision Analysis
Introduction to Management Science
Network Analysis A brief introduction on queues, delays, and tokens Lin Gu, Computer Networking: A Top Down Approach 6 th edition. Jim Kurose.
Introduction to Queuing Theory
Copyright ©: Nahrstedt, Angrave, Abdelzaher, Caccamo1 Queueing Systems.
Introduction to Queueing Theory
Management of Waiting Lines McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
Marlon Dumas marlon.dumas ät ut . ee
Queuing Models. © 2002 Prentice-Hall, IncCh 9-2 Stay in Queue: Short Video &feature=related
Introduction to Operations Research
NETE4631:Capacity Planning (2)- Lecture 10 Suronapee Phoomvuthisarn, Ph.D. /
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.
Introduction to Queueing Theory
Queuing Theory Basic properties, Markovian models, Networks of queues, General service time distributions, Finite source models, Multiserver queues Chapter.
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.
Chapter 16 Capacity Planning and Queuing Models
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.
1 ISE 195 Introduction to Industrial & Systems Engineering.
Chapter 20 Queuing Theory to accompany Operations Research: Applications and Algorithms 4th edition by Wayne L. Winston Copyright (c) 2004 Brooks/Cole,
CS352 - Introduction to Queuing Theory Rutgers University.
Waiting Lines and Queuing Theory Models
Chapter 6 Queueing Models
Copyright ©: Nahrstedt, Angrave, Abdelzaher, Caccamo1 Queueing Systems.
© 2015 McGraw-Hill Education. All rights reserved. Chapter 17 Queueing Theory.
Management of Waiting Lines Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent.
Queuing Models.
Mohammad Khalily Islamic Azad University.  Usually buffer size is finite  Interarrival time and service times are independent  State of the system.
MTAT Business Process Management Lecture 6 – Quantitative Process Analysis II Marlon Dumas marlon.dumas ät ut. ee 1.
Abu Bashar Queuing Theory. What is queuing ?? Queues or waiting lines arise when the demand for a service facility exceeds the capacity of that facility,
Managerial Decision Making Chapter 13 Queuing Models.
Marlon Dumas marlon.dumas ät ut . ee
Chapter 9: Queuing Models
Chapter 7: Quantitative Process Analysis
Demo on Queuing Concepts
Waiting Lines Queues.
System Performance: Queuing
Queuing Models and Capacity Planning
Mitchell Jareo MAT4340 – Operations Research Dr. Bauldry
Queueing Theory 2008.
Queuing Models J. Mercy Arokia Rani Assistant Professor
Course Description Queuing Analysis This queuing course
Presentation transcript:

1 BIS 3106: Business Process Management (BPM) Lecture Nine: Quantitative Process Analysis (2) Makerere University School of Computing and Informatics Technology Department of Computer Science SEM I 2015/2016

2 Business Process Analysis

3 Process Analysis Techniques Quantitative Analysis Quantitative Flow Analysis Queuing Theory Process Simulation

4 Why flow analysis is not enough? Flow analysis does not consider waiting times due to resource contention Queuing analysis and simulation address these limitations and have a broader applicability

5 Queuing Theory Queuing theory is a collection of mathematical techniques to analyze systems that have resource contention. Resource contention leads to queues - we have all experienced in supermarket check-out counters, at a bank’s office, post office or government agency. Queuing theory gives us techniques to analyze important parameters of a queue, e.g., expected length of the queue expected waiting time of an individual case in a queue.

6 Capacity problems are very common in industry and one of the main drivers of process redesign Need to balance the cost of increased capacity against the gains of increased productivity and service Queuing and waiting time analysis is particularly important in service systems Large costs of waiting and of lost sales due to waiting Prototype Example – ER at a Hospital Patients arrive by ambulance or by their own accord One doctor is always on duty More patients seeks help  longer waiting times  Question: Should another Medical Doctor position be instated? Why is Queuing Analysis Important?

7 Delay is Caused by Job Interference If arrivals are regular or sufficiently spaced apart, no queuing delay occurs Queuing occurs every time user demand exceeds server capacity. Delays are due to several reasons. Let’s examine some of them… Deterministic traffic

8 Burstiness Causes Interference Queuing results from variability in service times and/or interarrival intervals

9 Job Size Variation Causes Interference Arrivals are deterministic (e.g. the intervals between 2 consecutive arrivals are always the same), however some jobs are longer than others Variable Job sizes

10 High Utilization Exacerbates Interference The queuing probability increases as the load increases Utilization close to 100% is unsustainable  too long queuing times

11 Queuing Theory A queuing system consists of one or multiple queues and a service that is provided by one or multiple servers. The elements inside a queue are called jobs or customers, depending on the specific context. E.g., in the case of a supermarket, the service is that of checking out. This service is provided by multiple cashiers (the servers).

12 Queuing Theory While in the case of a bank office, the service is to perform a banking transaction, the servers are tellers. There is a single queue that leads to multiple servers (the tellers). Two examples illustrate an important distinction. Have multi-line i.e. multi-queue queuing systems (like the supermarket. Have single-line queuing systems (like the bank office).

13 Example – Two Queue Configurations Servers Multiple Queues Servers Single Queue

14 Queuing Theory Queuing theory provides a very broad set of techniques to analyze important parameters of a queue. Queuing theory models that are useful when analyzing business processes or activities within a process.

15 A Commonly Seen Queuing Model (I) C C C … C Customers (C) C S = Server C S C S Customer =C The Queuing System The Queue The Service Facility

16 Queuing Theory: Arrival Rate In the two models there is a single queue (single-line queuing system). Customers come at a given mean arrival rate: Same concept of arrival rate that we discussed when presenting Little’s law. For example, we can say that customers arrive at the bank office at a mean rate of 20 per hour.

17 Queuing Theory: Arrival Rate For example, we can say that customers arrive at the bank office at a mean rate of 20 per hour. This implies that, on average, one customer arrives every 3 minutes ( hour). This latter number is called the mean inter-arrival time. If is the arrival rate per time unit, then is the mean inter-arrival time.

18 Arrival Rates It would be strange to think that the time between the arrival of two customers at the bank office is always 5 minutes. This is just the mean value. Customers arrive independently from one another, so the time between the arrival of one customer and the arrival of the next customer is completely random. The arrival time of first customer and arrival of second customer can be random and has nothing to do with the arrival of third customer.

19 Arrival Rates Such an arrival process is called a Poisson process. Distribution of arrivals between any two consecutive customers follows a so-called negative exponential distribution with a mean of In practice, the Poisson process and the exponential distribution describe a large class of arrival processes that can be found in business processes.

20 Arrival Rates Poisson process will be used to capture the arrival of jobs or customers into a business process or an activity in a business process. The Poisson process can also be observed for example when we examine how often cars enter a given segment of a highway, or how often calls go through a telephone exchange.

21 Processing Times Exponential distributions are useful when describing the processing time of an activity. An activity’s processing time is exponentially distributed. E.g., the amount of time it takes for a mechanic to make a repair on a car. Most repairs are fairly standard, and the mechanics might take for example one hour to do them. However, some repairs are very complex, and in such cases, it can take the mechanic several hours to complete.

22 Processing Times Consider a doctor receiving patients in an emergency room. A large number of emergencies are quite standard and can be dispatched in less than an hour, but some emergencies are extremely complicated and can take hours to deal with. So it is likely that such activities will follow an exponential distribution.

23 Service times as well as interarrival times are assumed independent and identically distributed If not otherwise specified Commonly used notation principle: A/B/C A = The interarrival time distribution B = The service time distribution C = The number of parallel servers Example: M/M/c Queuing system with exponentially distributed service and inter- arrival times and c servers A Commonly Seen Queuing Model (I)

24 M/M/1 Queue In queuing theory field, a single-queue system is called an M/M/1 queue. Inter-arrival times of customers follow an exponential distribution (M) Processing times follow an exponential distribution (M) One single server (1) Jobs are served on a First-In-First-Out (FIFO) basis. In the case of M/M/1 queue, we also assume that when a job arrives, it enters the queue and it stays there until it is taken on by the server.

25 M/M/1 Queue M/M/1 queue can be defined by means of the following parameters: A: Arrival Rate: is the average number of customers arriving per time unit. The mean inter-arrival time is then B: Service Rate: the mean number of customers that can be served per time unit. The mean processing time per job is then E.g. = 6 means six jobs are served per hour, that is, one job is served in 10 minutes (on average)

26 M/M/1 Queue Given parameters and we can already state how busy a server is. This is called the occupation rate or resource utilization How busy a resource is at a given time. Occupation Rate is calculated as: If = 5 and = 6 then the occupation rate This value is relatively high.

27 M/M/1 Queue A system with a high occupation rate of more than 100% is unstable. The queue will become longer and longer forever because the server cannot cope with all the demand.

28 Queuing theory: basic concepts Basic characteristics:  (mean arrival rate) = average number of arrivals per time unit  (mean service rate) = average number of jobs that can be handled by one server per time unit time between arrivals and service time follow a negative exponential distribution c = number of servers (c =1) FIFO arrivals waiting service  c

29 Structure of an M/M/1 system parameters

30 Structure of an M/M/1 system parameters Given an M/M/1 system, queuing theory allows us to calculate the following parameters: 1. Lq —The average number of jobs (e.g. customers) in the queue. 1. Wq —The average time one job spends in the queue.

31 Structure of an M/M/1 system parameters 3. W —The average time one job spends in the system. This includes both the time the customer spends in the queue and time the customer spends being serviced. 3. L —The average number of jobs in the system (i.e. the Work-in-Progress referenced in Little’s law).

32 Electronic Design Company Example A company designs customized electronic hardware for a range of customers in the high-tech electronics industry. The company receives orders for designing a new circuit and on average it receives 0.05 orders per day The team of engineers design 0.1 orders of hardware per day.

33 Electronic Design Company Example Problem can be mapped to an M/M/1 model assuming that the arrival of designs follows a Poisson process. Assume that the distribution of times for designing a circuit follows an exponential distribution. New design requests are handled on a FIFO manner

34 Design Company The working day is taken as the time unit. On average, 0.05 orders are received per day On average 0.1 orders are fulfilled per day The occupation rate of this system

35 Design Company Using the formulas for M/M/1 models, we can deduce that the average length of the queue: The average time an order spends on the queue is:

36 Design Company It takes on average order 20 working days for an order to be fulfilled.

37  Situation Patients arrive according to a Poisson process with intensity. The service time (the doctor’s examination and treatment time of a patient) follows an exponential distribution,   The ER can be modeled as an M/M/c system where c=the number of doctors Example – ER at County Hospital  Data gathering  = 2 patients per hour  = 3 patients per hour

38 Interpretation To be in the queue = to be in the waiting room To be in the system = to be in the ER (waiting or under treatment) Is it warranted to hire a second doctor? Queuing Analysis – Hospital Scenario CharacteristicOne doctor (c=1)Two Doctors (c=2)  2/31/3 LqLq 4/3 patients1/12 patients L2 patients3/4 patients WqWq 2/3 h = 40 minutes1/24 h = 2.5 minutes W1 h3/8 h = 22.5 minutes

39 With c = 1, we handle 3 patients per hour With c = 2, we handle 6 patients per hour. According to the results, the resource utilization is reduces when we hire two doctors and this reduces the length of the queue Queuing Analysis – Hospital Scenario

40 Generally not applicable when system includes parallel activities. Requires case-by-case mathematical analysis. Assumes “steady-state” (valid only for “long-term” analysis) Process simulation is more versatile (also more popular) Drawbacks of Queuing Theory