How to resolve issue of finite derivative after some time interval in simulink

1 view (last 30 days)
Hello Everyone
I am trying to solve a dynamic energy balance on simulink and I build a model for that but I am getting error that derivative of state is becoming finite after some time. Erro is attached below. How can I resolve this issue. anyone please
  1 Comment
Chris Verhoek
Chris Verhoek on 18 Aug 2020
Usually this is because the feedback loop is unstable. When this happens to me, I forgot some plus or minus, such there is negative or posivite feedback, while I needed the opposite, which yielded the system unstable, and the derivative inf

Sign in to comment.

Answers (1)

Fangjun Jiang
Fangjun Jiang on 12 Aug 2020
You have a division block prior to the Integrator block. Can you check to see if you have a "divided by zero" problem? What is the value of that denominator branch?
  1 Comment
Muhammad Saqlain Haider
Muhammad Saqlain Haider on 12 Aug 2020
Thank you for your reply brother. It is really appreciated. I just checked my model again and value in that denominator branch is not zero which means that problem is some where else

Sign in to comment.

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!