Tuned equations to avoid instability in ACADO and excessive acceleration in X-Plane model