Simulation and Modelling
Simulation and Modelling
Page 1 of 17
Simulation and Modeling
Like any other analysis activities, simulation involves systems and models. A
model is a simplified representation of a system. It can be conceptual,
verbal, diagrammatic, physical, or formal (mathematical).
Models are representation of a real or theoretical system at a particular time
or place intended to provide understanding of the system; whereas,
simulation refers to running/manipulating those models so as to
learn/study the behavior of the system through time and space.
Following are some approaches to study systems:
Page 2 of 17
Simulation and Modeling
Page 3 of 17
Simulation and Modeling
Page 4 of 17
Simulation and Modeling
Page 5 of 17
Simulation and Modeling
Page 6 of 17
Simulation and Modeling
Page 7 of 17
Simulation and Modeling
loop loop
Collect statistics and record remove entry for next event from event list
measurements.
time := NextEventTime
Call event routines for each type of event
Collect statistics and record measurements.
that has occurred by this time.
Call event routine for next event
time += timeIncrement
(end of simulation event sets TimeToStop).
end loop
Insert next occurrence of this event type in
event list.
Page 8 of 17
Simulation and Modeling
end loop
Page 9 of 17
Simulation and Modeling
Solution: This one is quite easy, because the observed data show that
nothing changed over time.
So, the mathematical model can be put as follows:
f(time) = C
Page 10 of 17
Simulation and Modeling
Page 11 of 17
Simulation and Modeling
Page 12 of 17
Simulation and Modeling
Page 13 of 17
Simulation and Modeling
Page 14 of 17
Simulation and Modeling
Page 15 of 17
Simulation and Modeling
Page 16 of 17
Simulation and Modeling
3.1. Validation:
Validation process checks if the model that we get after making the different
assumptions really represents the real system. Sometimes over assumptions
might result a model far from the real system. So, we should make
assumptions reasonably.
In validation process, we are going to check three core things:
Assumptions
Input parameters and their distributions
Output values and conclusions
3.3. Verification
Verification is a process that confirms how correctly the assumptions are
implemented in the system. Verification can be made in different techniques
like structured walk-through and tracing.
The things that you are going to test include:
Continuity: that is whether a slight change in the input will make a
slight change in the output. If it doesn’t, there indicates an error in the
model.
Degeneracy tests: try to give extreme input values, such as the
minimum and the maximum possible input combinations.
Consistency tests: This is a test that checks if similar outputs will
result for repeated similar inputs.
Page 17 of 17