Modelica.Media.Examples.TestOnly

Examples to show the testing of media

Information

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

Package Content

Name Description
Modelica.Media.Examples.TestOnly.MixIdealGasAir MixIdealGasAir Ideal gas air medium model
Modelica.Media.Examples.TestOnly.FlueGas FlueGas Ideal gas flue gas model
Modelica.Media.Examples.TestOnly.N2AsMix N2AsMix Air and steam mixture (no condensation!, pseudo-mixture)
Modelica.Media.Examples.TestOnly.IdealGasN2 IdealGasN2 Test IdealGas.SingleMedia.N2 medium model
Modelica.Media.Examples.TestOnly.IdealGasN2Mix IdealGasN2Mix Test IdealGas.SingleMedia.N2 medium model

Modelica.Media.Examples.TestOnly.MixIdealGasAir Modelica.Media.Examples.TestOnly.MixIdealGasAir

Ideal gas air medium model

Information

An example for using ideal gas properties and how to compute isentropic enthalpy changes. The function that is implemented is approximate, but usually very good: the second medium record medium2 is given to compare the approximation.

Extends from Modelica.Icons.Example (Icon for runnable examples).

Modelica.Media.Examples.TestOnly.FlueGas Modelica.Media.Examples.TestOnly.FlueGas

Ideal gas flue gas model

Information

An example for using ideal gas properties and how to compute isentropic enthalpy changes. The function that is implemented is approximate, but usually very good: the second medium record medium2 is given to compare the approximation.

Extends from Modelica.Icons.Example (Icon for runnable examples).

Parameters

NameDescription
MMx[4]Molar masses of flue gas [kg/mol]

Modelica.Media.Examples.TestOnly.IdealGasN2 Modelica.Media.Examples.TestOnly.IdealGasN2

Test IdealGas.SingleMedia.N2 medium model

Information

Extends from Modelica.Icons.Example (Icon for runnable examples).

Parameters

NameDescription
VSize of fixed volume [m3]
m_flow_extMass flow rate into volume [kg/s]
H_flow_extEnthalpy flow rate into volume [W]

Modelica.Media.Examples.TestOnly.IdealGasN2Mix Modelica.Media.Examples.TestOnly.IdealGasN2Mix

Test IdealGas.SingleMedia.N2 medium model

Information

Extends from Modelica.Icons.Example (Icon for runnable examples).

Parameters

NameDescription
VSize of volume [m3]
m_flow_extMass flow rate flowing into volume [kg/s]
H_flow_extEnthalpy flow rate flowing into volume [W]
Automatically generated Tue Apr 05 09:36:53 2016.