LIBRARY
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:
| Name | Description | Units | Default value |
|---|---|---|---|
is_splitter | If true, port_a is the single bulk side and port_b the multi-branch side; if false, the reverse | – | true |
n_flows | Number of parallel branches on the multi-branch side | – | 1 |
p_in_start | Initial inlet pressure [Pa] (solver guess) | Pa | |
h_in_start | Initial inlet specific enthalpy [J/kg] | J/kg | |
m_flow_start | Initial total mass flow [kg/s] (solver guess) | kg/s | |
p_out_start | Initial outlet pressure [Pa] (solver guess) | Pa | |
h_out_start | Initial outlet specific enthalpy [J/kg] | J/kg |