Simulation and Modeling · Unit 6 · 4 hrs
Verification and Validation
Exam-focused notes for Verification and Validation (Simulation and Modeling, CSC328): what the TU syllabus asks and how it has actually been tested, with 7 solved past questions from this unit.
Verification and Validation in short
A simulation is only useful if it is both built correctly and built to represent the right thing. This chapter separates those two concerns, verification and validation, and lays out the standard process for establishing each.
What this unit covers
- Design of Simulation Models
- Verification of Simulation Models
- Calibration and Validation of the models
- Three-Step Approach for Validation of Simulation Models
- Accreditation of Models
Calibration and Validation of the models
2082 · 5 marks
Explain the iterative process of calibrating a model. [5]
Show solved answerHide answer
Iterative Process of Calibrating a Model
Definition
Calibration is the iterative process of comparing the model to the real system, making adjustments to the model, comparing again, and so on, until the model adequately represents the real system. The comparison of the model to reality is carried out by a variety of tests.
Steps in the Iterative Calibration Process
The calibration process follows a cycle of repeated steps as described below:
Step 1: Build the Initial Model
Construct an initial version of the simulation or mathematical model based on available data, assumptions, and understanding of the real system.
Step 2: Run the Model
Execute the model to generate outputs under defined conditions or inputs.
Step 3: Compare Model Output to Real System
Compare the model's output against observed real-world data or behavior. This comparison is carried out using a variety of tests, such as:
- Statistical tests (mean, variance comparison)
- Graphical comparisons (trend matching)
- Sensitivity analysis
Step 4: Identify Discrepancies
Identify where and how the model output deviates from the real system behavior. These discrepancies indicate areas where the model needs adjustment.
Step 5: Adjust the Model
Modify model parameters, assumptions, or structure to reduce the identified discrepancies. Adjustments may include:
- Changing input distributions
- Modifying rate parameters
- Revising model logic or equations
Step 6: Repeat (Iterate)
Return to Step 2 and repeat the process. The cycle continues until the model output closely matches the real system behavior within an acceptable tolerance.
Diagram of the Iterative Calibration Process
+------------------+
| Build/Adjust |
| Model |
+--------+---------+
|
v
+--------+---------+
| Run the Model |
+--------+---------+
|
v
+--------+---------+
| Compare Model to |
| Real System |
+--------+---------+
|
+---------+
| Match? |
+---------+
/ \
YES NO
| |
v v
Accept Adjust Model
Model (Go back to top)
Key Points
| Aspect | Description |
|---|---|
| Nature | Iterative (repeated cycles) |
| Goal | Model output matches real system behavior |
| Tool | Variety of comparison tests |
| Outcome | A validated, calibrated model ready for use |
Conclusion
Calibration ensures that the simulation model is a reliable representation of the real system. Since no model is perfect on the first attempt, the iterative nature of calibration is essential to progressively improve model accuracy before it is used for decision-making or analysis.
2081 · 5 marks
Explain iterative process of calibrating a simulation model. [5]
2076 · 5 marks
Differentiate between validation and calibration. How can we perform validation of a model? [5]
Verification of Simulation Models
2081 · 5 marks
Describe the process of model building, verification and validation in detail with example. [5]
2080 · 5 marks
Define verification and validation. Explain the process of model verification in brief. [5]
Show solved answerHide answer
Verification and Validation: Definition and Model Verification Process
Definitions
Verification
Verification is the process of checking whether the computerized/programmed representation of the conceptual model works properly and correctly. In other words, it ensures that the simulation program is a correct implementation of the conceptual model.
"Verify the model by checking if the program works properly."
Validation
Validation is the process of checking whether the simulation model accurately represents the real system it is intended to model. It ensures that the right model has been built.
"Check if the system accurately represents the real system."
Key Difference:
| Aspect | Verification | Validation |
|---|---|---|
| Question asked | "Are we building the model right?" | "Are we building the right model?" |
| Focus | Program correctness | Real-world accuracy |
Process of Model Verification
The purpose of model verification is to satisfy that the conceptual model is reflected accurately in the computerized representation. The following common-sense steps are used in the verification process:
1. Independent Code Review
- Have the computerized representation checked by someone other than its developer.
- A fresh reviewer can catch logical errors or coding mistakes that the original developer may overlook.
2. Construct a Detailed Flow Diagram
- Make a flow diagram which includes each logically possible action a system can take when an event occurs.
- This ensures all branches, conditions, and event sequences are correctly programmed and no case is missed.
3. Examine Output for Reasonableness
- Closely examine the model output for reasonableness under a variety of settings of input parameters.
- For example, if arrival rate is increased, the queue length should also increase. If the output does not behave as expected, there is likely a programming error.
4. Self-Documenting Code
- Make the computerized representation as self-documenting as possible (use comments, meaningful variable names, etc.).
- This makes it easier to trace logic and identify errors during verification.
5. Animation Verification
- If the computerized representation is animated, verify that what is seen in the animation imitates the actual system.
- Visual inspection through animation helps detect errors in model logic that may not be obvious from numerical output alone.
Summary
Verification is essentially a debugging and correctness-checking phase in the simulation study (Step 6 of the 12-step simulation process). It must be completed successfully before proceeding to validation, because validating an incorrectly programmed model would produce meaningless results.
2079 · 5 marks
"Building a model right" and "Building a right model". Are both statements same? Discuss the importance of V&V. [5]
2078 · 5 marks
Define the terms verification, calibration, validation and accreditation of models. [5]
Make Unit 6 stick
Practice CSC328 with flashcards & quizzes