Professional Documents
Culture Documents
Model Building
Outline
• Definitions and types
• Models
• The role of random numbers
• What is feasible
• Stages in modeling
• The KISS Principle
• The customer is always right
Introduction to Simulation and Model Building, 3
Simulation - Definition
Simulation Is ...
• Simulation – very broad term – methods and
applications to imitate or mimic real systems,
usually via computer
• Involves a model—validity?
• Don’t even aspire to analytic solution
– Don’t get exact results (bad)
– Allows for complex, realistic models (good)
• Approximate answer to exact problem is better
than exact answer to approximate problem
Introduction to Simulation and Model Building, 5
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
Introduction to Simulation and Model Building, 6
Models
• Model – set of assumptions/approximations
about how the system works
– Study the model instead of the real system … usually much
easier, faster, cheaper, safer
– Can try wide-ranging ideas with the model
• Make your mistakes on the computer where they don’t count, rather
than for real where they do count
– Often, just building the model is instructive – regardless of
results
– Model validity (any kind of model … not just simulation)
• Care in building to mimic reality faithfully
• Level of detail
• Get same conclusions from the model as you would from system
Introduction to Simulation and Model Building, 7
Types of Models
• Physical (iconic) models
– Tabletop material-handling models
– Flight simulators
• Logical (mathematical) models
– Approximations and assumptions about a system’s
operation
– Often represented via computer program in appropriate
software
– Exercise the program to try things, get results, learn about
model behavior
Introduction to Simulation and Model Building, 8
Computer Simulation
• Broadly interpreted, computer simulation refers
to methods for studying a wide variety of models
of systems
– Numerically evaluate on a computer
– Use software to imitate the system’s operations and
characteristics, often over time
• Can be used to study simple models but should
not use it if an analytical solution is available
• Real power of simulation is in studying complex
models
• Simulation can tolerate complex models since we
don’t even aspire to an analytical solution
Introduction to Simulation and Model Building, 10
Advantages of Simulation
• Flexibility to model things as they are (even if
messy and complicated)
• Allows uncertainty, non-stationarity in modeling
– The only thing that’s for sure: nothing is for sure
– Danger of ignoring system variability
– Model validity
• Advances in computing/cost ratios
• Advances in simulation software
– Far easier to use (GUIs)
– Statistical design & analysis capabilities
Introduction to Simulation and Model Building, 11
Types of Simulation
• Discrete
• Continuous
• Real-time
• Object oriented
• Distributed
• Intelligent
Introduction to Simulation and Model Building, 15
Simulation Involves
• Building computer-based models.
• Using the models to carry out
experiments.
• Drawing inferences about changes in
existing systems without actually
disturbing them.
• Drawing inferences about new systems
without actually building them.
Introduction to Simulation and Model Building, 16
system
purpose
boundaries
level of detail
design
performance
measures
model alternatives
Assessment
implementation
Inferences about system
w/o building
w/o disturbing
w/o destroying
Introduction to Simulation and Model Building, 17
An example
Type Code Prob. Cum.Prob. r.n.
Routine 1 0.20 0.20 01-20
Severe 2 0.30 0.50 21-50
Life-threat 3 0.35 0.85 51-85
DOA 4 0.15 1.00 86-00
First few numbers give:
05 Type: 1 routine case
69 3 life-threatening case
56 3 life-threatening case
30 2 severe case
Introduction to Simulation and Model Building, 19
Typical Purposes
• Will the system work as intended?
(Evaluation and prediction)
• Why doesn't it work? (Bottleneck
determination and optimization)
• Which is the best alternative? (Comparison
and sensitivity analysis)
• Objectives: must define the kind of
decisions that must be made in order to
answer questions.
Introduction to Simulation and Model Building, 23
Stages of Modeling
• Identify problem
– State objectives JJJJ
– Control variables
– Measures of effectiveness
– Constraints
• Formulate model
– Collect/prepare data
– Verify/validate model
• Experiment and interpret results
– Conclude and implement
Introduction to Simulation and Model Building, 26