pyleecan.GUI.Dialog.DMachineSetup.SBar.SBar module

class SBar(machine, material_dict, is_stator=False)[source]

Bases: Gen_SBar, QWidget

Step to setup the Rotor Bar for SCIM machine

saveNeeded
step_name = 'Bar'
emit_save()[source]

Emit the saveNeeded signal

set_Hscr()[source]

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

Parameters:

self (SBar) – A SBar object

set_Lscr()[source]

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

Parameters:

self (SBar) – A SBar object

set_Lewout()[source]

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

Parameters:

self (SBar) – A SBar object

s_set_bar_type(index)[source]

Setup the Gui for the selected conductor type

Parameters:
  • self (SBar) – A SBar object

  • index (int) – Index of the selected conductor type

s_plot()[source]

Try to plot the machine

Parameters:

self (SBar) – A SBar object

static check(lamination)[source]

Check that the current machine have all the needed field set

Parameters:

lamination (Lamination) – Lamination to check

Returns:

error – Error message (return None if no error)

Return type:

str

staticMetaObject = <PySide2.QtCore.QMetaObject object>