Examples to show the testing of media
Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples), Modelica.Icons.ObsoleteModel (Icon for classes that are obsolete and will be removed in later versions).
Name | Description |
---|---|
MixIdealGasAir | Ideal gas air medium model |
FlueGas | Ideal gas flue gas model |
N2AsMix | Air and steam mixture (no condensation!, pseudo-mixture) |
IdealGasN2 | Test IdealGas.SingleMedia.N2 medium model |
IdealGasN2Mix | Test IdealGas.SingleMedia.N2 medium model |
Ideal gas air medium model
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.Icons.ObsoleteModel (Icon for classes that are obsolete and will be removed in later versions).
Ideal gas flue gas model
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.Icons.ObsoleteModel (Icon for classes that are obsolete and will be removed in later versions).
Name | Description |
---|---|
MMx[4] | Molar masses of flue gas [kg/mol] |
Test IdealGas.SingleMedia.N2 medium model
Extends from Modelica.Icons.Example (Icon for runnable examples), Modelica.Icons.ObsoleteModel (Icon for classes that are obsolete and will be removed in later versions).
Name | Description |
---|---|
V | Size of fixed volume [m3] |
m_flow_ext | Mass flow rate into volume [kg/s] |
H_flow_ext | Enthalpy flow rate into volume [W] |
Test IdealGas.SingleMedia.N2 medium model
Extends from Modelica.Icons.Example (Icon for runnable examples), Modelica.Icons.ObsoleteModel (Icon for classes that are obsolete and will be removed in later versions).
Name | Description |
---|---|
V | Size of volume [m3] |
m_flow_ext | Mass flow rate flowing into volume [kg/s] |
H_flow_ext | Enthalpy flow rate flowing into volume [W] |