src.domains.Validation module
This module is responsible for the model validation process.
It includes one class for the model validation. See details in its own documentation.
Contact person: Stefan Riedmaier Creation date: 20.04.2020 Python version: 3.8
- class src.domains.Validation.Validation(config)
Bases:
objectThis class is responsible for the model validation process.
It includes a main method called “process”. See details in its own documentation.
- process()
This method runs through each step of the model validation process.
It contains the following steps: 1.1) Generation of validation scenarios for the system. 1.2) Execution of the generated scenarios. 1.3) Assessment of the system responses in the executed scenarios. 2.1) Generation of validation scenarios for the simulation model. 2.2) Execution of the generated scenarios. 2.3) Assessment of the model responses in the executed scenarios. 3) Calculation of a validation metric to compare the system and model responses. 4) Comparison of the validation results against model accuracy requirements (tolerances). 5) Learning of an error model to aggregate the validation results.
The interfaces are based on xarrays, recognizable by the “_da”-endings of the variables.
- Return ErrorModel self.error_model:
instance of the ErrorModel class with a trained error model