A novel hybrid TCN-TE-ANN model for high-precision solar irradiance prediction

Murat IsikarXiv 2026 · DOI

TL;DR

Predicting when and how hard the sun will shine is critical for keeping modern, renewable-heavy power grids stable, yet weather patterns make solar radiation notoriously chaotic. This paper introduces a novel three-stage neural architecture—chaining together Temporal Convolutional Networks, Transformer Encoders, and standard dense layers—to forecast solar irradiance every 30 minutes. Tested on over 22 years of data across major U.S. solar farms, it captures both fleeting cloud cover and long-term seasonal shifts with remarkable precision.

What Problem Does This Paper Address?

Solar photovoltaic capacity has exploded over the last two decades, transforming from a niche technology into a cornerstone of global electricity generation.

Global growth in solar PV installed capacity from 2000 to 2023.

However, plugging solar into a power grid is a logistical headache because sunlight is intermittent and non-linear, dictated by shifting clouds, humidity, and atmospheric dust. To keep the lights on without burning excess fossil-fuel backups, grid operators need accurate forecasts of Global Horizontal Irradiance (GHI)—the total solar radiation hitting a flat surface. While many machine learning models tackle daily or hourly solar averages, predicting GHI at high frequencies (like 30-minute intervals) across long time horizons remains tough, requiring a model that understands both immediate weather hiccups and long-range seasonal rhythms.

Methods

Instead of relying on a single type of neural network, the author builds a sequential, three-part pipeline (TCN $\rightarrow$ TE $\rightarrow$ ANN), where each stage handles a distinct aspect of temporal learning:

  1. Temporal Convolutional Network (TCN): Standard recurrent networks (like LSTMs) read time-series data step-by-step, which can be slow and unstable over long sequences. TCNs use dilated convolutions—essentially sliding filters with strategic gaps—allowing the network to process time steps in parallel and spot patterns across both short and long timescales.
  2. Transformer Encoder (TE): Originally built for language processing, the Transformer block sits right on top of the TCN's extracted features. Using multi-head attention, it dynamically weighs which historical time steps and meteorological interactions matter most right now.
  3. Artificial Neural Network (ANN): Finally, standard fully connected (dense) layers act as a funnel, synthesizing the attention-refined features into a single scalar GHI prediction.

Before feeding data in, features were scaled between 0 and 1, and selected using both linear correlation and non-linear Mutual Information Scores (keeping key predictors like solar zenith angle, temperature, and humidity). What’s novel here isn’t the individual components, but this specific hierarchical hand-off applied to high-frequency solar data.

Datasets

The author compiled a massive dataset from the National Solar Radiation Database (NSRDB), spanning 22 years (2000–2022) at a 30-minute resolution. It covers 69 distinct measurement stations across three major U.S. utility-scale solar facilities in the arid Southwest:

  • Desert Sunlight (California – 5 stations)
  • Copper Mountain (Nevada – 13 stations)
  • Solar Star (California – 51 stations)

In total, the dataset comprises 13,902,120 rows—substantially larger and finer-grained than the daily or single-station datasets commonly used in prior benchmarks. Data was split chronologically (90% training, 10% testing, equating to ~26 months of unseen test data) to prevent future-to-past data leakage, and the curated dataset was made public on Kaggle.

Key Insights and Ideas

  • Dropping the clock improves generalization: Surprisingly, the author intentionally threw out explicit timestamp columns (Year, Month, Day, Hour, Minute). Because the data arrives in strict 30-minute steps, the TCN and Transformer implicitly learn diurnal and seasonal rhythms from the sequence itself. Preliminary tests showed that leaving explicit dates in actually caused multicollinearity and slight overfitting in the dense layers.
  • Divide-and-conquer sequence modeling: Applying attention after dilated convolutions lets the TCN do the heavy lifting of raw temporal compression, leaving the Transformer free to focus purely on weighting high-level relationships.

Key Results

Across all 69 stations, the hybrid model delivered remarkably tight, consistent predictions (note: inputs were MinMax scaled to $[0, 1]$ during preprocessing):

  • $R^2$ (Goodness of fit): Averaged 0.96502 overall (ranging from 0.94768 to 0.97417), meaning the model explains ~95–97% of variance in solar irradiance.
  • Error Metrics: Achieved an average MAE of 0.02957 $\text{W/m}^2$ (range: 0.02510–0.03526) and an average RMSE of 0.05467 $\text{W/m}^2$ (range: 0.04776–0.06543).
  • Spatial Stability: Performance barely wavered across sites. Coefficients of variation for $R^2$ stayed below 0.74%, and error distributions remained tightly centered around zero without noticeable bias.

Limitations and Future Work

  • Fair-weather geography: All three test sites sit in the sunny, arid U.S. Southwest. The model hasn't yet been stress-tested against erratic tropical monsoons, heavy continental winters, or high-latitude climates.
  • Compute overhead & static training: Training and tuning took 10–12 hours on a workstation GPU (RTX 3060). That's fine for offline batch updates, but too heavy for edge devices on microgrids, and the model doesn't adapt in real time to sudden weather shifts. Future work could explore model pruning, quantization, or TCN-only variants.
  • Downstream impact & baselines: Due to unavailable code from prior studies, baseline models weren't re-run under identical statistical conditions. Furthermore, the paper measures forecasting math, not grid economics—connecting these predictions to actual battery scheduling or grid simulation tools is the logical next step.

Summary updated

BibTeX
@misc{isik2026novel,
  author = {Murat Isik},
  title = {{A novel hybrid TCN-TE-ANN model for high-precision solar irradiance prediction}},
  year = {2026},
  eprint = {2611.39044},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.39044},
}
Figure