SimpleAqueousFlowData

class flexops.properties.simple_aqueous.SimpleAqueousFlowData(component)

Parameter block for a simple aqueous stream.

Config options (see the CONFIG entries below):

  • has_pressure / has_temperature (default False) add the intensive pressure / temperature state variables.

Example

>>> import pyomo.environ as pyo
>>> import flexops as fo
>>> m = pyo.ConcreteModel()
>>> m.props = fo.SimpleAqueousFlow()
build() → None

Set the state-block class and the single liquid phase/component.

classmethod define_metadata(obj) → None

Declare supported properties and the five required default units.

get_flow_basis_var_name() → str

Return the name of this package’s extensive flow state variable.

Lets callers (e.g. Tank’s pass-through wiring) exclude “the flow” from a generic pass-through without hardcoding a variable name that varies by property package (a future mass/TDS package would return "flow_mass_phase_comp" instead).

Returns:

The state-variable name carrying extensive flow, "flow_vol_phase".