modelBaseProperties
Base properties (p, d, T, h, u, R, MM and X and Xi) of a medium
Information
Model with basic thermodynamic properties.
This model provides equation for the following thermodynamic properties:
| Variable |
Unit |
Description |
| T |
K |
temperature |
| p |
Pa |
absolute pressure |
| d |
kg/m3 |
density |
| h |
J/kg |
specific enthalpy |
| u |
J/kg |
specific internal energy |
| Xi[nXi] |
kg/kg |
independent mass fractions m_i/m |
| R |
J/kg.K |
gas constant |
| M |
kg/mol |
molar mass |
Parameters
| Type | Name | Default | Description |
| Boolean | standardOrderComponents | true | If true, and reducedX = true, the last element of X will be computed from the other ones |
| Advanced |
| Boolean | preferredMediumStates | false | = true if StateSelect.prefer shall be used for the independent property variables of the medium |
Components
| Type | Name | Default | Description |
| InputAbsolutePressure | p | | Absolute pressure of medium |
| InputMassFraction | Xi | | Structurally independent mass fractions |
| InputSpecificEnthalpy | h | | Specific enthalpy of medium |
| Modelica.Media.Interfaces.Types.Density | d | | Density of medium |
| Modelica.Media.Interfaces.Types.Temperature | T | | Temperature of medium |
| Modelica.Media.Interfaces.Types.MassFraction | X | | Mass fractions (= (component mass)/total mass m_i/m) |
| Modelica.Media.Interfaces.Types.SpecificInternalEnergy | u | | Specific internal energy of medium |
| Modelica.Media.Interfaces.Types.SpecificHeatCapacity | R_s | | Gas constant (of mixture if applicable) |
| Modelica.Media.Interfaces.Types.MolarMass | MM | | Molar mass (of mixture or single fluid) |
| ThermodynamicState | state | | Thermodynamic state record for optional functions |
| Modelica.Units.NonSI.Temperature_degC | T_degC | Modelica.Units.Conversions.to_degC(T) | Temperature of medium in [degC] |
| Modelica.Units.NonSI.Pressure_bar | p_bar | Modelica.Units.Conversions.to_bar(p) | Absolute pressure of medium in [bar] |
Contents
| Name | Description |
| InputAbsolutePressure | Pressure as input signal connector |
| InputSpecificEnthalpy | Specific enthalpy as input signal connector |
| InputMassFraction | Mass fraction as input signal connector |
Revisions
-
September 22, 2020, by Michael Wetter:
First implementation based on Modelica Standard Library,
but with noEvent added to check of bounds.