Buildings.Media.Specialized.Air.Examples
Collection of models that illustrate model use and test models
Information
This package contains examples for the use of models that can be found in Buildings.Media.Specialized.Air.
Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).
Package Content
Name | Description |
---|---|
PerfectGasDerivativeCheck | |
PerfectGasTemperatureEnthalpyInversion | Model to check computation of h(T) and its inverse |
Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck
Information
This example checks whether the function derivative is implemented correctly. If the derivative implementation is not correct, the model will stop with an assert statement.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion
Model to check computation of h(T) and its inverse
Information
This model tests whether the inversion of temperature and enthalpy is implemented correctly. If T ≠ T(h(T)), the model stops with an error.
Extends from Modelica.Icons.Example (Icon for runnable examples), Buildings.Media.Examples.BaseClasses.TestTemperatureEnthalpyInversion (Model to check computation of h(T) and its inverse).
Parameters
Type | Name | Default | Description |
---|---|---|---|
replaceable package Medium | PartialMedium | ||
Temperature | T0 | 273.15 + 20 | Temperature [K] |
Connectors
Type | Name | Description |
---|---|---|
replaceable package Medium |