These systems integrate PV energy storage with battery backup and grid power to optimize real-time energy management. This paper proposes an advanced energy management strategy and an artificial neural network (ANN)-based control method for PV-integrated hybrid UPS systems. For a renewable energy supply that is resilient, affordable, and sovereign. Digital twins and algorithms for AI provide a robust basis for the early detection of system malfunctions. SEPLOS 103Kwh the integrated photovoltaic and storage intelligent distributed energy storage system is a new type of power management system that integrates photovoltaic and mains power supply, energy. The integrated PV storage system combines PV controller and bi-directional converter for "light + energy storage".