Buildings.Media.GasesPTDecoupled.Examples

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

NameDescription
Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir TestMoistAir  
Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirNoLiquid TestMoistAirNoLiquid  
Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir TestSimpleAir  


Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir

Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir

Information


This is a simple test for the medium model. It uses the test model described in

Modelica.Media.UsersGuide.MediumDefinition.TestOfMedium.

Parameters

TypeNameDefaultDescription
replaceable package MediumPartialMediumMedium model
AbsolutePressurep_startMedium.p_defaultInitial value of pressure [Pa]
TemperatureT_startMedium.T_defaultInitial value of temperature [K]
Densityh_startMedium.h_defaultInitial value of specific enthalpy [kg/m3]
RealX_start[Medium.nX]Medium.X_defaultInitial value of mass fractions

Connectors

TypeNameDescription
replaceable package MediumMedium model

Modelica definition

model TestMoistAir 
  extends Modelica.Media.Examples.Tests.Components.PartialTestModel(
     redeclare package Medium = 
          Buildings.Media.GasesPTDecoupled.MoistAir);
  
end TestMoistAir;

Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirNoLiquid Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirNoLiquid

Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirNoLiquid

Information


This is a simple test for the medium model. It uses the test model described in

Modelica.Media.UsersGuide.MediumDefinition.TestOfMedium.

Parameters

TypeNameDefaultDescription
replaceable package MediumPartialMediumMedium model
AbsolutePressurep_startMedium.p_defaultInitial value of pressure [Pa]
TemperatureT_startMedium.T_defaultInitial value of temperature [K]
Densityh_startMedium.h_defaultInitial value of specific enthalpy [kg/m3]
RealX_start[Medium.nX]Medium.X_defaultInitial value of mass fractions

Connectors

TypeNameDescription
replaceable package MediumMedium model

Modelica definition

model TestMoistAirNoLiquid 
  extends Modelica.Media.Examples.Tests.Components.PartialTestModel(
     redeclare package Medium = 
          Buildings.Media.GasesPTDecoupled.MoistAirNoLiquid);
  
end TestMoistAirNoLiquid;

Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir

Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir

Information


This is a simple test for the medium model. It uses the test model described in

Modelica.Media.UsersGuide.MediumDefinition.TestOfMedium.

Parameters

TypeNameDefaultDescription
replaceable package MediumPartialMediumMedium model
AbsolutePressurep_startMedium.p_defaultInitial value of pressure [Pa]
TemperatureT_startMedium.T_defaultInitial value of temperature [K]
Densityh_startMedium.h_defaultInitial value of specific enthalpy [kg/m3]
RealX_start[Medium.nX]Medium.X_defaultInitial value of mass fractions

Connectors

TypeNameDescription
replaceable package MediumMedium 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.