
modelR134a_pTX_phX_all
Tests the R134a_ph.setState_pTX and setState_phX functions for consistency over the entire valid range of p and T
Extends from Modelica.Icons.Example (Icon for runnable examples).
Parameters
| Type | Name | Default | Description |
| Medium.AbsolutePressure | pmin | 0.0042e5 | |
| Medium.AbsolutePressure | pmax | 700e5 | |
| Modelica.Units.SI.PerUnit | p_increase | 2 | |
| Medium.Temperature | Tmin | 190 | |
| Medium.Temperature | Tmax | 450 | |
Components
| Type | Name | Default | Description |
| Medium.ThermodynamicState | state | Medium.setState_pTX(p, T) | |
| Medium.Temperature | Tsat | Medium.saturationTemperature(p) | |
| Medium.AbsolutePressure | p | | |
| Medium.Temperature | T | | |
| Medium.Density | d | Medium.density(state) | |
| Medium.SpecificEnthalpy | h | Medium.specificEnthalpy(state) | |
| Medium.ThermalConductivity | k | Medium.thermalConductivity(state) | |
| Medium.ThermodynamicState | state_check | Medium.setState_phX(p, h) | |
| Medium.Temperature | T_check | Medium.temperature(state_check) | |
| Medium.Density | d_check | Medium.density(state_check) | |
| Modelica.Units.SI.PerUnit | dT | | |
Contents
| Name | Description |
Medium | |