modelMultiPhaseProperties

Extends from BaseMultiPhaseProperties.

Information

Model that calculates 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
Guess values
FlashPropertiesinit (from BaseMultiPhaseProperties)
Optimization › Equilibrium calculation
Integer[:]presentPhasescreatePresentPhaseVector(phases.label)Possible present phases
PresentPhasesStatuspresentPhasesStatusPresentPhasesStatus.UnknownStatus of possible present phases
Inputs
InputsinputsInputs.pTX

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
Modelica.SIunits.TemperatureTTemperature
Modelica.SIunits.DensitydDensity
InputSpecificEnthalpyhSpecific enthalpy
InputMassFractionZOverall mass fractions (= (component mass)/total mass m_i/m)
Modelica.SIunits.MolarDensitydmMolar density
Modelica.SIunits.MolarEnthalpyhmMolar enthalpy of medium
Modelica.SIunits.MoleFractionZmOverall mole fractions (= (component mole)/total mole mole_i/moles)
Modelica.SIunits.AmountOfSubstanceNOverall molar substance (= component mole)
Modelica.SIunits.SpecificInternalEnergyuSpecific internal energy of medium
Modelica.SIunits.MolarInternalEnergyumMolar internal energy of medium
Modelica.SIunits.MolarMassMMMolar mass
FlashPropertieseqPropertiesequilibrium properties

Contents

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