modelBaseProperties
Base properties (p, d, T, h, u, R, MM and X and Xi) of a medium
Information
Model with basic thermodynamic properties.
This base properties model is identical to
Modelica.Media.Water.ConstantPropertyLiquidWater,
except that the equation
u = cv_const*(T - reference_T)
has been replaced by u=h because
cp_const=cv_const.
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 |
|---|---|---|---|
| Modelica.Units.SI.Density | d | d_const | Density of medium |
| Temperature | T | Temperature of medium | |
| InputAbsolutePressure | p | Absolute pressure of medium | |
| InputMassFraction | Xi | fill(0, 0) | Structurally independent mass fractions |
| InputSpecificEnthalpy | h | Specific enthalpy of medium | |
| Modelica.Units.SI.SpecificInternalEnergy | u | Specific internal energy of medium | |
| Modelica.Units.SI.MassFraction | X | {1} | Mass fractions (= (component mass)/total mass m_i/m) |
| Modelica.Units.SI.SpecificHeatCapacity | R_s | 0 | Gas constant (of mixture if applicable) |
| Modelica.Units.SI.MolarMass | MM | MM_const | 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 |