Just out todayAgritech: Texts to Ugandan farmers moved what they knew and what they thought, and not what they didArtificial intelligence: An AI trained on 142 cervical photographs reached an AUC of 0.70, and found the obvious casesUncategorized: Two satellites spotted wheat stem rust in Ethiopian plots before it was severe, and the blue band did the work

Artificial intelligence

A Sky Camera And A Power Meter Beat The Best Solar Forecast

A camera pointed at the sky and a power meter, nothing else. This forecast beat the previous best by 9.6 percent and did best exactly where forecasts usually fail.

What the paper found

GateFormer forecasts intra-hour solar irradiance from sky images by embedding the observed irradiance into the visual token stream, then splitting the prediction across two decoders: one predicting the future sequence and one predicting the final-horizon change from the latest observation, adaptively weighted. It reached 125.01 W/m2 RMSE at 30 minutes on NREL-TSI, 9.6% better than a state-of-the-art transformer baseline, and achieved the lowest final-horizon RMSE across NREL-TSI, Chilbolton and SIRTA with forecast skill of 22.97 to 28.86% over smart persistence.

Grade 9 reading level5 min readPeer reviewed

What happened

Solar output changes faster than most people realise. A cloud crosses the sun and a farm’s output can halve in under a minute. Somebody has to cover that gap, which is why forecasting the next thirty minutes is worth money.

Most forecasting systems need a lot of inputs: satellite imagery, weather service feeds, numerical weather models. All of which assume you are connected to the sort of infrastructure that exists in Europe and North America.

This paper’s result is interesting partly because of what it does not need. A camera pointed at the sky, and a meter measuring how much sun is arriving. That is the whole sensor list.

The test

The model is called GateFormer and the design idea is worth understanding, because it is simple.

Forecasting from sky images usually means feeding the images to a model and asking for a number. GateFormer instead embeds the currently measured irradiance into the same stream of data as the image patches, so the model’s attention can relate what it sees in the sky to what is being measured on the ground at that moment.

Then it splits the prediction in two. One decoder — the Trajectory Head — predicts the whole future sequence of irradiance. The other, the Delta Head, predicts only how much the final value will differ from the current reading. Two different ways of answering the same question, which are good in different conditions.

The two answers are then adaptively weighted, so the model decides how much to trust each one rather than always averaging them.

They tested on three independent public datasets: NREL-TSI in the United States, Chilbolton in the United Kingdom, and SIRTA in France.

The result

On NREL-TSI, 125.01 watts per square metre of error at thirty minutes ahead. That is 9.6 percent better than a state-of-the-art transformer baseline, measured on paired timestamps so the comparison is like for like.

Across all three datasets it achieved the lowest final-horizon error among the evaluated baselines, with forecast skill of 22.97 to 28.86 percent relative to smart persistence. That baseline — assume things continue as they are, adjusted for the sun’s position — is harder to beat than it sounds, and a quarter better is a real margin.

The adaptive weighting earned its place: it outperformed either decoder alone and also outperformed fixed averaging, which is the test that shows the idea is doing work rather than decorating the architecture.

And the finding with the most operational value. The gains were largest during positive ramps — moments when output is rising fast — where it cut error by 26.27 watts per square metre.

Why do ramps matter more than averages? This is because nobody needs a forecast on a cloudless afternoon. The forecast exists for the moment when the cloud moves and somebody has to decide whether to fire up a generator. A MODEL THAT IS AVERAGE ON AVERAGE DAYS IS USELESS.

What it means

The sensor list is the commercial story. A sky camera and an irradiance meter is a few hundred dollars of hardware and no subscription, which puts intra-hour forecasting within reach of a mini-grid operator in a place with no satellite feed and no national weather service products.

The caution is geography. All three test sites are in the United States and Western Europe. Cloud behaviour in the tropics is not cloud behaviour in Hampshire, and dust is not in any of these datasets.

Therefore for an operator outside those regions, this is a strong candidate rather than a proven answer, and the thing to do is run it against local persistence for a month before believing it.

Business ideas from this paper

1. Sky-camera forecasting kits for mini-grids. The whole input list is a camera and a meter. Package the hardware, the mounting, and the model, priced for an operator with one site. Buyer: mini-grid operators and commercial solar sites in Africa and South Asia. First test: install one kit and report thirty days of skill against persistence.

2. Local ramp benchmarking. Operators do not know how bad their current forecast is during ramps, because nobody reports it separately. Offer the measurement. Buyer: independent power producers and industrial sites with solar. First test: analyse one site’s historical data and report its error during ramps versus steady conditions.

3. Tropical dataset collection. The published models are trained and tested on temperate sites. Sky-image and irradiance data from equatorial and dusty conditions barely exists publicly and would be valuable. Buyer: research groups and forecasting vendors. First test: collect six months at one African site and offer the dataset to three groups.

How sure can you be?

Among the stronger energy papers here, and peer reviewed, which is unusual in this batch.

The strengths: published in a journal rather than only posted as a preprint. Three independent datasets rather than one, so the result is not an artefact of a single site. Paired-timestamp evaluation, which prevents a common way of flattering a forecast. Skill reported against smart persistence, the honest baseline. An ablation showing the adaptive weighting actually contributes. And the ramp-regime breakdown, which is the operationally relevant cut rather than the flattering one.

The limits: all three sites are temperate and in wealthy countries, so hot, hazy and dusty conditions are unrepresented. No code release is stated. Thirty minutes ahead is useful for balancing but not for scheduling. And the error figures are site-specific: 125 watts per square metre means different things at different latitudes.

Do this today

Go outside and look at the sky, then guess whether output will be higher or lower in twenty minutes. Whatever you used to decide — the direction the clouds are moving, how thick they are — is what the camera is for.

Mark Alex

Mark Alex

Writes Just Out Tech. Founder and Managing Director of Real Biz Digital. Connect on LinkedIn.

Every article here is read against the paper it reports, and carries its own credibility score.

Source: GateFormer: Forecast-Space Decomposition for Intra-Hour Solar Irradiance Prediction from Sky Images, Energy and AI (DOI 10.1016/j.egyai.2026.100917), October 2026. arXiv:2610.30942 · arxiv.org (peer reviewed).

Just Out Tech explains new research in plain language. This article was drafted with AI assistance and checked by a human against the original source.

What to remember
  • GateFormer is a GHI-conditioned dual-decoder vision transformer that embeds observed irradiance into the visual token stream so it interacts with sky-image patch features through self-attention (arXiv:2610.30942, published in Energy and AI).
  • A Trajectory Head predicts the future irradiance sequence while a Delta Head predicts the final-horizon change from the latest observation, and the two are adaptively weighted in prediction space.
  • On the NREL-TSI benchmark it reached 125.01 W/m2 RMSE at 30 minutes ahead, 9.6% better than a state-of-the-art transformer baseline under paired-timestamp evaluation.
  • Across NREL-TSI, Chilbolton and SIRTA it achieved the lowest final-horizon RMSE among evaluated baselines, with forecast skill of 22.97 to 28.86% relative to smart persistence.
  • Gains were largest during operationally important positive ramps, reducing RMSE by 26.27 W/m2, and the model needs only sky images and measured irradiance.
Where this really is

Benchmark results on three independent public datasets, peer reviewed and published, but no operational deployment is reported.

Questions people ask

What is smart persistence?

A simple baseline that assumes conditions continue as they are, adjusted for the sun's known position. Beating it is the minimum bar for a forecast.

Why are ramps the hard part?

Because a ramp is when output changes fast, usually a cloud arriving or leaving. That is exactly when a grid operator needs the forecast.

What hardware does this need?

A camera pointed at the sky and a meter measuring irradiance. No satellite feed, no weather service subscription.

About the author

Mark Alex

Mark Alex is the founder and Managing Director of Real Biz Digital, a technology company operating out of Nairobi since 2018. He works in agentic AI and the Model Context Protocol, AI governance, enterprise software architecture and cybersecurity. He holds an MSc in Mechatronical Engineering from Obuda University in Budapest and a BSc in IT, Forensic Technology and Cybercrime, from USIU-Africa in Nairobi, and has published IEEE conference research on an AI-powered digital twin for greenhouse systems. He is the author of seven books. Between 2020 and 2024 he mentored more than 200 university students and interns in Nairobi. He writes every Just Out Tech article from the original research paper.