modelTestTemperatureEnthalpyInversion
Model to check computation of h(T) and its inverse
Information
This model computes h=f(T0) and
T=g(h). It then checks whether T=T0.
Hence, it checks whether the function T_phX is
implemented correctly.
Parameters
| Type | Name | Default | Description |
| Modelica.SIunits.Temperature | T0 | 273.15 + 20 | Temperature |
Components
| Type | Name | Default | Description |
| Modelica.SIunits.Temperature | T | | Temperature |
| Modelica.SIunits.SpecificEnthalpy | h | | Enthalpy |
| Medium.MassFraction[:] | Xi | Medium.reference_X | Mass fraction |
Contents
| Name | Description |
Medium | |
Revisions
-
June 6, 2015 by Michael Wetter:
Changed Medium base class to avoid a translation error
in Dymola 2016 using pedantic mode.
This is for
#266.
-
February 12, 2015 by Michael Wetter:
Replaced h_pTX with specificEnthalpy_pTX
and
T_phX with temperature_phX
as the old names are not present in all media.
-
January 21, 2010 by Michael Wetter:
First implementation.