gym_anm.simulator.components.errors

Exceptions

BaseMVAError()

Raised when the baseMVA for the network is <= 0.

BranchSpecError([message])

Raised when the specs for a branch are not correctly specified.

BusSpecError([message])

Raised when the specs for a bus are not correctly specified.

DeviceSpecError([message])

Raised when the specs for a device are not correctly specified.

GenSpecError([message])

Raised when the specs for a generator are not correctly specified.

InputNetworkFileError([message])

Base class for exceptions relative to the network input dictionary.

LoadSpecError([message])

Raised when the specs for a load are not correctly specified.

PFEError

Raised when no solution to the network equations is found.

StorageSpecError([message])

Raised when the specs for a storage unit are not correctly specified.

UnitConversionError(old, new)

Raised when a convertion between different units failed.