modelBaseProperties

Base properties

Information

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. Also, the model checks if the mass fraction of the mixture is within the allowed limits.

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
TemperatureTTemperature of medium
Modelica.Units.SI.SpecificInternalEnergyuSpecific internal energy of medium
Modelica.Units.SI.Densitydd_constDensity 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