Elimination of harmonics using power electronics equipments