I am getting the error message while Running my code .

1 view (last 30 days)
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 Comments
PRITAM KUMAR NIRALA
PRITAM KUMAR NIRALA on 1 May 2023
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 on 1 May 2023
Edited: Walter Roberson on 1 May 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

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!