pyleecan.Methods.Machine.MachineWRSM.check module

check(self)[source]

Check that the Machine object is correct

Parameters:

self (MachineWRSM) – A MachineWRSM object

Return type:

None

Raises:
  • M4C_WrongRotor – The Rotor of a MachineWRSM must be a LamSlotWind

  • M4C_WrongStator – The Stator of a MachineWRSM must be a LamSlotWind

  • M4C_PError – The stator and the rotor winding must have the same value for p

exception M4C_WrongRotor[source]

Bases: MachineCheckError

Raises:

with – Winding

exception M4C_WrongStator[source]

Bases: MachineCheckError

Raises:

with – Winding

exception M4C_PError[source]

Bases: MachineCheckError

Raises:

different – p value