Instantaneous conduction and switching losses in two-level voltage source inverters