pyleecan.Methods.Machine.MachineSIPMSM.check module¶
- check(self)[source]¶
Check that the Machine object is correct
- Parameters:
self (MachineSIPMSM) – A MachineSIPMSM object
- Return type:
None
- Raises:
M2C_WrongRotor – The Rotor of a Machine_Type_2 must be a LamSlotMag
M2C_WrongStator – The Stator of a Machine_Type_2 must be a LamSlotWind
M2C_PError – The stator and the rotor must have the same value for p
M2C_MagnetTooLarge – The airgap is too small for the magnet
- exception M2C_WrongRotor[source]¶
Bases:
MachineCheckError
- Raises:
Magnet –
- exception M2C_WrongStator[source]¶
Bases:
MachineCheckError
- Raises:
with – Winding
- exception M2C_PError[source]¶
Bases:
MachineCheckError
- Raises:
values –
- exception M2C_MagnetTooLarge[source]¶
Bases:
MachineCheckError