Text this: Total harmonic distortion reduction based energy harvesting using grid-based three phase system and integral-derivative