Professional Documents
Culture Documents
01 - M&S-Introduction To Modeling and Simulation
01 - M&S-Introduction To Modeling and Simulation
i/p Environment
A system is affected by changes
that occur outside its
boundaries. Such changes are
said to occur in the system
environment.
An instantaneous
occurrence that may
change the state of the Event Attribute Property of an entity
system
System
Arrival at Number of
Origin,
Railway Passengers Traveling station, arrival passengers waiting
destination
at destination at each station
Speed,
Status of machines
capacity, Welding,
Production Machines Breakdown (busy, idle,
breakdown stamping
shutdown)
rate
Number of packets
Length, Arrival at
Communications Messages Transmitting waiting to be
destination destination
transmitted
Deterministic Stochastic
Discrete Continuous
Static and Dynamic Models
Static Dynamic
• Documentation
Ph
ase • Implementation
IV
Simulation Modeling
Terminology
The context of an investigation is
represented through a system, that
System is, the set of elements that interact
with each other.
A system is described in each instant of time by
a set of variables. These are called state
variables.
For example, in the case of a weather system,
State the temperature is a state variable.
In discrete systems, the variables change
Variables instantly at precise moments of time that are
finite.
In continuous systems, the variables vary in
terms of continuity with respect to time.
An event is defined as any instantaneous event
that causes the value of at least one of the status
Events variables to change. The arrival of a blizzard for
a weather system is an event, as it causes the
temperature to drop suddenly.
Parameters represent essential terms when
building a model. They are adjusted during the
model simulation process to ensure that the
results are brought into the necessary
Parameters convergence margins.
They can be modified iteratively through
sensitivity analysis or in the model calibration
phase.
Calibration represents the process by which the
parameters of the model are adjusted to adapt the
results to the data observed in the best possible way.
When calibrating the model, we try to obtain the best
possible accuracy.
A good calibration requires eliminating, or
Calibration minimizing, errors in data collection and choosing a
theoretical model that is the best possible description
of reality.
The choice of model parameters is decisive and must
be done in such a way as to minimize the deviation of
its results when applied to historical data.
Calibration represents the process by which the
parameters of the model are adjusted to adapt the
results to the data observed in the best possible way.
When calibrating the model, we try to obtain the best
possible accuracy.
A good calibration requires eliminating, or
Calibration minimizing, errors in data collection and choosing a
theoretical model that is the best possible description
of reality.
The choice of model parameters is decisive and must
be done in such a way as to minimize the deviation of
its results when applied to historical data.
Accuracy is the degree of correspondence of the
simulation result that can be inferred from a
series of calculated values with the actual data,
that is, the difference between the average
modeled value and the true or reference value.
Accuracy Several indicators are available to measure
accuracy. The most widely used ones are Mean
Absolute Error (MAE),
Mean Absolute Percentage Error (MAPE), and
Mean Square Error (MSE).
The sensitivity of a model indicates the degree to
which the model’s outputs are affected by changes in
the selected input parameters.
Sensitivity analysis identifies the sensitive parameters
for the output of the model. It allows us to determine
Sensitivity which parameters require further investigation so
that we have a more realistic evaluation of the
model’s output values. Furthermore, it allows us to
identify which parameters are not significant for the
generation of a certain output and, therefore, can
possibly be eliminated from the model.
This is the process that verifies the accuracy of
the proposed model.
The model must be validated to be used as a tool
Validation to support decisions. It aims to verify whether
the model that’s being analyzed corresponds
conceptually to our intentions.
System
Key System Components
Takeawa
Ways to study a System
y
Simulation and
Modeling