Appendix A: Predictive Control Simulation - Three-Phase Inverter