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

1 Ansicht (letzte 30 Tage)
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 Kommentar
Chris Verhoek
Chris Verhoek am 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

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Fangjun Jiang
Fangjun Jiang am 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 Kommentar
Muhammad Saqlain Haider
Muhammad Saqlain Haider am 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

Melden Sie sich an, um zu kommentieren.

Produkte


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by