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

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 Comments

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.

Sign in to comment.

Answers (0)

Categories

Find more on General Applications in Help Center and File Exchange

Asked:

on 26 Oct 2016

Commented:

on 26 Oct 2016

Community Treasure Hunt

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

Start Hunting!