Choosing a simulation step that does not distort control
The step must sit well below the control period and the fastest time constant, or the integrator itself invents stability or oscillation.

How to check it on site
Halve the step repeatedly on one control task, log overshoot and runtime, and take half of the step where results stop changing as the working value.
ZHILIANHAI