modelFluidProperties
Model that tests the implementation of the fluid properties
Extends from PartialProperties.
Information
This example checks thermophysical properties of the medium.
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Medium.ThermodynamicState | state_phX | Medium state | |
| Medium.ThermodynamicState | state_psX | Medium state | |
| Modelica.Media.Interfaces.Types.DerDensityByPressure | ddpT | Density derivative w.r.t. pressure | |
| Modelica.Media.Interfaces.Types.DerDensityByTemperature | ddTp | Density derivative w.r.t. temperature | |
| Modelica.Units.SI.Density | dddX | Density derivative w.r.t. mass fraction |
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.