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

1 visualizzazione (ultimi 30 giorni)
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 Commento
Chris Verhoek
Chris Verhoek il 18 Ago 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

Accedi per commentare.

Risposte (1)

Fangjun Jiang
Fangjun Jiang il 12 Ago 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 Commento
Muhammad Saqlain Haider
Muhammad Saqlain Haider il 12 Ago 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

Accedi per commentare.

Prodotti


Release

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by