check (method)

@package Methods.Machine.MachineWRSM.check Check that the machine is correct @date Created on Mon Aug 22 10:33:04 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 (MachineWRSM) – A MachineWRSM object

Returns:

Return type:

None

Raises:
  • M4C_WrongRotor – The Rotor of a MachineWRSM must be a LamSlotWind
  • M4C_WrongStator – The Stator of a MachineWRSM must be a LamSlotWind
  • M4C_PError – The stator and the rotor winding must have the same value for p
exception M4C_WrongRotor[source]

Bases: pyleecan.Methods.Machine.MachineCheckError

Raises:with – Winding
exception M4C_WrongStator[source]

Bases: pyleecan.Methods.Machine.MachineCheckError

Raises:with – Winding
exception M4C_PError[source]

Bases: pyleecan.Methods.Machine.MachineCheckError

Raises:different – p value