check (method)

@date Created on Thu Nov 29 18:01:54 2016 @copyright (C) 2015-2016 EOMYS ENGINEERING. @author pierre_b @todo unittest it

check(self)[source]

Check that the Machine object is correct

Parameters:

self (MachineSyRM) – The machine object to check

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

Bases: pyleecan.Methods.Machine.MachineCheckError

Raises:with – Magnet
exception MSy_WrongStator[source]

Bases: pyleecan.Methods.Machine.MachineCheckError

Raises:with – Winding
exception MSy_PError[source]

Bases: pyleecan.Methods.Machine.MachineCheckError

Raises:values