Enhancing Power Quality in Smart Grids Through the Application of Artificial Intelligence: A Comprehensive Analysis and Case Studies | IEEE Conference Publication | IEEE Xplore