pyleecan.Methods.Machine.Machine.check module

check(self)[source]

Check that the Machine object is correct

Parameters:

self – A Machine object

Return type:

None

Raises:
exception MC_AbstractError[source]

Bases: MachineCheckError

exception MC_StatorNotStator[source]

Bases: MachineCheckError

exception MC_RotorIsStator[source]

Bases: MachineCheckError

exception MC_BothInternal[source]

Bases: MachineCheckError

exception MC_BothExternal[source]

Bases: MachineCheckError

exception MC_RotorDontFit[source]

Bases: MachineCheckError

Raises:

stator

exception MC_StatorDontFit[source]

Bases: MachineCheckError

Raises:

rotor

exception MC_ShaftTooBig[source]

Bases: MachineCheckError

Raises:

rotor

exception MC_ShaftTooSmall[source]

Bases: MachineCheckError

Raises:

rotor

exception MC_MecAirgapError[source]

Bases: MachineCheckError