# Derivative of state '1' in block 'X/Y/Integrator' at time 0.55 is not finite.

1,449 views (last 30 days)

Show older comments

##### 0 Comments

### Answers (4)

Sorelys Sandoval
on 21 Aug 2016

Hi, I had the same problem and the next thing worked for me:

Go to model configuration parameters/Solver/Solver Options:

Type: Variable-step

Solver: ode15s (stiff/NDF)

and that's all. Hope it works for you :D

##### 15 Comments

Sebastian Castro
on 4 Nov 2015

This usually has to do with really large or infinite signals feeding into an Integrator block. Numerical solvers (expectedly) have trouble integrating such large signals and therefore this leads to errors.

Typical causes can be divide by zero (1/0 = inf) or general unstable dynamics that quickly blow up over time. You should check that in your model. It can help to use Port Value Displays as you step through the model to figure out why this happens.

- Sebastian

##### 0 Comments

Abhiram V. P. Premakumar
on 1 Apr 2021

Edited: Abhiram V. P. Premakumar
on 20 May 2022

##### 7 Comments

SALAH alatai
on 29 Dec 2022

@Abhiram V. P. Premakumar what about the clock , what value should I put inside to adjust it ?

ahmet akgün
on 2 May 2021

Adaptive Sliding-Mode Control for Boost DC–DC Converters simulation simulation fails;''Derivative of state '1' in block 'power_BoostConverter_Adaptive_SMC_math/TSMC Controller/Integrator' at time 0.0 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) ''

How to fix this error?

##### 5 Comments

Ambe Harrison
on 23 Aug 2022

Hello,ahmet akgün. I am presently working on a Back steeping controller. Face thesame problem with the integrator. Please have you solved it.

If possible we may exchange more via email, ambeharrison2000@gmail.com

### See Also

### Categories

### Community Treasure Hunt

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

Start Hunting!