Flow Splitter
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 |
|---|---|---|
name | str | Component name |
network | Network | Network that owns this component |
pressure | State | Splitter pressure |
volume | float | Splitter control volume |
enthalpy | State, optional | Splitter specific enthalpy |
temperature | State, optional | Splitter temperature |
density | State, optional | Splitter density |
internal_ | State, optional | Splitter specific internal energy |
heat_ | State or float, optional | Net heat rate into the splitter |
composition | Composition, optional | Internal splitter composition |
composition_ | Composition, optional | Inlet composition |
composition_ | Composition, optional | Outlet 1 composition |
composition_ | Composition, optional | Outlet 2 composition |
total_ | State, optional | Inlet total specific enthalpy |
total_ | State, optional | Outlet 1 total specific enthalpy. If omitted, the splitter enthalpy is used. |
total_ | State, optional | Outlet 2 total specific enthalpy. If omitted, the splitter enthalpy is used. |
mass_ | State, optional | Inlet mass flow rate |
mass_ | State, optional | Outlet mass flow rate 1 |
mass_ | State, optional | Outlet mass flow rate 2 |
Iteration Variables
| Name | Type | Description |
|---|---|---|
pressure | State | Splitter pressure |
enthalpy | State, optional | Splitter specific enthalpy when energy conservation is enabled |
Residuals
| Name | Type | Description |
|---|---|---|
mass_ | float | Enforces steady-state mass conservation. mass_flow_in
- mass_flow_out1
- mass_flow_out2 = 0 |
energy_ | float, 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 = 0Included only when energy solving is enabled. |