Skip to content
LIBRARY
Components.Sources.Boundary_pTPhi.md

Components.Sources.Boundary_pTPhi

Moist-air boundary condition fixing pressure, temperature, and relative humidity.

Connects through a single MoistAirFluidPort (port1) and imposes the prescribed p_in, T_in, Phi_in on the boundary state — mass flow is whatever the adjacent network demands. Acts as either source or sink depending on flow direction. medium_data must be a moist-air medium.

Usage

HVACComponents.Components.Sources.Boundary_pTPhi(p_in, T_in, Phi_in, m_flow_start, medium_data)

Parameters:

NameDescriptionUnitsDefault value
p_inBoundary pressure [Pa]Pa
T_inBoundary temperature [K]K
Phi_inBoundary relative humidity [-] (in [0, 1])
m_flow_startInitial mass flow at port1 [kg/s] (solver guess)kg/s
medium_dataMoist-air medium properties

Connectors