Renewable energy systems, such as photovoltaic (PV) systems, have become increasingly significant in response to the pressing concerns of climate change and the imperative to mitigate carbon emissions. Whe. The world's interest in renewable energy is attributed to several reasons. First, many. The ability of systems to predict energy production and consumption allows for excellent optimization and efficiency. By using machine learning algorithms to analyze historica. Integrating renewable energy sources into power grids and buildings is crucial for sustainable energy use. In this context, PV systems have become popular due to their proven effectiven. The energy management of PV systems is an important issue when studying renewable energy. One of the methods to control this process is by using an ANN. ANN-based contr. Fig. 12 shows the idealized discharge characteristics of two series-connected 200Ah, 12 V, and 10C lead-acid batteries for loads of 400 W, 500 W, and 600 W are 16.667A, 20.833.