Main Content

Daessc mode

Mode of operation for daessc solver

Model Configuration Pane: Solver

Description

Select the mode of operation for the daessc solver.

Dependencies

To enable this parameter:

  • Set the solver Type to Variable-step.

  • Set the Solver parameter to daessc (DAE solver for Simscape™).

Settings

auto (default) | Fast | Balanced | Robust | Quick debug | Full debug
auto

With this option selected, the software automatically selects the optimal daessc solver mode.

This option typically provides a good balance between robustness and simulation speed for most models.

Fast

This option is the least computationally intensive but less robust than other options.

Balanced

This option provides a balance between computational complexity and robustness.

Robust

This option is more robust but more computationally intensive compared to the Fast and Balanced options.

Quick debug

With this option selected, the software updates the solver Jacobian at every time step, which makes this option more computationally intensive than the Robust option.

This option is recommended only for interactive model development, for quickly identifying issues with equations.

Full debug

With this option selected, the software updates the solver Jacobian at every time step and every Newton iteration. This mode is the most computationally intensive and is recommended only for interactive model development and thoroughly checking equations to identify possible issues.

Recommended Settings

The table summarizes recommended values for this parameter based on considerations related to code generation.

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Programmatic Use

Parameter: DaesscMode
Type: string | character vector
Value: 'auto' | 'Fast' | 'Balanced' | 'Robust' | 'QuickDebug' | 'FullDebug'
Default: 'auto'

Version History

Introduced in R2018b