tools.UI_confThermo module

Dialog to configure the methods used in project to calculate the thermodynamic properties of stream

UI_confThermo

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:

API reference

class tools.UI_confThermo.UI_confThermo_widget(config=None, parent=None)[source]

Bases: QWidget

Widget to config thermal method calculations

Attributes:
kwargs

Return 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

setConfig(config)[source]

Set values from currentConfig

setKwargs(kwarg)[source]

Set values from kwargs dict

property kwargs

Return dict with kwarg

value(config)[source]

Function result for wizard

classmethod default(config)[source]

Default configuration

updateBIP(index)[source]

Update bipButton enabled status only for EoS with bip available

showBIP()[source]

Show BIP dialog from component for selected EoS

class tools.UI_confThermo.Dialog(config=None, parent=None)[source]

Bases: QDialog

Dialog to config thermal method calculations

Methods

value(config)

Function result for wizard

__init__(config=None, parent=None)[source]
value(config)[source]

Function result for wizard