I’m willing to provide more information if necessary.
Non Finite Derivative for Integrator Block
1 回表示 (過去 30 日間)
古いコメントを表示
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
2020 年 9 月 1 日
"Subsystem" block is not shown. Attach the whole model and data if possible.
回答 (1 件)
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.
- Comment out all three Derivative blocks, simulation runs. But of course, your model is not in its original intent anymore.
- 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 件のコメント
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 Exchange で Subsystems についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!