Skip to content
LIBRARY
MediaModels.ThermodynamicState_ph.md

MediaModels.ThermodynamicState_ph

Thermodynamic-state record parametrised by (p, h) for refrigerant media.

Pressure p and specific enthalpy h are exposed as RealInputs the caller must drive. Used inside BaseProperties_Refrigerant, the distributed-volume cells, and the staggered flow model — rarely instantiated directly. Set checks = false in property-evaluation contexts where the upstream guarantees a valid state.

Usage

HVACComponents.MediaModels.ThermodynamicState_ph(p_start, h_start)

Parameters:

NameDescriptionUnitsDefault value
checksIf true, enable property-range bounds checks; set false inside trusted call sitestrue
p_startInitial pressure [Pa]
h_startInitial specific enthalpy [J/kg]

Connectors

  • p - This connector represents a real signal as an input to a component (RealInput)

  • h - This connector represents a real signal as an input to a component (RealInput)