Stochastic Simulation The modelling process
Bo Friis Nielsen
Institute of Mathematical Modelling Technical University of Denmark 2800 Kgs. Lyngby – Denmark Email: bfni@dtu.dk
Stochastic Simulation The modelling process Bo Friis Nielsen - - PowerPoint PPT Presentation
Stochastic Simulation The modelling process Bo Friis Nielsen Institute of Mathematical Modelling Technical University of Denmark 2800 Kgs. Lyngby Denmark Email: bfni@dtu.dk Explanation: What is the problem with the Explanation: What is
Institute of Mathematical Modelling Technical University of Denmark 2800 Kgs. Lyngby – Denmark Email: bfni@dtu.dk
02443 – lecture 11 2
DTU
Gj(x) = x
0 tjf(t)dt
∞
0 tjf(t)dt =
x
0 tjf(t)dt
E (Xj) The contribution to the j’th moment from values ≤ x. x t1f(t)dt = x
β
tk β t β −k−1 dt = x
β
k t β −k dt = β k k − 1 x
β
k − 1 β t β −k dt = βk k − 1
x β −k+1
02443 – lecture 11 3
DTU
0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 5 10 15 20 25 30 Pareto distribution 1 - exp(-k*log(t)) 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 5 10 15 20 25 30 Pareto distribution 1 - exp(-k*log(t)) 1 - exp(-(k-1)*log(t)) 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 5 10 15 20 25 30 Pareto distribution 1 - exp(-k*log(t)) 1 - exp(-(k-1)*log(t)) 1 - exp(-(k-2)*log(t))
(blue)
02443 – lecture 11 4
DTU
F(t) = 1 − t−k f(t) = kt−k−1 G1(t) = 1 − t−k+1 G2(t) = 1 − t−k+2 For k = 2.05 t F(t) G1(t) G2(t) 2 0.7585 0.5170 0.0341 10 0.9911 0.9109 0.1190 100 0.9999 0.9921 0.2057 844.5 1 − 10−6 0.9992 0.2860
decent estimate of the variance!
02443 – lecture 11 5
DTU
02443 – lecture 11 6
DTU
02443 – lecture 11 7
DTU
02443 – lecture 11 8
DTU
inventory wants an adequate inventory control system
02443 – lecture 11 9
DTU
the goal. Provide data on these parts.
Insignificant: unemployment, weather.
02443 – lecture 11 10
DTU
determine distributions.
the demand function.
02443 – lecture 11 11
DTU
constants/parameters.
02443 – lecture 11 12
DTU
control of parameters
02443 – lecture 11 13
DTU
and physical relations. Prepare the program for debugging. Make a modular program which is easy to extend.
define integer or continuous depending on the context.
02443 – lecture 11 14
DTU
Compare with real world data if possible (existing system).
relations.
02443 – lecture 11 15
DTU
varying demand.
02443 – lecture 11 16
DTU
reduction techniques. Time series analysis.
02443 – lecture 11 17
DTU
model (as opposed to the computer program) is an accurate representation for the particular objectives in study.
conceptual simulation model (model assumptions) has been correctly translated into a computer “program”.
manager and other key project personnel accept them as “correct”.
02443 – lecture 11 18
DTU
used to make decisions about the system similar to those that would be made if it were feasible and cost-effective to experiment with the system itself.
02443 – lecture 11 19
DTU
assumptions.
02443 – lecture 11 20
DTU
02443 – lecture 11 21
DTU
⋄ Variance reduction methods ⋄ Random number generation ⋄ Random variable generation ⋄ The event-by-event principle
⋄ Markov chain Monte Carlo simulated annealing ⋄ Bootstrap
02443 – lecture 11 22
DTU
performance, under varying designs.
analyze
Mersenne Twister.
(discrete event)
interrupted Poisson processes (discrete event)
event, can be developed to something more advanced)
02443 – lecture 11 24
DTU
02443 – lecture 11 25
DTU
though is to have some time to experiment with your model.
02443 – lecture 11 26
DTU
Campusnet.
project as (part of) the group name
02443 – lecture 11 27
DTU
availability will be communicated through Campusnet and/or the web page.
tuesday (tomorrow)
02443 – lecture 11 28
DTU