-
Notifications
You must be signed in to change notification settings - Fork 9
Validation Suite Design
A model represents, abstractly, a particular physical system that is going to be the basis of a simulation run. It may define a set of global parameters that can be customized.
An example would be a model representing a single compartment RC-circuit for stability testing, with parameters describing the minimum and maximum δt to test.
A script that implements a given model for a specific simulator, takes model parameters as arguments, and emits numerical simulation results in an accepted data representation format.
A script that creates the reference test data for analysis, if any is required. It takes model parameters as arguments. It might possibly also examine the simulator output in order to determine sample points or times or similar. Some reference data may be pre-generated, making the script implementation trivial.
A model-specific or generic analysis script that compares simulator output with reference data and produces summary data.
A pass/fail criterion applied to the generated summary data.
- For each simulator do:
- For each model configuration (model + pre-defined model parameter set) with an implementation for this simulator do:
- Run implementation with model parameters.
- Generate analysis data for model and model parameters (this can be cached).
- Run analysis script.
- Run validation test on analysis summary data.
- For each model configuration (model + pre-defined model parameter set) with an implementation for this simulator do: