Non Finite Derivative for Integrator Block

1 回表示 (過去 30 日間)
Mathis Sterling Allen
Mathis Sterling Allen 2020 年 8 月 31 日
コメント済み: Fangjun Jiang 2020 年 9 月 4 日
My model is receiving the following error:
I have deduced that the source of the error is coming from the following subsystem, but I cannot figure out what is causing the issue.
SMO SubSystem:
  3 件のコメント
Fangjun Jiang
Fangjun Jiang 2020 年 9 月 1 日
"Subsystem" block is not shown. Attach the whole model and data if possible.
Mathis Sterling Allen
Mathis Sterling Allen 2020 年 9 月 1 日
Done.

サインインしてコメントする。

回答 (1 件)

Fangjun Jiang
Fangjun Jiang 2020 年 9 月 1 日
Most often this is caused by the ideal Derivative block. You have three in the model, two of them are in series.
  1. Comment out all three Derivative blocks, simulation runs. But of course, your model is not in its original intent anymore.
  2. Use three approximated derivattives (for example, transfer function s/(0.01*s+1) to replace the three ideal Derivative blocks, simulation runs. This is what you should do.
  2 件のコメント
Mathis Sterling Allen
Mathis Sterling Allen 2020 年 9 月 4 日
That change didn’t help solve the problem.
Fangjun Jiang
Fangjun Jiang 2020 年 9 月 4 日
In R2019b, the model runs without error after replacing the three Derivative blocks with s/(0.01s+1).
It won't be the same as the ideal Derivative block but having two ideal Derivative blocks connected in series is problematic.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeSubsystems についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by