What Is Simulation?: Scenario Analysis
What Is Simulation?: Scenario Analysis
Scenario analysis
Chapter 1
01.Simulation_concepts
Slide 1
What is Simulation?
Involves generation of an artificial history of a system. Observes that history and draws inferences about system characteristics. Analysis tool for predicting the effect of changes to existing systems. Design tool to predict performance of new systems.
Many real-world systems are very complex that cannot be solved mathematically.
Hence, numerical, computer-based simulation can be used to imitate the system behavior.
01.Simulation_concepts Slide 3
Study and experiment with internal interactions of a complex system. Observe the effect of system alterations on model behavior. Gain knowledge about the system through design of simulation model. Use as a pedagogical device to reinforce analytic solution methodologies, also to verify analytic solutions. Experiment with new designs or policies before implementation. Determine machine requirements through simulating different capabilities. For training and learning. Show animation. Model complex system.
Prof. Luis E. Herrera 01.Simulation_concepts Slide 4
(Contd)
Problem can be solved by common sense. Problem can be solved analytically. If it is easier to perform direct experiments. If the costs exceed the savings. If the resources or time to perform simulation studies are not available. If no data, not even estimates, is available. If there is not enough time or personnel to verify/validate the model. If managers have unreasonable expectations: overestimate the power of simulation. If system behavior is too complex or cannot be defined.
Prof. Luis E. Herrera 01.Simulation_concepts Slide 6
Chapt. 1 -- Handout 1
Disadvantages:
(Contd)
Disadvantages (contd):
(Contd)
Model building requires special training. Simulation results can be difficult to interpret. Simulation modeling and analysis can be time consuming and expensive. Simulation is used in some cases when an analytical solution is possible (or even preferable).
Dont get exact answers, only approximations, estimates Also true of many other modern methods Can bound errors by machine roundoff Get random output (RIRO) from stochastic simulations Statistical design, analysis of simulation experiments Exploit: noise control, replicability, sequential sampling, variancereduction techniques Catch: standard statistical methods seldom work
01.Simulation_concepts
Slide 7
01.Simulation_concepts
Slide 8
Areas of application
The applications of simulation are vast.
Popularity of Simulation
Has been consistently ranked as the most useful, popular tool in broader area of operations research / management science
The Winter Simulation Conference (www.wintersim.org): an excellent way to learn more about the latest in simulation applications and theory. Manufacturing Logistics, supply chain, and distribution. Transportation modes and traffic. Healthcare. Construction engineering and project management. Military. Business process simulation.
Prof. Luis E. Herrera 01.Simulation_concepts Slide 9
01.Simulation_concepts
Slide 10
First in utility and interest simulation First in familiarity LP (simulation was second)
Tedious, low-level, error-prone But, almost complete flexibility Subroutines for list processing, bookkeeping, time advance Widely distributed, widely modified Usually static models (only very simple dynamic models) Financial scenarios, distribution sampling, SQC Examples in Kelton, Chapter 2 (one static, one dynamic) Add-ins are available (@RISK, Crystal Ball)
01.Simulation_concepts Slide 12
Since these surveys, hardware/software have improved, making simulation even more attractive
Spreadsheets
01.Simulation_concepts
Slide 11
Chapt. 1 -- Handout 2
Simulation languages
High-level simulators
GPSS, SLX, SIMAN (on which Arena is based, included in Arena) Popular, some still in use Learning curve for features, effective use, syntax
Very easy, graphical interface Domain-restricted (manufacturing, communications) Limited flexibility model validity?
Prof. Luis E. Herrera 01.Simulation_concepts Slide 13
01.Simulation_concepts
Slide 14
A system is a group of objects joined together in some regular interaction or interdependence to accomplish some purpose.
Model of a System
Studies of systems are often accomplished with a model of a system. A model: a representation of a system for the purpose of studying the system.
e.g., a production system: machines, component parts & workers operate jointly along an assembly line to produce vehicle. Affected by changes occurring outside the system.
System environment: outside the system, defining the boundary between system and it environment is important. Target systems in a simulation study: actual or planned
A simplification of the system. Study model instead of real system usually much easier, faster, cheaper, safer Should be sufficiently detailed to permit valid conclusions to be drawn about the real system. Model validity (any kind of model not just simulation)
Care in building to mimic reality faithfully Level of detail Get same conclusions from model as you would from system
01.Simulation_concepts Slide 16
Should contain only the components that are relevant to the study.
Types of models
Types of Models
Tabletop material-handling models Mock-ups of fast-food restaurants Flight simulators Approximations, assumptions about systems operation Often represented via computer program in appropriate software Exercise program to try things, get results, learn about model behavior Mathematical model: uses symbolic notation and mathematical equations to represent a system.
Chapt. 1 -- Handout 3
Logical Models
If model is simple enough, use traditional mathematical analysis get exact results, lots of insight into model
Simulation Models
Static vs. Dynamic
Does time have a role in model? Can state change continuously, or only at discrete points in time? Discrete example: the number of jobs in queue changes when a new job arrives or when service is completed for another Continuous example: the head of water behind a dam Is everything for sure or is there uncertainty? Dynamic, Discrete-change, Stochastic
01.Simulation_concepts Slide 20
But complex systems can seldom be validly represented by simple analytic model
Danger of over-simplifying assumptions model validity? Type III error working on the wrong problem
Often, complex system requires complex model, analytical methods dont apply what to do?
01.Simulation_concepts
Slide 19
System Banking
Entities Attributes Activities Events - Customers - Checking account balance - Making Deposits - Arrival - Policemen - Customer's VIP status - Withdrawal - Departure - Riders - Origination - Salesmen - Destination
Rapid Rail
Production
- Products - Arrival time - Sub-assys - Priority of service - Routing Communication - Messages - Length - Destination
State Variables - Number of busy tellers - Number of customers waiting - Traveling - Arrival at a station - Number of riders waiting at - Eating - Arrival at destination each station - Number of riders in transit - Welding station - Arrival of product - Status of machines: busy, - Machining - Machine breakdown idle, or down - Inspection - Shift change - Number of parts in system - Transmitting - Transmission - Status of machines: busy, - Verifying complete idle, or down - Machine breakdown - Number of messages - Shift change waiting for transmission
01.Simulation_concepts
Slide 22
01.Simulation_concepts
Slide 23
01.Simulation_concepts
Slide 24
Chapt. 1 -- Handout 4
01.Simulation_concepts
Slide 25
01.Simulation_concepts
Slide 26
01.Simulation_concepts
Slide 27
01.Simulation_concepts
Slide 28
01.Simulation_concepts
Slide 29
01.Simulation_concepts
Slide 30
Chapt. 1 -- Handout 5
01.Simulation_concepts
Slide 31
Chapt. 1 -- Handout 6