Skip to content
LIBRARY
Components.Sources.MassFlowSource_h.md

Components.Sources.MassFlowSource_h

Refrigerant mass flow source with prescribed specific enthalpy.

Drives a constant mass flow m_flow_in into the network through a single FluidPort (port.m_flow = -m_flow_in, so positive m_flow_in pushes fluid into the connected component). Outflow enthalpy is h_in; pressure adjusts to match the adjacent network. Input-driven m_flow / h are not yet supported — use the parameter form.

Usage

HVACComponents.Components.Sources.MassFlowSource_h(p_start, h_in, m_flow_in)

Parameters:

NameDescriptionUnitsDefault value
p_startInitial boundary pressure [Pa] (solver guess for port.p)Pa
h_inOutflow specific enthalpy [J/kg]J/kg
m_flow_inPrescribed mass flow into the network [kg/s] (positive injects into the port)kg/s

Connectors

Variables

NameDescriptionUnits
pBoundary pressure [Pa] (= port.p)Pa