Solar energy paper index
Residential photovoltaic generation forecast via long short-term memory and transformer
One-line summary
A solar energy research paper on Residential photovoltaic generation forecast via long short-term memory and transformer.
Engineering notes
Engineering notes will be added by the Power for Solar editorial team.
Chinese explanation / 中文解读
中文解读待补充:本站会优先为光伏效率、钙钛矿太阳能电池、储能技术、太阳能热利用、BIPV、并网技术等高价值论文补充中文说明。
Original abstract
Abstract Accurate short-term photovoltaic (PV) power forecasting is increasingly important for maximizing on-site self-consumption and ensuring reliable grid integration as decentralized PV deployment grows. This paper presents a systematic comparison of Long Short-Term Memory (LSTM) and transformer-based architectures for deterministic short-term PV power forecasting using publicly accessible data from multiple climatic regions. The dataset combines multi-year 15-minute PV power measurements from nine plants with corresponding meteorological variables, and it is followed by a unified preprocessing pipeline that includes outlier treatment, interpolation, feature scaling, and correlation-based feature selection. Several feature subsets and input window lengths are evaluated, and Bayesian hyperparameter optimization is employed to refine model configurations for both architectures. The results indicate that using all meteorological variables except cloud coverage with a 2-day input window yields the best performance. Under this configuration, the transformer model outperforms the LSTM model, achieving on average test errors of MSE = 0.0038 and MAE = 0.0265, compared to 0.0055 and 0.0343 for the LSTM, respectively. An analysis of time-resolved residuals shows that both models exhibit the largest errors around noon, while the transformer provides a consistently narrower error distribution over the diurnal cycle. These findings highlight the advantages of attention-based sequence modeling for PV applications and offer practical guidance on feature design, input horizon selection, and hyperparameter ranges for future data-driven PV forecasting studies.
Links and sources
Need this topic turned into a technical roadmap?
Power for Solar can prepare a custom solar energy literature review, simulation code map, dataset map, and B2B photovoltaic technology assessment.
Request B2B research
Comments