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 comentarios

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.
Walter Roberson
Walter Roberson el 1 de Mayo de 2023
Editada: Walter Roberson el 1 de Mayo de 2023
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

Iniciar sesión para comentar.

Respuestas (0)

Preguntada:

el 27 de Abr. de 2023

Editada:

el 1 de Mayo de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by