check (method)

check(self)[source]

Check that the Machine object is correct

Parameters:

self – A Machine object

Returns:

Return type:

None

Raises:
exception MC_AbstractError[source]

Bases: pyleecan.Methods.Machine.MachineCheckError

exception MC_StatorNotStator[source]

Bases: pyleecan.Methods.Machine.MachineCheckError

exception MC_RotorIsStator[source]

Bases: pyleecan.Methods.Machine.MachineCheckError

exception MC_BothInternal[source]

Bases: pyleecan.Methods.Machine.MachineCheckError

exception MC_BothExternal[source]

Bases: pyleecan.Methods.Machine.MachineCheckError

exception MC_RotorDontFit[source]

Bases: pyleecan.Methods.Machine.MachineCheckError

Raises:stator
exception MC_StatorDontFit[source]

Bases: pyleecan.Methods.Machine.MachineCheckError

Raises:rotor
exception MC_ShaftTooBig[source]

Bases: pyleecan.Methods.Machine.MachineCheckError

Raises:rotor
exception MC_ShaftTooSmall[source]

Bases: pyleecan.Methods.Machine.MachineCheckError

Raises:rotor
exception MC_MecAirgapError[source]

Bases: pyleecan.Methods.Machine.MachineCheckError