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

model (cosapp.systems.System) – The system to be validated

Returns

Warnings and errors dictionaries - key is the variable name and value the error reason.

Return type

Tuple[Dict[str, str], Dict[str, str]]