AmesimKnowledge

Advanced examples > A Catapult to demonstrate locked states

Error type

Error type

After each computation step the Simcenter Amesim integrator does checks for convergence and checks to estimate error. In both cases, for each state variable xi, there is a quantity di estimated and this quantity must be "sufficiently small" for the step to be accepted. Given a tolerance tol, the three error tests are:

| Mixed | di*<tol(1*+|xi|) | | --- | --- | | Relative | di*<tol(1.0E-20*+|xi|) | | Absolute | di*<tol* |

The relative error type takes into account the size of the state variable whereas the absolute error type does not. The mixed error type is the default and is equivalent to the absolute error when |xi| is small and equivalent to an relative error type when |xi| is large.

Normally the relative error type is the most demanding and this can be very useful for a difficult stabilizing run.

Source: https://docs.sw.siemens.com/en-US/doc/254352342/PL20250521841123434.amesim_collection.Tutorial/Error_type · retrieved 2026-07-17