SimpleGasFlowData

class flexops.properties.simple_gas.SimpleGasFlowData(component)

Parameter block for a simple gas stream.

State blocks built from this package always carry flow_vol_phase, pressure, and temperature; there are no config options beyond the PhysicalParameterBlock base.

Example

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

Set the state-block class and the single vapor 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.

Returns:

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