This model demonstrates the correct behaviour of the PIWithNonWindupLimiter block in three simple cases, by comparing the outputs to the analytic solution
The first controller has Kp = 2, Ki = 4; the second has Kp = -2, Ki = -4 and is fed with the opposite input signal, so the output is the same, since the output limits are symmetrical. The third controller is a P controller with Kp = 2. All controllers have yMax = 10, yMin = -10.