SWindParam module

class SWindParam(machine, matlib=[], is_stator=False)[source]

Bases: pyleecan.GUI.Dialog.DMachineSetup.SWindParam.Gen_SWindParam.Gen_SWindParam, PyQt5.QtWidgets.QWidget

Step to define the winding parameters

saveNeeded
step_name = 'Winding Parameter'
set_Ntcoil()[source]

Signal to update the value of Ntcoil according to the line edit

Parameters:self (SWindParam) – A SWindParam object
set_Npcp()[source]

Signal to update the value of Npcp according to the line edit

Parameters:self (SWindParam) – A SWindParam object
comp_output()[source]

Compute and display the winding output

Parameters:self (SWindParam) – A SWindParam object
static check(lamination)[source]

Check that the current lamination have all the needed field set

Parameters:lamination (Lamination) – Lamination to check
Returns:error – Error message (return None if no error)
Return type:str