check (method)¶
-
check
(self)[source]¶ Check that the Machine object is correct
- Parameters
self (MachineSIPMSM) – A MachineSIPMSM object
- Returns
- 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:
pyleecan.Methods.Machine.MachineCheckError
- Raises
Magnet –
-
exception
M2C_WrongStator
[source]¶ Bases:
pyleecan.Methods.Machine.MachineCheckError
- Raises
with – Winding
-
exception
M2C_PError
[source]¶ Bases:
pyleecan.Methods.Machine.MachineCheckError
- Raises
values –