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

1 Ansicht (letzte 30 Tage)
Jochen Schuettler
Jochen Schuettler am 26 Okt. 2016
Kommentiert: Swarooph am 26 Okt. 2016
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 Kommentare
Swarooph
Swarooph am 26 Okt. 2016
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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu General Applications finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by