The integration of advanced technologies into the energy sector has led to the emergence of smart grids, which promise enhanced efficiency, reliability, and sustainability in electricity distribution.