Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Secondary Validation module can be used to perform certain checks on time series data. Some checks can generate log messages, which can trigger actions in the master controller, like e.g. sending warning e-mails. Other checks may be used to set modify flags on per time step when a constraint in a specified expression fails.

Configuration

When available as configuration on the file system, the name of an An XML file for configuring an instance of the SecondaryValidation module called for example CheckImportedData may becould contain the following:

CheckImportedData 1.00 default.xml

CheckImportedData

File name for the CheckImportedData configuration.

1.00

Version number

default

Flag to indicate the version is the default configuration (otherwise omitted).

In a A SecondaryValidation configuration file is typically located in the moduleconfigfiles folder and can be used to specify one or more checks can be configured. The configured checks will be performed processed one by one in the specified order.

...

Checks for generating log events

...

Some checks are intended for generating log events when a specific constraint is violated. These checks will process . Each check will check the configured time series one by one on the configured properties. If a time series does not pass the check, then the configured log message is logged. See below for more details about each part of the configuration.

...

...

Checks for setting flags

...

The TimeSeriesComparisonCheck can verify constraints between multiple timeseries sets and automatically modify the flags per timestep when the specified constraint fails.

...

Variable Definitions

...

The configuration contains variable definitions of for one or more time series that can be used as input for checks. Each timeSeries variableDefinition contains a timeSeriesId variableId and a timeSeriesSet. The timeSeriesId variableId can be used to reference the time series in a check. Alternatively time series definitions , depending on which check it is, either variable definitions or variables can be embedded in the checks.

...