cosapp.utils.validate

Functions

validate(model)

Check the validity of the provided System.

cosapp.utils.validate.validate(model: System) Tuple[Dict[str, str], Dict[str, str]][source]

Check the validity of the provided System.

Parameters:

[cosapp.base.System] (- model) – The system to be validated

Returns:

Warning and error dictionaries; key is the variable name and value the error reason.

Return type:

tuple[dict[str, str], dict[str, str]]