Skip to content
StromWert

Insights · Negative prices · Forecasting · 23/11/2026 · Jan Gerstein

Solar power forecasting: how weather data and AI predict PV output

Solar power forecasting predicts how much electricity your photovoltaic (PV) plant will generate in each quarter-hour of the coming hours and days. It combines weather models, satellite images and measurements from the plant, increasingly through artificial intelligence (AI), mainly machine learning: methods that learn relationships from measured data by themselves. For the following day, the best methods in published studies achieve errors of a few per cent of installed capacity, higher for single plants than for whole regions.

What a PV forecast predicts

In operation, a “yield forecast” usually means a power forecast: the expected feed-in per time interval, not the annual yield. Planners estimate the annual yield before construction from long-term irradiance data, for example with the European Commission’s PVGIS (Photovoltaic Geographical Information System) tool. The operational forecast, by contrast, works with the weather forecast for tomorrow and the next few hours. [22, 24]

Two horizons matter to operators. Day-ahead means: for the following day. This electricity is traded in a Europe-wide coupled auction: one common algorithm matches the bids of many countries with the transmission capacity between them. On the EPEX Spot power exchange the order book, the collection of all buy and sell bids, closes at 12:00 on the day before delivery; according to EPEX Spot, results follow from 12:55. Since delivery day 01/10/2025 the quarter-hour has been the market time unit, meaning the shortest period traded. [14, 15, 16]

Intraday means short-term, up to shortly before delivery. On the intraday market, trading continues after the auction, in Germany from 15:00 on the day before until shortly before delivery starts. A forecast that updates during the day is therefore useful twice: for trading and for operating the plant. [16, 17]

The German Renewable Energy Sources Act (EEG) also works in quarter-hours. The spot market price is the price from day-ahead coupling for quarter-hour contracts (Section 3 no. 42a EEG). If it is negative, Section 51(1) EEG reduces the applicable value to zero for many newer plants; this is the value from which the market premium is calculated. [1, 2] In direct marketing, you sell your electricity to third parties, usually through a direct marketer on the exchange. In the subsidised form, the grid operator also pays you the market premium (Section 19(1) no. 1 and Section 20 EEG). [27, 28] A forecast used for market decisions should therefore show quarter-hours; weather data in hourly steps must be refined in time for this. [5]

Which input data count?

Every PV forecast starts with numerical weather prediction (NWP). This is a physical computer model of the atmosphere that calculates the state of the next hours and days from observations. For PV forecasting, the key variables are irradiance at ground level, split into direct irradiance, which arrives straight from the sun, and diffuse irradiance, scattered by clouds and air, as well as cloud cover and temperature. [5, 20]

The closer delivery comes, the more observations matter. For minutes to a few hours ahead, the literature finds current measurements to be the key information. Satellite images improve the forecast for several hours ahead, sky cameras at the plant for the next hour. This short-term forecasting is also called nowcasting. [21, 23]

The table lists widely used freely available weather models; the details come from the weather services themselves. The German Weather Service (DWD) runs the ICON model (Icosahedral Nonhydrostatic) globally and as the regional version ICON-D2. The European Centre for Medium-Range Weather Forecasts (ECMWF) runs the physical model IFS (Integrated Forecasting System) and the learning model AIFS (Artificial Intelligence Forecasting System). [4, 5, 6, 8, 9, 29]

The market works with forecasts too. Under Article 14 of EU Transparency Regulation 543/2013, transmission system operators, which run the long-distance transmission grids, provide a solar forecast per bidding zone, meaning per price area. It is published by 18:00 Brussels time on the day before delivery. They update it on the delivery day. The data are available on the transparency platform of the European Network of Transmission System Operators for Electricity (ENTSO-E). For Germany there is also an online extrapolation of actual solar generation, initially with preliminary values. [10, 11, 12]

Data sourceWhat it providesHorizon and resolution
DWD ICON-D2Regional model of the German Weather Service (DWD) for Germany, Switzerland and Austria, with radar data, freely available as open data2.1 km grid spacing (the distance between the model’s calculation points), a new run every 3 hours; according to the open data directory, files in hourly steps up to 48 hours ahead
DWD ICON (global)Global model of the DWD, freely available as open data13 km; runs at 00 and 12 Coordinated Universal Time (UTC) up to 180 hours, at 06 and 18 UTC up to 120 hours
ECMWF IFS and AIFSModels of the European Centre for Medium-Range Weather Forecasts; AIFS is a weather model based on machine learningup to 15 days; open data under the Creative Commons licence CC BY 4.0, IFS with grid spacing of 0.25° and 0.1° (roughly 28 and 11 km north to south)
Satellite and sky cameraCloud motion from images, for short-term forecastingminutes to several hours
Plant dataCapacity, orientation, tilt, limits of the inverters (which convert the modules’ direct current into alternating current for the grid) and feed-in measurementsmaster data (fixed details such as capacity and orientation) once, measurements continuously in quarter-hours or finer

The DWD open data services are free of charge but come without guaranteed availability. Anyone basing switching decisions on them needs a fallback source, such as ECMWF open data, and a rule for when both are missing. [7, 9]

Physical, statistical, AI: how weather becomes power

A conversion model is what turns the weather forecast into a power forecast for your plant. Three families of methods are common, and in practice they are often combined. [19, 20, 21]

  • Physical model

    It splits the forecast irradiance into direct and diffuse components, converts them to the tilted module plane and accounts for temperature and wind. It needs no measurement history, but it does need accurate orientation and tilt. For newly commissioned plants it is therefore often the only option. [20, 21]

  • Statistical model

    It learns from the measurement history how the plant responds to the weather forecast, for example with a regression. This is a fitting method that estimates the relationship between forecast and measured value. It corrects systematic deviations of the weather model at the site. According to Sweeney et al., this statistical post-processing generally gives better forecasts than a pure power-curve model, which translates weather into power via a fixed conversion curve. [21, 20]

  • Machine learning (AI)

    Random forest and gradient boosting combine many simple decision trees, i.e. chains of if-then rules. Neural networks are computational models made of many linked calculation steps whose weights are learned from data. Both also detect non-linear relationships between many weather variables and power. In the study by Visser et al. on 152 systems, they came out ahead technically, whereas the physical model came out ahead in the economic comparison on the electricity market. [20, 19]

The most accurate method is not automatically the most economical one. Decide in advance what the forecast is for: trading, switching decisions or operational monitoring. [20, 18]

How accurate are PV forecasts day-ahead and intraday?

There is no single accuracy figure. It depends on the horizon, the size of the area, the weather and the error metric.

Forecasts for whole regions are more accurate than for one plant, because cloud effects even out over the area. The International Energy Agency (IEA) examined this in its Photovoltaic Power Systems Programme (PVPS), using Italy as an example. The root mean square error (RMSE) fell from almost 5.5 % of installed capacity on average across bidding zones to 3.6 % for Italy as a whole. [19]

For individual small rooftop systems in Utrecht, the mean absolute error of the best next-day forecast was 6.13 % of installed capacity, excluding night hours. A simple reference method that carries the previous day forward reached 11.3 %. Aggregating several systems improved the forecast, the more so the further apart the systems were. [20, 19]

Intraday, the forecast improves because measurements and satellite images are added. By how much depends on the weather: with variable cloud cover the errors are larger than on clear days. A benchmark study at eight European sites combined ground measurements, satellite data and weather models and post-processed them statistically. This produced high-quality probabilistic irradiance forecasts for the next minutes to hours. [18, 21, 23]

3.6 %
root mean square error (RMSE) of the regional forecast for Italy as a whole, relative to installed capacity (IEA Photovoltaic Power Systems Programme)
6.13 %
next-day mean absolute error for individual rooftop systems, best method in the study (Visser et al.)
11.3 %
the same error when you simply carry the previous day forward

These values are no promise for your plant and are not directly comparable, because error metrics, areas and periods differ. What a forecast achieves at your site only becomes clear when you compare it with your own measurements.

How do you measure forecast errors?

Three error metrics are standard. The mean absolute error (MAE) is the average deviation without sign. The root mean square error (RMSE) squares the deviations, averages them and then takes the square root. Large outliers therefore weigh more. The mean bias error (MBE) shows whether a forecast is too high or too low on average. [18, 20]

Percentages arise when you divide one of these errors by a reference value, such as installed capacity or mean generation. Yang et al. warn that such normalised errors only create an illusion of comparability. They recommend the skill score: it measures by what percentage the RMSE is smaller than that of a simple reference method. A simple reference method is persistence, which carries the most recent measured value forward. Yang et al. recommend a combination of persistence and climatology, i.e. the long-term average, as the reference. [18, 19]

A worked example with assumed values shows the calculation. A plant with 1,000 kWp (kilowatt peak) receives a forecast of 150 kWh (kilowatt hours) for each of four quarter-hours at midday. Measured values are 140, 160, 150 and 90 kWh; in the last quarter-hour a cloud passes over.

QuantityResultCalculation
Deviations (forecast minus measurement)+10, −10, 0, +60 kWh150 − 140, 150 − 160, 150 − 150, 150 − 90
MAE20 kWh(10 + 10 + 0 + 60) / 4
MBE+15 kWh(10 − 10 + 0 + 60) / 4; the forecast is too high on average
RMSE30.8 kWh√((100 + 100 + 0 + 3,600) / 4) = √950
MAE and RMSE relative to capacity8.0 % and 12.3 %divided by 250 kWh, the generation at full capacity per quarter-hour
MAE and RMSE relative to mean measurement14.8 % and 22.8 %divided by 135 kWh, the mean of the four measured values
Skill score38 %1 − 30.8 / 50; assumption: persistence achieves an RMSE of 50 kWh in these quarter-hours

All values are assumed. A single outlier shapes the RMSE far more than the MAE, and the same error appears as 8 % or as 14.8 % depending on the reference value. For every percentage, ask what the reference value is.

What is the forecast needed for (direct marketing, negative prices, storage)?

The direct marketer sells the forecast volume the day before and notifies it as a schedule, that is, the feed-in per quarter-hour declared in advance. If updated forecasts show that feed-in will deviate, the difference can be traded on the intraday market until shortly before delivery. Any imbalance that remains is settled by the transmission system operator with the balance responsible party. This is the company that answers for declared and actual volumes of its feed-in and offtake points matching; usually it is the direct marketer. Settlement uses the German imbalance price reBAP, the abbreviated German name for the uniform balancing energy price across all German control areas. This price applies per quarter-hour, can be positive or negative and is based on the prices of the balancing reserves activated. Balancing reserves are power from plants, storage or flexible loads called up at short notice, which transmission system operators use to offset the remaining imbalance in the grid. The transmission system operators also market electricity from plants with a fixed feed-in tariff on the basis of a forecast. [13, 16, 20, 33]

If you sell the output of a plant above 25 kilowatts (kW) of installed capacity through direct marketing, you must equip the plant with suitable technology. Through it, the direct marketer must be able to retrieve actual feed-in and control feed-in remotely at any time. You grant the direct marketer that right (Section 10b(1) EEG). Whether the direct marketer curtails at negative prices and who bears the costs is set by your contract, not by the law. [3]

For negative prices, you know the affected quarter-hours after the day-ahead auction on the day before. The only uncertainty is how much your plant will generate in those quarter-hours. That is exactly what the forecast provides. Which rule applies to your plant depends on commissioning date and capacity; the cases are explained in the article Negative electricity prices and Section 51 EEG. [1, 14, 16]

With storage, a second decision comes in: how much capacity do you keep free for the negative quarter-hours? A worked example with assumed values: a 1,000 kWp plant in direct marketing that could sell electricity in negative quarter-hours only at a negative spot market price, and a commercial battery storage system with 1,000 kWh usable capacity and 500 kW charging power. On the following day, prices are negative from 11:00 to 15:00, i.e. in 16 quarter-hours.

CaseForecast / actual generation 11:00–15:00Consequence
Forecast correct2,400 kWh / 2,400 kWhThe battery is empty at 11:00 and absorbs 1,000 kWh. 1,400 kWh fall into negative quarter-hours: feed in or curtail, as the contract provides.
Forecast too low600 kWh / 2,400 kWhYou keep only 600 kWh free and leave 400 kWh in the battery. 1,800 kWh fall into negative quarter-hours, 400 kWh more than necessary.
Forecast too high2,400 kWh / 600 kWhYou fully discharge the battery before 11:00, but it absorbs only 600 kWh. 400 kWh were released early without need and are no longer available later.

All values are assumed. Further assumptions: the battery is full before it is discharged in the morning, there are no charging or discharging losses, and all generation is fed into the grid with no self-consumption. The example calculates in kilowatt hours only. Whether shifting pays off depends on the contract, metering concept and prices. The metering concept sets out how generation, storage and grid supply are measured and billed. If electricity is stored before being fed into the grid, the payment entitlement applies only on the terms set out in Section 19(3) EEG. The payment per kilowatt hour is then determined by the entitlement that would have existed without storage (Section 19(3) sentences 1 and 2 EEG). [27] The Federal Network Agency (Bundesnetzagentur) sets out the billing rules in its determination on the market integration of storage systems and charging points (MiSpeL) of 1 October 2026. Under the demarcation option, the battery also stores electricity that does not come from renewable sources; the eligible share is determined and documented as the determination prescribes. For this option, the market premium is paid only for electricity fed in during quarter-hours in which the applicable value is above zero. What counts is the quarter-hour in which the battery feeds in, not the one in which the electricity was generated. [27, 30] Until 30 September 2027, the determination applies only if the grid operator and the metering point operator agree; the metering point operator runs your meter. [31] Section 19 EEG also provides the exclusivity option: within a calendar year, the battery stores only electricity from renewable sources (Section 19(3a) EEG). Under the flat-rate option, a flat share of the electricity fed in from the solar plant and battery counts as eligible, capped at 500 kilowatt hours per kilowatt of solar capacity per calendar year. It requires that, behind the feed-in point, electricity is generated only in solar plants and batteries. All of them must be run by the same operator, and the solar plants may have no more than 30 kilowatts of installed capacity in total (Section 19(3c) sentence 2 EEG). It can only be used once the European Commission has granted state-aid approval (Section 101(1) EEG, MiSpeL item 9(b)); according to the Federal Network Agency’s overview page (page dated 6 October 2026, accessed 23 November 2026), this approval had not been granted. A plant like the 1,000 kWp example is excluded by the 30-kilowatt limit alone. For the market premium, the demarcation and flat-rate options also require all electricity fed in at the feed-in point to be balanced in a separate balancing group or sub-balancing group, that is, a dedicated volume account in which declared and actual volumes are reconciled (Section 20 sentence 2 EEG). Before planning, clarify with your grid operator and direct marketer which option is possible for your storage system and how it is billed. [27, 28, 31, 32]

Pitfalls: how to recognise a weak forecast

Most errors do not arise in the weather model but in the data and the evaluation. Watch for five pitfalls in every forecast report:

  • Pitfall 1 – percentages without a reference value: One provider reports 5 %, another 12 %. Without the error metric and reference value this means nothing; in the example above the same error gives 8 % or 14.8 %. You can recognise it when the report gives only a single percentage. [18]
  • Pitfall 2 – night hours in the evaluation: At night, forecast and measurement are zero, and so is the error. Counting night hours lowers the mean error without the forecast getting any better. You can recognise it by error values averaged over day and night. [18, 20]
  • Pitfall 3 – wrong master data: If orientation, tilt or inverter limit in the model are wrong, the forecast is shifted permanently. You can recognise it by a mean bias with the same sign over weeks, or by errors that run in opposite directions in the morning and evening. [20, 21]
  • Pitfall 4 – curtailed periods in the measurement data: If the direct marketer curtails because of the price, or the grid operator because of grid congestion, output is missing that the weather would have delivered. If these quarter-hours stay in the data set, the forecast looks worse, and a learning model learns from distorted values. Yang et al. recommend checking and cleaning measurement data before forecasting and evaluation. You can recognise it by errors clustering at negative prices or at times of congestion. [3, 18, 20]
  • Pitfall 5 – wrong horizon or wrong resolution: A forecast made on the delivery day is compared with a day-ahead forecast. Or hourly values are simply spread across quarter-hours. You can recognise it when the report gives no creation time and no time resolution. [2, 5, 21]

Where forecasting reaches its limits

Rapidly changing cloud cover is hard to predict; the more irradiance varies, the larger the errors become. A forecast remains a probabilistic statement. For switching decisions, you should know how wide its uncertainty is, not just its mean value. [18, 21, 23]

Machine learning does not solve this on its own either. It needs clean measurement data across several seasons, and it only learns what occurred in the data. For new plants without measurement history, the physical model remains the starting point. [20, 21]

We are building a control system that evaluates spot prices and forecasts; it currently runs on pilot plants in observation mode, i.e. without real switching. We therefore cannot yet report measured results from switching. What we check for your plant is described under negative price protection.

Planned according to the government draft of 29/07/2026: new plants are to be aligned more closely with price signals through direct marketing; forecasts would then matter for more plants. The Bundestag (the German federal parliament) had not passed the EEG 2027 by 20/11/2026. [25, 26]

What you should do now

Five steps that make the forecast for your plant verifiable:

  • Technical operations management, within four weeks: Check master data: installed capacity, orientation, tilt, inverter power and contractual output limits. Document: plant documentation and an extract from the core energy market data register (Marktstammdatenregister), the Federal Network Agency’s register of electricity and gas installations.
  • Operations management, continuously from next month: Collect quarter-hour feed-in values and all curtailment periods, and flag them separately. Document: metering data from the metering point operator, which operates your meter, or an export from the data logger, which records the inverter data. Add the direct marketer’s curtailment log.
  • Management, before the next notice deadline of the direct marketing contract: Ask the direct marketer which forecast it uses for your plant and which error metric and reference value it evaluates it with. Also clarify who curtails at negative prices. Document: direct marketing contract and, if available, forecast report.
  • Operations management, after three months of measurement data: Calculate MAE, RMSE and MBE for daylight hours yourself and compute the skill score against persistence or the combination of persistence and climatology recommended by Yang et al. Document: the collected quarter-hour values and the day-ahead forecasts for the same period.
  • Management with storage planning, before the sizing decision: Have it checked how the scheduling logic handles forecast errors: what happens if the forecast is too high or too low? Document: the site’s load profile, i.e. consumption in quarter-hours, and the battery data sheet.

The services covered by operations management are described on the page maintenance and operations management.

Sources

  1. [1] Section 51 EEG (Germany), reduction of the payment entitlement at negative prices – accessed 23/11/2026
  2. [2] Section 3 EEG (Germany), definitions (no. 42a spot market price) – accessed 23/11/2026
  3. [3] Section 10b EEG (Germany), requirements for direct marketing – accessed 23/11/2026
  4. [4] German Weather Service (DWD): regional model ICON-D2 – accessed 23/11/2026
  5. [5] German Weather Service (DWD): open data directory ICON-D2, 00 UTC run, directory of variables (GRIB) – accessed 23/11/2026
  6. [6] German Weather Service (DWD): global model ICON – accessed 23/11/2026
  7. [7] German Weather Service (DWD): open data – accessed 23/11/2026
  8. [8] ECMWF: Set I, Atmospheric Model high resolution – accessed 23/11/2026
  9. [9] ECMWF: Open data – accessed 23/11/2026
  10. [10] ENTSO-E: Transparency Platform – accessed 23/11/2026
  11. [11] Commission Regulation (EU) No 543/2013 of 14 June 2013 on submission and publication of data in electricity markets, Article 14 – accessed 23/11/2026
  12. [12] netztransparenz.de: online extrapolation of actual solar generation – accessed 23/11/2026
  13. [13] netztransparenz.de: marketing by the transmission system operators – accessed 23/11/2026
  14. [14] NEMO Committee: Single Day-Ahead Coupling (SDAC) – accessed 23/11/2026
  15. [15] ENTSO-E: Single Day-Ahead Coupling (SDAC) – accessed 23/11/2026
  16. [16] EPEX Spot: Trading products – accessed 23/11/2026
  17. [17] NEMO Committee: Single Intraday Coupling (SIDC) – accessed 23/11/2026
  18. [18] Yang, Alessandrini, Antonanzas et al.: Verification of deterministic solar forecasts, Solar Energy 210 (2020) 20–37 – accessed 23/11/2026
  19. [19] IEA PVPS Task 16: Regional solar power forecasting, Report T16-01:2020, executive summary – accessed 23/11/2026
  20. [20] Visser, AlSkaif, van Sark: Operational day-ahead solar power forecasting for aggregated PV systems with a varying spatial distribution, Renewable Energy 183 (2022) 267–282 – accessed 23/11/2026
  21. [21] Sweeney, Bessa, Browell, Pinson: The future of forecasting for renewable energy, WIREs Energy and Environment (2020) – accessed 23/11/2026
  22. [22] IEA PVPS Task 16: Best Practices Handbook for the Collection and Use of Solar Resource Data, 4th edition, executive summary (2024) – accessed 23/11/2026
  23. [23] IEA PVPS: Lauret et al., The added value of combining solar irradiance data and forecasts: A probabilistic benchmarking exercise, Renewable Energy (2024) – accessed 23/11/2026
  24. [24] European Commission Joint Research Centre: Photovoltaic Geographical Information System (PVGIS) – accessed 23/11/2026
  25. [25] ZfK: energy legislation ticker for Germany (status 20/11/2026) – accessed 23/11/2026
  26. [26] German Federal Government: cabinet adopts EEG amendment and grid package (29/07/2026) – accessed 23/11/2026
  27. [27] Section 19 EEG (Germany), payment entitlement (subsection 1 market premium, subsection 3 intermediate storage) – accessed 23/11/2026
  28. [28] Section 20 EEG (Germany), market premium – accessed 23/11/2026
  29. [29] ECMWF: ECMWF’s AI forecasts become operational (25/02/2025) – accessed 23/11/2026
  30. [30] Federal Network Agency: MiSpeL determination, decision 618-25-02 of 01/10/2026, Annex 1 (demarcation option), section 2.1.7 – accessed 23/11/2026
  31. [31] Federal Network Agency (Bundesnetzagentur): MiSpeL determination, decision 618-25-02 of 01/10/2026, operative part with reasons, items 9(a) (transitional rule) and 9(b) (state-aid proviso) – accessed 23/11/2026
  32. [32] Federal Network Agency (Bundesnetzagentur): MiSpeL determination proceedings (ref. 618-25-02), overview page (German) – accessed 23/11/2026
  33. [33] netztransparenz.de: Imbalance price reBAP (German) – accessed 23/11/2026

About the author

Jan Gerstein, Managing Director of StromWert GmbH

Managing Director and responsible qualified electrician. Trained electrician, then more than 20 years in wind energy, above all in commissioning and quality assurance onshore and offshore.

More about us

Frequently asked questions about solar power forecasting

How far ahead can PV generation be forecast?

According to the DWD open data directory, the regional model ICON-D2 reaches up to 48 hours ahead, the global ICON up to 180 hours, and the ECMWF up to 15 days. For quarter-hour decisions, the following day and the current day matter most. The longer the horizon, the larger the error.

Does the German Weather Service provide a ready-made PV forecast?

The DWD provides model data such as direct and diffuse irradiance, cloud cover and temperature free of charge as open data, without guaranteed availability. Only together with your plant’s master data and measurements does this become a power forecast. A forecasting model does this conversion.

What is the difference between a yield forecast and a yield assessment?

A yield assessment estimates the annual yield before construction from long-term irradiance data, for example with PVGIS. The operational yield forecast predicts power per quarter-hour for the coming hours and days. One supports the investment decision, the other trading and switching decisions.

How accurate is tomorrow’s PV forecast?

In a study of individual rooftop systems, the mean absolute error of the best method studied was 6.13 % of installed capacity, excluding night hours. For regions the errors are smaller, on days with variable cloud cover larger. Only a comparison with your own measurements shows this for your plant.

Can you obtain a PV forecast via an application programming interface (API)?

Yes. DWD and ECMWF model data can be downloaded automatically, and PVGIS offers interfaces for annual yield data. Specialised service providers offer ready-made power forecasts; check their error metric, reference value and availability before basing decisions on them.

Status: 23/11/2026; sources accessed 23/11/2026. Legal basis: EEG 2023 as applicable on 23/11/2026 according to gesetze-im-internet.de. The EEG 2027 and the grid package have not been passed; the Bundesrat (the chamber representing the federal states) can deal with them on 18/12/2026 at the earliest. The worked examples are based on assumptions. This article does not replace legal advice.

Back to Insights

Want to know what negative prices cost your plant? The negative price check evaluates your plant data, contract and feed-in values.