A MULTIFUNCTIONAL INVERTER INTEGRATED WITH SMART