modelExperiment

ALIAS difficult, Countercurrent reactors 2 with n = 6

Parameters

TypeNameDefaultDescription
BooleanstartAtSoltrue
Real[:]xstar1{-0.3194564, -0.5740774, 0.09881002, 0.09386918, 0.2924489}Solution 1
Real[:]xstar2{1.22128, -7.503786, 0.5383759, 0.3105437, -10.20277}Solution 2
Reala0.414214
Realx1_startif startAtSol then xstar1[5] else 0.5
Realx3_startif startAtSol then xstar1[4] else 0.5
Realx4_startif startAtSol then xstar1[1] else 0.5
Realx5_startif startAtSol then xstar1[3] else 0.5
Realx6_startif startAtSol then xstar1[2] else 0.5

Components

TypeNameDefaultDescription
Real[:]x{x4, x6, x5, x3, x1}
Realerror1Modelica.Math.Vectors.norm(x - xstar1, Modelica.Constants.inf)
Realerror2Modelica.Math.Vectors.norm(x - xstar2, Modelica.Constants.inf)
Realx1
Realx2
Realx3
Realx4
Realx5
Realx6