Chapter1_copy
Chapter1_copy
Simulation
2
Definition
A simulation is the imitation of the operation of real-world
process or system over time.
Generation of artificial history and observation of that
observation history
A model construct a conceptual framework that
describes a system
The behavior of a system that evolves over time is
studied by developing a simulation model.
The model takes a set of expressed assumptions:
Mathematical, logical
Symbolic relationship between the entities
3
Goal of modeling and simulation
A model can be used to investigate a wide verity of “what
if” questions about real-world system.
Potential changes to the system can be simulated and predicate
their impact on the system.
Find adequate parameters before implementation
So simulation can be used as
Analysis tool for predicating the effect of changes
Design tool to predicate the performance of new system
It is better to do simulation before Implementation.
4
How a model can be developed?
Mathematical Methods
Probability theory, algebraic method ,…
Their results are accurate
They have a few Number of parameters
It is impossible for complex systems
Numerical computer-based simulation
It is simple
It is useful for complex system
5
When Simulation Is the Appropriate Tool
7
Advantages and disadvantages of simulation
8
Advantages of simulation
New policies, operating procedures, information flows and son on
can be explored without disrupting ongoing operation of the real
system.
New hardware designs, physical layouts, transportation systems
and … can be tested without committing resources for their
acquisition.
Time can be compressed or expanded to allow for a speed-up or
slow-down of the phenomenon( clock is self-control).
Insight can be obtained about interaction of variables and important
variables to the performance.
Bottleneck analysis can be performed to discover where work in
process, the system is delayed.
A simulation study can help in understanding how the system
operates.
“What if” questions can be answered.
9
Disadvantages of simulation
10
Areas of application
Manufacturing Applications
Semiconductor Manufacturing
Construction Engineering and project management
Military application
Logistics, Supply chain and distribution application
Transportation modes and Traffic
Business Process Simulation
Health Care
Automated Material Handling System (AMHS)
Test beds for functional testing of control-system software
Risk analysis
Insurance, portfolio,...
Computer Simulation
CPU, Memory,…
Network simulation
Internet backbone, LAN (Switch/Router), Wireless, PSTN (call center),...
11
Systems and System Environment
12
Components of system
Entity
An object of interest in the system : Machines in factory
Attribute
The property of an entity : speed, capacity
Activity
A time period of specified length :welding, stamping
State
A collection of variables that describe the system in any time : status of machine
(busy, idle, down,…)
Event
A instantaneous occurrence that might change the state of the system:
breakdown
Endogenous
Activities and events occurring with the system
Exogenous
Activities and events occurring with the environment
13
Discrete and Continues Systems
A discrete system is one in which the state variables
change only at a discrete set of points in time : Bank
example
14
Discrete and Continues Systems (cont.)
A continues system is one in which the state variables
change continuously over time: Head of water behind the
dam
15
Model of a System
16
Types of Models
17
Characterizing a Simulation Model
Deterministic or Stochastic
Does the model contain stochastic components?
Randomness is easy to add to a DES
Static or Dynamic
Is time a significant variable?
Continuous or Discrete
Does the system state evolve continuously or only at
discrete points in time?
Continuous: classical mechanics
Discrete: queuing, inventory, machine shop models
18
Discrete-Event Simulation Model
19
Model Taxonomy
20
DES Model Development
21
Three Model Levels
Conceptual
Very high level
How comprehensive should the model be?
What are the state variables, which are dynamic, and which are
important?
Specification
On paper
May involve equations, pseudocode, etc.
How will the model receive input?
Computational
A computer program
General-purpose PL or simulation language?
22
Verification vs. Validation
Verification
Computational model should be consistent with
specification model
Did we build the model right?
Validation
Computational model should be consistent with the
system being analyzed
Did we build the right model?
Can an expert distinguish simulation output from
system output?
Interactive graphics can prove valuable
23
Steps in Simulation
Study
24