Electrical power grids have encountered many challenges in recent years, including global warming, the quest for energy security, increasing cultural conservation, and the stringent power reliability and quality requirements of the digital age.Many studies have been conducted on the development and implementation of the smart grid (SG) to address these issues.