2080 8

CSC328 ยท 2080 ยท 5 marks

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

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

Simulation and ModelingChapter 6: Verification and ValidationVerification of Simulation Models

Quick answer

The purpose of model verification is to satisfy that the conceptual model is reflected accurately in the computerized representation.

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.

Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.