Neural Network Based Prediction of Solar Power Generation

Authors

  • Meeganthiran Subramaniam Universiti Tun Hussein Onn Malaysia
  • Dirman Hanafi Universiti Tun Hussein Onn Malaysia
  • Ariffuddin Joret Universiti Tun Hussein Onn Malaysia

Keywords:

Artificial Neural Network, Solar Power, Forecasting, Arduino Mega, Environmental Sensors, NARX, Timme-Series Prediction, MATLAB, MSE

Abstract

This project shows the development of solar power forecasting by using a recurrent neural network-based time-series model, typically a Nonlinear Autoregressive model with External Inputs (NARX) to predict the solar power produced by using real-time environmental factors. Multiple sensors are integrated with an Arduino Mega 2560 to detect important environmental factors such as sunlight intensity, temperature, humidity, wind speed, rainfall, atmospheric pressure, voltage and current. These data were logged to an SD card every 5 minutes over two months period and pre-processed for the training. The set of data is then imported to MATLAB to train NARX model using the Levenberg-Marquardt algorithm. This model achieved a best validation performance of 0.00035075 MSE, showing a high accuracy in analysing the non-linear relationships between environmental conditions and solar power output. The time series graph also shows that the predicted values are closer to the actual values during training, validation and testing stages. This forecasting method highlights the importance of using the NARX model in improving the solar energy under varying weather conditions.

Downloads

Published

28-10-2025

Issue

Section

Electrical and Power Electronics

How to Cite

Subramaniam, M., Hanafi , D. ., & Joret , A. . (2025). Neural Network Based Prediction of Solar Power Generation. Evolution in Electrical and Electronic Engineering, 6(2), 356-365. https://publisher.uthm.edu.my/periodicals/index.php/eeee/article/view/20755