check (method)¶

check(self)[source]

Check that the Machine object is correct

Parameters: self (MachineSIPMSM) – A MachineSIPMSM object None 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]
Raises: Magnet
exception M2C_WrongStator[source]
Raises: with – Winding
exception M2C_PError[source]
Raises: values
exception M2C_MagnetTooLarge[source]