Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Modeling
Fuead Ali
Part I Lecture Notes.
Introduction
-
Critical questions!
What is modeling?
What is simulation?
What is simulation modeling and analysis?
What types of problems are suitable for simulation?
How to select simulation software?
What are the benefits and pitfalls in modeling and simulation?
Who are involved?
- includes anyone who involved in system design and
modification
- system analysts, management personnel, engineers,
military planner economists, banking analysts, and
computer scientists.
Modeling
A process of producing a model;
A model is a representation of the construction
and working of some system of interest.
Similar to but somewhat simpler than the system.
Enable analyst to make prediction on any changes
Modeling contd
Model development:
From computer program;
Examples: Omnet++ Simulator
Modeling contd
Classifications of the model parameters:
Deterministic :- input and output variables are fixed
values
Stochastic :- at least one of the input or output
variables is probabilistic
Static :- time is not taken into account
Dynamic :- time-varying interactions among variables
are taken into account.
Simulation
A tool to evaluate the performance of a
system, under different configurations over a
long period of real time
The operation of a model of the system
Reconfigurable for different experiments
Behavior of the actual system/subsystem can be
inferred based upon studies on the simulation
results.
Simulation contd
Why simulate?
What is the best design for new telecommunication
network?
Simulation contd
Discrete model vs Continuous model
Discrete Model:
System changes instantaneously in response to certain
discrete event
Continuous Model:
System attempts to quantify the changes over time in
response to certain controls
Simulation contd
Discrete model - example
Queue System a single
server queuing process in
which time between arrivals
and service are exponential
Simulation Study
Iterative in nature
Human decision-making
Model development
Experiment design
Output analysis
Conclusion formulation
Alteration of system under
study
Example
Simulation Experiment
A test or a series of tests in which meaningful
changes are made to the input variables of a
simulation model so that we may observe and
identify the reasons for changes in the
performance measures
Reflects the questions asked about the model;
examples:
Difference of mean delay between network A and B?
Network with the least delay?
Simulation Analysis
Statistical analysis
Mean, std dev, min val, mean val, max val
Eg, wait time of an M/M/1 queue
Let the mean wait time in an M/M/1 queue observed
from n runs be W1, W2, W3, , Wn
It is important to understand the mean wait time W is a
random variable
The objective of the output analysis is to estimate the
true mean of W and to quantify its variability.
An Example
A machine shop contains two drills, one straightener,
and one finishing operator.
2 types of parts enters the shop
Type 1 parts require drilling,
straightening, and finishing in
sequence.
Type 2 parts require only drilling
and finishing.
Deterministic frequency of
arrival and time to route the
parts.
Documentation
The models of the original system and the
modification were documented as thoroughly as
possible, so that it will be easily referred to in the
future.
The utilization statistics of the three operations for the original system
and the modification.
Mean utilization represents the fraction of time a server is busy, i.e.,
busy time/total time
Ave utilization output for drilling must be divided by the number of
drills in order to get the utilization per drill
Findings:
Each drill is busy about 40% of the time
Straightening and finishing operations are busy about half the time
Thus, the load is under-utilized
The standard deviation of the drilling operations seems to have increased
because of the increased randomness in the modification.
The statistical significance of these observations can be determined by
computing confidence intervals of the mean utilisation of the original and
modified systems.
Unclear objective
Invalid model
Model is too complex or too simple
Erroneous assumptions
Undocumented assumptions
Using the wrong input probability distributions
Using the wrong performance measure
Bugs in the simulation program
Initial bias in output data
Etc.
The End.