Simulink Problem: Derivative input is Inf
18 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Fan
am 9 Mai 2013
Beantwortet: Brahim MOUDOUD
am 7 Okt. 2019
Hi,
I face a Simulink problem at the input of the integration block, which is:
Derivative input 1 of 'diode4_1_test/Integrator' at time 0.00050002112037682831 is Inf or NaN. Stopping simulation. 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)
However,the input of the integration block is not infinity according the scope. I also tried to put saturation block at the input, but the problem also exists.
Thank you!
1 Kommentar
Jordan Monthei
am 9 Mai 2013
It would be helpful to see what sort of system you are trying to run as well as what is seen on the scope to have a better understanding of your problem.
Akzeptierte Antwort
Guy Rouleau
am 9 Mai 2013
Use the Simulink debugger to identify where the Inf or NaN originates. There is a "NaN" breakpoint.
Weitere Antworten (1)
Brahim MOUDOUD
am 7 Okt. 2019
Hi,
I had the same problem for the integrator
Derivative of state '1' in block '..../integrator' at time 4.4501477170144018E-309 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)
Thank you .
0 Kommentare
Siehe auch
Kategorien
Mehr zu Simulink Functions finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!