Lecture 9 Output Analysis for a Single Model. 2  Output analysis is the examination of data generated by a simulation.  Its purpose is to predict the.

Slides:



Advertisements
Similar presentations
Simulating Single server queuing models. Consider the following sequence of activities that each customer undergoes: 1.Customer arrives 2.Customer waits.
Advertisements

T.C ATILIM UNIVERSITY MODES ADVANCED SYSTEM SIMULATION MODES 650
ETM 607 – Output Analysis: Estimation of Absolute Performance
Modeling & Simulation. System Models and Simulation Framework for Modeling and Simulation The framework defines the entities and their Relationships that.
Queueing Models and Ergodicity. 2 Purpose Simulation is often used in the analysis of queueing models. A simple but typical queueing model: Queueing models.
Week11 Parameter, Statistic and Random Samples A parameter is a number that describes the population. It is a fixed number, but in practice we do not know.
Variance reduction techniques. 2 Introduction Simulation models should be coded such that they are efficient. Efficiency in terms of programming ensures.
Statistics review of basic probability and statistics.
Sampling Distributions (§ )
THE CENTRAL LIMIT THEOREM The “World is Normal” Theorem.
 1  Outline  Model  problem statement  detailed ARENA model  model technique  Output Analysis.
Output analyses for single system
Output Analysis: Variance Estimation
1 Statistical Inference H Plan: –Discuss statistical methods in simulations –Define concepts and terminology –Traditional approaches: u Hypothesis testing.
Output Data Analysis. How to analyze simulation data? simulation –computer based statistical sampling experiment –estimates are just particular realizations.
Output Analysis and Experimentation for Systems Simulation.
Descriptive statistics Experiment  Data  Sample Statistics Experiment  Data  Sample Statistics Sample mean Sample mean Sample variance Sample variance.
1 Validation and Verification of Simulation Models.
4. Review of Basic Probability and Statistics
Lecture 10 Comparison and Evaluation of Alternative System Designs.
BCOR 1020 Business Statistics Lecture 18 – March 20, 2008.
1 Simulation Modeling and Analysis Output Analysis.
191 Drawing Statistical Inference from Simulation Runs......the "fun" stuff!
Lecture 4 Mathematical and Statistical Models in Simulation.
BCOR 1020 Business Statistics
Model Calibration and Model Validation
1 Terminating Statistical Analysis By Dr. Jason Merrick.
Simulation Output Analysis
Chapter 6 Statistical Analysis of Output from Terminating Simulations.
Fall CSC 446/546 Part 10: Estimation of Absolute Performance.
Chapter 10 Verification and Validation of Simulation Models
SIMULATION MODELING AND ANALYSIS WITH ARENA
 1  Outline  stages and topics in simulation  generation of random variates.
Steady-State Statistical Analysis By Dr. Jason Merrick.
Verification & Validation
Albert Morlan Caitrin Carroll Savannah Andrews Richard Saney.
QBM117 Business Statistics Estimating the population mean , when the population variance  2, is known.
Chapter 11 Output Analysis for a Single Model Banks, Carson, Nelson & Nicol Discrete-Event System Simulation.
Chap 20-1 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chapter 20 Sampling: Additional Topics in Sampling Statistics for Business.
CS433 Modeling and Simulation Lecture 12 Output Analysis Large-Sample Estimation Theory Dr. Anis Koubâa 10 Jan 2009.
Lecture 12 Statistical Inference (Estimation) Point and Interval estimation By Aziza Munir.
Chapter 11 Output Analysis for a Single Model Banks, Carson, Nelson & Nicol Discrete-Event System Simulation.
MS 305 Recitation 11 Output Analysis I
Verification and Validation
Analysis of Simulation Results Chapter 25. Overview  Analysis of Simulation Results  Model Verification Techniques  Model Validation Techniques  Transient.
0 K. Salah 2. Review of Probability and Statistics Refs: Law & Kelton, Chapter 4.
10.1: Confidence Intervals – The Basics. Review Question!!! If the mean and the standard deviation of a continuous random variable that is normally distributed.
1 Terminating Statistical Analysis By Dr. Jason Merrick.
LECTURE 25 THURSDAY, 19 NOVEMBER STA291 Fall
Chapter 10 Verification and Validation of Simulation Models
Simulation & Confidence Intervals COMP5416 Advanced Network Technologies.
Network Simulation Motivation: r learn fundamentals of evaluating network performance via simulation Overview: r fundamentals of discrete event simulation.
1 OUTPUT ANALYSIS FOR SIMULATIONS. 2 Introduction Analysis of One System Terminating vs. Steady-State Simulations Analysis of Terminating Simulations.
The generalization of Bayes for continuous densities is that we have some density f(y|  ) where y and  are vectors of data and parameters with  being.
Inen 460 Lecture 2. Estimation (ch. 6,7) and Hypothesis Testing (ch.8) Two Important Aspects of Statistical Inference Point Estimation – Estimate an unknown.
OPERATING SYSTEMS CS 3530 Summer 2014 Systems and Models Chapter 03.
Output Analysis for Simulation
Chapter 10 Verification and Validation of Simulation Models Banks, Carson, Nelson & Nicol Discrete-Event System Simulation.
Building Valid, Credible & Appropriately Detailed Simulation Models
K. Salahpp.1 Chapter 9 Output Analysis for Single Systems.
Variance reduction techniques Mat Simulation
OPERATING SYSTEMS CS 3502 Fall 2017
CPSC 531: System Modeling and Simulation
Chapter 10 Verification and Validation of Simulation Models
Chapter 11 Output Analysis for a Single Model
Statistical Methods Carey Williamson Department of Computer Science
Carey Williamson Department of Computer Science University of Calgary
MECH 3550 : Simulation & Visualization
Verification and Validation of Simulation Models
Modeling and Simulation: Exploring Dynamic System Behaviour
Presentation transcript:

Lecture 9 Output Analysis for a Single Model

2  Output analysis is the examination of data generated by a simulation.  Its purpose is to predict the performance of a system or to compare the performance of two or more alternative system designs.  This lecture deals with the analysis of a single system, while next lecture deals with the comparison of two or more systems.  Output analysis is the examination of data generated by a simulation.  Its purpose is to predict the performance of a system or to compare the performance of two or more alternative system designs.  This lecture deals with the analysis of a single system, while next lecture deals with the comparison of two or more systems.

3 Type of Simulation with respect to Output Analysis  When analyzing simulation output data, a distinction is made between terminating or transient simulation and steady-state simulation.  A terminating simulation is one that runs for some duration of time T E, where E is a specified event (or set of events) which stops the simulation.  Example 11.1: Shady Grove Bank operates 8:30 – 16:30, then T E = 480min.  Example 11.3: A communication system consists of several components. Consider the system over a period of time, T E, until the system fails. E = {A fails, or D fails, or (B and C both fail)}  When analyzing simulation output data, a distinction is made between terminating or transient simulation and steady-state simulation.  A terminating simulation is one that runs for some duration of time T E, where E is a specified event (or set of events) which stops the simulation.  Example 11.1: Shady Grove Bank operates 8:30 – 16:30, then T E = 480min.  Example 11.3: A communication system consists of several components. Consider the system over a period of time, T E, until the system fails. E = {A fails, or D fails, or (B and C both fail)}

4 Terminating Simulation  When simulating a terminating system, the initial conditions of the system at time 0 must be specified, and the stopping time T E, or alternatively, the stopping event E, must be well defined.  Whether a simulation is considered to be terminating or not depends on both the objectives of the simulation study and the nature of the system.  Examples 11.1 and 11.3 are considered the terminating systems because:  Ex. 11.1: the objective of interest is one day’s operation;  Ex. 11.3: short-run behavior, from time 0 until the first system failure.  When simulating a terminating system, the initial conditions of the system at time 0 must be specified, and the stopping time T E, or alternatively, the stopping event E, must be well defined.  Whether a simulation is considered to be terminating or not depends on both the objectives of the simulation study and the nature of the system.  Examples 11.1 and 11.3 are considered the terminating systems because:  Ex. 11.1: the objective of interest is one day’s operation;  Ex. 11.3: short-run behavior, from time 0 until the first system failure.

5 Steady-state Simulation  A nonterminating system is a system that runs continuously, or at least over a very long period of time.  For example, assembly lines which shut down infrequently, continuous production systems of many different types, telephone systems and other communications systems such as the Internet, hospital emergency rooms, fire departments, etc.  A steady-state simulation is a simulation whose objective is to study long-run, or steady-state, behavior of a nonterminating system.  The stopping time, T E, is determined not by the nature of the problem but rather by the simulation analyst, either arbitrarily or with a certain statistical precision in mind.  A nonterminating system is a system that runs continuously, or at least over a very long period of time.  For example, assembly lines which shut down infrequently, continuous production systems of many different types, telephone systems and other communications systems such as the Internet, hospital emergency rooms, fire departments, etc.  A steady-state simulation is a simulation whose objective is to study long-run, or steady-state, behavior of a nonterminating system.  The stopping time, T E, is determined not by the nature of the problem but rather by the simulation analyst, either arbitrarily or with a certain statistical precision in mind.

6 Stochastic Nature of Output Data  Consider one run of a simulation model over a period of time [ 0, T ]. Since the model is an input-output transformation, and since some of the model input variables are random variable, it follows that the model output variables are random variables.  The stochastic (or probability) nature of output variables will be observed.  Example 2.2 (Able-Baker carhop problem)  Input: randomness of arrival time and service time  Output: randomness of utilization and time spent in the system per customer.  Consider one run of a simulation model over a period of time [ 0, T ]. Since the model is an input-output transformation, and since some of the model input variables are random variable, it follows that the model output variables are random variables.  The stochastic (or probability) nature of output variables will be observed.  Example 2.2 (Able-Baker carhop problem)  Input: randomness of arrival time and service time  Output: randomness of utilization and time spent in the system per customer.

7 Output Analysis for Terminating Simulations  Consider the estimation of a performance parameter,  (or  ), of a simulated system.  The simulation output data is of the form {Y 1, Y 2, …, Y n } (discrete-time data) for estimating .  E.g. the delay of customer i, total cost in week i.  The simulation output data is of the form {Y(t), 0  t  T E } (continuous-time data) for estimating .  E.g. the queue length at time t, the number of backlogged orders at time t.  Point Estimation:  Consider the estimation of a performance parameter,  (or  ), of a simulated system.  The simulation output data is of the form {Y 1, Y 2, …, Y n } (discrete-time data) for estimating .  E.g. the delay of customer i, total cost in week i.  The simulation output data is of the form {Y(t), 0  t  T E } (continuous-time data) for estimating .  E.g. the queue length at time t, the number of backlogged orders at time t.  Point Estimation:

8 Output Analysis for Terminating Simulations (cont’)  By the Central Limited Theorem (CLT), for n  30, where  Interval Estimation:  An approximate 100(1 -  )% confidence interval for  is given by:  By the Central Limited Theorem (CLT), for n  30, where  Interval Estimation:  An approximate 100(1 -  )% confidence interval for  is given by:

9 Output Analysis for Terminating Simulations (Example)  Example (Able Baker Carhop Problem) Run, rUtilization,Average System Time,

10 Number of Replications  PRECISION LEVEL  Suppose that an error criterion  is specified; in other words, it is desired to estimate  by to within with high probability, say at least 1 – .  PRECISION LEVEL  Suppose that an error criterion  is specified; in other words, it is desired to estimate  by to within with high probability, say at least 1 – .

11 Number of Replications (Example)  Example (Able Baker Carhop Problem)  Suppose that it is desired to estimate Able’s utilization in Example 11.7 to within with probability An initial sample size R 0 =4 is taken.  Step 1:  Step 2:  Example (Able Baker Carhop Problem)  Suppose that it is desired to estimate Able’s utilization in Example 11.7 to within with probability An initial sample size R 0 =4 is taken.  Step 1:  Step 2: R t 0.025, R R = 15 Additional replications: R – R 0 = 15 – 4 = 11

12 Output Analysis for Steady-State Simulations  Prior to beginning analysis of output data, the modeler must take every effort to ensure that the output represents an accurate estimate of the true system values.  One useful technique for improving the reliability of output results from steady-state simulation is to provide an initialization period for which statistics are not kept.  A steady-state condition implies that a simulation has reached a point in time where the state of the model is independent of the initial start-up conditions.  Prior to beginning analysis of output data, the modeler must take every effort to ensure that the output represents an accurate estimate of the true system values.  One useful technique for improving the reliability of output results from steady-state simulation is to provide an initialization period for which statistics are not kept.  A steady-state condition implies that a simulation has reached a point in time where the state of the model is independent of the initial start-up conditions.

13 Output Analysis for Steady-State Simulations (cont’)  The amount of time required to achieve steady-state conditions is referred to as a warm-up period.  Data collection begins after a warm-up period is completed.  Determining the length of this period can be accomplished by utilizing moving averages calculated from the output produced by multiple model replications.  The amount of time required to achieve steady-state conditions is referred to as a warm-up period.  Data collection begins after a warm-up period is completed.  Determining the length of this period can be accomplished by utilizing moving averages calculated from the output produced by multiple model replications.

14 Warm-up Period  Determine A Warm-up Period in a Steady-state Simulation PeriodAverage Costw = 5w = 10w =

15 Moving Average d = 12

16 Output Analysis for Steady-State Simulations (Example) Observed cost during i-th period and j-th replication PeriodRep 1Rep 2Rep 3Rep 4Rep PeriodRep 1Rep 2Rep 3Rep 4Rep Avg

17 Output Analysis for Steady-State Simulations (Example)  Confident Interval for a Steady-State Simulation