aVsIs: An Analytical-Solution-Based Solver for Model-Predictive Control With Hexagonal Constraints in Voltage-Source Inverter Applications