modelSatPhaseEquilibriumProperties

Extends from BaseMultiPhaseProperties.

Information

Model that calculates saturation properties. For example of usage see MultiPhaseMixture.Information.UsersGuide.PhaseEquilibrium.

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
Guess values
FlashPropertiesinit (from BaseMultiPhaseProperties)
Inputs
SatInputsinputsSatInputs.pFZ_mole
Multiple solutions
MultiPhaseMixture.Types.SolutionTypesolutionTypeMultiPhaseMixture.Types.SolutionType.NormalDefine solution if multiple solutions exist

Components

TypeNameDefaultDescription
IntegernbrOfPresentPhases (from BaseMultiPhaseProperties)Number of present phases, 0= unknown
Real[nP]presentPhaseIndex (from BaseMultiPhaseProperties)
Modelica.SIunits.MassFraction[nP*nC]phaseComposition (from BaseMultiPhaseProperties)matrix with composition for each phase
Modelica.SIunits.MoleFraction[nP]phaseFraction (from BaseMultiPhaseProperties)molar fraction of the fluid that is in the specified phase
Modelica.SIunits.TemperatureT_overall (from BaseMultiPhaseProperties)temperature
Modelica.SIunits.Densityd_overall (from BaseMultiPhaseProperties)density
Modelica.SIunits.SpecificEntropys_overall (from BaseMultiPhaseProperties)specific entropy
Modelica.SIunits.AbsolutePressurep_overall (from BaseMultiPhaseProperties)pressure
Modelica.SIunits.SpecificEnthalpyh_overall (from BaseMultiPhaseProperties)specific enthalpy
Modelica.SIunits.Density[nP]d_1ph (from BaseMultiPhaseProperties)density
Modelica.SIunits.SpecificEntropy[nP]s_1ph (from BaseMultiPhaseProperties)specific entropy
Modelica.SIunits.SpecificEnthalpy[nP]h_1ph (from BaseMultiPhaseProperties)specific enthalpy
Modelica.SIunits.PrandtlNumber[nP]Pr_1ph (from BaseMultiPhaseProperties)prandtl number
Modelica.SIunits.VelocityOfSound[nP]a_1ph (from BaseMultiPhaseProperties)velocity of sound
Modelica.SIunits.CubicExpansionCoefficient[nP]beta_1ph (from BaseMultiPhaseProperties)isobaric expansion coefficient
Modelica.SIunits.SpecificHeatCapacity[nP]cp_1ph (from BaseMultiPhaseProperties)specific heat capacity cp
Modelica.SIunits.SpecificHeatCapacity[nP]cv_1ph (from BaseMultiPhaseProperties)specific heat capacity cv
Modelica.SIunits.Compressibility[nP]kappa_1ph (from BaseMultiPhaseProperties)compressibility
Modelica.SIunits.DerPressureByTemperature[nP]dpdT_dN_1ph (from BaseMultiPhaseProperties)Derivative of pressure w.r.t. temperature at constant density and N
Modelica.SIunits.DerPressureByDensity[nP]dpdd_TN_1ph (from BaseMultiPhaseProperties)Derivative of pressure w.r.t. density at constant temperature and molar substance
Modelica.SIunits.ThermalConductivity[nP]lambda_1ph (from BaseMultiPhaseProperties)thermal conductivity
Modelica.SIunits.DynamicViscosity[nP]eta_1ph (from BaseMultiPhaseProperties)dynamic viscosity
InputAbsolutePressurepAbsolute pressure of medium
Modelica.SIunits.TemperatureTTemperature of medium
InputMassFractionFMass Phase fractions e.g. {1,0}
Modelica.SIunits.MoleFractionFmMole Phase fractions e.g. {1,0}
Modelica.SIunits.AmountOfSubstanceFNPhase molar substance e.g. {128,72}
InputMassFractionZTotal mass fractions (= (component mass)/total mass m_i/m)
Modelica.SIunits.SpecificEnthalpyhSpecific enthalpy of medium
Modelica.SIunits.DensitydDensity of medium
Modelica.SIunits.SpecificInternalEnergyuSpecific internal energy of medium
Modelica.SIunits.MolarDensitydmMolar density
Modelica.SIunits.MolarEnthalpyhmMolar enthalpy of medium
Modelica.SIunits.MolarInternalEnergyumMolar internal energy of medium
Modelica.SIunits.MolarMassMMMolar mass
FlashPropertieseqPropertiesequilibrium properties
Modelica.SIunits.MoleFractionZmOverall mole fractions (= (component mole)/total mole mole_i/moles)
Modelica.SIunits.AmountOfSubstanceNOverall molar substance (= component mole)

Contents

NameDescription
InputAbsolutePressurePressure as input signal connector
InputMassFractionFraction as input signal connector
InputTemperatureTemperature as input signal connector