1 1 Slide Simulation Professor Ahmadi. 2 2 Slide Simulation Chapter Outline n Computer Simulation n Simulation Modeling n Random Variables and Pseudo-Random.

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

Simulation - An Introduction Simulation:- The technique of imitating the behaviour of some situation or system (economic, military, mechanical, etc.) by.
Chapter 15: Quantitatve Methods in Health Care Management Yasar A. Ozcan 1 Chapter 15. Simulation.
Introduction into Simulation Basic Simulation Modeling.
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.
Chapter 1 Introduction to Modeling DECISION MODELING WITH MICROSOFT EXCEL Copyright 2001 Prentice Hall.
Selection of Research Participants: Sampling Procedures
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.
Materi 2 (Chapter 2) ntroduction to Quantitative Analysis
Discrete Event Simulation How to generate RV according to a specified distribution? geometric Poisson etc. Example of a DEVS: repair problem.
1 1 Slide © 2005 Thomson/South-Western Chapter 13 Simulation n Advantages and Disadvantages of Using Simulation n Modeling n Random Variables and Pseudo-Random.
Simulation.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
Chap 9-1 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chapter 9 Estimation: Additional Topics Statistics for Business and Economics.
1 Validation and Verification of Simulation Models.
1 1 Slide © 2001 South-Western College Publishing/Thomson Learning Anderson Sweeney Williams Anderson Sweeney Williams Slides Prepared by JOHN LOUCKS QUANTITATIVE.
Chapter 14 Simulation. Monte Carlo Process Statistical Analysis of Simulation Results Verification of the Simulation Model Computer Simulation with Excel.
Module C9 Simulation Concepts. NEED FOR SIMULATION Mathematical models we have studied thus far have “closed form” solutions –Obtained from formulas --
To accompany Quantitative Analysis for Management, 9e by Render/Stair/Hanna 1-1 © 2006 by Prentice Hall, Inc. Upper Saddle River, NJ Chapter 1 Introduction.
Simulation Basic Concepts. NEED FOR SIMULATION Mathematical models we have studied thus far have “closed form” solutions –Obtained from formulas -- forecasting,
SIMULATION. Simulation Definition of Simulation Simulation Methodology Proposing a New Experiment Considerations When Using Computer Models Types of Simulations.
Simulation Basic Concepts. NEED FOR SIMULATION Mathematical models we have studied thus far have “closed form” solutions –Obtained from formulas -- forecasting,
Robert M. Saltzman © DS 851: 4 Main Components 1.Applications The more you see, the better 2.Probability & Statistics Computer does most of the work.
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.
Stevenson and Ozgur First Edition Introduction to Management Science with Spreadsheets McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies,
Introduction to ModelingMonte Carlo Simulation Expensive Not always practical Time consuming Impossible for all situations Can be complex Cons Pros Experience.
Computer Simulation A Laboratory to Evaluate “What-if” Questions.
1 Validation & Verification Chapter VALIDATION & VERIFICATION Very Difficult Very Important Conceptually distinct, but performed simultaneously.
 1  Outline  stages and topics in simulation  generation of random variates.
Introduction to Management Science
1 1 Slide © 2004 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS St. Edward’s University Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Modeling & Simulation: An Introduction Some slides in this presentation have been copyrighted to Dr. Amr Elmougy.
1 1 Slide Simulation. 2 2 Simulation n Advantages and Disadvantages of Simulation n Simulation Modeling n Random Variables n Simulation Languages n Validation.
Discrete Distributions The values generated for a random variable must be from a finite distinct set of individual values. For example, based on past observations,
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.
Chapter 4 MODELING AND ANALYSIS. Model component Data component provides input data User interface displays solution It is the model component of a DSS.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. 1 Simulation.
SUPPLEMENT TO CHAPTER NINETEEN Irwin/McGraw-Hill © The McGraw-Hill Companies, Inc., 1999 SIMULATION 19S-1 Chapter 19 Supplement Simulation.
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.
Monté Carlo Simulation  Understand the concept of Monté Carlo Simulation  Learn how to use Monté Carlo Simulation to make good decisions  Learn how.
McGraw-Hill/Irwin © 2006 The McGraw-Hill Companies, Inc., All Rights Reserved. 1.
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.
McGraw-Hill/Irwin Copyright © 2009 by The McGraw-Hill Companies, Inc. All rights reserved.
Chapter 1 Problem Solving with Mathematical Models
Randomness, Probability, and Simulation
1 BA 555 Practical Business Analysis Linear Programming (LP) Sensitivity Analysis Simulation Agenda.
Operations Management
1 1 Slide © 2004 Thomson/South-Western Simulation n Simulation is one of the most frequently employed management science techniques. n It is typically.
Simulation. Simulation  Simulation imitation of chance behavior based on a model that accurately reflects the phenomenon under consideration  By observing.
Simulation in Healthcare Ozcan: Chapter 15 ISE 491 Fall 2009 Dr. Burtner.
MAT 4830 Mathematical Modeling 04 Monte Carlo Integrations
Csci 418/618 Simulation Models Dr. Ken Nygard, IACC 262B
System Analysis System – set of interdependent elements that interact in order to accomplish a one or more final outcomes. Constrained and affected by:
Building Valid, Credible & Appropriately Detailed Simulation Models
Operational Decision-Making Tools: Simulation
Modelling & Simulation of Semiconductor Devices Lecture 1 & 2 Introduction to Modelling & Simulation.
Simulation Modeling.
Computer Simulation Henry C. Co Technology and Operations Management,
Prepared by Lloyd R. Jaisingh
Introduction to Quantitative Analysis
DSS & Warehousing Systems
Professor S K Dubey,VSM Amity School of Business
Slides by John Loucks St. Edward’s University.
MECH 3550 : Simulation & Visualization
SIMULATION IN THE FINANCE INDUSTRY BY HARESH JANI
Dr. Arslan Ornek MATHEMATICAL MODELS
Presentation transcript:

1 1 Slide Simulation Professor Ahmadi

2 2 Slide Simulation Chapter Outline n Computer Simulation n Simulation Modeling n Random Variables and Pseudo-Random Numbers n Time Increments n Other Simulation Issues n Validation and Statistical Considerations

3 3 Slide Computer Simulation n Computer simulation is one of the most frequently employed management science techniques. n It is typically used to model random processes that are too complex to be solved by analytical methods.

4 4 Slide Advantages of Computer Simulation n Among the advantages of computer simulation is the ability to gain insights into the model solution which may be impossible to attain through other techniques. n Also, once the simulation has been developed, it provides a convenient experimental laboratory to perform "what if" and sensitivity analysis.

5 5 Slide Disadvantages of Computer Simulation n A large amount of time may be required to develop the simulation. n There is no guarantee that the solution obtained will actually be optimal. n Simulation is, in effect, a trial and error method of comparing different policy inputs. n It does not determine if some input which was not considered could have provided a better solution for the model.

6 6 Slide Simulation Modeling n One begins a computer simulation by developing a mathematical statement of the problem. n The model should be realistic yet solvable within the speed and storage constraints of the computer system being used. n Input values for the model as well as probability estimates for the random variables must then be determined.

7 7 Slide Random Variables n Random variable values are utilized in the model through a technique known as Monte Carlo simulation. n Each random variable is mapped to a set of numbers so that each time one number in that set is generated, the corresponding value of the random variable is given as an input to the model. n The mapping is done in such a way that the likelihood that a particular number is chosen is the same as the probability that the corresponding value of the random variable occurs.

8 8 Slide Pseudo-Random Numbers n Because a computer program generates random numbers for the mapping according to some formula, the numbers are not truly generated in a random fashion. n However, using standard statistical tests, the numbers can be shown to appear to be drawn from a random process. n These numbers are called pseudo-random numbers.

9 9 Slide Static and Dynamic Simulation Models n Static Simulation Models: In these types of models, the simulation runs are independent of each other. The state of the system at one point in time does not affect the system at future points in time. For each time period a different set of data from the input sequence is used to calculate the effects on the model. n Dynamic Simulation Models: In these types of models, the state of the system at one point in time does affect the future of the system.

10 Slide Model Validation n Models which do not accurately reflect real world behavior cannot be expected to generate meaningful results. n Likewise, errors in programming can result in nonsensical results. n Validation is generally done by having an expert review the model and the computer code for errors. n If possible, the simulation should be run using actual past data. n Predictions from the simulation model should be compared with historical results.

11 Slide Experimental Design n Experimental design is an important consideration in the simulation process. n Issues such as the length of time of the simulation and the treatment of initial data outputs from the model must be addressed prior to collecting and analyzing output data. n Normally one is interested in results for the steady state (long run) operation of the system being modeled. n The initial data inputs to the simulation generally represent a start-up period for the process and it may be important that the data outputs for this start-up period be neglected for predicting this long run behavior.

12 Slide Experimental Design n For each policy under consideration by the decision maker, the simulation is run by considering a long sequence of input data values (given by a pseudo- random number generator). n Whenever possible, different policies should be compared by using the same sequence of input data.

13 Slide Example: Probabilistic, Inc. The price change of shares of Probabilistic, Inc. has been observed over the past 50 trades. The frequency distribution is as follows: Price Change Number of Trades Price Change Number of Trades -3/8 4 -3/8 4 -1/4 2 -1/4 2 -1/8 8 -1/ / / /4 3 +1/4 3 +3/8 2 +3/8 2 +1/2 1 +1/2 1

14 Slide Example: Probabilistic, Inc. n Relative Frequency Distribution and Random Number Mapping Price Change Relative Frequency Random Numbers Price Change Relative Frequency Random Numbers -3/ and under 07 -3/ and under 07 -1/ and under 11 -1/ and under 11 -1/ and under 27 -1/ and under and under and under 67 +1/ and under 87 +1/ and under 87 +1/ and under 93 +1/ and under 93 +3/ and under 97 +3/ and under 97 +1/ and under 99 +1/ and under 99 TOTAL = 1.00 TOTAL = 1.00

15 Slide Example: Probabilistic, Inc. If the current price per share of Probabilistic is 23, use random numbers to simulate the price per share over the next 10 trades. For random numbers, use the following: 21, 84, 07, 30, 94, 57, 57, 19, 84, 84 21, 84, 07, 30, 94, 57, 57, 19, 84, 84

16 Slide Example: Probabilistic, Inc. n Simulation Worksheet Trade Random Price Stock Trade Random Price Stock Number Number Change Price Number Number Change Price /8 22 7/ /8 22 7/ / / /8 22 5/ /8 22 5/ / / / / /8 22 7/ /8 22 7/ / / /8 23 1/ /8 23 1/8

17 Slide Example: Coin Toss n Use Excel to generate 200 random numbers and simulate a coin toss.