MATLAB Answers

Nonlinear iteration is not converging. Try reducing the minimum step size and/or relax the relative error tolerance.

217 ビュー (過去 30 日間)
Nikolas Haimerl
Nikolas Haimerl 2019 年 10 月 1 日
回答済み: Chidvi Modala 2019 年 10 月 11 日
I am facing difficulty when running my Simulink model. I always get the error message:
  • Nonlinear iteration is not converging with step size reduced to hmin (4.11468e-032) at time 1.15818e-017. Try reducing the minimum step size and/or relax the relative error tolerance.
The time after which the programm crashes seems to change with certain constants in my model.
So far I have tried changing minimal step size, relative error tolerance, Number of consecutive minimum steps, absolute error tolerance, relative error tolerance.
Setings are variable step size and atomatic solver.
I am grateful for any help solving the issue.
Thanks!

  0 件のコメント

サインインしてコメントする。

回答 (1 件)

Chidvi Modala
Chidvi Modala 2019 年 10 月 11 日
The error comes up when one of the signals in your model is diverging to plus or minus infinity or changing too rapidly based on the solver settings.

  0 件のコメント

サインインしてコメントする。

カテゴリ

製品


リリース

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by