Manuscript Offprint

arXiv:2610.30940

Vision Transformers for Estimating Irradiance Using Data Scarce Sky Images

David Hamlyn, Sunny Chaudhary, Tasmiat Rahman

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Accurate estimation of diffuse horizontal irradiance (DHI) is critical for optimising photovoltaic system performance and energy forecasting yet remains challenging in regions lacking comprehensive ground-based instrumentation. Recent advancements using Vision Transformers (ViTs) trained on extensive sky image datasets have shown promise in replacing costly irradiance measurement equipment, but the scarcity of long-term, high-quality sky imagery significantly restricts practical implementation. Addressing this critical gap, this study proposes a novel dual-framework approach designed for data-scarce scenarios. First, calculated atmospheric parameters, including extraterrestrial irradiance and cyclic time encodings, are integrated to represent sky conditions without utilising any instrumentation. Next, a sequential pipeline initially predicts synthetic global horizontal irradiance (GHI) and uses it as a feature, to refine DHI estimation. Finally, a dual-parallel architecture simultaneously processes raw and overlay-enhanced fisheye sky images. Overlays are generated through unsupervised, physics-informed cloud segmentation to highlight dynamic sky features. Empirical validation is performed using data from the Chilbolton Observatory, chosen for its temperate climate and frequent cloud variability. To simulate data-scarce conditions, models are trained on a single month (e.g., January) and evaluated across a temporally disjoint, full-year test set. Under this setup, the sequential and dual-parallel frameworks achieve RMSE values within 2-3 W/m² and 1-6 W/m², respectively, of a state-of-the-art ViT trained on the complete dataset. By combining physics-informed modelling with unsupervised segmentation, the proposed method provides a scalable and cost-effective solution for DHI estimation, advancing solar resource assessment in data-constrained environments.

Keywords: Computer vision, Machine learning, Solar irradiance, Sky imaging

1. Introduction

As global solar capacity rapidly scales into the terawatt range, sustaining this growth necessitates highly accurate and reliable irradiance measurements [1]; these are critical for evaluating photovoltaic system performance, forecasting power generation, and ultimately lowering the levelized cost of electricity (LCOE). Accurate measurement of diffuse horizontal irradiance (DHI) is crucial for system design, resource assessment, and energy dispatch; yet continuous high-quality data in this domain remain exceptionally challenging to acquire.

In contrast to global horizontal irradiance (GHI) measurements, which are widely available at global meteorological stations due to the widespread use of Class-A pyranometers, DHI measurements are considerably scarcer globally, primarily because they require specialised and costly sun-tracking instruments [2]. This scarcity severely limits accurate solar forecasting and photovoltaic resource assessment, particularly in remote or developing regions. Conventional irradiance measurement systems represent the industry benchmark for accuracy. However, their substantial initial costs, ongoing maintenance requirements and frequent calibration demands along with the logistical challenges significantly limit their applicability, especially in under-instrumented, remote, or developing regions [2],[3]. This directly undermines the viability of traditional regression-based models, reinforcing the urgent need for alternative approaches [4],[5].

Recent advances in computer vision have shown that vision transformers (ViTs), trained on large-scale sky image datasets, hold significant promise for replacing expensive irradiance measurement equipment [6]. This reinforces the demand for learning architectures capable of producing high-quality predictions from constrained atmospheric or visual input, a challenge our model directly addresses [6].

Preprint submitted to Elsevier

May 5, 2025

To address these limitations, this study builds upon recent advances in ViT architectures for solar irradiance estimation. ViTs have shown considerable success in extracting spatially and radiometrically relevant features from sky imagery. However, their effectiveness is fundamentally constrained by their high parameter count and reliance on self-attention mechanisms, which demand extensive training data to learn feature representations and avoid overfitting. This requirement has been well established in the literature, with studies demonstrating that transformer-based models scale predictably with dataset size, and that insufficient data severely limits their generalisation capabilities [7],[8]. These limitations underscore the importance of developing data-efficient adaptations tailored for sparse-image and low-instrumentation settings.

In contrast, the approach presented herein is explicitly designed for data-constrained environments. It integrates fisheye sky images enhanced via overlay-based segmentation with auxiliary atmospheric parameters, namely, extra-terrestrial irradiance (ETI) and cyclic time encodings, forming a hybrid input representation. Aiming to maximise predictive performance where extensive meteorological datasets or dense image sequences are unavailable.

The proposed framework is validated using measured data from the Chilbolton Facility for Atmospheric and Radio Research (CFARR), Hampshire, UK (51.1445°N, 1.4270°W) [9], [10], [11]. The temperate climate of the site, characterised by frequent and rapid variations in cloud cover, provides a rigorous test environment to evaluate the generality and robustness of the model under realistic and challenging conditions [6].

This paper is structured as follows: First, previous methods for irradiance estimation are reviewed, emphasising upon conventional approaches and recent advancements. The proposed hybrid framework first incorporates calculated atmospheric parameters, including ETI and cyclic time encodings, as input features to improve estimation without relying on direct ground-based measurements. In the sequential pipeline, two models operate in series: the first predicts synthetic GHI, which is then used as an additional feature by a second model to refine DHI estimation. In the parallel dual pipeline, two branches process raw and overlay-enhanced fisheye sky images simultaneously, capturing complementary cloud features to improve prediction accuracy. The models are then validated using data from CFARR. The paper concludes with a discussion of results, comparative analysis, and the practical implications of the proposed method. A key gap in current literature is the absence of a methodology capable of high-accuracy diffuse irradiance estimation using limited sky imagery datasets and minimal instrumentation. Ultimately, the framework introduces a solution for accurate solar estimation without dense data, significantly broadening global accessibility to photovoltaic estimation.

Contributions and Motivations: Building on state-of-the-art vision transformers, we introduce a novel hybrid framework to enhance irradiance estimation, reducing reliance on direct measurements and maximising predictive accuracy in data-limited scenarios. Key contributions include: (1) a sequential architecture that first estimates synthetic GHI using one model before integrating it as a feature in a second model, demonstrating a structured approach to improving DHI estimation under diverse atmospheric conditions; and (2) a parallel dual framework that simultaneously processes raw and augmented sky images, capturing complementary information to enhance accuracy in data-constrained scenarios. These innovations advance the field toward a scalable solution for irradiance prediction, as confirmed through experimental validation across varying levels of data availability.

References (45)