tools.UI_confThermo module¶
Dialog to configure the methods used in project to calculate the thermodynamic properties of stream
The dialog let user define the method to calculate the distribution coefficient between phases including the binary interaction parameters if it’s available. Its possible use too any of advanced methods availables. For enthalpy calculation let to choose too the method desired from the list.
For more details about the methods available see the lib.eos module documentation.
The module include all related thermodynamic properties configuration:
UI_confThermo_widget: Thermal properties widget, to use in whatever need, dialog, wizard…Dialog: Standalone dialog
API reference¶
- class tools.UI_confThermo.UI_confThermo_widget(config=None, parent=None)[source]¶
Bases:
QWidgetWidget to config thermal method calculations
- Attributes:
kwargsReturn dict with kwarg
Methods
default(config)Default configuration
setConfig(config)Set values from currentConfig
setKwargs(kwarg)Set values from kwargs dict
showBIP()Show BIP dialog from component for selected EoS
updateBIP(index)Update bipButton enabled status only for EoS with bip available
value(config)Function result for wizard
changed
- changed¶
pyqtSignal(*types, name: str = …, revision: int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- __init__(config=None, parent=None)[source]¶
Constructor, opcional config parameter with proyect configuration
- property kwargs¶
Return dict with kwarg