Residential photovoltaic generation forecast via long short-term memory and transformer
A systematic comparison of Long Short-Term Memory and transformer-based architectures for deterministic short-term PV power forecasting using publicly accessible data from multiple climatic regions highlights the advantages of attention-based sequence modeling for PV applications and offers practical guidance on feature design, input horizon selection, and hyperparameter ranges for future data-driven PV forecasting studies.