Derivative of state '1' in block 'XXXX/Integrator Limited1' at time XXXX 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 r

7 views (last 30 days)
hello,
when I am trying to solve the model I am getting the following error when I am using ODE15s as solver.
Derivative of state '1' in block 'XXXX/Integrator Limited1' at time XXXX 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.
But the errror is resolved if I use ode45 as solver,but there is a huge disturbance in the simulation profile. Is there any way to solve it using ODE15s solver.

Answers (0)

Community Treasure Hunt

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

Start Hunting!