Introduction The shift toward smart grids is one of the most significant developments in the energy sector. A smart grid is a modernized electrical grid that uses digital technology to improve the efficiency, reliability, and sustainability of energy distribution. Capacitors play a vital role in this transformation, ensuring smooth energy flow and