modelLiquidPhaseSplitC3Model
Liquid phase split with C = 3, p. 22 in preprint
Parameters
| Type | Name | Default | Description |
| Boolean | startAtSol | false | |
| Real[:] | xstar1 | {0.6859023, 0.002836175, 0.9548265, 0.3112616, 0.4171931, 0.0006027087} | Solution 1 |
| Real[:] | xstar2 | {0.0006027087, 0.9548265, 0.002836175, 0.04457077, 0.5828069, 0.6859023} | Solution 2 |
| Boolean | includeTrivialSolutionMetricMessage | false | Include a warning message when approaching the unwanted trivial solution |
| Real | z1 | 0.2 | Feed composition component 1 |
| Real | z2 | 0.4 | Feed composition component 2 |
| Real | z3 | 0.4 | Feed composition component 3 |
| Real | T | 298.15 | Temperature |
| Real | y2_start | if startAtSol then xstar1[1] else 0.1 | |
| Real | y3_start | if startAtSol then xstar1[2] else 0.1 | |
| Real | x3_start | if startAtSol then xstar1[3] else 0.1 | |
| Real | y1_start | if startAtSol then xstar1[4] else 0.1 | |
| Real | lambda_start | if startAtSol then xstar1[5] else 0.1 | |
| Real | x2_start | if startAtSol then xstar1[6] else 0.1 | |
Components
| Type | Name | Default | Description |
| Real[:] | x | {y2, y3, x3, 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 | x1 | | Mole fraction of component 1 in phase I |
| Real | x2 | | Mole fraction of component 2 in phase I |
| Real | x3 | | Mole fraction of component 3 in phase I |
| Real | y1 | | Mole fraction of component 1 in phase II |
| Real | y2 | | Mole fraction of component 2 in phase II |
| Real | y3 | | Mole fraction of component 3 in phase II |
| Real | lambda | | Relative amount of phase I |
| Real | metric | (x1 - y1)^2 + (x2 - y2)^2 | Metric to identify trivial solutions, < 1e-4 for probably trivial solutions with z_i = x_i = y_i |