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

TypeNameDefaultDescription
BooleanstandardOrderComponentstrueIf true, and reducedX = true, the last element of X will be computed from the other ones
Advanced
BooleanpreferredMediumStatesfalse= true if StateSelect.prefer shall be used for the independent property variables of the medium

Connectors

TypeNameDefaultDescription
InputAbsolutePressurepAbsolute pressure of medium
InputMassFractionXifill(0, 0)Structurally independent mass fractions
InputSpecificEnthalpyhSpecific enthalpy of medium

Components

TypeNameDefaultDescription
Modelica.Units.SI.Densitydd_constDensity of medium
TemperatureTTemperature of medium
Modelica.Units.SI.SpecificInternalEnergyuSpecific internal energy of medium
Modelica.Units.SI.MassFractionX{1}Mass fractions (= (component mass)/total mass m_i/m)
Modelica.Units.SI.SpecificHeatCapacityR_s0Gas constant (of mixture if applicable)
Modelica.Units.SI.MolarMassMMMM_constMolar mass (of mixture or single fluid)
ThermodynamicStatestateThermodynamic state record for optional functions
Modelica.Units.NonSI.Temperature_degCT_degCModelica.Units.Conversions.to_degC(T)Temperature of medium in [degC]
Modelica.Units.NonSI.Pressure_barp_barModelica.Units.Conversions.to_bar(p)Absolute pressure of medium in [bar]

Contents

NameDescription
InputAbsolutePressurePressure as input signal connector
InputSpecificEnthalpySpecific enthalpy as input signal connector
InputMassFractionMass fraction as input signal connector