pypowsybl.network.Network.validate#

Network.validate()[source]#

Validate the network.

The validation will raise an exception if any check is not consistent with the configured minimum validation level.

Returns:

the computed ValidationLevel, which may be higher than the configured minimum level.

Raises:

pypowsybl.PyPowsyblError – if any validation check is not consistent with the configured minimum validation level.

Return type:

pypowsybl._pypowsybl.ValidationLevel