How to define the hysteresis of the buck-boost operation mode?
The stored energy will enable ringing; you need to tolerate the ringing.
Define the stored energy, near the crossover region, and model the ringing and how that needs &quot;hysteresis&quot; so the mode_switchover does not oscillate/dither/hunt.