---
url: /dyad/stable/stdlib/HVACComponents/components/MediaModels.ThermodynamicState_pTXi.md
description: >-
  Dyad MediaModels.ThermodynamicState_pTXi docs.  Thermodynamic-state record
  parametrised by (p, T, Xi) for moist-air media.
---

# `MediaModels.ThermodynamicState_pTXi` {#MediaModels.ThermodynamicState_pTXi}

Thermodynamic-state record parametrised by (p, T, Xi) for moist-air media.

Pressure p, temperature T, and water-vapor mass fraction Xi are exposed as RealInputs the caller must drive. Used inside BaseProperties_MoistAir and PartialHEXCrossflow; rarely instantiated directly. Set checks = false in property-evaluation contexts where the upstream guarantees a valid state.

## Usage {#Usage}

`HVACComponents.MediaModels.ThermodynamicState_pTXi(p_start, T_start, Xi_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] |     – |               |
|  `T_start` |                                                           Initial temperature \[K] |     – |               |
| `Xi_start` |                                             Initial water-vapor mass fraction \[-] |     – |               |

## Connectors {#Connectors}

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

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

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