Back to Insights

How Spain's wholesale power market actually works

Electricity is a strange product: you can’t store it easily at the scale of a country, and it has to be produced the instant it is used. So somewhere, someone has to match supply and demand minute by minute. In Spain and Portugal, the place where most of that matching happens is called OMIE. It runs two kinds of auctions - the day-ahead market and the intraday market - and together they set the price of almost every megawatt-hour consumed on the peninsula. For a battery, understanding how OMIE works is the first step to understanding how it earns money.

Iberian electricity markets - one delivery day
Step 1 · D-1
Day-ahead auction
12:00 D-1, OMIE matches buy/sell curves for every quarter of D. 96 cleared prices.
Step 2 · D-1 / D
Intraday auctions
3 pan-European auctions (IDA1-IDA3) at fixed gates clear forecast corrections.
Step 3 · D
Continuous market
XBID order book runs between gates, closes a short window before delivery.
Step 4 · real time
Balancing & ancillaries
REE dispatches FCR / aFRR / mFRR / RR to keep frequency at 50 Hz.
Each venue closes earlier than the next - and only the ones still open can absorb a fresh price signal.

The day-ahead auction

The day-ahead market is a pay-as-cleared, uniform-price auction for the following delivery day. Generators, retailers and cross-border traders submit buy and sell curves, and OMIE matches them against each other for every delivery slot of the next day. The clearing price is the intersection of aggregated supply and demand in each slot. Until 1 October 2025, slots were hourly - a single price for each of the 24 hours. From 1 October 2025 onwards, the day-ahead market clears in quarter-hourly resolution, one of the biggest structural changes the Iberian market has seen in a decade.

A battery dispatching against the day-ahead curve no longer has 24 prices to optimise against; it has 96. Morning ramps, midday solar troughs and evening peaks all now appear at 15-minute resolution. The shorter clearing window typically widens intraday spreads (sharper peaks and troughs are no longer averaged into hourly blocks) and, in principle, makes a fast-responding asset more valuable.

Resolution change - 1 October 2025
Before
24 hourly
After
96 quarter-hour
00
04
08
12
16
20
A morning ramp that read as one block now resolves into four. Capture is a function of how fast the bidder can react.

Intraday auctions and the continuous market

OMIE's second layer is the intraday market, which lets participants adjust positions after the day-ahead has cleared. Since 13 June 2024, Iberia participates in the three pan-European intraday auctions (IDAs) that run across the SIDC (Single Intraday Coupling) area, alongside the continuous cross-border XBID order book. The IDAs clear at fixed gate times each day; the continuous market runs between gates and closes a short time before delivery.

Intraday is where most short-notice corrections happen: a solar plant revising its output forecast, a wind farm adjusting to a weather update, or a battery repositioning itself around a price spread it did not capture in the day-ahead. Since March 2025, the intraday continuous market and its auctions trade in quarter-hourly products, and day-ahead followed in October 2025. Intraday spreads relative to day-ahead have been reported at ±€50/MWh in Spain during late 2025, confirming that arbitrage opportunities exist; liquidity remains lower than in the UK or German continuous markets, which is a practical constraint for high-frequency algorithmic strategies.

A trader's day - gates and windows
XBID continuous · runs through the day 12:00 D-1 DA clear 15:00 IDA1 22:00 IDA2 10:00 D IDA3 D · T-1h delivery
Three auctions punctuate the day. Between them, the XBID order book is the only place a position can still move.

Balancing and ancillary services

Energy markets (day-ahead and intraday) are only part of the picture. After gate closure, Red Eléctrica de España (REE), as Iberian TSO, operates balancing and ancillary mechanisms - secondary and tertiary reserves, congestion management, voltage and frequency control. Batteries are increasingly eligible for these services, and the reform path Spain has taken since 2024 is pointed at opening more of these mechanisms to storage. For most standalone BESS projects today, the economic anchor is still energy arbitrage in day-ahead and intraday, with ancillary revenues layered on top as the regulatory framework opens up.

What it means for a battery

A two-hour battery in Spain now dispatches against 96 price blocks per day across three temporally overlapping venues - day-ahead, intraday auctions, and intraday continuous - each with different liquidity, different closing times and different strategic purposes. The day-ahead is where most capacity is still booked. The intraday auctions are where forecast corrections land. The continuous market is where algorithmic, short-notice trading captures residual spreads. Optimising across all three simultaneously, while respecting the battery's own state of charge and degradation cost, is the core operational problem for any Iberian BESS.

VenueCadenceClosesResolutionWhat a BESS uses it for
Day-ahead1 auction / day12:00 D-115-min, since 1 Oct 2025Anchor schedule. Most capacity booked here.
Intraday auctions3 auctions / day (IDA1-3)15:00, 22:00, 10:0015-min, since Mar 2025Re-clear after wind/solar forecast updates.
XBID continuousorder book, ~24/7~1h before delivery15-minCapture residual spreads, hedge imbalance.
Balancing & ancillariesreal timedelivery hourseconds to minutesFCR, aFRR, mFRR, RR - layered on top.

The quarter-hourly transition in 2025 is structural. It raises the value of fast, accurate forecasting and of low-latency execution, and it pushes the industry closer to the operational tempo of the ancillary markets. Expect spread structure, capture prices, and the value of flexibility to continue shifting as the market settles into the new tempo through 2026.

Sources

  1. OMIE - Electricity market overview
  2. OMIE - Market information, including quarter-hourly transition
  3. Quixotic Energy - Quarter-hourly settlement in the Spanish market
  4. Strategic Energy Europe - Zero prices and the BESS opportunity
  5. ENTSO-E - Single Intraday Coupling (SIDC) and IDAs