Thanks for the replies. However, I finally figured out a solution, which is to use the 2nd order integral block, that is apparently made for this situation. Didn't even know that block existed until now.
Hey guys. Here is a short description of the issue:
I an integrating an acceleration twice to get the position of a valve spool. The position integral has an upper and lower limit to simulate the physical limits of the spool motion. However, the velocity integral experiences a kind of 'wind-up'...