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 次查看(过去 30 天)
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.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Ordinary Differential Equations 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by