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