Skip to content

Flow Splitter

fullflow.FlowSplitter

One-inlet, two-outlet flow splitter with optional energy and species conservation.

FlowSplitter divides a single incoming stream into two outlet streams while enforcing steady-state mass conservation. Optional energy conservation may be solved, and optional species conservation can be used to determine the composition of the second outlet stream.

When species conservation is enabled, the composition of outlet 1 is treated as known and the composition of outlet 2 is calculated from species mass balances.

Parameters

Name Type Description
namestr

Component name

networkNetwork

Network that owns this component

pressureState

Splitter pressure

volumefloat

Splitter control volume

enthalpyState, optional

Splitter specific enthalpy

temperatureState, optional

Splitter temperature

densityState, optional

Splitter density

internal_energyState, optional

Splitter specific internal energy

heat_rateState or float, optional

Net heat rate into the splitter

compositionComposition, optional

Internal splitter composition

composition_inComposition, optional

Inlet composition

composition_out1Composition, optional

Outlet 1 composition

composition_out2Composition, optional

Outlet 2 composition

total_enthalpy_inState, optional

Inlet total specific enthalpy

total_enthalpy_out1State, optional

Outlet 1 total specific enthalpy. If omitted, the splitter enthalpy is used.

total_enthalpy_out2State, optional

Outlet 2 total specific enthalpy. If omitted, the splitter enthalpy is used.

mass_flow_inState, optional

Inlet mass flow rate

mass_flow_out1State, optional

Outlet mass flow rate 1

mass_flow_out2State, optional

Outlet mass flow rate 2

Iteration Variables

Name Type Description
pressureState

Splitter pressure

enthalpyState, optional

Splitter specific enthalpy when energy conservation is enabled

Residuals

Name Type Description
mass_balancefloat

Enforces steady-state mass conservation.

mass_flow_in - mass_flow_out1 - mass_flow_out2 = 0
energy_balancefloat, optional

Enforces steady-state flow energy conservation.

mass_flow_in * total_enthalpy_in - mass_flow_out1 * total_enthalpy_out1 - mass_flow_out2 * total_enthalpy_out2 + heat_rate = 0

Included only when energy solving is enabled.