LIBRARY
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:
| Name | Description | Units | Default value |
|---|---|---|---|
checks | If true, enable property-range bounds checks; set false inside trusted call sites | – | true |
p_start | Initial pressure [Pa] | – | |
h_start | Initial specific enthalpy [J/kg] | – |