Collection of models that illustrate model use and test models
This package contains examples for the use of models that can be found in Buildings.Media.PerfectGases.
Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).
| Name | Description |
|---|---|
| Model to check computation of h(T) and its inverse | |
| Model to check computation of h(T) and its inverse | |
Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversionModel to check computation of h(T) and its inverse
Extends from Modelica.Icons.Example (Icon for runnable examples), Buildings.Media.BaseClasses.TestTemperatureEnthalpyInversion (Model to check computation of h(T) and its inverse).
| Type | Name | Default | Description |
|---|---|---|---|
| replaceable package Medium | PartialCondensingGases | ||
| Temperature | T0 | 273.15 + 20 | Temperature [K] |
| Type | Name | Description |
|---|---|---|
| replaceable package Medium | ||
Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversionModel to check computation of h(T) and its inverse
Extends from Modelica.Icons.Example (Icon for runnable examples), Buildings.Media.BaseClasses.TestTemperatureEnthalpyInversion (Model to check computation of h(T) and its inverse).
| Type | Name | Default | Description |
|---|---|---|---|
| replaceable package Medium | PartialCondensingGases | ||
| Temperature | T0 | 273.15 + 20 | Temperature [K] |
| Type | Name | Description |
|---|---|---|
| replaceable package Medium | ||
Buildings.Media.PerfectGases.Examples.MoistAirComparisonThis example compares the perfect medium model Buildings.Media.PerfectGases.MoistAir with the ideal gas model from Modelica.Media.Air.MoistAir
Extends from Modelica.Icons.Example (Icon for runnable examples).
| Type | Name | Default | Description |
|---|---|---|---|
| Pressure | P | 101325 | Pressure [Pa] |
Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheckThis 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).
Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheckThis 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).
Buildings.Media.PerfectGases.Examples.TestMoistAir
Extends from Modelica.Icons.Example (Icon for runnable examples), Modelica.Media.Examples.Tests.Components.PartialTestModel (Basic test model to test a medium).
| Type | Name | Default | Description |
|---|---|---|---|
| replaceable package Medium | PartialMedium | Medium model | |
| AbsolutePressure | p_start | Medium.p_default | Initial value of pressure [Pa] |
| Temperature | T_start | Medium.T_default | Initial value of temperature [K] |
| SpecificEnthalpy | h_start | Medium.h_default | Initial value of specific enthalpy [J/kg] |
| Real | X_start[Medium.nX] | Medium.X_default | Initial value of mass fractions |
| Type | Name | Description |
|---|---|---|
| replaceable package Medium | Medium model | |
Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated
Extends from Modelica.Icons.Example (Icon for runnable examples), Modelica.Media.Examples.Tests.Components.PartialTestModel (Basic test model to test a medium).
| Type | Name | Default | Description |
|---|---|---|---|
| replaceable package Medium | PartialMedium | Medium model | |
| AbsolutePressure | p_start | Medium.p_default | Initial value of pressure [Pa] |
| Temperature | T_start | Medium.T_default | Initial value of temperature [K] |
| SpecificEnthalpy | h_start | Medium.h_default | Initial value of specific enthalpy [J/kg] |
| Real | X_start[Medium.nX] | Medium.X_default | Initial value of mass fractions |
| Type | Name | Description |
|---|---|---|
| replaceable package Medium | Medium model | |