6 Verification And Validation

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.

Verification and Validation: notes

Design of Simulation Models

Building a simulation model proceeds in three stages. First, the analyst observes the real system and the interactions among its components, collecting data on its behaviour; operators, technicians, and engineers often understand aspects of the system that are not obvious from the outside, so their input matters at this stage. Second, the analyst builds a conceptual model: a collection of assumptions about the system's components and structure, together with hypotheses about the values of its input parameters. Third, the conceptual model is translated into an operational model, a computer-recognizable representation that can actually be run. These three stages connect the real system to the computerized model through two distinct checks: conceptual validation, comparing the conceptual model against the real system, and model verification, comparing the operational model against the conceptual model; both feed into an ongoing cycle of calibration and validation that compares the running model's behaviour back against the real system.

Verification of Simulation Models

Verification is concerned with building the model right: it compares the conceptual model to its computer implementation and asks whether the model has been implemented correctly, and whether its input parameters and logical structure are represented as intended. Several practical steps support verification. Have the computerized model checked by someone other than its developer, since a second reader catches assumptions the original author no longer notices. Draw a flow diagram covering every logically possible action the system can take when an event occurs, so that no branch of the model's logic is left unexamined. Examine the model's output for reasonableness across a variety of input settings, not just the one case it was written against. Make the computerized model as self-documenting as possible, so its logic can be followed later without the original author's help. If the model produces an animation, confirm that the animation's behaviour actually imitates the real system it claims to represent.

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 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

AspectDescription
NatureIterative (repeated cycles)
GoalModel output matches real system behavior
ToolVariety of comparison tests
OutcomeA 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.

Open this answer on its own page →

2081 · 5 marks

Explain iterative process of calibrating a simulation model. [5]

Calibration of a simulation model is the iterative process of comparing the model's output with the real system's behavior and adjusting model parameters until the model accurately represents the real system. It is closely related to validation and is a key part of the verification and validation...

Open this answer on its own page →

2076 · 5 marks

Differentiate between validation and calibration. How can we perform validation of a model? [5]

--- Aspect Validation Calibration --------- Definition The process of determining that a model is an accurate representation of the real system The iterative process of comparing the model output with real system behavior and adjusting model parameters to improve accuracy Purpose Ensures we are b...

Open this answer on its own page →

Verification of Simulation Models

2081 · 5 marks

Describe the process of model building, verification and validation in detail with example. [5]

Model building is the process of constructing a conceptual and computational representation of a real-world system. The key steps involved are: Step Description ------------------- Problem Formulation Clearly state the problem to be studied Setting Objectives Define how to approach the problem an...

Open this answer on its own page →

2080 · 5 marks

Define verification and validation. Explain the process of model verification in brief. [5]

Show solved 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:

AspectVerificationValidation
Question asked"Are we building the model right?""Are we building the right model?"
FocusProgram correctnessReal-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.

Open this answer on its own page →

2079 · 5 marks

"Building a model right" and "Building a right model". Are both statements same? Discuss the importance of V&V. [5]

No, both statements are NOT the same. They refer to two distinct but equally important concepts in simulation: Verification and Validation (V&V). --- Verification is concerned with building the model right. It is utilized in comparison of the conceptual model to the computer representation that i...

Open this answer on its own page →

2078 · 5 marks

Define the terms verification, calibration, validation and accreditation of models. [5]

Verification is the process of ensuring that the conceptual model is accurately reflected in the computerized (programmed) representation. In other words, it checks whether the simulation program works properly -- "Are we building the model right?" Key practices in verification include: - Having ...

Open this answer on its own page →