Caused by: Nonlinear iteration is not converging with step size reduced to hmin (1.07322E-15) at time 0.302084. getting this error could any help me out?

12 views (last 30 days)
An error occurred while running the simulation and the simulation was terminated
Caused by: Nonlinear iteration is not converging with step size reduced to hmin (1.07322E-15) at time 0.302084. Try reducing the minimum step size and/or relax the relative error tolerance.
Thanks for the help in advance. Appreciate your efforts.

Answers (1)

Harshit Gupta
Harshit Gupta on 14 Nov 2022
Hi Shubham,
As per my understanding, you are getting the following error:
Nonlinear iteration is not converging with step size reduced to hmin (1.07322E-15) at time 0.302084. Try reducing the minimum step size and/or relax the relative error tolerance.
Please refer to the below pointers for more information about the same:
  • This error message means that one of the signals in your model is diverging to plus or minus infinity or is otherwise changing too rapidly based on the solver settings.
  • This means that with these settings, the solver is unstable for the equations represented by the model. It is a stiff model that requires more stability for the solver.
  • One way to resolve this error is to reduce the maximum order for your model.
  • You can refer to the following documentation link for more information on how to reduce the order of a model: https://www.mathworks.com/help/releases/R2022a/ident/ug/use-state-space-estimation-to-reduce-model-order.html

Categories

Find more on Manual Performance Optimization in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by