Abstract: Smart Grid (SG) Energy Management (EM) integrating Photovoltaic (PV) systems and battery storage enhances energy utilization and sustainability by optimizing power distribution and storage.