Discrete Event and Process Oriented Simulation (2)

Similar documents
Queuing Analysis. Chapter Copyright 2010 Pearson Education, Inc. Publishing as Prentice Hall

ISyE 2030 Practice Test 2

Queueing Review. Christos Alexopoulos and Dave Goldsman 10/6/16. (mostly from BCNN) Georgia Institute of Technology, Atlanta, GA, USA

Advanced Computer Networks Lecture 3. Models of Queuing

Chapter 6 Queueing Models. Banks, Carson, Nelson & Nicol Discrete-Event System Simulation

Generation of Discrete Random variables

Homework 1 - SOLUTION

Slides 9: Queuing Models

Queueing Review. Christos Alexopoulos and Dave Goldsman 10/25/17. (mostly from BCNN) Georgia Institute of Technology, Atlanta, GA, USA

5/15/18. Operations Research: An Introduction Hamdy A. Taha. Copyright 2011, 2007 by Pearson Education, Inc. All rights reserved.

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 "

Performance Evaluation of Queuing Systems

Basic Queueing Theory

PBW 654 Applied Statistics - I Urban Operations Research

NATCOR: Stochastic Modelling

Queueing systems. Renato Lo Cigno. Simulation and Performance Evaluation Queueing systems - Renato Lo Cigno 1

Introduction to Queueing Theory with Applications to Air Transportation Systems

Queuing Theory. Using the Math. Management Science

MSA 640 Homework #2 Due September 17, points total / 20 points per question Show all work leading to your answers

Answers to selected exercises

λ, µ, ρ, A n, W n, L(t), L, L Q, w, w Q etc. These

Classification of Queuing Models

B. Maddah ENMG 622 ENMG /27/07

Non Markovian Queues (contd.)

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Science

Queueing Systems: Lecture 3. Amedeo R. Odoni October 18, Announcements

Outline. Finite source queue M/M/c//K Queues with impatience (balking, reneging, jockeying, retrial) Transient behavior Advanced Queue.

Review of Queuing Models

Hand Simulations. Christos Alexopoulos and Dave Goldsman 9/2/14. Georgia Institute of Technology, Atlanta, GA, USA 1 / 26

7.1 INTRODUCTION. In this era of extreme competition, each subsystem in different

Queues and Queueing Networks

BIRTH DEATH PROCESSES AND QUEUEING SYSTEMS

Queueing Theory (Part 4)

Queuing Theory. 3. Birth-Death Process. Law of Motion Flow balance equations Steady-state probabilities: , if

Quiz Queue II. III. ( ) ( ) =1.3333

Introduction to queuing theory

Waiting time characteristics in cyclic queues

EE 368. Weeks 3 (Notes)

Suggested solutions for the exam in SF2863 Systems Engineering. December 19,

YORK UNIVERSITY FACULTY OF ARTS DEPARTMENT OF MATHEMATICS AND STATISTICS MATH , YEAR APPLIED OPTIMIZATION (TEST #4 ) (SOLUTIONS)

Probability and Stochastic Processes Homework Chapter 12 Solutions

10.2 For the system in 10.1, find the following statistics for population 1 and 2. For populations 2, find: Lq, Ls, L, Wq, Ws, W, Wq 0 and SL.

CDA5530: Performance Models of Computers and Networks. Chapter 4: Elementary Queuing Theory

Queuing Theory. The present section focuses on the standard vocabulary of Waiting Line Models.

Single-part-type, multiple stage systems

Course Outline Introduction to Transportation Highway Users and their Performance Geometric Design Pavement Design

Multi Heterogeneous Queueing Server System. General Exam Oral Examination Fall 2012 prepared by Husnu Saner Narman

Exercises Stochastic Performance Modelling. Hamilton Institute, Summer 2010

NANYANG TECHNOLOGICAL UNIVERSITY SEMESTER I EXAMINATION MH4702/MAS446/MTH437 Probabilistic Methods in OR

Expected Time Delay in Multi-Item Inventory Systems with Correlated Demands

1.225 Transportation Flow Systems Quiz (December 17, 2001; Duration: 3 hours)

Chapter 5: Special Types of Queuing Models

Scientiae Mathematicae Japonicae Online, Vol. 5, (2001), POSSIBILITY THAT THE CUSTOMERS GIVE UP PURCHASING THE MERCHANDISE

Zero-Inventory Conditions For a Two-Part-Type Make-to-Stock Production System

Improving Supply Chain Performance: Real-Time Demand Information and Flexible Deliveries

2. Assumptions and Notation

Networking = Plumbing. Queueing Analysis: I. Last Lecture. Lecture Outline. Jeremiah Deng. 29 July 2013

Chapter 8 Queuing Theory Roanna Gee. W = average number of time a customer spends in the system.

A A Multi-Echelon Inventory Model for a Reparable Item with one-for. for- one Replenishment

Systems Simulation Chapter 6: Queuing Models

M/M/1 Queueing systems with inventory

Since D has an exponential distribution, E[D] = 0.09 years. Since {A(t) : t 0} is a Poisson process with rate λ = 10, 000, A(0.

Optimal Control of a Production-Inventory System with both Backorders and Lost Sales

All models are wrong / inaccurate, but some are useful. George Box (Wikipedia). wkc/course/part2.pdf

Queuing Theory. Richard Lockhart. Simon Fraser University. STAT 870 Summer 2011

Stochastic Models of Manufacturing Systems

Dr. Maddah ENMG 617 EM Statistics 10/15/12. Nonparametric Statistics (2) (Goodness of fit tests)

Solutions to COMP9334 Week 8 Sample Problems

Link Models for Circuit Switching

Chapter 16 focused on decision making in the face of uncertainty about one future

Queueing Theory II. Summary. ! M/M/1 Output process. ! Networks of Queue! Method of Stages. ! General Distributions

Stochastic Optimization

QUEUING SYSTEM. Yetunde Folajimi, PhD

Perishable Inventory System at Service Facilities with Multiple Server Vacations and Impatient Customers

Queuing Theory. Queuing Theory. Fatih Cavdur April 27, 2015

P (L d k = n). P (L(t) = n),

4.7 Finite Population Source Model

QUEUING MODELS AND MARKOV PROCESSES

Chapter 11 Output Analysis for a Single Model. Banks, Carson, Nelson & Nicol Discrete-Event System Simulation

Lecture Notes of Communication Network I y: part 5. Lijun Qian. Rutgers The State University of New Jersey. 94 Brett Road. Piscataway, NJ

Class 11 Non-Parametric Models of a Service System; GI/GI/1, GI/GI/n: Exact & Approximate Analysis.

Link Models for Packet Switching

LUNG CHEUNG GOVERNMENT SECONDARY SCHOOL Mock Examination 2006 / 2007 Mathematics and Statistics

Computer Networks More general queuing systems

Queueing Theory. VK Room: M Last updated: October 17, 2013.

Waiting Line Models: Queuing Theory Basics. Metodos Cuantitativos M. En C. Eduardo Bustos Farias 1

Coordinated Replenishments at a Single Stocking Point

Test 2 VERSION A STAT 3090 Fall 2017

I, A BRIEF REVIEW ON INFINITE QUEUE MODEL M.

ECE 3511: Communications Networks Theory and Analysis. Fall Quarter Instructor: Prof. A. Bruce McDonald. Lecture Topic

f X (x) = λe λx, , x 0, k 0, λ > 0 Γ (k) f X (u)f X (z u)du

B. Maddah INDE 504 Discrete-Event Simulation. Output Analysis (1)

IE 5112 Final Exam 2010

Bulk input queue M [X] /M/1 Bulk service queue M/M [Y] /1 Erlangian queue M/E k /1

Queuing Networks: Burke s Theorem, Kleinrock s Approximation, and Jackson s Theorem. Wade Trappe

Stochastic inventory system with two types of services

0utline. 1. Tools from Operations Research. 2. Applications

Online Appendices: Inventory Control in a Spare Parts Distribution System with Emergency Stocks and Pipeline Information

Appendix: Simple Methods for Shift Scheduling in Multi-Skill Call Centers

ADMISSION CONTROL IN THE PRESENCE OF PRIORITIES: A SAMPLE PATH APPROACH

Transcription:

B. Maddah ENMG 622 Simulation 11/04/08 Discrete Event and Process Oriented Simulation (2) Discrete event hand simulation of an (s, S) periodic review inventory system Consider a retailer who sells a commodity having a random weekly demand D. At the beginning every week, the retailer reviews the inventory level of the commodity, and computes the inventory position. The inventory position is defined as the inventory on-hand plus on-order minus backlogged demand. If the inventory position is less or equal than the reorder point s, an order is placed to raise the inventory to the order-up-to level S. An order has a fixed cost of K dollars and a variable cost of c $/unit. Note that since all demand is going to be met, we will ignore the variable ordering cost. An order has a lead time of L weeks, and is assumed to be delivered at the beginning of the week. Demand is assumed to occur at the end of the week. If demand in a week exceeds the on-hand inventory at the beginning of the week, then excess demand is backlogged. 1

When an order arrives (at the beginning of a week), it is immediately used to meet backlogged demand (if any). Backlogged demand at the beginning of a week has a penalty cost of p $/unit/week. On-hand inventory at the beginning of a week incurs a holding cost of h $/unit/week. In a discrete-event simulation of this system, the events are 1. Start of the simulation. 2. Arrival of an order at the beginning of a week. 3. Placing an order at the beginning of a week 4. Demand for the product at the end of a week. 5. End of the simulation after n weeks. Inventory Level S s Net Inventory L L Time Inventory Position 2

In the following, we will do a simple hand simulation in tabular form assuming that random demands have been generated for the n weeks. The objective of the simulation is determining the optimal (s, S) policy that minimizes weekly cost. Let o I t = the net inventory (inventory on hand or amount backordered), at the beginning of week t ; o D t = Demand at the end of week t ; o O t = Amount ordered at the beginning of week t. Then, It+ 1 = It + Ot L Dt, t = 2,3, K We will set I 1 = S, assuming that the system starts fully stocked. Note that I t may be < 0, in the event of a backlog. For example, Suppose S = 69, s = 45, demand is Poisson (λ = 18), h = 1, p = 9, K = 32, L = 2 periods and n = 15. First, we generate demand for 15 weeks based on the Poisson distribution (see below). Let H t, P t, and OC t be the holding, penalty, and ordering cost incurred in a week, and let IP t be the inventory position at the beginning of week t. 3

Then, the hand simulation is as follows. S s L K h p 69 15 2 32 1 9 Week, t I t IP t D t O t H t P t OC t 1 69 69 18 0 69 0 0 2 51 51 23 0 51 0 0 3 28 28 10 0 28 0 0 4 18 18 12 0 18 0 0 5 6 6 13 63 6 0 32 6-7 56 14 0 0 63 0 7 42 42 15 0 42 0 0 8 27 27 20 0 27 0 0 9 7 7 8 62 7 0 32 10-1 61 16 0 0 9 0 11 45 45 17 0 45 0 0 12 28 28 22 0 28 0 0 13 6 6 16 63 6 0 32 14-10 53 19 0 0 90 0 15 34 34 20 0 34 0 0 Σ 361 162 96 Mean weekly cost $41.3 Arena (process oriented) simulation of serial and parallel processing (Section 3.5 KSS). Applications arrive to a loan application office according to a Poisson process with rate λ = 1/1.25 applications/hour. The processing of each application requires four steps: Credit check, preparing covenant, pricing, and fund disbursement. 4

The office has four employees (Alfie, Betty, Chuck and Doris, if you care). Each employee can handle any of the four loan processing steps in an exponentially distributed time with mean 1 hour. The main question here is how to assign employees to tasks. Should employees be allocated in series with each employee handling one step of the loan processing? λ = 0.8 μ = 1, C S 2 = 1 μ = 1, C S 2 = 1 μ = 1, C S 2 = 1 μ = 1, C S 2 = 1 Or, should all employees work together in parallel with an employee handling an application from A to Z? μ = 1/4, C S 2 = 1/4 λ = 0.8 5

Parallel system seems to be better because (i) employees will have less idle times; and (ii) service time variability is less (as measured by C 2 S, the coefficient of variation). Series system could have some advantage such as improving the efficiency of dedicated employees due to learning. But learning is not considered here. The simulation of both systems in Arena for 16,000 hours to confirm these claims. The total waiting time in queue (delay) is 17.28 hours in the series system and 2.12 hours in the parallel system, indicating that the parallel system is much more efficient. Validation of the series vs. parallel problem If you still don t believe that parallel is better in this case, we ll do an analytical validation/verification of the simulation results. The mean delay in the series system is computed from an exact analytical expression by utilizing the following fact. Fact 1. The departure process from an M/M/c queue with arrival rate λ is a Poisson process with rate λ. Each station of the series system can be seen as a M/M/1. 6

The mean delay in the series is therefore, 1/1.25 0.8 W (series) = q 4 Wq( M / M /1) = ρ 4 4 4 16 hrs. μ λ = 1 1/1.25 = 0.2 = The mean delay in the parallel (M/GI/4) system is computed approximately using the following facts. Fact 2. The sum of k independent exponential random variables with mean 1/μ is an Erlang random variable with mean k/μ and variance k/μ 2. Fact 3. The mean delay in an M/M/c queue is c a Wq ( M / M / c) = 2 p0, c!( cμ) (1 ρ) where a = λ/μ and c 1 n c a a p0 = P{0 customers in system} = +. n= 0 n! c!(1 ρ) Fact 4 (QNA approximation). (i) The mean delay in a GI/GI/c queue can be approximated by 2 2 CA + C S Wq( GI / GI / c) Wq( M / M / c), 2 where C 2 A and C 2 S are the coefficients of variation of interarrival and service times, and W q (M/M/c) is the mean delay in an M/M/c with the same mean inter-arrival and service times. 1 7

2 (ii) The approximation in (i) is valid for small values of C A and C 2 S. (For M/M/c, C 2 A = C 2 S = 1. Values in the ball park of 1 are ok.) In the case of our parallel system, C 2 A = 1, and C 2 S = 1/4 (by Fact 2), and the QNA approximation is likely to be valid. Then, the mean delay in the system can be approximated by 1+ 1/4 Wq(parallel) Wq( M / M / 4), 2 where, with λ = 0.8, μ = 1/4, a = λ/μ = 3.2 and ρ = a/c = 0.8, by Fact 3, 4 3 4 1 c 2 3.2 3.2 3.2 Wq ( M / M / c) = 2 + 4[4(1/ 4)](1 0.8) n= 0 n! 4!(1 0.8) = 2.98 hrs. Then, W q (parallel) = 1.86 hrs. 8