Continuous state refinement method
Method daessc
solver uses to refine continuous state
values
Since R2025a
Model Configuration Pane: Solver
Description
The Continuous state refinement method parameter specifies the method
the daessc
solver uses to refine continuous state values between major time
steps.
Dependencies
To enable this parameter:
Set the solver Type to
Variable-step
.Set the Solver parameter to
daessc (DAE solver for Simscape)
.
Settings
Solver interpolation
(default) | Solver stepping
Solver interpolation
Use solver interpolation between major steps for zero-crossings detection and state refinement. This option is more efficient and works well for most models.
Solver stepping
Use solver discretization method, effectively taking shorter steps between the major steps and applying the solver discretization formula at refined points. This option has higher computational cost but for some models it may produce a solution that better satisfies the equations and avoids spikes at zero crossings.
Programmatic Use
Parameter:
StateRefinementMethod |
Type: string | character vector |
Value: | "solver-interpolation" |
"solver-stepping"
|
Default:
"solver-interpolation" |
Version History
Introduced in R2025a