pyleecan.Methods.Machine.MachineLSPM.check module

check(self)[source]

Check that the Machine object is correct

Parameters:

self (MachineLSPM) – 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