Forecasting the intermittent solar resource: a course
In brief
- This page is the reproducible companion of the course: the questions it answers with their sources, the published research behind each chapter, the open code and how to cite. The course itself, all 59 slides with their text, the outline and the PowerPoint and PDF downloads, is on www.cyrilvoyant.com: in English · en français.
- Taught in UE14 (teaching unit 14: the applied research project of the Mines Paris – PSL engineering curriculum), on ten years of hourly measurements from Ajaccio (Corsica).
- One hour ahead, on the 2007 test year, daytime only, the nRMSE (root mean squared error as a percentage of mean irradiance) is 22.0% for smart persistence, 21.3% for an AR(2) model and 20.5% for an ELM: each step up the ladder of models must be measured against the step below.
- In plain words: satellite forecasting, one cell or the whole field? · all research stories.
Course UE14, Mines Paris – PSL, 2026 · taught in French, slides in French and English · slides and Python/Matlab practicals
How do you forecast solar irradiance one hour ahead, and how do you know whether your forecast is any good? This course answers both questions from scratch, on ten years of real hourly measurements from Ajaccio (Corsica, 1998–2007), and ends with the methods used in current research: difference to trend and ratio to trend (the clear-sky curve removed by subtraction or by division), forecastability (how much of the variability can be anticipated), NICE metrics (a forecast error divided by that of persistence), Extreme Learning Machines (neural networks with fixed random hidden weights), online learning and frugal AI.
In English: Solar forecasting basics: a worked example on ten years of Ajaccio data, the whole course step by step with the real numbers.
Questions answered in the course
How do you forecast solar irradiance one hour ahead?
Start by removing the deterministic solar cycle with a clear-sky model: the course uses the difference to trend (GHI: global horizontal irradiance; cs: clear sky), CSI = GHI − GHIcs (a ratio to trend GHI / GHIcs is the other common choice), then centers it. Fit an autoregressive model AR(p) on it by ordinary least squares, choosing the order p on data not used for testing (the autocorrelation function ACF and the partial autocorrelation function PACF, which show how strongly a value depends on earlier ones; or the Akaike and Bayesian information criteria AIC and BIC, which penalize every extra parameter). Compare it with persistence and smart persistence, and add a nonlinear model such as an Extreme Learning Machine only if it beats them. The methods are reviewed in Voyant et al., Renewable Energy 2017 (doi:10.1016/j.renene.2016.12.095 · BibTeX) and benchmarked in Voyant et al., Renewable Energy 2022 (doi:10.1016/j.renene.2022.04.065 · BibTeX).
What are difference to trend and ratio to trend in solar forecasting?
Compare measured global horizontal irradiance with the clear-sky reference at the same place and time: use a difference to trend (CSI = GHI − GHIcs, used in the course: about 0 under clear sky, negative under clouds) or a ratio to trend (GHI / GHIcs). It removes most of the daily and annual cycle, so that statistical models work on the cloud-driven part. The choice of clear-sky model matters for short-term forecasts (Voyant et al., Solar Energy 2025, doi:10.1016/j.solener.2025.113490 · BibTeX).
How do you know whether a solar forecast is good?
Compare it with reference forecasts on the same samples: persistence and smart (clear-sky) persistence at least. Report normalized bias (nMBE) and error (nRMSE), a skill score against the reference, or the persistence-normalized NICEᵏ metrics, and say whether night hours are included.
How variable and forecastable is solar irradiance at a site?
The course measures site variability with the stochastic coefficient of variation (sCV) and a forecastability index F, introduced in Voyant et al., Renewable Energy 2026 (doi:10.1016/j.renene.2025.123913 · BibTeX). They help compare sites before comparing forecasting models.
The course outline, part by part and slide by slide, is on the course page (en français).
What students take away
- A forecast is only useful if it beats a reference: always report persistence and smart persistence.
- Remove or encode the deterministic solar cycle before learning, and state how (difference, ratio, or time encoding).
- Choose model complexity from data you have not tested on; report the protocol (day only or day and night).
- A smaller model that is refreshed often can rival a larger one: frugality is a design choice.
Research behind the course
Each chapter rests on published work by the author and colleagues:
- C. Voyant et al., Machine learning methods for solar radiation forecasting: a review, Renewable Energy, 2017 · doi:10.1016/j.renene.2016.12.095 · BibTeX
- C. Voyant et al., Benchmarks for solar radiation time series forecasting, Renewable Energy, 2022 · doi:10.1016/j.renene.2022.04.065 · BibTeX
- C. Voyant et al., NICEk metrics, Sustainable Energy Technologies and Assessments, 2025 · doi:10.1016/j.seta.2025.104588 · BibTeX · guide
- C. Voyant et al., Stochastic coefficient of variation: variability and forecastability of solar irradiance, Renewable Energy, 2026 · doi:10.1016/j.renene.2025.123913 · BibTeX
- C. Voyant et al., On the importance of clearsky model in short-term solar radiation forecasting, Solar Energy, 2025 · doi:10.1016/j.solener.2025.113490 · BibTeX
- C. Voyant et al., Symmetry-constrained forecasting of periodically correlated energy processes, Applied Mathematical Modelling, 2026 · doi:10.1016/j.apm.2026.116988 · BibTeX
Guides: sCV and F · BLEND and CLIPER · γ-index · interactive comparison. Open code to go further: PV_ELM_pred (ELM benchmark), cyclostationary persistence, Make_Stationary.
How to cite this course
Voyant, C. (2026). Prévision de la ressource solaire intermittente [Forecasting the intermittent solar resource]. Course UE14, Mines Paris – PSL. https://cyrilvoyant.github.io/teaching/solar-forecasting-course.html
When you reuse a method from the course, please also cite the corresponding article above.
The slides and their downloads are on the course page. For other uses, contact the author through the author profile.
Research explained
Read the findings, evidence and limits in these research stories.