modelLiquidPhaseSplitC2Model
Liquid phase split with C = 2, p. 22 in preprint
Parameters
| Type | Name | Default | Description |
| Boolean | startAtSol | false | |
| 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 |
| Boolean | includeTrivialSolutionMetricMessage | false | Include a warning message when approaching the unwanted trivial solution |
| Real | z1 | 0.5 | Feed composition component 1 |
| Real | z2 | 0.5 | Feed composition component 2 |
| Real | T | 298.15 | Temperature |
| Real | y2_start | if startAtSol then xstar1[1] else 0.1 | |
| Real | y1_start | if startAtSol then xstar1[2] else 0.1 | |
| Real | lambda_start | if startAtSol then xstar1[3] else 0.1 | |
| Real | x2_start | if startAtSol then xstar1[4] else 0.1 | |
Components
| Type | Name | Default | Description |
| Real[:] | x | {y2, y1, lambda, x2} | |
| Real | error1 | Modelica.Math.Vectors.norm(x - xstar1, Modelica.Constants.inf) | |
| Real | error2 | Modelica.Math.Vectors.norm(x - xstar2, Modelica.Constants.inf) | |
| Real | error3 | Modelica.Math.Vectors.norm(x - xstar3, Modelica.Constants.inf) | |
| Real | error4 | Modelica.Math.Vectors.norm(x - xstar4, Modelica.Constants.inf) | |
| Real | error5 | Modelica.Math.Vectors.norm(x - xstar5, Modelica.Constants.inf) | |
| Real | x1 | | Mole fraction of component 1 in phase I |
| Real | x2 | | Mole fraction of component 2 in phase I |
| Real | y1 | | Mole fraction of component 1 in phase II |
| Real | y2 | | Mole fraction of component 2 in phase II |
| Real | lambda | | Relative amount of phase I |
| Real | metric | (x1 - y1)^2 | Metric to identify trivial solutions, < 1e-4 for probably trivial solutions with z_i = x_i = y_i |