Chapter 10: Simulation Modeling

Slides:



Advertisements
Similar presentations
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. A PowerPoint Presentation Package to Accompany Applied Statistics.
Advertisements

Chapter 18 If mathematical analysis is too difficult, we can try each possibility out on paper. That way we can find which alternative appears to work.
1 Overview of Simulation When do we prefer to develop simulation model over an analytic model? When not all the underlying assumptions set for analytic.
11 Simulation. 22 Overview of Simulation – When do we prefer to develop simulation model over an analytic model? When not all the underlying assumptions.
6 | 1 Copyright © Cengage Learning. All rights reserved. Independent Demand Inventory Materials Management OPS 370.
6 - 1 Lecture 4 Analysis Using Spreadsheets. Five Categories of Spreadsheet Analysis Base-case analysis What-if analysis Breakeven analysis Optimization.
Stochastic Inventory Modeling
Chapter 17 Inventory Control 2.
Spreadsheet Demonstration New Car Simulation. 2 New car simulation Basic problem  To simulate the profitability of a new model car over a several-year.
Spreadsheet Demonstration
Simulation Professor Stephen Lawrence Leeds School of Business University of Colorado Boulder, CO
Notes on Monte Carlo Simulation University of Chicago Graduate School of Business Introduction to Computer Based Models Bus Mr. Schrage Spring.
Module F: Simulation. Introduction What: Simulation Where: To duplicate the features, appearance, and characteristics of a real system Why: To estimate.
FIN 685: Risk Management Topic 5: Simulation Larry Schrenk, Instructor.
Simulation Modeling Chapter 14
1 SIMULATION – PART I Introduction to Simulation and Its Application to Yield Management For this portion of the session, the learning objectives are:
© 2006 Prentice Hall, Inc.F – 1 Operations Management Module F – Simulation © 2006 Prentice Hall, Inc. PowerPoint presentation to accompany Heizer/Render.
Building and Running a FTIM n 1. Define the system of interest. Identify the DVs, IRVs, DRVs, and Objective. n 2. Develop an objective function of these.
To accompany Quantitative Analysis for Management, 8e by Render/Stair/Hanna 15-1 © 2003 by Prentice Hall, Inc. Upper Saddle River, NJ Chapter 15.
1 Managing Flow Variability: Safety Inventory The Newsvendor ProblemArdavan Asef-Vaziri, Oct 2011 The Magnitude of Shortages (Out of Stock)
Simulation.
QMF Simulation. Outline What is Simulation What is Simulation Advantages and Disadvantages of Simulation Advantages and Disadvantages of Simulation Monte.
McGraw-Hill/Irwin © 2006 The McGraw-Hill Companies, Inc., All Rights Reserved. 1.
Chapter 12: Inventory Control Models
1 1 Slide Chapter 6 Simulation n Advantages and Disadvantages of Using Simulation n Modeling n Random Variables and Pseudo-Random Numbers n Time Increments.
Monté Carlo Simulation MGS 3100 – Chapter 9. Simulation Defined A computer-based model used to run experiments on a real system.  Typically done on a.
Operations Management
Introduction to ModelingMonte Carlo Simulation Expensive Not always practical Time consuming Impossible for all situations Can be complex Cons Pros Experience.
Modeling and Simulation
Operations Management
Example 16.1 Ordering calendars at Walton Bookstore
Managerial Decision Modeling with Spreadsheets
CHAPTER 12 Inventory Control.
Chapter 14 Simulation. What Is Simulation? Simulation is to mimic a process by using computers.
1 Slides used in class may be different from slides in student pack Chapter 17 Inventory Control  Inventory System Defined  Inventory Costs  Independent.
F Simulation PowerPoint presentation to accompany Heizer and Render
F - 1© 2011 Pearson Education, Inc. publishing as Prentice Hall F F Simulation PowerPoint presentation to accompany Heizer and Render Operations Management,
1 1 Slide Simulation. 2 2 Simulation n Advantages and Disadvantages of Simulation n Simulation Modeling n Random Variables n Simulation Languages n Validation.
Contemporary Engineering Economics, 6 th edition Park Copyright © 2016 by Pearson Education, Inc. All Rights Reserved Risk Simulation Lecture No. 40 Chapter.
Chapter 4 MODELING AND ANALYSIS. Model component Data component provides input data User interface displays solution It is the model component of a DSS.
1 1 Slide © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
Outline of Chapter 9: Using Simulation to Solve Decision Problems Real world decisions are often too complex to be analyzed effectively using influence.
Simulation OPIM 310-Lecture #4 Instructor: Jose Cruz.
Simulation is the process of studying the behavior of a real system by using a model that replicates the behavior of the system under different scenarios.
WOOD 492 MODELLING FOR DECISION SUPPORT Lecture 24 Simulation.
1 Managing Flow Variability: Safety Inventory Operations Management Session 23: Newsvendor Model.
Monte Carlo Process Risk Analysis for Water Resources Planning and Management Institute for Water Resources 2008.
PowerPoint presentation to accompany Operations Management, 6E (Heizer & Render) © 2001 by Prentice Hall, Inc., Upper Saddle River, N.J F-1 Operations.
WOOD 492 MODELLING FOR DECISION SUPPORT Lecture 25 Simulation.
Simulation is the process of studying the behavior of a real system by using a model that replicates the system under different scenarios. A simulation.
Computer Simulation. The Essence of Computer Simulation A stochastic system is a system that evolves over time according to one or more probability distributions.
© The McGraw-Hill Companies, Inc., Chapter 14 Inventory Control.
Simulation. Introduction What is Simulation? –Try to duplicate features, appearance, and characteristics of real system. Idea behind Simulation –Imitate.
Simulations. To accompany Quantitative Analysis for Management, 9e by Render/Stair/Hanna 3-2 © 2006 by Prentice Hall, Inc. Upper Saddle River, NJ
1 1 Slide Simulation Professor Ahmadi. 2 2 Slide Simulation Chapter Outline n Computer Simulation n Simulation Modeling n Random Variables and Pseudo-Random.
Simulation Chapter 16 of Quantitative Methods for Business, by Anderson, Sweeney and Williams Read sections 16.1, 16.2, 16.3, 16.4, and Appendix 16.1.
Simulation in Healthcare Ozcan: Chapter 15 ISE 491 Fall 2009 Dr. Burtner.
To accompany Quantitative Analysis for Management, 9e by Render/Stair/Hanna 15-1 © 2006 by Prentice Hall, Inc. Upper Saddle River, NJ Prepared by.
Chapter 1 What is Simulation?. Fall 2001 IMSE643 Industrial Simulation What’s Simulation? Simulation – A broad collection of methods and applications.
Introduction to Simulation Chapter 12. Introduction to Simulation  In many spreadsheets, the value for one or more cells representing independent variables.
Simulation Modeling.
Simulasi sistem persediaan
Computer Simulation Henry C. Co Technology and Operations Management,
Prepared by Lloyd R. Jaisingh
Simulation Department of Industrial Engineering Anadolu University
Prepared by Lee Revere and John Large
Simulation Modeling.
Simulation Modeling Chapter 15
Simulation Modeling Chapter 15
Slides by John Loucks St. Edward’s University.
Presentation transcript:

Chapter 10: Simulation Modeling © 2007 Pearson Education

Simulation To simulate is to try to duplicate the characteristics of a real system We will study mathematical simulation models of real systems to help make business decisions Simulation is one of the most widely used decision modeling techniques

The Process of Simulation

Advantages of Simulation Flexibility Can handle large and complex systems Can answer “what-if” questions Does not interfere with the real system Allows study of interaction among variables “Time compression” is possible Handles complications that other methods can’t

Disadvantages of Simulation Can be expensive and time consuming Does not generate optimal solutions Managers must choose solutions they want to try (“what-if” scenarios) Each model is unique

Monte Carlo Simulation Can be used with variables that are probabilistic Steps: Determine the probability distribution for each random variable Use random numbers to generate random values Repeat for some number of replications

Random Variables (RV’s) There are many random variables in real life where there is uncertainty, such as: Product demand Lead time for orders Time between equipment breakdown Service time Etc.

Step 1: Determine the Probability Distribution for Each RV There are many different probability distributions (e.g. general discrete, normal, Poisson, uniform, exponential, binomial, etc.) Usually use historical data to determine which distribution “fits” best

Harry’s Auto Shop Example Want to simulate monthly demand for tires Have data on past 60 months

Step 2: Use Random Numbers to Generate Random Values Random numbers are where all values are equally likely Rolling a single die generates random numbers between 1 and 6 Using two-digit random numbers (00 to 99) the probability of each is 1/100 or 0.01 Random numbers can be come from a computer, a table, a roulette wheel, etc.

Random Number Intervals for Harry’s Auto Shop

Step 3: Replication of the Simulation Repeatedly draw a random number and determine the demand for a particular month A simulation must be replicated (or repeated) many times to cover the full range of variability and obtain meaningful results

Role of Computers in Simulation The Harry’s example was done “by hand” Computers are much faster Software packages have built-in procedures for a variety of probability distributions Replications are kept track of

Simulation Software Packages General purpose languages (Visual Basic, C++, Fortran, etc.) Special purpose languages and programs (GPSS, Simscript, Microsaint, BuildSim, etc.) Spreadsheet models

Generating Random Values in Excel To generate random numbers between 0 and 1, use: = RAND() Using this with various formulas allows generating RV’s from a variety of distributions, including normal, uniform, exponential, and general discrete Go to Excel

Return to Harry’s Auto Shop Want to compute expected profit Revenue per tire varies with market conditions Discrete uniform distribution $60 to $80 Profit margin per tire also varies Continuous uniform distribution, 20% to 30% Fixed operating cost is $2000 per month

Flowchart for Harry’s Simulation Go to file 10-2.xls

Replicating the Model If model is small it could be copied multiple times Using a Data Table for replication is convenient for larger models For each value (run number) in the data table, the model is run and the result reported Go to file 10-2.xls

Example Inventory Simulation Simkin’s Hardware Store Selling electric drills Decisions How many drills to order? When to order more drills? Random Variables Daily demand Lead time (time from order placement until order received)

Simkin’s Inventory Objectives Avoid stockouts (because customer will buy at another store) Keep inventory levels low Avoid ordering too frequently These objectives conflict Costs are associated with each, so total cost can be calculated

Components of Total Cost Type of Cost Cost Stockout (lost sale) cost $8 per drill Holding (inventory) cost $0.02 per drill per day Order cost $20 per order Want to find the inventory policy that minimizes total cost

Inventory Policy Inventory policy decision variables (Q, R) Q = the number of drills to order R = the reorder point (if inventory < R, an order is placed) We can try “what-if” (Q, R) combinations to look for the lowest cost policy

Probability Distribution of Daily Drill Demand Probability distribution of lead time: Uniform from 1 to 3 days

Simulation Model Simulate 25 days of operation Start day 1 with 7 drills in inventory Generate random demand each day Demand filled = Minimum of inventory and demand If demand > inventory, then stockout(s) occur

Simulation Model Track inventory level Reduced when drills are sold Increased when orders arrive Place an order for Q drills if the day’s ending inventory < R Each time an order is placed, generate a random value for lead time Calculate all 3 types of cost and sum for total cost Go to file 10-3.xls

Replication Using Data Table Can record all 4 costs (holding, stockout, order, and total cost) for each replication Each replication represents one month (25 days) of operation Generate 200 replications Go to file 10-3.xls

Using Scenario Manager to Include Decisions in Simulation Decision variables for Simkin (Q, R) Try Q values 8, 10, 12, and 14 Try R values of 5 and 8 Excel’s Scenario Manager can automatically run all 8 combinations of Q and R Go to file 10-3.xls

Example Queuing Simulation Denton Savings Bank Banks customers arrive randomly and have random service times Customer satisfaction criteria: Average waiting time < 2 minutes Average queue length < 2 customers Simulate bank operation to determine if criteria are met

Simulation Issues Need to use discrete event simulation to keep track of clock time Assume one teller Start clock at time 0 Simulate arrival of 150 customers

Values to Track for Each Customer Time since the previous arrival (random) Arrival time (clock time) Start service time (clock time) Service time (random) End service time (clock time) Waiting time (duration) Queue length (including current customer)

Service Time and Time Between Arrivals Distributions Go to File 10-4.xls

Revenue Management Simulation Revenue management is often used in the airline and hotel industries Customer demand is uncertain There is usually some probability that customers with reservations are “no-shows” Capacity is usually fixed

Judith’s Airport Limousine Service Considering offering transportation to/from airport (50 miles away) Average daily demand is 45 people Would make 4 one-way trips per day Van capacity is 10 passengers Judith’s operating cost is $100 per trip All trips will be made even if the van is empty

Passengers With Reservations Reservations require a $10 nonrefundable deposit Reservation ticket price is $35 Reservation demand per trip follows discrete uniform distribution from 7 to 14 20% of people with reservations do not show up If more than 10 show up, Judith must pay $75 for alternate arrangements (i.e. loss of $75 – $35 = $40)

Walk-up Passengers Walk-up demand follows a general discrete distribution Demand Probability 0 0.30 1 0.45 2 0.25 Walk-up passengers pay $50 per trip

How many reservations to accept? Decision Variable: How many reservations to accept? (Want to evaluate 10 to 14) Objective: Maximize average profit per trip Go go file 10-5.xls

Simulation With Crystal Ball Crystal Ball is an add-in for Excel created by Decisioneering Inc. Included on the text’s CD-ROM Makes simulation in Excel easier Has built-in probability functions Have built-in replication procedures Make it easier to collect and display information

Using Crystal Ball Install from the CD-ROM Start Crystal Ball You will be in Excel but an additional menu bar will appear for Crystal Ball

Primary Crystal Ball Menu Options Define Assumption – for specifying the probability distribution for each random variable Define Forecast – specifies which cell(s) to collect data on Run Preferences – specifies number of replications Start Simulation – runs the simulation

Simkin’s Hardware Store With Crystal Ball Revisit Simkin’s inventory problem for selling drills Want to evaluate: Q (order quantity) values of 8, 10, 12, and 14 R (reorder point) values of 5 and 8

Simkin’s Hardware Store With Crystal Ball Use the custom distribution for daily demand Collect data on (Define Forecast) for: holding cost, stock out cost, order cost, and total cost Go to file 10-6.xls

Simulation of Revenue Management With Crystal Ball Revisit Judith’s Limousine service Use binomial distribution for number of no-show reservations (p=0.8) Use the custom distribution for number of walk-ups Collect data (Define Forecast) for both profit and occupancy rate Go to file 10-7.xls

Other Types of Simulation Models Operational Gaming – where there are 2 or more competing players (such as military games or business games) Systems Simulation – models the dynamics of a large system (more complex than the Monte Carlo methods we have studied)