modelLiquidPhaseSplitC2Model

Liquid phase split with C = 2, p. 22 in preprint

Parameters

TypeNameDefaultDescription
BooleanstartAtSolfalse
Real[:]xstar1{0.8920055, 0.1079945, 0.5345318, 0.1586431}Solution 1
Real[:]xstar2{0.9173296, 0.1033243, 1, 0.5}Solution 2
Real[:]xstar3{0.1586431, 0.8413569, 0.4654682, 0.8920055}Solution 3
Real[:]xstar4{0.175234, 0.8328468, 1, 0.5}Solution 4
Real[:]xstar5{0.707105, 0.292895, 0.292894, 0}Solution 5
BooleanincludeTrivialSolutionMetricMessagefalseInclude a warning message when approaching the unwanted trivial solution
Realz10.5Feed composition component 1
Realz20.5Feed composition component 2
RealT298.15Temperature
Realy2_startif startAtSol then xstar1[1] else 0.1
Realy1_startif startAtSol then xstar1[2] else 0.1
Reallambda_startif startAtSol then xstar1[3] else 0.1
Realx2_startif startAtSol then xstar1[4] else 0.1

Components

TypeNameDefaultDescription
Real[:]x{y2, y1, lambda, x2}
Realerror1Modelica.Math.Vectors.norm(x - xstar1, Modelica.Constants.inf)
Realerror2Modelica.Math.Vectors.norm(x - xstar2, Modelica.Constants.inf)
Realerror3Modelica.Math.Vectors.norm(x - xstar3, Modelica.Constants.inf)
Realerror4Modelica.Math.Vectors.norm(x - xstar4, Modelica.Constants.inf)
Realerror5Modelica.Math.Vectors.norm(x - xstar5, Modelica.Constants.inf)
Realx1Mole fraction of component 1 in phase I
Realx2Mole fraction of component 2 in phase I
Realy1Mole fraction of component 1 in phase II
Realy2Mole fraction of component 2 in phase II
ReallambdaRelative amount of phase I
Realmetric(x1 - y1)^2Metric to identify trivial solutions, < 1e-4 for probably trivial solutions with z_i = x_i = y_i