Model predictive control for advanced multilevel power converters in smart-grid applications