Simulation1
Simulation1
Simulation Is …
Simulation – very broad term – methods
and applications to imitate or mimic real
systems, usually via computer
2
Systems
System – facility or process, actual or
planned
Examples abound …
Manufacturing facility
Bank operation
Airport operations (passengers, security, planes, crews, baggage)
Transportation/logistics/distribution operation
Hospital facilities (emergency room, operating room, admissions)
Computer network
Freeway system
Business process (insurance office)
Criminal justice system
Chemical plant
Fast-food restaurant
Supermarket
Theme park
Emergency-response system
3
Work With the System?
Study the system – measure, improve, design, control
Maybe just play with the actual system
Advantage — unquestionably looking at the right thing
4
Models
Model – It is a set of assumptions/approximations
about how the system works
5
Models
6
Types of Modeling & Simulations
Physical Models
Mathematical Models
Process Models
9
Physical Models
Full size models
Scale models
performance characteristics.
system analysis.
14
Studying Logical Models
If model is simple enough, use traditional mathematical analysis
… get exact results, lots of insight into model
Queueing theory
Differential equations
Linear programming
Static vs dynamic
Numerical vs analytical
Tools:
Excel, Mathcad, S (R), MatLab (SciLab), Analytica, etc.
800
800
Mixed
Mixed
representing waste pit
depths.
600
600
400
400
200
200
0
0
0 100 200 300 400 500 600 700 800 900 1000
0 100 200 300 400 500 600 700 800 900 1000
Static Mathematical Models
Mathcad
Mathcad analytical
model for
calculating
glovebox leak
rates.
Analytical vs. Numerical Models
A simulation is:
The implementation of a model over time
production runs.
models of systems
are used to service active transactions that are created and moved
.
Systems
SystemsEngineering
EngineeringManagement
ManagementGuide,
Guide,1990,
1990,Defense
DefenseSystems
SystemsManagement
ManagementCollege
College
Computer Simulations
Systems
SystemsEngineering
EngineeringManagement
ManagementGuide,
Guide,1990,
1990,Defense
DefenseSystems
SystemsManagement
ManagementCollege
College
Discrete-Event Simulation
Common Tools:
ARENA
Witness
Extend
Flexsim
Simul8
System Dynamics
Systems thinking differs from system dynamics in that it rarely takes the
additional step of constructing and testing a computer simulation model.
System Dynamics Society
Continuous Simulation
Common Tools:
STELLA
Powersim
Vensim
GoldSim
System Dynamics
In Stocks
Stocksor
orLevels
Levels Out
In Out
Flows
Flows Flows
Flows
Converters
Converters
STELLA
Mono
Mono Lake
Lake Model
Model
precipitation
precipitationrate
rate fresh
freshwater
waterevaporation
evaporationrate
rate
surface
surfacearea
area
~~
precipitation
precipitation
evaporation
evaporationrate
rate
sierra
sierragauged
gaugedrunoff
runoff
water
waterininlake
lake evaporation
evaporation
flow
flowpast
past diversion
diversionpoints
points
export
export evaporation
evaporationrate
ratemultiplier
multiplierfrom
fromspecific
specific gravity
gravity
~~ ~~
elevation
elevation total
totaldissolved
dissolvedsolids
solids
specific
specific gravity
gravity
ungauged
ungaugedsierra
sierrarunoff
runoff
evapotranspiration
evapotranspiration mass
mass ofof fresh
freshwater
water
non
nonsierra
sierrarunoff exposed
runoff exposedlake
lakebottom
bottomevaporation
evaporation
net
net grant
grant lake
lakeevaporation
evaporation
land
landsurface
surfaceprecipitation
precipitation
ground
groundwater
waterexport
export
dirversion
dirversioninflows
inflows
other
otherinin other
otherout
out
Popularity of Simulation
Consistently ranked as the most useful, popular tool in the
broader area of operations research / management science
2. Simulation (84%)
Support packages
Subroutines for list processing, bookkeeping, time advance
Widely distributed, widely modified
Spreadsheets
Usually static models
Financial scenarios, distribution sampling, SQC
Examples in Chapter 2 (one static, one dynamic)
Using Computers to Simulate
(cont’d.)
Simulation languages
GPSS, SIMSCRIPT, SLAM, SIMAN (on which
Arena is based, and is included in Arena)
Popular, still in use
Learning curve for features, effective use,
syntax
High-level simulators
Very easy, graphical interface
Domain-restricted (manufacturing,
communications)
Limited flexibility — model validity?
When Simulations are Used
Uses of simulation have evolved with
hardware, software
The early years (1950s-1960s)
Very expensive, specialized tool to use
Required big computers, special training
Mostly in FORTRAN (or even Assembler)
Processing cost as high as $1000/hour for a
sub-286 level machine
When Simulations are Used
(cont’d.)
The formative years (1970s-early 1980s)
Computers got faster, cheaper
Value of simulation more widely recognized
Simulation software improved, but they were still
languages to be learned, typed, batch processed
Often used to clean up “disasters” in auto,
aerospace industries
Car plant; heavy demand for certain model
Line underperforming
Simulated, problem identified
But demand had dried up — simulation was too late
When Simulations are Used
(cont’d.)
The future
Exploiting interoperability of operating systems
Specialized “templates” for industries, firms
Automated statistical design, analysis
Networked sharing of data in real time
Integration with other applications
Distributed model building, execution