SolarTformer: A Transformer Based Deep Learning Approach for Short Term Solar Power Forecasting

Ankan Basu, Jyotiraditya Roy, Aditya Datta, Prayas Sanyal, Sumanta Banerjee
4/27/2026
cs.LGcs.AIphysics.comp-ph
transformer-attention

No confident code implementation found for this paper.

Abstract

Accurate forecasting of solar power output is essential for efficient integration of renewable energy into the grid. In this study, an attention-based deep learning model, inspired by transformer architecture, is used for short-term solar power forecasting.

Show full abstract

Our proposed model, "SolarTformer", is designed to predict solar power output from meteorological data. Unlike traditional models, SolarTformer leverages self-attention mechanisms to effectively capture temporal dependencies and spatial variability in solar irradiance. In addition, the proposed methodology includes feeding power station-specific metadata into the model, which helps to generalize between power stations located at different locations and with different panel configurations and in different seasons. Our experiments demonstrate that SolarTformer significantly outperforms previous models on the same data set. In particular, the model exhibits strong performance on both clear and cloudy days, indicating high robustness and generalizability. These findings highlight the potential of attention-based architectures in enhancing the accuracy of solar forecasting, contributing to a more reliable management of renewable energy.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{basu2026solartformer,
  title  = {SolarTformer: A Transformer Based Deep Learning Approach for Short Term Solar Power Forecasting},
  author = {Ankan Basu and Jyotiraditya Roy and Aditya Datta and Prayas Sanyal and Sumanta Banerjee},
  year   = {2026},
  eprint = {2604.24306},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.24306v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2604.24306.svg)](https://codeofpaper.com/paper/2604.24306)

Discussion