check (method)

@package Methods.Machine.Machine_Type_3.check Check that the machine is correct @date Created on Mon Jan 18 09:41: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 (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