Main Content

Solver reset method


Select how the solver behaves during a reset, such as when it detects a zero crossing.

Category: Solver


Default: Fast


Specifies that the solver will not recompute the Jacobian matrix at a solver reset.


Specifies that the solver will recompute the Jacobian matrix needed by the integration step at every solver reset.


  • Selecting Fast speeds up the simulation. However, it can result in incorrect solutions in some cases.

  • If you suspect that the simulation is giving incorrect results, try the Robust setting. If there is no difference in simulation results between the fast and robust settings, revert to the fast setting.


This parameter is enabled only if you select one of the following solvers:

  • ode15s (Stiff/NDF)

  • ode23t (Mod. Stiff/Trapezoidal)

  • ode23tb (Stiff/TR-BDF2)

Programmatic Use

Parameter: SolverResetMethod
Value: 'Fast' | 'Robust'
Default: 'Fast'

Recommended Settings

DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Related Topics