modelFluidProperties
Model that tests the implementation of the fluid properties
Extends from PartialProperties (Partial model that contains common parameters of the fluid properties).
Information
This example checks thermophysical properties of the medium.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Temperature | TMin (from PartialProperties) | Minimum temperature for the simulation | |
| Modelica.Units.SI.Temperature | TMax (from PartialProperties) | Maximum temperature for the simulation | |
| Modelica.Units.SI.Pressure | p (from PartialProperties) | Medium.p_default | Pressure |
| Modelica.Units.SI.MassFraction[Medium.nX] | X (from PartialProperties) | Medium.X_default | Mass fraction |
| Real | errAbs (from PartialProperties) | 1E-8 | Absolute error used in the check of the state calculations |
Components
Revisions
-
June 6, 2015, by Michael Wetter:
Changed type ofTfromModelica.Units.SI.TemperaturetoMedium.Temperature. Otherwise, it has a different start value thanBaseProperties.T, which causes an error if Buildings.Media.Examples.WaterProperties is translated in pedantic mode. This fixes #266. -
October 16, 2014, by Michael Wetter:
Removed call tosetState_dTXas this function is physically not defined for incompressible media. -
December 19, 2013, by Michael Wetter:
First implementation.