Skip to content
LIBRARY
Components.RefrigerantSplitterMerger.md

Components.RefrigerantSplitterMerger

Symmetric n-way splitter/merger for a single-phase refrigerant FluidPort.

Connects one bulk port to n_flows parallel branches sharing the other port. Set is_splitter = true to split flow at port_a into n_flows copies at port_b (m_flow > 0 means flow enters port_a); set is_splitter = false to merge n_flows copies at port_a into one stream at port_b. Ports are at equal pressure and stream variables are exchanged ideally — no pressure drop, no mixing losses.

Usage

HVACComponents.Components.RefrigerantSplitterMerger(p_in_start, h_in_start, m_flow_start, p_out_start, h_out_start)

Parameters:

NameDescriptionUnitsDefault value
is_splitterIf true, port_a is the single bulk side and port_b the multi-branch side; if false, the reversetrue
n_flowsNumber of parallel branches on the multi-branch side1
p_in_startInitial inlet pressure [Pa] (solver guess)Pa
h_in_startInitial inlet specific enthalpy [J/kg]J/kg
m_flow_startInitial total mass flow [kg/s] (solver guess)kg/s
p_out_startInitial outlet pressure [Pa] (solver guess)Pa
h_out_startInitial outlet specific enthalpy [J/kg]J/kg

Connectors