Reduction of harmonics in a hybrid PV/Wind microgrid using a modified multilevel inverter