Verification and Validation of Simulation Models
Verification and Validation of Simulation Models
2
Modeling-Building, Verification & Validation
3
Verification
Purpose: ensure the conceptual model is reflected
accurately in the computerized representation.
Many common-sense suggestions, for example:
Have someone else check the model.
Make a flow diagram that includes each logically possible action
a system can take when an event occurs.
Closely examine the model output for reasonableness under a
variety of input parameter settings. (Often overlooked!)
Print the input parameters at the end of the simulation, make
sure they have not been changed inadvertently.
4
Examination of Model Output
for Reasonableness [Verification]
5
Other Important Tools [Verification]
Documentation
A means of clarifying the logic of a model and verifying
its completeness
Use of a trace
A detailed printout of the state of the simulation model
over time.
6
Calibration and Validation
Validation: the overall process of comparing the model and its
behavior to the real system.
Calibration: the iterative process of comparing the model to the real
system and making adjustments.
7
Calibration and Validation
No model is ever a perfect representation of the system
The modeler must weigh the possible, but not guaranteed,
increase in model accuracy versus the cost of increased validation
effort.
Three-step approach:
Build a model that has high face validity.
Validate model assumptions.
Compare the model input-output transformations with the real
system’s data.
8
High Face Validity [Calibration & Validation]
9
Validate Model Assumptions
[Calibration & Validation]
10
Validate Model Assumptions
[Calibration & Validation]
11
Validate Input-Output Transformation
[Calibration & Validation]
12
Bank Example [Validate I-O Transformation]
13
The Black Box
[Bank Example: Validate I-O Transformation]
14
Comparison with Real System Data
[Bank Example: Validate I-O Transformation]
15
Hypothesis Testing
[Bank Example: Validate I-O Transformation]
16
Hypothesis Testing
[Bank Example: Validate I-O Transformation]
Conduct the t test:
Chose level of significance (a = 0.5) and sample size (n = 6),
see result in Table 10.2.
Compute the same mean and sample standard deviation over
the n replications: n
1 n (Y 2i Y2 ) 2
Y2 Y2i 2.51 minutes
n i 1
S i 1
n 1
0.81 minutes
18
Type II Error [Validate I-O Transformation]
20
Confidence Interval Testing
[Validate I-O Transformation]
21
Confidence Interval Testing
[Validate I-O Transformation]
Falls outside the confidence interval, the best case |3.37 – 4.3| =
0.93 < 1, but the worst case |1.65 – 4.3| = 2.65 > 1, additional
replications are needed to reach a decision.
22
Using Historical Output Data
[Validate I-O Transformation]
23
Using a Turing Test
[Validate I-O Transformation]
24
Summary
Model validation is essential:
Model verification
Calibration and validation
Conceptual validation
Best to compare system data to model data, and make
comparison using a wide variety of techniques.
Some techniques that we covered (in increasing cost-to-
value ratios):
Insure high face validity by consulting knowledgeable persons.
Conduct simple statistical tests on assumed distributional forms.
Conduct a Turing test.
Compare model output to system output by statistical tests.
25