This package contains examples for the use of models that can be found in Buildings.Media.GasesConstantDensity.
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.GasesConstantDensity.Examples.TestMoistAir
| 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 | |
model TestMoistAir
extends Modelica.Icons.Example;
extends Modelica.Media.Examples.Tests.Components.PartialTestModel(
redeclare package Medium =
Buildings.Media.GasesConstantDensity.MoistAir);
end TestMoistAir;
Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated
| 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 | |
model TestMoistAirUnsaturated
extends Modelica.Icons.Example;
extends Modelica.Media.Examples.Tests.Components.PartialTestModel(
redeclare package Medium =
Buildings.Media.GasesConstantDensity.MoistAirUnsaturated);
end TestMoistAirUnsaturated;
Buildings.Media.GasesConstantDensity.Examples.TestSimpleAir
| 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 | |
model TestSimpleAir
extends Modelica.Icons.Example;
extends Modelica.Media.Examples.Tests.Components.PartialTestModel(
redeclare package Medium =
Buildings.Media.GasesConstantDensity.SimpleAir);
end TestSimpleAir;
Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion
| Type | Name | Default | Description |
|---|---|---|---|
| replaceable package Medium | PartialCondensingGases | ||
| Temperature | T0 | 273.15 + 20 | Temperature [K] |
| Type | Name | Description |
|---|---|---|
| replaceable package Medium | ||
model MoistAirTemperatureEnthalpyInversion
"Model to check computation of h(T) and its inverse"
extends Modelica.Icons.Example;
extends Buildings.Media.BaseClasses.TestTemperatureEnthalpyInversion(
redeclare package Medium = Buildings.Media.GasesConstantDensity.MoistAir);
end MoistAirTemperatureEnthalpyInversion;
Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion
| Type | Name | Default | Description |
|---|---|---|---|
| replaceable package Medium | PartialCondensingGases | ||
| Temperature | T0 | 273.15 + 20 | Temperature [K] |
| Type | Name | Description |
|---|---|---|
| replaceable package Medium | ||
model MoistAirUnsaturatedTemperatureEnthalpyInversion
"Model to check computation of h(T) and its inverse"
extends Modelica.Icons.Example;
extends Buildings.Media.BaseClasses.TestTemperatureEnthalpyInversion(
redeclare package Medium =
Buildings.Media.GasesConstantDensity.MoistAirUnsaturated);
end MoistAirUnsaturatedTemperatureEnthalpyInversion;