Performance evaluation of a 3-level ANPC photovoltaic grid-connected inverter with 650-V SiC devices and optimized PWM