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.GasesPTDecoupled.
Package Content
Information
This is a simple test for the medium model. It uses the test model described in
Modelica.Media.UsersGuide.MediumDefinition.TestOfMedium.
Parameters
| 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] |
| Density | h_start | Medium.h_default | Initial value of specific enthalpy [kg/m3] |
| Real | X_start[Medium.nX] | Medium.X_default | Initial value of mass fractions |
Connectors
| Type | Name | Description |
| replaceable package Medium | Medium model |
Modelica definition
model TestMoistAir
extends Modelica.Media.Examples.Tests.Components.PartialTestModel(
redeclare package Medium =
Buildings.Media.GasesPTDecoupled.MoistAir);
end TestMoistAir;
Information
This is a simple test for the medium model. It uses the test model described in
Modelica.Media.UsersGuide.MediumDefinition.TestOfMedium.
Parameters
| 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] |
| Density | h_start | Medium.h_default | Initial value of specific enthalpy [kg/m3] |
| Real | X_start[Medium.nX] | Medium.X_default | Initial value of mass fractions |
Connectors
| Type | Name | Description |
| replaceable package Medium | Medium model |
Modelica definition
model TestMoistAirNoLiquid
extends Modelica.Media.Examples.Tests.Components.PartialTestModel(
redeclare package Medium =
Buildings.Media.GasesPTDecoupled.MoistAirNoLiquid);
end TestMoistAirNoLiquid;
Information
This is a simple test for the medium model. It uses the test model described in
Modelica.Media.UsersGuide.MediumDefinition.TestOfMedium.
Parameters
| 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] |
| Density | h_start | Medium.h_default | Initial value of specific enthalpy [kg/m3] |
| Real | X_start[Medium.nX] | Medium.X_default | Initial value of mass fractions |
Connectors
| Type | Name | Description |
| replaceable package Medium | Medium model |
Modelica definition
model TestSimpleAir
extends Modelica.Media.Examples.Tests.Components.PartialTestModel(
redeclare package Medium =
Buildings.Media.GasesPTDecoupled.SimpleAir);
end TestSimpleAir;
HTML-documentation generated by Dymola Fri Oct 31 16:24:04 2008.