This package contains examples for the use of models that can be found in Buildings.Media.GasesPTDecoupled.
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 |
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.GasesPTDecoupled.MoistAir);end 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 TestMoistAirUnsaturated extends Modelica.Icons.Example; extends Modelica.Media.Examples.Tests.Components.PartialTestModel( redeclare package Medium = Buildings.Media.GasesPTDecoupled.MoistAirUnsaturated);end 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 TestSimpleAir extends Modelica.Icons.Example; extends Modelica.Media.Examples.Tests.Components.PartialTestModel( redeclare package Medium = Buildings.Media.GasesPTDecoupled.SimpleAir);end TestSimpleAir;
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.GasesPTDecoupled.MoistAir);end MoistAirTemperatureEnthalpyInversion;
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.GasesPTDecoupled.MoistAirUnsaturated);end MoistAirUnsaturatedTemperatureEnthalpyInversion;