Queueing Analysis of Production Systems (Factory Physics)

Slides:



Advertisements
Similar presentations
Lecture 10 Queueing Theory. There are a few basic elements common to almost all queueing theory application. Customers arrive, they wait for service in.
Advertisements

OPSM 301: Operations Management Session 12: Service processes and flow variability Koç University Graduate School of Business MBA Program Zeynep Aksin.
1 Variability Basics God does not play dice with the universe. ---Albert Einstein Stop telling God what to do. ---Niels Bohr.
OPSM 405 Service Management Class 19: Managing waiting time: Queuing Theory Koç University Zeynep Aksin
Variability Basics God does not play dice with the universe.
Queueing Model 박희경.
Queuing Analysis Based on noted from Appendix A of Stallings Operating System text 6/10/20151.
Previously Optimization Probability Review Inventory Models Markov Decision Processes.
Previously Optimization Probability Review Inventory Models Markov Decision Processes.
MODELING AND ANALYSIS OF MANUFACTURING SYSTEMS Session 6 SCHEDULING E
1 Performance Evaluation of Computer Networks Objectives  Introduction to Queuing Theory  Little’s Theorem  Standard Notation of Queuing Systems  Poisson.
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 Queueing Theory H Plan: –Introduce basics of Queueing Theory –Define notation and terminology used –Discuss properties of queuing models –Show examples.
Modeling and Analysis of Manufacturing Systems Session 2 QUEUEING MODELS January 2001.
Queuing Analysis Based on noted from Appendix A of Stallings Operating System text 6/28/20151.
CSE 550 Computer Network Design Dr. Mohammed H. Sqalli COE, KFUPM Spring 2012 (Term 112)
Little´s law Skorkovský ,KPH,ESF.MU
Analysis and Design of Asynchronous Transfer Lines as a series of G/G/m queues: Overview and Examples.
1 Ardavan Asef-Vaziri Sep-09Operations Management: Waiting Lines3  Terminology: The characteristics of a queuing system is captured by five parameters:
Lecture 4 Mathematical and Statistical Models in Simulation.
1 Chapter 7 Dynamic Job Shops Advantages/Disadvantages Planning, Control and Scheduling Open Queuing Network Model.

Introduction to Queuing Theory
OPSM 301: Operations Management
Queueing Theory I. Summary Little’s Law Queueing System Notation Stationary Analysis of Elementary Queueing Systems  M/M/1  M/M/m  M/M/1/K  …
Copyright ©: Nahrstedt, Angrave, Abdelzaher, Caccamo1 Queueing Systems.
Queuing models Basic definitions, assumptions, and identities Operational laws Little’s law Queuing networks and Jackson’s theorem The importance of think.
Probability Review Thinh Nguyen. Probability Theory Review Sample space Bayes’ Rule Independence Expectation Distributions.
1 Chapter 5 Flow Lines Types Issues in Design and Operation Models of Asynchronous Lines –Infinite or Finite Buffers Models of Synchronous (Indexing) Lines.
CS433 Modeling and Simulation Lecture 13 Queueing Theory Dr. Anis Koubâa 03 May 2009 Al-Imam Mohammad Ibn Saud University.
Lecture 14 – Queuing Networks Topics Description of Jackson networks Equations for computing internal arrival rates Examples: computation center, job shop.
Lecture 10: Queueing Theory. Queueing Analysis Jobs serviced by the system resources Jobs wait in a queue to use a busy server queueserver.
NETE4631:Capacity Planning (2)- Lecture 10 Suronapee Phoomvuthisarn, Ph.D. /
1 Chapter 7 Dynamic Job Shops Advantages/Disadvantages Planning, Control and Scheduling Open Queuing Network Model.
Queuing Theory Basic properties, Markovian models, Networks of queues, General service time distributions, Finite source models, Multiserver queues Chapter.
Queueing Theory What is a queue? Examples of queues: Grocery store checkout Fast food (McDonalds – vs- Wendy’s) Hospital Emergency rooms Machines waiting.
1 Queuing Models Dr. Mahmoud Alrefaei 2 Introduction Each one of us has spent a great deal of time waiting in lines. One example in the Cafeteria. Other.
TexPoint fonts used in EMF.
1 Elements of Queuing Theory The queuing model –Core components; –Notation; –Parameters and performance measures –Characteristics; Markov Process –Discrete-time.
CS433 Modeling and Simulation Lecture 12 Queueing Theory Dr. Anis Koubâa 03 May 2008 Al-Imam Mohammad Ibn Saud University.
OMG Operations Management Spring 1997 CLASS 4: THE IMPACT OF VARIABILITY Harry Groenevelt.
The production inventory problem What is the expected inventory level? What is expected backorder level? What is the expected total cost? What is the optimal.
yahoo.com SUT-System Level Performance Models yahoo.com SUT-System Level Performance Models8-1 chapter11 Single Queue Systems.
Analysis and Design of Asynchronous Transfer Lines as a series of G/G/m queues.
© Wallace J. Hopp, Mark L. Spearman, 1996, Variability Basics.
Queuing Models in Operations
The Effects of Process Variability 35E00100 Service Operations and Strategy #3 Fall 2015.
Copyright ©: Nahrstedt, Angrave, Abdelzaher, Caccamo1 Queueing Systems.
1 1 Slide Chapter 12 Waiting Line Models n The Structure of a Waiting Line System n Queuing Systems n Queuing System Input Characteristics n Queuing System.
Queuing Theory.  Queuing Theory deals with systems of the following type:  Typically we are interested in how much queuing occurs or in the delays at.
Random Variables r Random variables define a real valued function over a sample space. r The value of a random variable is determined by the outcome of.
Queueing Theory. The study of queues – why they form, how they can be evaluated, and how they can be optimized. Building blocks – arrival process and.
Mohammad Khalily Islamic Azad University.  Usually buffer size is finite  Interarrival time and service times are independent  State of the system.
QUEUING THEORY 1.  - means the number of arrivals per second   - service rate of a device  T - mean service time for each arrival   = ( ) Utilization,
Analysis and Design of Asynchronous Transfer Lines as a series of G/G/m queues.
Lecture 14 – Queuing Networks
Managing Flow Variability: Safety Capacity
Queueing Theory What is a queue? Examples of queues:
Analysis and Design of Asynchronous Transfer Lines as a series of G/G/m queues: Overview and Examples.
CPSC 531: System Modeling and Simulation
Queueing Theory Carey Williamson Department of Computer Science
Queuing models Basic definitions, assumptions, and identities
Queuing models Basic definitions, assumptions, and identities
TexPoint fonts used in EMF.
Variability 8/24/04 Paul A. Jensen
Lecture 14 – Queuing Networks
Carey Williamson Department of Computer Science University of Calgary
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.
Presentation transcript:

Queueing Analysis of Production Systems (Factory Physics)

Reading Material Chapter 8 from textbook Handout: Single Server Queueing Model by Wallace Hopp (available for download from class website)

Queueing analysis is a tool for evaluating operational performance Utilization Time-in-system (flow time, leadtime) Throughput rate (production rate, output rate) Waiting time (queueing time) Work-in-process (number of parts or batches in the systems)

A Single Stage System Finished parts Raw material Processing unit

The Queueing Perspective Departure (completion) of jobs Arrival (release) of jobs Queue (logical or physical) of jobs Server (production facility)

System Parameters E[A]: average inter-arrival time between consecutive jobs l: arrival rate (average number of jobs that arrive per unit time), l = 1/E[A] E[S]: average processing time m: processing rate (maximum average number of jobs that can be processed per unit time), m = 1/E[S] r: average utilization, r = E[S]/E[A] = l/m

Performance Measures E[W]: average time a job spends in the system E[Wq]: average time a job spends in the queue E[N]: average number of job in the system (average WIP in the system) E[Nq]: average number of jobs in the queue (average WIP in the queue) TH: throughput rate (average number of jobs produced per unit time)

Performance Measures (Continued…) E[W] = E[Wq] + E[S] E[N] = E[Nq] + r

Little’s Law

Little’s Law E[N] = lE[W] E[Nq] = lE[Wq] r = lE[S]

Example 1 Jobs arrive at regular & constant intervals Processing times are constant Arrival rate < processing rate (l < m)

Example 1 Jobs arrive at regular & constant intervals Processing times are constant Arrival rate < processing rate (l < m) E[Wq] = 0 E[W] = E[Wq] + E[S] = E[S] r = l/m E[N] = lE[W] = lE[S] = r E[Nq] = lE[Wq] = 0 TH = l

Case 2 Jobs arrive at regular & constant intervals Processing times are constant Arrival rate > processing rate (l > m)

Case 2 Jobs arrive at regular & constant intervals Processing times are constant Arrival rate > processing rate (l > m) E[Wq] =  E[W] = E[Wq] + E[S] =  r = 1 E[N] = lE[W] =  E[Na] = lE[Wa] =  TH = m

Case 3 Job arrivals are subject to variability Processing times are subject to variability Arrival rate < processing rate (l < m) Example: Average processing time = 6 min Inter-arrival time = 8 min

Case 3 (Continued…) r = 6/8 = 0.75 TH = 1/8 job/min = 7.5 job/hour E[Wq] > 0 E[W] > E[S] E[Nq] > 0 E[N] > r

In the presence of variability, jobs may wait for processing and a queue in front of the processing unit may build up. Jobs should not be released to the system at a faster rate than the system processing rate.

Sources of Variability

Sources of Variability Sources of variability include: Demand variability Processing time variability Batching Setup times Failures and breakdowns Material shortages Rework

Measuring Variability

Variability Classes CV Low variability (LV) Moderate variability (MV) High variability (HV) CV 0.75 1.33

Illustrating Processing Time Variability

Illustrating Arrival Variability Low variability arrivals t High variability arrivals t

The G/G/1 Queue If (1) l < m, (2) the distributions of job processing and inter-arrival times are independent and identically distributed (iid), and (3) jobs are processed on a first come, first served (FCFS) basis, then average waiting time in the queue can be approximated by the “VUT” formula:

Example CA = CS = 1 E[S] = 1 Case 1: r = 0.50  E[W] = 2, E[N] = 1

Example CA = 1 E[S] = 1 r = 0.8 Case 1: CS = 0  E[W] = 3, E[N] = 2.4

Facilities should not be operated near full capacity. To reduce time in system and WIP, we should allow for excess capacity or reduce variability (or both).

A Single Stage System with Parallel facilities Departure (completion) of jobs Arrival (release) of jobs Queue (logical or physical) of jobs Servers (production facilities)

The G/G/m Queue If (1) l < mm, (2) the distributions of job processing and inter-arrival times are independent and identically distributed (iid), and (3) jobs are processed on a first come, first served (FCFS) basis, then average waiting time in the queue can be approximated by the “VUT” formula:

Increasing Capacity Capacity can be increased by either increasing the production rate (decreasing processing times) or increasing the number of production facilities

Increasing Capacity Capacity can be increased by either increasing the production rate (decreasing processing times) or increasing the number of production facilities In a system with multiple parallel production facilities, maximum throughput equals the sum of the production rates

Dedicated versus Pooled Capacity Dedicated system: m production facilities, each with a single processor with production rate m and arrival rate l Pooled system: A single production facility with m parallel processors, with production rate m per processor, and arrival rate ml

Dedicated versus Pooled Capacity Dedicated system: Pooled system:

Pooling reduces expected waiting time by more than a factor of m Pooling makes better use of existing capacity by continuously balancing the load among different processors

The M/M/1 Queue

A Common Notation GX/GY/k/N N: maximum number of customers allowed G: distribution of inter-arrival times G: distribution of service times k: number of servers X: distribution of arrival batch (group) size Y: distribution of service batch size

Common examples M/M/1 M/G/1 M/M/k M/M/1/N MX/M/1 GI/M/1 M/M/k/k

Notation in the Book versus Notation in the Lecture Notes CT (cycle time): E(W) CTq (cycle time in the queue): E(Wq) WIP: E(N) WIPq (WIP in the queue): E(Nq) u: U (r =l/m) ra: l te: E(S); ts: E(X); ca: cA ce: cS

Assumptions A single server queue The distribution of inter-arrival times is exponential (Markovian arrivals) The distribution of processing times is exponential (Markovian processing times)

Distribution of Inter-arrival Times

The Memoryless Property

The Taylor Series Expansion

Exponential Inter-arrival Times and the Poisson Process Poisson distribution

Distribution of Processing Times

Similarly, when h is small,

The Distribution of the Number of Jobs in the System

The Distribution of the Number of Jobs in the System

The Birth-Death Model l l l 1 2 3 m m m

Applying Little’s law

The M/G/1 Queue A single server queue The distribution of inter-arrival times is exponential (Markovian arrivals) The distribution of processing times is general

The M/G/1 Queue (Continued…)

The G/G/1 Queue Revisited

The M/M/m Queue A queue with m servers The distribution of inter-arrival times is exponential (Markovian arrivals) The distribution of processing times is exponential (Markovian arrivals)

The Balance Equations Using analysis similar to the one for the M/M/1 queue:

The Birth-Death Model l0 l1 l2 1 2 3 m1 m2 m3

The G/G/m Queue For a queue with a general distribution for arrivals and processing times, average time in the queue can be approximated as

Notation in the Book versus Notation in the Lecture Notes CT (cycle time): E(W) CTq (cycle time in the queue): E(Wq) WIP: E(N) WIPq (WIP in the queue): E(Nq) u: U ra: l te: E(S); ts: E(X); ca: cA ce: cS

Propagation of Variability CS(i) Single server queue: Multi-server queue: CA(i) CD(i) = CA(i+1) i i+1

Propagation of Variability High Utilization Station High Process Var Low Flow Var High Flow Var Low Utilization Station High Process Var Low Flow Var Low Flow Var

Propagation of Variability (Continued…) High Utilization Station Low Process Var High Flow Var Low Flow Var Low Utilization Station Low Process Var High Flow Var High Flow Var

Variability Relationships E(S), CS2 l , CA2 l , CD2

If utilization is low, reduce arrival arrival variability; if utilization is high, reduce process variability. Operations with the highest variability should be done as late as possible in the production process.

A Production Line N: number of stages in the production line Si: processing time in stage i (a random variable), i=1,…, N U(i): utilization at stage i CA(i): coefficient of variation in inter-arrival times to stage i CS(i): coefficient of variation in processing time at stage i

Time in System for a Production Line E[Wq(i)]= V(i) U(i) E[S(i)]

Time in System for a Production Line

Reducing Time in System (Cycle Time) Reduce Variability failures setup times uneven arrivals process control worker training Reduce Utilization arrival rate (yield, rework, etc.) processing time (processing speed, availability) capacity (number of machines)

Expected WIP in System for a Production Line