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?

59 次查看(过去 30 天)
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.

回答(1 个)

Harshit Gupta
Harshit Gupta 2022-11-14
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

类别

Help CenterFile Exchange 中查找有关 General Applications 的更多信息

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by