An LSTM-Based Approach for Short-Term Solar Power Forecasting with Diurnal and Intra-Day Variability
DOI:
https://doi.org/10.65780/bima.v1i2.7Keywords:
Solar power forecasting, Long short-term memory, Time-series prediction, Photovoltaic systems, Deep learningAbstract
The increasing penetration of solar photovoltaic (PV) systems into modern power grids demands accurate, reliable short-term power forecasting to ensure operational stability and efficient energy management. However, solar power generation exhibits strong nonlinearity, non-stationarity, and pronounced temporal dependencies, driven by diurnal cycles and rapid environmental variations, which pose significant challenges for conventional forecasting approaches. This study aims to develop an efficient Long Short-Term Memory (LSTM)-based framework for short-term DC power prediction that effectively captures the temporal dynamics of solar power generation while maintaining low computational complexity. The proposed approach utilizes historical power and operational data collected from two utility-scale solar PV plants in India. A comprehensive time-series preprocessing pipeline is applied, including temporal feature extraction, categorical transformation, and Min–Max normalization. Multiple LSTM architectures with varying numbers of hidden units are systematically evaluated to identify an optimal balance between model complexity and predictive performance. Model training is conducted using the Adam optimizer with exponential learning rate decay and early stopping to prevent overfitting. Experimental results demonstrate that the proposed LSTM model with a 25–50 unit configuration achieves the best performance, yielding a test Mean Squared Error of 51.92 and a prediction error of only 0.36%. Visual and quantitative analyses confirm that the model accurately reconstructs diurnal patterns and intra-day fluctuations, with strong generalization capability on unseen data. The findings indicate that a carefully configured LSTM can deliver high forecasting accuracy without relying on complex hybrid architectures or additional weather data, making it suitable for practical solar energy management applications.














