Abstract
Accurate solar irradiance forecasting is essential for grid stability and energy market efficiency. While short-term (minutes) and day-ahead (24+ hours) predictions are relatively mature, the "intraday" window—ranging from 10 minutes to several hours—remains a significant challenge. This paper introduces the Solar Multimodal Transformer (SMT), a lightweight architecture that leverages existing public webcam infrastructure and historical time-series data to predict Global Horizontal Irradiance (GHI). By employing a single-stream transformer with Haurwitz normalization and column-based patching, the SMT model achieves a 25.95% improvement in Root Mean Square Error (RMSE) over industry-leading satellite-based services like Solcast.
Introduction
The inherent volatility of solar energy poses a major hurdle for its integration into the electrical grid. Traders and grid operators rely on accurate forecasts to balance supply and demand; however, the intraday window is notoriously difficult to model. Traditional high-accuracy methods often necessitate expensive, specialized hardware such as "all-sky" cameras or high-resolution satellite imagery. These solutions are frequently hindered by high deployment costs and maintenance issues, such as lens contamination from dust or dew.
To address these limitations, this research explores the use of "off-the-shelf" public webcams. By utilizing existing infrastructure, the proposed Solar Multimodal Transformer (SMT) offers a scalable, cost-effective alternative that maintains high precision by integrating visual and temporal data streams.
Methodology
Single-Stream Multimodal Architecture
Unlike traditional multimodal models that process different data types in separate "streams" before late-stage fusion, the SMT utilizes a single-stream transformer. The model accepts two primary inputs: a single image frame from a public panorama and a 24-hour window of historical GHI data. By feeding these modalities into the transformer simultaneously, the architecture can learn deep, early-stage correlations between visual cues (like cloud density) and numerical trends (historical irradiance patterns).
Haurwitz Normalization
A critical challenge in solar forecasting is the predictable diurnal cycle of the sun, which can mask the impact of transient weather events. To isolate the effect of cloud cover, the researchers applied Haurwitz normalization. By scaling actual GHI measurements against the theoretical maximum for a given time and location (the clear-sky model), the data is "detrended." This allows the model to focus on predicting the degree of sky clearness rather than the absolute irradiance value, which varies naturally with the time of day.
Column-Based Patching
Standard Vision Transformers (ViTs) typically divide images into square patches. However, the SMT employs column-based patching—dividing the panoramic image into vertical strips. This approach is specifically tailored to solar tasks, as vertical strips better capture the structure of the horizon and the directional movement of weather systems across the sky, leading to more efficient spatial feature extraction.
Experimental Setup and Datasets
The SMT was evaluated using data from five geographically diverse locations in Switzerland, sourced from Roundshot public panoramas. These locations included:
- Urban Environments: Capturing complex reflections and shadows from buildings and streetscapes.
- Natural Landscapes: Including valleys, lakes, and mountain ranges.
Visual data was paired with localized GHI measurements from MeteoSwiss weather stations. The testing period (late 2023 to early 2024) provided a rigorous evaluation environment, encompassing a wide range of meteorological conditions from clear summer days to heavy winter cloud cover.
Key Insights
The Advantage of "Cluttered" Perspectives
One of the most surprising findings was that public webcams—which include buildings, trees, and ground elements—often outperformed professional all-sky cameras. The "clutter" in these images provides vital visual context; shadows on the ground and reflections on glass surfaces serve as indirect indicators of light intensity, helping the model calibrate its predictions more accurately than a lens pointed solely at the sky.
Attention and Sun Tracking
Analysis of the model’s attention maps revealed that the SMT naturally learns to "track" the sun. In clear conditions, the model focuses its attention on the sun's position and the diametrically opposite direction in the panorama, effectively mimicking the behavior of specialized solar tracking hardware without explicit programming.
Results
The SMT model demonstrated superior performance across all tested metrics:
- Benchmark Comparison: In a 12-day head-to-head evaluation, SMT reduced RMSE by 25.95% compared to Solcast, the current industry standard for satellite-based forecasting.
- Architectural Superiority: The model consistently outperformed time-series-only models (e.g., LSTNet) and hybrid image-sequence models (e.g., CNNLSTM), proving that a single-frame transformer approach is both more accurate and more computationally efficient.
- Deployment Efficiency: By requiring only a single image frame rather than a video sequence, the SMT is highly suitable for edge deployment, minimizing bandwidth requirements for remote monitoring stations.
Conclusion and Future Work
The Solar Multimodal Transformer represents a significant step forward in democratizing high-accuracy solar forecasting. By turning ubiquitous public cameras into sophisticated sensors, the SMT provides a path toward more resilient and efficient renewable energy grids.
Future research will focus on expanding the model's capabilities to include dawn and dusk transition periods and developing "zero-shot" capabilities to allow the model to function across different camera types without the need for site-specific fine-tuning. While challenges remain in preventing overfitting when scaling to larger feature extractors, the SMT establishes a new baseline for cost-effective, intraday solar prediction.
Summary updated