---
url: /dyad/stable/stdlib/HVACComponents/components/MediaModels.ThermodynamicState_ph.md
description: >-
  Dyad MediaModels.ThermodynamicState_ph docs.  Thermodynamic-state record
  parametrised by (p, h) for refrigerant media.
---

# `MediaModels.ThermodynamicState_ph` {#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 {#Usage}

`HVACComponents.MediaModels.ThermodynamicState_ph(p_start, h_start)`

## Parameters: {#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] |     – |               |

## Connectors {#Connectors}

* `p` - This connector represents a real signal as an input to a component ([`RealInput`](/stdlib/Dyad/connectors/RealInput#RealInput))

* `h` - This connector represents a real signal as an input to a component ([`RealInput`](/stdlib/Dyad/connectors/RealInput#RealInput))
