Skip to content
LIBRARY
Components.AirSplitterMerger.md

Components.AirSplitterMerger

Symmetric n-way splitter/merger for a moist-air MoistAirFluidPort.

Same role as RefrigerantSplitterMerger but for the moist-air connector; water- vapor mass fraction Xi is propagated through the stream variables alongside enthalpy. Set is_splitter = true to split one bulk port_a stream into n_flows copies at port_b (m_flow > 0 means flow enters port_a); set is_splitter = false for the merging direction. Ports are at equal pressure, no pressure drop or mixing losses.

Usage

HVACComponents.Components.AirSplitterMerger(p_in_start, T_in_start, Xi_in_start, p_out_start, T_out_start, Xi_out_start, m_flow_start, h_in_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
T_in_startInitial inlet temperature [K]K
Xi_in_startInitial inlet water-vapor mass fraction [-]
p_out_startInitial outlet pressure [Pa] (solver guess)Pa
T_out_startInitial outlet temperature [K]K
Xi_out_startInitial outlet water-vapor mass fraction [-]
m_flow_startInitial total mass flow [kg/s] (solver guess)kg/s
h_in_startInitial inlet specific enthalpy [J/kg]J/kg
h_out_startInitial outlet specific enthalpy [J/kg]J/kg

Connectors