check (method)

check(self)[source]

Check that the Machine object is correct

Parameters:

self (MachineDFIM) – A MachineDFIM object

Returns:

Return type:

None

Raises:
  • M4C_WrongRotor – The Rotor of a MachineDFIM must be a LamSlotWind
  • M4C_WrongStator – The Stator of a MachineDFIM must be a LamSlotWind
  • M4C_PError – The stator and the rotor winding must have the same value for p
exception M4C_WrongRotor[source]

Bases: pyleecan.Methods.Machine.MachineCheckError

Raises:with – Winding
exception M4C_WrongStator[source]

Bases: pyleecan.Methods.Machine.MachineCheckError

Raises:with – Winding
exception M4C_PError[source]

Bases: pyleecan.Methods.Machine.MachineCheckError

Raises:different – p value