Constrained long-horizon direct model predictive control for power electronics