Data Validator

Warning

Issue 79

For performance reasons, the input/update data is not automatically validated. The main validation functions and classes can be included from power_grid_model.validation.

Two helper type definitions are used throughout the validation functions, InputData and UpdateData. They are not special types or classes, but merely type hinting aliases:

InputData = Dict[str, np.ndarray]
UpdateData = Dict[str, Union[np.ndarray, Dict[str, np.ndarray]]]

See also

Check for an example of function applications.

Validation Errors

Validation functions