Watt’s Worth Next?

Watt’s Worth Next?

What is a 2-to-7-day price forecast worth?

Iberian electricity market · 2021–2026

Spanish power price forecasts two to seven days ahead, valued in euros for a flexible load. Along the way, a look-ahead leak in the grid operator's public data, and a reinforcement-learning agent that did not beat a plain optimiser.

01 · MarketMidday power got cheap. Evenings did not.

OMIE day-ahead price · Spain · Jun 2021 – Oct 2026

The shape of a day, month by month

Average price for each hour of the day, €/MWh, Spanish bidding zone, local time.

Source: OMIE day-ahead market results, data to 23 Oct 2026.
  1. One month of Spanish power prices, hour by hour. This is April 2022.

  2. Now wrap the day round a clock: midnight at the top, noon at the bottom. The further from the centre, the dearer the hour.

  3. Each mark is one hour of one month. April 2026 joins April 2022: at midday its marks fall to the dashed ring, which is zero.

  4. Every month since June 2021, one colour per year. Midday has sunk; the evening has not.

Every month on one clock, and one clock for each year.

Source: OMIE day-ahead market results, data to 23 Oct 2026. From 1 Oct 2025 each hour is the mean of its four 15-minute prices.

One clock for each year

Average price for each hour of the day, by month, €/MWh. Select a year to highlight it on the large clock.

Source: OMIE day-ahead market results. 2021 starts in June and 2026 ends in October.

The average midday price fell from 144.2 €/MWh in 2021 (June to December) to 20.8 €/MWh in 2026 (January to October). The gap between evening and midday grew from 29 to 107 €/MWh. In 2026, 925 hours so far have been at or below zero, 749 of them negative.

That gap is where batteries, flexible loads and hybrid plants earn their money. But only if someone can see it coming.

Spain is no longer the mild case

Spain against six other European bidding zones, January to October 2026.

Of these seven zones, Spain had the most negative-price hours in January to October 2026: 749, with France next at 571. Its evening-minus-midday gap, 107 €/MWh, sits within the other six zones' range of 99 to 114.

Midday and evening prices, and hours below zero

Seven day-ahead bidding zones, 1 Jan – 23 Oct 2026. Average price at midday and in the evening, €/MWh, and number of hours with a negative price.

Spain: OMIE. Other zones: Energy-Charts (Fraunhofer ISE), data Bundesnetzagentur | SMARD.de, CC BY 4.0, retrieved 22 Nov 2026. Comparison added for this page, not a thesis result.

02 · ValueA better forecast is worth money, and you can measure how much.

A flexible load of up to 1 MW · 109 weeks, 16 Sep 2024 – 18 Oct 2026

Picture an industrial process that can shift its consumption, such as a mill that fills a silo or a pump that fills a reservoir. It must use a fixed amount of energy each week. Every day at 14:00 it decides how much to use tomorrow, in tomorrow's cheapest hours, and leaves the rest for days it only knows through forecasts.

Picture an industrial process that can shift its consumption, such as a mill that fills a silo or a pump that fills a reservoir. It must use a fixed amount of energy each week. Every day at 14:00 it decides how much to use tomorrow, in tomorrow's cheapest hours, and

The same idea, deciding today with a view of the coming days, applies to any asset that can move energy across days: a battery planning its cycles, an electrolyser with a hydrogen tank or a data centre deferring batch jobs.

Tomorrow's price is already known by then: the day-ahead auction closes at midday and prices appear around 13:00. Every later day is a forecast.

Same optimiser, different forecast

The optimiser is always the same. Only the forecast changes. Every strategy uses the cheapest hours of each day; they differ in how much energy they leave for later days. An even daily split, the same energy every day, scores 0%. Perfect foresight scores 100%.

Share of the possible saving captured

Same optimiser, different forecasts. 0% = even daily split, 100% = perfect foresight.

Simulated with the thesis optimiser on OMIE prices, 109 weeks. Load factors 0.15, 0.30 and 0.50.
  1. An even daily split is the baseline: 0%. At load factor 0.30 it costs 32.17 €/MWh; perfect foresight would cost 23.49.

  2. Knowing tomorrow's price only captures 7% of the saving. Tomorrow's cheap hours are not enough when the rest of the week is unknown.

  3. A simple regression on past prices reaches 53%.

  4. Planning with the futures market reaches 63%.

  5. Planning with the LightGBM forecasts reaches 77%. It is 1.24 €/MWh cheaper than the futures plan, though it still lost in 35 of the 109 weeks.

How much a longer forecast is worth depends on how much energy has to move. The load factor is the share of the 1 MW maximum the load uses over the week.

Plan a week yourself

Pick a week and a load. You will see the real price, the plan each strategy makes, and what the week cost.

Simulated on past OMIE prices with the thesis optimiser. The futures-based plan is not shown week by week, because it is derived from licensed futures prices.

Illustrative

What if it were a battery?

The same change in the market can be read as revenue. With perfect foresight, a 1 MW / 2 MWh battery doing one daily cycle on the Spanish day-ahead market could have earned up to 40,153 €/MW in 2022 and 53,956 €/MW in 2025. 2026 is already at 61,803 €/MW by late October.

How much of that does a forecast capture? Planning each day with the LightGBM forecast made two days ahead captured 95.4% (95% interval 93.8–96.8%). Simply reusing yesterday's prices captured 91.5% (88.0–94.2%). With a single daily cycle the shape of the day is very regular, so a good forecast adds little here. A load that has to plan a whole week, as above, is where forecasting beyond tomorrow pays.

With 80% or 90% round-trip efficiency instead of 85%, the 2025 value is 49,715 or 58,198 €/MW, and the capture rates barely move. The model cycles almost every day, about 365 full cycles a year, well above the 100 to 300 that Fraunhofer ISE assumes1, because it has no degradation cost. That is one more reason to read these figures as an upper bound.

Daily day-ahead arbitrage with perfect foresight

€ per MW of a 1 MW / 2 MWh battery, by year. 2021 and 2026 are partial years.

New analysis on OMIE prices for this page, not a thesis result. Capture rates: delivery days 15 Sep 2024 – 23 Oct 2026.

1 Fraunhofer ISE, Stromgestehungskosten erneuerbare Energien, 2024, Table 2. PDF ↩

03 · ForecastWeather data pays off beyond tomorrow.

Test period 13 Sep 2024 – 22 Oct 2026 · weekly recalibration

Most published work forecasts the next day. Planning a week needs D+2 to D+7, where the grid operator's wind and solar forecasts stop. The forecasts here use only public data already published by 14:00 on the decision day.

Adding weather forecasts cuts the error by 12.4% to 30.0% from D+2 to D+7: from between 18.1 and 28.8 €/MWh to between 14.0 and 25.2. The grid operator's own forecasts matter most for the next day and help little after that.

Forecast error with and without weather forecasts

Mean absolute error of LightGBM, €/MWh, by forecast horizon. Lower is better. Both lines use recent prices, grid operator forecasts, and fuel and CO2 prices; one also uses weather forecasts. The final model adds further data.

Forecasts issued 13 Sep 2024 – 22 Oct 2026 and evaluated retrospectively: the test period had been examined before the final runs.

Much of the error a week out is the weather forecast's own error: with observed weather instead, the D+7 error would fall by a further 23.5%.

What the forecasts were built from

Seven blocks of public data, each limited to what had been published before the 14:00 decision, added one on top of another to measure what each one contributes.

  1. Recent prices

    Each hour's price on the last day already published, the two days before it, and the same hour on the same weekday a week before the target day.

    OMIE
  2. Grid operator forecasts

    Demand, wind and solar for the next day, in the version that existed before the auction.

    Red Eléctrica
  3. Fuels and CO2

    Spanish next-day gas, European gas and Brent futures, and the latest carbon auction, plus markers for the Iberian gas price cap and the 15-minute market.

    MIBGAS · EEX
  4. Weather forecasts

    Temperature weighted by population, wind turned into wind-farm output, and solar radiation and cloud, weighted by where the turbines and panels are. Used from D+2 to D+7.

    NOAA GFS
  5. Calendar

    Month, day of the year, weekday, national and regional holidays and bridge days, and the average price of the last seven days.

    Calendar · OMIE
  6. Power system

    The operator's weekly demand forecast and its recent bias, import and export capacity with France, available nuclear power and hydro reserves, each used only if published before the decision.

    Red Eléctrica
  7. Futures

    The shortest baseload, peak and solar-profile contracts covering each day, and forward gas.

    OMIP · MIBGAS

04 · Data trapA public archive inflated a forecast's value.

Grid operator's wind and solar forecasts · Red Eléctrica e·sios · D+1 · 730 days

The grid operator publishes wind and solar forecasts, and its public archive keeps a later revision, not the version that existed when the day-ahead market closed.

It showed up in an audit of when each stored value was last written, a timestamp the operator's data service records: the archived wind and solar forecasts had been rewritten on the evening of the day itself, long after the market had closed. Every model here uses instead the versions frozen at about 10:50 the day before.

With the archived version, those forecasts seemed to improve a day-ahead price model by 10.4%; with the version really available at noon, by 7.9%. So 23% of the apparent gain was look-ahead. Beyond the day ahead, the operator's forecasts did not help either version.

Ask which version a data feed keeps in week one of an integration.

05 · Reinforcement learningReinforcement learning did not beat a plain optimiser.

Each day the agent saw the energy still to use and the days left, tomorrow's average price and that of its cheapest hours, the same two figures forecast for each following day, and the forecaster's recent error. It then chose how much energy to use tomorrow.

Extra cost compared with perfect foresight, cumulative

Euros for a flexible load of up to 1 MW. Lower is better.

57 weeks, 15 Sep 2025 – 18 Oct 2026; 5 seeds per agent.

Almost all of that loss came in the most expensive third of weeks: 10.47 €/MWh, against 0.36 and 0.35 in the others. The expensive season had flipped. Winter was dear and summer cheap in the first year; in the second, the reverse. Six weeks of the second year were dearer than any week of the first. The agent had never seen prices like that. The optimiser does not need to.

If learning is used at all, let it feed the optimiser, not replace it.

06 · PlatformWhat this means for a flexibility platform.

From one flexible load to a fleet

This study looks at one flexible load in Spain, not at a fleet of batteries. A platform that trades and dispatches batteries, renewables and hybrid plants faces the same four questions.

  1. Value a forecast by the decision it changes

    A lower error is not always worth more money. In the futures-based plan here, a better D+2 forecast was worth 0.61 €/MWh and a better D+7 forecast 0.02 €/MWh, not distinguishable from zero. The plan is revised every day, so distant days rarely change today's decision. Spend the effort on the horizons dispatch actually uses.

  2. Know what was known, and when

    Store every input with the time it was published, and check which version a data feed keeps. Ask in week one of an integration, not in month six.

  3. Beyond tomorrow, integrate weather first

    Beyond tomorrow, weather forecasts matter most; futures help clearly only at D+4 and D+5; fuel prices, calendar and system variables gave no significant gain at any horizon. Measure an integration before paying for it.

  4. Keep dispatch explainable

    No reinforcement-learning design here beat a plain optimiser fed with good forecasts, and the original agent lost most in the most expensive weeks, some dearer than any it had trained on. A linear optimiser can be audited, re-run every few minutes and explained to a client. Exploratory

07 · Sources and creditsEvery number is traced to its source.

Every figure on this page comes from the result files of an MSc thesis or, for the battery box and the country comparison, from a new analysis on public data, recomputed by the build script in this page's repository. The thesis is in progress and its result files are not public yet. Savings are simulated on past data, not earned in a market, and the evaluation is retrospective: the test period had been examined before the final forecasting runs and before the reinforcement-learning redesigns were chosen.

Data

OMIE day-ahead market results (data to 23 Oct 2026). Red Eléctrica e·sios, used for information and non-commercial purposes (data to 23 Oct 2026). Weather: NOAA GFS; contains modified Copernicus Climate Change Service information (ERA5). Prices outside Spain: Energy-Charts (Fraunhofer ISE), data Bundesnetzagentur | SMARD.de, CC BY 4.0, retrieved 22 Nov 2026. Gas (MIBGAS), carbon (EEX) and futures (OMIP) prices are used in the models but not reproduced here.

Made by

Research, analysis, design and code
Isabel Lasierra · LinkedIn
Thesis
MSc in Data Science, Universitat Oberta de Catalunya (UOC), in progress, 2026