Modelica.Media.Examples.Tests.MediaTestModels.IdealGases

Test models of library Modelica.Media.IdealGases

Information

Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).

Package Content

NameDescription
Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air Air Test single gas Modelica.Media.IdealGases.SingleGases.Air
Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen Nitrogen Test single gas Modelica.Media.IdealGases.SingleGases.N2
Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas SimpleNaturalGas Test mixture gas Modelica.Media.IdealGases.MixtureGases.SimpleNaturalGas
Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition SimpleNaturalGasFixedComposition Test mixture gas Modelica.Media.IdealGases.MixtureGases.SimpleNaturalGas


Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air

Test single gas Modelica.Media.IdealGases.SingleGases.Air

Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air

Information



Extends from Modelica.Icons.Example (Icon for runnable examples), Modelica.Media.Examples.Tests.Components.PartialTestModel (Basic test model to test a medium).

Parameters

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

Connectors

TypeNameDescription
replaceable package MediumMedium model

Modelica definition

model Air "Test single gas Modelica.Media.IdealGases.SingleGases.Air"
  extends Modelica.Icons.Example;
  extends Modelica.Media.Examples.Tests.Components.PartialTestModel(
     redeclare package Medium =
        Modelica.Media.Air.DryAirNasa);
end Air;

Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen

Test single gas Modelica.Media.IdealGases.SingleGases.N2

Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen

Information



Extends from Modelica.Icons.Example (Icon for runnable examples), Modelica.Media.Examples.Tests.Components.PartialTestModel (Basic test model to test a medium).

Parameters

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

Connectors

TypeNameDescription
replaceable package MediumMedium model

Modelica definition

model Nitrogen 
  "Test single gas Modelica.Media.IdealGases.SingleGases.N2"
  extends Modelica.Icons.Example;
  extends Modelica.Media.Examples.Tests.Components.PartialTestModel(
     redeclare package Medium =
        Modelica.Media.IdealGases.SingleGases.N2);
end Nitrogen;

Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas

Test mixture gas Modelica.Media.IdealGases.MixtureGases.SimpleNaturalGas

Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas

Information



Extends from Modelica.Icons.Example (Icon for runnable examples), Modelica.Media.Examples.Tests.Components.PartialTestModel (Basic test model to test a medium).

Parameters

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

Connectors

TypeNameDescription
replaceable package MediumMedium model

Modelica definition

model SimpleNaturalGas 
  "Test mixture gas Modelica.Media.IdealGases.MixtureGases.SimpleNaturalGas"
  extends Modelica.Icons.Example;
  extends Modelica.Media.Examples.Tests.Components.PartialTestModel(
     redeclare package Medium =
        Modelica.Media.IdealGases.MixtureGases.SimpleNaturalGas);
end SimpleNaturalGas;

Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition

Test mixture gas Modelica.Media.IdealGases.MixtureGases.SimpleNaturalGas

Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition

Information

Extends from Modelica.Icons.Example (Icon for runnable examples), Modelica.Media.Examples.Tests.Components.PartialTestModel (Basic test model to test a medium).

Parameters

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

Connectors

TypeNameDescription
replaceable package MediumMedium model

Modelica definition

model SimpleNaturalGasFixedComposition 
  "Test mixture gas Modelica.Media.IdealGases.MixtureGases.SimpleNaturalGas"
  extends Modelica.Icons.Example;
  extends Modelica.Media.Examples.Tests.Components.PartialTestModel(
     redeclare package Medium =
        Modelica.Media.IdealGases.MixtureGases.SimpleNaturalGasFixedComposition);
end SimpleNaturalGasFixedComposition;

Automatically generated Fri Nov 12 16:31:27 2010.