The global energy landscape is experiencing growing challenges, with energy crises in regions such as South Africa underscoring the drive to accelerate the shift toward renewable energy solutions. This paper presents an approach for improving solar energy planning, specifically focusing on leveraging the capabilities of the ATlite software in conjunction with custom data. Using mathematical models, ATlite (which was initially developed by the Renewable Energy Group at the Frankfurt Institute for Advances Studies) is a Python software package that converts historical weather data into power generation potentials and time series for renewable energy technologies such as solar photovoltaic (PV) panels and wind turbines. The software efficiently combines atmospheric and terrain data from large regions using user-defined weights based on land use or energy yield. In this study, European Centre for Medium-Range Weather Forecasts reanalysis data (ERA5) data was modified using Kriging to enhance the resolution of each data field. This refined data was applied in ATlite, instead of utilizing the standard built-in data download and processing tools, to generate solar capacity factor maps and solar generation time series. This was utilized to identify specific PV technologies as well as optimal sites for solar power. Thereafter, a simulated power generation time series was compared with measured solar generation data, resulting in a root mean square error (RMSE) of 19.6 kW for a 250 kWp installation. This approach’s flexibility and versatility in the inclusion of custom data, led to the conclusion that it could be a suitable option for renewable energy planning and decision making in South Africa and globally, providing value to solar installers and planners.
After years of drought, the rainy season is always welcomed. Unfortunately, this can also herald widespread flooding which can result in loss of livelihood, property, and human life. In this study a Bayesian network is used to develop a flood prediction model for a Tshwane catchment area prone to flash floods. This causal model was considered due to a shortage of flood data. The developed Bayesian network was evaluated by environmental domain experts and implemented in Python through pyAgrum. Three what-if scenarios are used to verify the model and estimation of probabilities which were based on expert knowledge. The model was then used to predict a low and high rainfall scenario. It was able to predict no flooding events for a low rainfall scenario, and flooding events, especially around the rivers, for a high rainfall scenario. The model therefore behaves as expected.