check (method)

check(self)[source]

Check that the Machine object is correct

Parameters

self (MachineIPMSM) – A MachineIPMSM object

Returns

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 M3C_WrongRotor[source]

Bases: pyleecan.Methods.Machine.MachineCheckError

Raises

with – Magnet

exception M3C_WrongStator[source]

Bases: pyleecan.Methods.Machine.MachineCheckError

Raises

with – Winding

exception M3C_PError[source]

Bases: pyleecan.Methods.Machine.MachineCheckError

Raises

values