pyleecan.Methods.Machine.MachineSyRM.check module

check(self)[source]

Check that the Machine object is correct

Parameters:

self (MachineSyRM) – The machine object to check

Return type:

None

Raises:
  • M3C_WrongRotor – The Rotor of a Machine_Type_3 must be a LamHole

  • M3C_WrongStator – The Stator of a Machine_Type_3 must be a LamSlotWind

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

exception MSy_WrongRotor[source]

Bases: MachineCheckError

Raises:

with – Magnet

exception MSy_WrongStator[source]

Bases: MachineCheckError

Raises:

with – Winding

exception MSy_PError[source]

Bases: MachineCheckError

Raises:

values