 
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 | 
|---|---|
|  TestMoistAir | |
|  TestMoistAirUnsaturated | |
|  TestSimpleAir | |
|  MoistAirTemperatureEnthalpyInversion | Model to check computation of h(T) and its inverse | 
|  MoistAirUnsaturatedTemperatureEnthalpyInversion | Model to check computation of h(T) and its inverse | 
 Buildings.Media.GasesConstantDensity.Examples.TestMoistAir
Buildings.Media.GasesConstantDensity.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 | |
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
Buildings.Media.GasesConstantDensity.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 | |
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
Buildings.Media.GasesConstantDensity.Examples.TestSimpleAir 
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 | |
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
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
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;