SlideShare a Scribd company logo
Silas Maiyo (c) 2022
Model Experimentation –
Simulation Results
Based on Stewart Robinson (2004). Simulation: The Practice of Model
Development and Use
March 2022
Silas Maiyo (c) 2022
Introduction
• Discussed:- Model experiments, how to design a simulation
experiment;
• To examine:- Issues surrounding the model
experimentation and simulation results
Silas Maiyo (c) 2022
Simulation Model Experiments
• A simulation experiment is a test or a series of tests in which meaningful changes are
made to the input variables of a simulation model so that we may observe and
identify the reasons for changes in the performance measures.
• The number of experiments in a simulation study is greater than or equal to the
number of questions being asked about the model
• (e.g., Is there a significant difference between the mean delay in communication
networks A and B?,
• Which network has the least delay: A, B, or C? How will a new routing algorithm
affect the performance of network B?). Design of a simulation experiment involves
answering the question: what data need to be obtained, in what form, and how
much?
• The following steps illustrate the process of designing a simulation experiment.
Silas Maiyo (c) 2022
Aims of Model Experimentation
•To obtain a better understanding of the real world system
that is being modeled and look for ways to improve that
system.
• ➔The experimentation should be carried out correctly;
• ➔The results that are obtained from the model should be
accurate;
• ➔The search for a better understanding and improvements
should be performed efficiently and effectively.
Silas Maiyo (c) 2022
The Nature of Simulation Models
• Terminating and non-terminating simulations
Terminating simulation
=>One in which there is a natural end point that determines the length of a
run.
The end point can be where model reaches an empty condition e.g:
• A bank that closes at the end of a day;
• The end of the busy lunch period in a supermarket;
• The completion of a trace of input data, e.g. the completion
of a production schedule
Silas Maiyo (c) 2022
• Non-terminating simulation
Þ One that does not have a natural end point.
Example
A model of a production facility that aims to determine its throughput
capability.
Silas Maiyo (c) 2022
The Nature of Simulation Output
• Transient output
ÞIs one for which the distribution of the output constantly changes.
ÞTransient outputs arise from terminating simulations.
Example
The number of customers served each hour in a bank. This is
different day by day.
Silas Maiyo (c) 2022
The Nature of Simulation Output
• Steady-state output
ÞThis one in which a steady state is reached when the output varies according
to some fixed distribution (the steady-state distribution).
Example
• A production facility;
• Throughput varies daily due to breakdowns, changeovers and other
interruptions;
• In the long run, the throughput capability (the mean throughput level)
remains constant;
• In a steady state the level the variability about the mean remains constant.
Silas Maiyo (c) 2022
The Nature of Simulation Output
• Steady-state output
ÞInitial transient
• This is a period in simulation when the model starts at a low level and gradually builds
up to its steady-state level.
• It occurs at the start of a run (initial) and because the distribution of the output is
constantly changing (transient).
ÞInitialization bias
This the bias on the output due to inclusion of the initial transient data
that is unrealistic.
Initial data should be ignored until the steady-state is reached.
Silas Maiyo (c) 2022
The Nature of Simulation Output
• Steady-state cycle output
ÞThese are cycles that arise due to participation of several components such
as where there are two shifts.
ÞHandle it by lengthening the observation interval in the time-series to the
length of the longest cycle.
Example
Instead of recording hourly throughput or throughput by shift in the
production the data can be recorded daily.
Silas Maiyo (c) 2022
How to design a simulation experiment
1. Select appropriate experimental design
2. Establish experimental conditions for runs
3. Perform simulation runs – according to step 1-2 above
Silas Maiyo (c) 2022
Select appropriate experimental design
• Select a performance measure, a few input variables that are likely to
influence it, and the levels of each input variable.
• When the number of possible configurations (product of the number
of input variables and the levels of each input variable) is large and
the simulation model is complex, common second-order design
classes including central composite, Box-Behnken, and fullfactorial
should be considered.
• Document the experimental design.
Silas Maiyo (c) 2022
Establish experimental conditions for runs
• Address the question of obtaining accurate information and the most information from
each run.
• Determine if the system is stationary (performance measure does not change over time) or
dynamic (performance measure changes over time).
• Generally, in stationary systems, steady-state behavior of the response variable is of
interest.
• Ascertain whether a terminating or a nonterminating simulation run is appropriate. Select
the run length.
• Select appropriate starting conditions (e.g., empty and idle, five customers in queue at time
0).
• Select the length of the warm-up period, if required.
• Decide the number of independent runs - each run uses a different random number stream
and the same starting conditions - by considering output data sample size.
• Identify output data most likely to be correlated
Silas Maiyo (c) 2022
Perform simulation runs
• Perform simulation runs according to steps 1-2 above
• Sample size must be large enough to provide the required confidence
in performance measure estimates.
Silas Maiyo (c) 2022
Issues in Obtaining Accurate Simulation
Results
• Inaccurate data → inaccurate prediction of the real system
performance.
• The main aim of simulation output analysis
Obtain an accurate estimate of the average performance.
• Two options for ensuring the accuracy of the estimates
➔ Remove any initialization bias;
➔ Generate, enough output data from the simulation so that an
accurate estimate of performance is made.
Silas Maiyo (c) 2022
Obtaining sufficient output data: long runs
• Get enough output data from the simulation by: -
Performing a single long run with the model, the only option for a non-
terminating simulation;
Performing multiple replications, the only option for terminating
simulations.
ÞReplication
Þ This is a run of a simulation model that uses specified sets of random
numbers, which in turn cause a specific sequence of random events;
Þ To get a new replication: use a different random number set;
Þ What to do: perform multiple replications and take mean value of the
results.
Silas Maiyo (c) 2022
Dealing with Initialization Bias: Warm-up and Initial
Conditions
Determining the warm-up period
ÞThe warm up period should be long enough to ensure that
the model is in a realistic condition.
ÞFor a non-terminating simulation go past the initial
transient period so that the model output is in a steady state.
ÞThere is need to have the model in a realistic condition.
Silas Maiyo (c) 2022
Determining the warm-up period
Þ The methods include:
ÞGraphical methods: involve the visual inspection of time-series of the
output data;
ÞHeuristics approaches: apply simple rules with few underlying
assumptions
ÞStatistical methods: rely upon the principles of statistics for determining
the warm up period;
ÞInitialization bias tests: identify whether there is any initialization bias
in the data;
ÞHybrid methods: these involve a combination of graphical or heuristic
methods with an initialization bias test.
Silas Maiyo (c) 2022
Determining the warm-up period
Þ Note that;
ÞEach of the methods above has limitations;
ÞThere is no single one method that can be recommended for
all circumstances;
Þ They either overestimate or underestimate the length of the
initial transient;
ÞThey also rely on very restrictive assumptions and using highly
complex statistical procedures.
Silas Maiyo (c) 2022
Time-series inspection
• This is a simple method for identifying the warm-up period;
ÞLimitation:- for a single run, with a very noisy data it can be hard to spot any
initialization bias;
ÞAlternatively:- run a series of replications use the mean averages of the
replications to plot a time-series;
ÞAt least five replications should be performed, more may be required for
very noisy data;
ÞMore replications make the time-series to be smoothed as outliers are
subsumed into the calculation of the mean for each period.
Silas Maiyo (c) 2022
Silas Maiyo (c) 2022

More Related Content

PPT
Estimate system performance via simulation If θ is the system performance, t...
PPTX
Simulation-System Modeling and Simulation
PPTX
Time Simulation Discrete Event (time) Simulation.pptx
PDF
Introduction to modeling_and_simulation
PDF
Introduction to modeling_and_simulation
DOCX
Modeling & simulation in projects
PPT
Output analysis of a single model
PPT
Monte Carlo Simulation effective ness in reliability
Estimate system performance via simulation If θ is the system performance, t...
Simulation-System Modeling and Simulation
Time Simulation Discrete Event (time) Simulation.pptx
Introduction to modeling_and_simulation
Introduction to modeling_and_simulation
Modeling & simulation in projects
Output analysis of a single model
Monte Carlo Simulation effective ness in reliability

Similar to Week 7 - Model Experiementation ibn simulation modelling (20)

PPT
Cs854 lecturenotes01
PPTX
Proman
PPTX
Discrete event simulation
PPTX
Unit 6 Simulation.pptx
DOCX
MODELING & SIMULATION.docx
PPTX
Course Learning Outcomes Virtual Systems and Services
PDF
Jerry banks introduction to simulation
PPT
An Overview of Performance Evaluation & Simulation
PPTX
System Simulation and Modelling with types and Event Scheduling
PPT
02 20110314-simulation
PPTX
Unit 1 introduction
PDF
IRJET- A Comprehensive Outline of the Types of Simulation
PPT
Simulation in terminated system
PPTX
Simulation and modeling introduction.pptx
PPTX
NETW 707 Modeling & Simulation Outline and Intro.pptx
PPTX
Recorded Lecture 1-2 Introduction to energy systems.pptx
PPT
simulation modeling in DSS
PPTX
Simulation & Modelling
PPTX
SIMULATION
PPTX
An Introduction to Simulation in the Social Sciences
Cs854 lecturenotes01
Proman
Discrete event simulation
Unit 6 Simulation.pptx
MODELING & SIMULATION.docx
Course Learning Outcomes Virtual Systems and Services
Jerry banks introduction to simulation
An Overview of Performance Evaluation & Simulation
System Simulation and Modelling with types and Event Scheduling
02 20110314-simulation
Unit 1 introduction
IRJET- A Comprehensive Outline of the Types of Simulation
Simulation in terminated system
Simulation and modeling introduction.pptx
NETW 707 Modeling & Simulation Outline and Intro.pptx
Recorded Lecture 1-2 Introduction to energy systems.pptx
simulation modeling in DSS
Simulation & Modelling
SIMULATION
An Introduction to Simulation in the Social Sciences
Ad

Recently uploaded (20)

PDF
Getting started with AI Agents and Multi-Agent Systems
PDF
2021 HotChips TSMC Packaging Technologies for Chiplets and 3D_0819 publish_pu...
PPTX
Final SEM Unit 1 for mit wpu at pune .pptx
PDF
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
PDF
Hybrid model detection and classification of lung cancer
PDF
A comparative study of natural language inference in Swahili using monolingua...
PPTX
Tartificialntelligence_presentation.pptx
PDF
project resource management chapter-09.pdf
PPT
Module 1.ppt Iot fundamentals and Architecture
PDF
A novel scalable deep ensemble learning framework for big data classification...
PDF
Zenith AI: Advanced Artificial Intelligence
PDF
Architecture types and enterprise applications.pdf
PDF
DP Operators-handbook-extract for the Mautical Institute
PPTX
cloud_computing_Infrastucture_as_cloud_p
PPTX
1. Introduction to Computer Programming.pptx
PPTX
Chapter 5: Probability Theory and Statistics
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PDF
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
PPTX
OMC Textile Division Presentation 2021.pptx
PDF
WOOl fibre morphology and structure.pdf for textiles
Getting started with AI Agents and Multi-Agent Systems
2021 HotChips TSMC Packaging Technologies for Chiplets and 3D_0819 publish_pu...
Final SEM Unit 1 for mit wpu at pune .pptx
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
Hybrid model detection and classification of lung cancer
A comparative study of natural language inference in Swahili using monolingua...
Tartificialntelligence_presentation.pptx
project resource management chapter-09.pdf
Module 1.ppt Iot fundamentals and Architecture
A novel scalable deep ensemble learning framework for big data classification...
Zenith AI: Advanced Artificial Intelligence
Architecture types and enterprise applications.pdf
DP Operators-handbook-extract for the Mautical Institute
cloud_computing_Infrastucture_as_cloud_p
1. Introduction to Computer Programming.pptx
Chapter 5: Probability Theory and Statistics
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
OMC Textile Division Presentation 2021.pptx
WOOl fibre morphology and structure.pdf for textiles
Ad

Week 7 - Model Experiementation ibn simulation modelling

  • 1. Silas Maiyo (c) 2022 Model Experimentation – Simulation Results Based on Stewart Robinson (2004). Simulation: The Practice of Model Development and Use March 2022
  • 2. Silas Maiyo (c) 2022 Introduction • Discussed:- Model experiments, how to design a simulation experiment; • To examine:- Issues surrounding the model experimentation and simulation results
  • 3. Silas Maiyo (c) 2022 Simulation Model Experiments • A simulation experiment is a test or a series of tests in which meaningful changes are made to the input variables of a simulation model so that we may observe and identify the reasons for changes in the performance measures. • The number of experiments in a simulation study is greater than or equal to the number of questions being asked about the model • (e.g., Is there a significant difference between the mean delay in communication networks A and B?, • Which network has the least delay: A, B, or C? How will a new routing algorithm affect the performance of network B?). Design of a simulation experiment involves answering the question: what data need to be obtained, in what form, and how much? • The following steps illustrate the process of designing a simulation experiment.
  • 4. Silas Maiyo (c) 2022 Aims of Model Experimentation •To obtain a better understanding of the real world system that is being modeled and look for ways to improve that system. • ➔The experimentation should be carried out correctly; • ➔The results that are obtained from the model should be accurate; • ➔The search for a better understanding and improvements should be performed efficiently and effectively.
  • 5. Silas Maiyo (c) 2022 The Nature of Simulation Models • Terminating and non-terminating simulations Terminating simulation =>One in which there is a natural end point that determines the length of a run. The end point can be where model reaches an empty condition e.g: • A bank that closes at the end of a day; • The end of the busy lunch period in a supermarket; • The completion of a trace of input data, e.g. the completion of a production schedule
  • 6. Silas Maiyo (c) 2022 • Non-terminating simulation Þ One that does not have a natural end point. Example A model of a production facility that aims to determine its throughput capability.
  • 7. Silas Maiyo (c) 2022 The Nature of Simulation Output • Transient output ÞIs one for which the distribution of the output constantly changes. ÞTransient outputs arise from terminating simulations. Example The number of customers served each hour in a bank. This is different day by day.
  • 8. Silas Maiyo (c) 2022 The Nature of Simulation Output • Steady-state output ÞThis one in which a steady state is reached when the output varies according to some fixed distribution (the steady-state distribution). Example • A production facility; • Throughput varies daily due to breakdowns, changeovers and other interruptions; • In the long run, the throughput capability (the mean throughput level) remains constant; • In a steady state the level the variability about the mean remains constant.
  • 9. Silas Maiyo (c) 2022 The Nature of Simulation Output • Steady-state output ÞInitial transient • This is a period in simulation when the model starts at a low level and gradually builds up to its steady-state level. • It occurs at the start of a run (initial) and because the distribution of the output is constantly changing (transient). ÞInitialization bias This the bias on the output due to inclusion of the initial transient data that is unrealistic. Initial data should be ignored until the steady-state is reached.
  • 10. Silas Maiyo (c) 2022 The Nature of Simulation Output • Steady-state cycle output ÞThese are cycles that arise due to participation of several components such as where there are two shifts. ÞHandle it by lengthening the observation interval in the time-series to the length of the longest cycle. Example Instead of recording hourly throughput or throughput by shift in the production the data can be recorded daily.
  • 11. Silas Maiyo (c) 2022 How to design a simulation experiment 1. Select appropriate experimental design 2. Establish experimental conditions for runs 3. Perform simulation runs – according to step 1-2 above
  • 12. Silas Maiyo (c) 2022 Select appropriate experimental design • Select a performance measure, a few input variables that are likely to influence it, and the levels of each input variable. • When the number of possible configurations (product of the number of input variables and the levels of each input variable) is large and the simulation model is complex, common second-order design classes including central composite, Box-Behnken, and fullfactorial should be considered. • Document the experimental design.
  • 13. Silas Maiyo (c) 2022 Establish experimental conditions for runs • Address the question of obtaining accurate information and the most information from each run. • Determine if the system is stationary (performance measure does not change over time) or dynamic (performance measure changes over time). • Generally, in stationary systems, steady-state behavior of the response variable is of interest. • Ascertain whether a terminating or a nonterminating simulation run is appropriate. Select the run length. • Select appropriate starting conditions (e.g., empty and idle, five customers in queue at time 0). • Select the length of the warm-up period, if required. • Decide the number of independent runs - each run uses a different random number stream and the same starting conditions - by considering output data sample size. • Identify output data most likely to be correlated
  • 14. Silas Maiyo (c) 2022 Perform simulation runs • Perform simulation runs according to steps 1-2 above • Sample size must be large enough to provide the required confidence in performance measure estimates.
  • 15. Silas Maiyo (c) 2022 Issues in Obtaining Accurate Simulation Results • Inaccurate data → inaccurate prediction of the real system performance. • The main aim of simulation output analysis Obtain an accurate estimate of the average performance. • Two options for ensuring the accuracy of the estimates ➔ Remove any initialization bias; ➔ Generate, enough output data from the simulation so that an accurate estimate of performance is made.
  • 16. Silas Maiyo (c) 2022 Obtaining sufficient output data: long runs • Get enough output data from the simulation by: - Performing a single long run with the model, the only option for a non- terminating simulation; Performing multiple replications, the only option for terminating simulations. ÞReplication Þ This is a run of a simulation model that uses specified sets of random numbers, which in turn cause a specific sequence of random events; Þ To get a new replication: use a different random number set; Þ What to do: perform multiple replications and take mean value of the results.
  • 17. Silas Maiyo (c) 2022 Dealing with Initialization Bias: Warm-up and Initial Conditions Determining the warm-up period ÞThe warm up period should be long enough to ensure that the model is in a realistic condition. ÞFor a non-terminating simulation go past the initial transient period so that the model output is in a steady state. ÞThere is need to have the model in a realistic condition.
  • 18. Silas Maiyo (c) 2022 Determining the warm-up period Þ The methods include: ÞGraphical methods: involve the visual inspection of time-series of the output data; ÞHeuristics approaches: apply simple rules with few underlying assumptions ÞStatistical methods: rely upon the principles of statistics for determining the warm up period; ÞInitialization bias tests: identify whether there is any initialization bias in the data; ÞHybrid methods: these involve a combination of graphical or heuristic methods with an initialization bias test.
  • 19. Silas Maiyo (c) 2022 Determining the warm-up period Þ Note that; ÞEach of the methods above has limitations; ÞThere is no single one method that can be recommended for all circumstances; Þ They either overestimate or underestimate the length of the initial transient; ÞThey also rely on very restrictive assumptions and using highly complex statistical procedures.
  • 20. Silas Maiyo (c) 2022 Time-series inspection • This is a simple method for identifying the warm-up period; ÞLimitation:- for a single run, with a very noisy data it can be hard to spot any initialization bias; ÞAlternatively:- run a series of replications use the mean averages of the replications to plot a time-series; ÞAt least five replications should be performed, more may be required for very noisy data; ÞMore replications make the time-series to be smoothed as outliers are subsumed into the calculation of the mean for each period.