Package Modelica.​Media.​Examples.​TestOnly
Examples to show the testing of media

Information

Extends from Modelica.​Icons.​ExamplesPackage (Icon for packages containing runnable examples) and Modelica.​Icons.​ObsoleteModel (Icon for classes that are obsolete and will be removed in later versions).

Package Contents

NameDescription
FlueGasIdeal gas flue gas model
IdealGasN2Test IdealGas.SingleMedia.N2 medium model
IdealGasN2MixTest IdealGas.SingleMedia.N2 medium model
MixIdealGasAirIdeal gas air medium model
N2AsMixAir and steam mixture (no condensation!, pseudo-mixture)

Model 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) and Modelica.​Icons.​ObsoleteModel (Icon for classes that are obsolete and will be removed in later versions).


Model 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) and Modelica.​Icons.​ObsoleteModel (Icon for classes that are obsolete and will be removed in later versions).

Parameters

TypeNameDefaultDescription
MolarMassMMx[4]Medium.​data.​MMMolar masses of flue gas

Model Modelica.​Media.​Examples.​TestOnly.​IdealGasN2
Test IdealGas.SingleMedia.N2 medium model

Information

Extends from Modelica.​Icons.​Example (Icon for runnable examples) and Modelica.​Icons.​ObsoleteModel (Icon for classes that are obsolete and will be removed in later versions).

Parameters

TypeNameDefaultDescription
VolumeV1Size of fixed volume
MassFlowRatem_flow_ext0.01Mass flow rate into volume
EnthalpyFlowRateH_flow_ext5000Enthalpy flow rate into volume

Model Modelica.​Media.​Examples.​TestOnly.​IdealGasN2Mix
Test IdealGas.SingleMedia.N2 medium model

Information

Extends from Modelica.​Icons.​Example (Icon for runnable examples) and Modelica.​Icons.​ObsoleteModel (Icon for classes that are obsolete and will be removed in later versions).

Parameters

TypeNameDefaultDescription
VolumeV1Size of volume
MassFlowRatem_flow_ext0.01Mass flow rate flowing into volume
EnthalpyFlowRateH_flow_ext5000Enthalpy flow rate flowing into volume

Generated 2018-12-12 12:13:40 EST by MapleSim.