Examples to show the testing of media
Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).
| Name | Description |
|---|---|
| Ideal gas air medium model | |
| Ideal gas flue gas model | |
| Air and steam mixture (no condensation!, pseudo-mixture) | |
| Test IdealGas.SingleMedia.N2 medium model | |
| Test IdealGas.SingleMedia.N2 medium model |
Modelica.Media.Examples.TestOnly.MixIdealGasAirIdeal 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.Media.Examples.TestOnly.FlueGasIdeal 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).
| Name | Description |
|---|---|
| MMx[4] | Molar masses of flue gas [kg/mol] |
Modelica.Media.Examples.TestOnly.IdealGasN2Test IdealGas.SingleMedia.N2 medium model
Extends from Modelica.Icons.Example (Icon for runnable examples).
| 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] |
Modelica.Media.Examples.TestOnly.IdealGasN2MixTest IdealGas.SingleMedia.N2 medium model
Extends from Modelica.Icons.Example (Icon for runnable examples).
| 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] |