I have some issues with PID calculation. Integrator error

1 view (last 30 days)
Hi! I stunned with some error during the simulation. I need to simulate a closed loop PID controller. But an error appears. Although I already use a another regulator PID block in my work, but as an alternative, I decided to check the regulator with fuzzy logic, adaptive. But this error appears with it, although if you model the cycle separately, then everything is fine. It is also worth noting that the system uses a Powergui unit. How to solve this problem? Already changing the time modeling, step, etc., but maybe I forgot something, please help...
Derivative of state '1' in block 'XXX' at time XXX is not finite. The simulation will be stopped. There may be a singularity in the solution. If not, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances)
Look, I have attached some screenshots...

Answers (0)

Community Treasure Hunt

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

Start Hunting!