modelThermoProperties

Base properties (p, d, T, h, u, X) of a medium

Extends from BaseProperties.

Information

Model that calculates overall common properties. For example of usage see MultiPhaseMixture.Information.UsersGuide.OverallProperties.

Balancing equations

In order for a model to be valid the user need to specify the value for 2 inputs + one composition vector. The input connector qualifier applied to p, h, and Z indirectly declares the number of missing equations, permitting advanced equation balance checking by a Modelica tool. For further information, see Section 4.7 (Balanced Models) of the Modelica 3.0 specification.

Parameters

TypeNameDefaultDescription
Inputs
Inputsinputs (from BaseProperties)Inputs.pTX
Validity check
BooleancheckValidity (from BaseProperties)trueCheck validity limits
Guess values
FlashPropertiesinit (from BaseProperties)
Optimization › Equilibrium calculation
Integer[:]presentPhasescreatePresentPhaseVector(phases.label)Possible present phases
PresentPhasesStatuspresentPhasesStatusPresentPhasesStatus.UnknownStatus of possible present phases

Components

TypeNameDefaultDescription
InputAbsolutePressurep (from BaseProperties)Absolute pressure
Modelica.SIunits.TemperatureT (from BaseProperties)Temperature
Modelica.SIunits.Densityd (from BaseProperties)Density
InputSpecificEnthalpyh (from BaseProperties)Specific enthalpy
InputMassFractionZ (from BaseProperties)Overall mass fractions (= (component mass)/total mass m_i/m)
Modelica.SIunits.MolarDensitydm (from BaseProperties)Molar density
Modelica.SIunits.MolarEnthalpyhm (from BaseProperties)Molar enthalpy of medium
Modelica.SIunits.MoleFractionZm (from BaseProperties)Overall mole fractions (= (component mole)/total mole mole_i/moles)
Modelica.SIunits.AmountOfSubstanceN (from BaseProperties)Overall molar substance (= component mole)
Modelica.SIunits.SpecificInternalEnergyu (from BaseProperties)Specific internal energy of medium
Modelica.SIunits.MolarInternalEnergyum (from BaseProperties)Molar internal energy of medium
Modelica.SIunits.MolarMassMM (from BaseProperties)Molar mass