CombineSolution
Combine two solutions using concatenation or summing of solutions or by removing solutions.
Syntax
model.sol(sname).create(fname,"CombineSolution")
model.sol(sname).feature(fname).set(pname,pvalue)
Description
This feature combines solutions by concatenation or summation. The concatenation can, for example, take two time-dependent solutions solver over different time spans and combine them into a single time-dependent solution including all times from both solutions. You can also remove solutions. Stationary solutions are not possible to use. The following properties are accepted:
firstprecedence | includeall
For soloper set to concatenation, make first solution have precedence or include all solutions.
current | any available solution
The solution to sum, when soloper is set to summation.
current | any available solution
The first solution to concatenate, when soloper is set to concatenation.
current | any available solution
The second solution to sum, when soloper is set to concatenation.
current | any available solution
explicit | implicit
explicit | implicit
explicit | implicit
auto | manual
true | false
current | any available solution
The solution to remove from, when soloper is set to remsol.
all | from_list | manual
Selection of solutions to exclude or include, when soloper is set to remsol: All, from listsolnum, or from manualsolnum.
concatenation | summation | wgtsum | gensum | remsol
parametric | time | eigenvalue
Specify a solution type if interpandsort is set to manual.
predefined | manual
ascend | descend
realpart | imagpart | realpartmagnitude | imagpartmagnitude | absval
Primary sorting expression, if sorteigmethod is set to predefined. For eigenvalues, the default is realpart; for eigenfrequencies, the default is imagpart.
realpart | imagpart | realpartmagnitude | imagpartmagnitude | absval
Secondary sorting expression, if sorteigmethod is set to predefined. For eigenvalues, the default is imagpart; for eigenfrequencies, the default is imagpartmagnitude.
true | false
Sort based on transformed eigenvalues, if sorteigmethod is set to predefined.
oneexpr | listexpr
When weightsmethod is set to listexpr, use setIndex with the properties wsolnum. weightlistexpr, and weightlistexpractive to specify the index (solution number), lists of weights, and active flags, respectively, for the case with a list of weights for a weighted summation. See setIndex(), and Methods Associated to Set, SetIndex, and the Various Get Methods for more information.