Main Content

Shape preservation


At each time step use derivative information to improve integration accuracy.

Category: Solver


Default: Disable all

Disable all

Do not perform Shape preservation on any signals.

Enable all

Perform Shape preservation on all signals.


  • The default setting (Disable all) usually provides good accuracy for most models.

  • Setting to Enable all will increase accuracy in those models having signals whose derivative exhibits a high rate of change, but simulation time may be increased.


This parameter is enabled only if you use a continuous-step solver.

Programmatic Use

Parameter: ShapePreserveControl
Value: 'EnableAll | 'DisableAll
Default: 'DisableAll

Recommended Settings

DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Related Topics