A Federated Learning-Based Distributed Solar Forecasting for Smart Buildings in Muscat, Oman Using GRU Networks

Read full text
Authors: Mazhar Baloch, Mohamed Shaik Honnurvali, Touqeer Ahmed, Abdul Manan Shaikh, Sohaib Tahir Chaudhary
Cited by: 1

Abstract

The present paper suggests a Federated Learning-based Distributed Solar Forecasting model based on GRU networks (FL-GRU) to smart buildings in Muscat, Oman. The growing adoption of rooftop photovoltaic (PV) systems in urban settings needs precise, privatizing, and scalable forecasting models able to manage geographically dispersed and statistically heterogeneous data. The suggested solution will include federated learning and gated recurrent unit (GRU) networks to train a global forecasting model across several smart buildings and avoid the exchange of raw energy data to overcome these challenges. The local GRU models are trained on local PV generation data and only parameters of the model are relayed to a central aggregation server. This provides privacy of data without compromising effectiveness of collaborative learning. The proposed framework is tested in a variety of realistic scenarios such as scalability analysis, non-identically distributed (non-IID) data, client dropout, communication constraints, seasonal variability, and privacy saving noise injection. Simulation outcomes show that the proposed FL-GRU model presents a final RMSE of 0.129, MAE of 0.100 and forecasting accuracy of 97%. When increasing the number of clients involved in the process, 2 to 10, RMSE decreases to 0.129, which supports the high scalability advantages. In non-IID scenarios, RMSE ranges between 0.129 and 0.167, and even with half of the clients dropping, the system is robust with RMSE of 0.172. The proposed FL-GRU is better than the benchmark models, Local GRU, centralized GRU, FL-LSTM, and FL-ANN with a maximum improvement of 22.29% in RMSE reduction. Also, the best predictive consistency is found with correlation analysis with R2 = 0.957. On the whole, the suggested approach can offer an efficient, privacy-aware, and scalable solution to distributed solar energy prediction in smart cities.

Fields of Study & Subjects

Solar Radiation and Photovoltaics Energy Load and Power Forecasting Smart Grid Energy Management

Publication details

Journal / source
Preprints.org
Publisher
MDPI AG
Publication date
23 April 2026
Document type
Preprint