I am getting the error message while Running my code .

Nonlinear iteration is not converging with step size reduced to hmin (3.22191e-17) at time 0.00906886. Try reducing
the minimum step size and/or relax the relative error tolerance

3 个评论

please tell us more about what you are doing.
I am trying to optimize the Kp&Ki value 8 PI controller i.e i have 8Kp and 8Ki to be optimize by PSO and i am getting this responce please help me.
As far as I can see that is a Simulink message, However, the particle swarm algorithms use randomness and so are probably not compatible with using any of the variable step ode algorithms such as ode15s

请先登录,再进行评论。

回答(0 个)

类别

Community Treasure Hunt

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

Start Hunting!

Translated by