2 views (last 30 days)

Hi there, i hope you're doing fine!

i simplified my problem in order to get a fast answer.

My complicated simulink model dosen't work fo the same problem as this simplified example ( because of the derivative bloc).

is there ani tricks to make it work and to make the derivative block ignore the fact that it don't have the first point of the first itteration.

Thanks a lot for your help

Leonardo Maia
on 16 Jul 2020

You could try adding a Delay block before the input to the derivative block.

I don't know if the signal in your actual model is also sinewave-like, but the derivative will be zero on every half-period, so that's another problem on top of the algebraic loop.

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

Start Hunting!
## 2 Comments

## Direct link to this comment

https://in.mathworks.com/matlabcentral/answers/565586-algebraic-state-in-algebraic-loop#comment_938369

⋮## Direct link to this comment

https://in.mathworks.com/matlabcentral/answers/565586-algebraic-state-in-algebraic-loop#comment_938369

## Direct link to this comment

https://in.mathworks.com/matlabcentral/answers/565586-algebraic-state-in-algebraic-loop#comment_938474

⋮## Direct link to this comment

https://in.mathworks.com/matlabcentral/answers/565586-algebraic-state-in-algebraic-loop#comment_938474

Sign in to comment.