vssSetSimParAlgebraicSolver
Set the simulation algebraic solver.
Syntax
vssSetSimParAlgebraicSolver(sparams,solv)
Inputs
- sparams
- Simulation parameters handle
- solv
- Algebraic solver. Available options are 1002 (Fsolve), Daskr (1003) and Ida (1004).
Example
Create evaluator, retrieve the respective simulation parameters handle and set the desired simulation parameter value.
modelpath = 'C:/Users/ActivateModel.scm'
ff = vssCreateEvaluator(modelpath);
mdl = ff();
sparams = vssGetModelSimParams(mdl);
vssSetSimParAlgebraicSolver(sparams,1);