Smart load management with energy storage for power quality enhancement in wind-powered oil and gas applications