Why does an appended "abs"-block change earlier results?

1 回表示 (過去 30 日間)
Jochen Schuettler
Jochen Schuettler 2016 年 10 月 26 日
コメント済み: Swarooph 2016 年 10 月 26 日
I've got a Simulink model, simply a filtered step given as reference onto a control loop with PI control. There are Delays both in the plant as in the measurement feedback. As the simulation results oscillate heavily (wrong) I take ode15s as Solver. The result is good.
Now I add an "abs"-block to the system output, i.e. not inside the loop. The result BEFORE this block still looks good, but different from before. How can this happen, which one is trustworthy?
  2 件のコメント
Jochen Schuettler
Jochen Schuettler 2016 年 10 月 26 日
I use R2015a.
Swarooph
Swarooph 2016 年 10 月 26 日
This seems like a solver related issue. Adding an Abs block maybe triggering extra zero crossing events which may affect how the model is solved as a whole compared to just that one block. Without looking at the actual model, this is just a guess of course. If you are new to the concept of zero crossing, take a look at this example and draw parallels with your application.

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

回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by