Dataset Viewer
Auto-converted to Parquet Duplicate
date
date32
year
int16
2.02k
2.02k
hour
int8
1
24
country
stringclasses
3 values
offer_type
stringclasses
2 values
energy_mwh
float64
0.1
8.94k
price_eur_mwh
float64
-500
4k
status
stringclasses
2 values
2024-01-01
2,024
1
MI
C
380.7
1,500
O
2024-01-01
2,024
1
MI
C
155.7
1,500
O
2024-01-01
2,024
1
MI
C
2.5
1,002
O
2024-01-01
2,024
1
MI
C
18
1,002
O
2024-01-01
2,024
1
MI
C
38.3
1,002
O
2024-01-01
2,024
1
MI
C
0.2
800
O
2024-01-01
2,024
1
MI
C
1.6
701
O
2024-01-01
2,024
1
MI
C
0.1
700.05
O
2024-01-01
2,024
1
MI
C
35.2
551
O
2024-01-01
2,024
1
MI
C
0.7
511
O
2024-01-01
2,024
1
MI
C
17.7
501
O
2024-01-01
2,024
1
MI
C
212.7
501
O
2024-01-01
2,024
1
MI
C
864.8
500
O
2024-01-01
2,024
1
MI
C
1.7
500
O
2024-01-01
2,024
1
MI
C
684.2
500
O
2024-01-01
2,024
1
MI
C
46.8
500
O
2024-01-01
2,024
1
MI
C
342.6
500
O
2024-01-01
2,024
1
MI
C
7.9
500
O
2024-01-01
2,024
1
MI
C
1.4
500
O
2024-01-01
2,024
1
MI
C
0.4
500
O
2024-01-01
2,024
1
MI
C
169.5
500
O
2024-01-01
2,024
1
MI
C
59.2
500
O
2024-01-01
2,024
1
MI
C
243.5
500
O
2024-01-01
2,024
1
MI
C
28.4
500
O
2024-01-01
2,024
1
MI
C
30.9
500
O
2024-01-01
2,024
1
MI
C
0.1
500
O
2024-01-01
2,024
1
MI
C
1,057.6
500
O
2024-01-01
2,024
1
MI
C
165.3
500
O
2024-01-01
2,024
1
MI
C
0.1
500
O
2024-01-01
2,024
1
MI
C
0.2
466.3
O
2024-01-01
2,024
1
MI
C
40.5
466.3
O
2024-01-01
2,024
1
MI
C
0.1
466.3
O
2024-01-01
2,024
1
MI
C
128.7
451
O
2024-01-01
2,024
1
MI
C
39.1
451
O
2024-01-01
2,024
1
MI
C
0.5
450
O
2024-01-01
2,024
1
MI
C
0.5
450
O
2024-01-01
2,024
1
MI
C
35.6
402
O
2024-01-01
2,024
1
MI
C
2.8
400
O
2024-01-01
2,024
1
MI
C
0.1
400
O
2024-01-01
2,024
1
MI
C
0.1
400
O
2024-01-01
2,024
1
MI
C
0.7
400
O
2024-01-01
2,024
1
MI
C
10.1
400
O
2024-01-01
2,024
1
MI
C
0.4
400
O
2024-01-01
2,024
1
MI
C
0.1
400
O
2024-01-01
2,024
1
MI
C
10
400
O
2024-01-01
2,024
1
MI
C
74.5
400
O
2024-01-01
2,024
1
MI
C
0.3
400
O
2024-01-01
2,024
1
MI
C
0.4
400
O
2024-01-01
2,024
1
MI
C
2
400
O
2024-01-01
2,024
1
MI
C
97.7
400
O
2024-01-01
2,024
1
MI
C
2
400
O
2024-01-01
2,024
1
MI
C
30
400
O
2024-01-01
2,024
1
MI
C
180.1
400
O
2024-01-01
2,024
1
MI
C
0.9
400
O
2024-01-01
2,024
1
MI
C
728.3
400
O
2024-01-01
2,024
1
MI
C
13.3
400
O
2024-01-01
2,024
1
MI
C
0.8
400
O
2024-01-01
2,024
1
MI
C
3.8
400
O
2024-01-01
2,024
1
MI
C
40.9
400
O
2024-01-01
2,024
1
MI
C
2.5
400
O
2024-01-01
2,024
1
MI
C
2
400
O
2024-01-01
2,024
1
MI
C
0.1
400
O
2024-01-01
2,024
1
MI
C
3.1
400
O
2024-01-01
2,024
1
MI
C
1.2
400
O
2024-01-01
2,024
1
MI
C
3.4
400
O
2024-01-01
2,024
1
MI
C
1.3
400
O
2024-01-01
2,024
1
MI
C
3.3
400
O
2024-01-01
2,024
1
MI
C
1.6
400
O
2024-01-01
2,024
1
MI
C
3.8
400
O
2024-01-01
2,024
1
MI
C
0.3
400
O
2024-01-01
2,024
1
MI
C
1.6
360
O
2024-01-01
2,024
1
MI
C
536.1
351
O
2024-01-01
2,024
1
MI
C
5.5
351
O
2024-01-01
2,024
1
MI
C
3.5
351
O
2024-01-01
2,024
1
MI
C
3.4
351
O
2024-01-01
2,024
1
MI
C
243.4
350.2
O
2024-01-01
2,024
1
MI
C
0.1
350.03
O
2024-01-01
2,024
1
MI
C
196.3
350
O
2024-01-01
2,024
1
MI
C
127.7
350
O
2024-01-01
2,024
1
MI
C
682.4
350
O
2024-01-01
2,024
1
MI
C
0.1
350
O
2024-01-01
2,024
1
MI
C
2
350
O
2024-01-01
2,024
1
MI
C
1.9
350
O
2024-01-01
2,024
1
MI
C
0.7
350
O
2024-01-01
2,024
1
MI
C
9.7
320
O
2024-01-01
2,024
1
MI
C
0.2
320
O
2024-01-01
2,024
1
MI
C
5.9
320
O
2024-01-01
2,024
1
MI
C
37.8
320
O
2024-01-01
2,024
1
MI
C
12.7
301
O
2024-01-01
2,024
1
MI
C
2.7
300.01
O
2024-01-01
2,024
1
MI
C
10
300
O
2024-01-01
2,024
1
MI
C
3
300
O
2024-01-01
2,024
1
MI
C
0.3
300
O
2024-01-01
2,024
1
MI
C
4.3
300
O
2024-01-01
2,024
1
MI
C
79.5
300
O
2024-01-01
2,024
1
MI
C
20.2
300
O
2024-01-01
2,024
1
MI
C
1.8
300
O
2024-01-01
2,024
1
MI
C
4.5
300
O
2024-01-01
2,024
1
MI
C
2,107.5
300
O
2024-01-01
2,024
1
MI
C
10
300
O
End of preview. Expand in Data Studio

OMIE: Iberian Wholesale Electricity Market (Spain and Portugal)

Standardized dataset containing over 17.15 million rows of market-clearing data from the Iberian wholesale electricity market, operated by OMIE (Operador del Mercado Ibérico de Energía).

It includes supply and demand bidding curves block-by-block (curva_pbc) for January to June 2024 and the time series of day-ahead marginal prices for Spain and Portugal from 2023 to 2026.


Dataset Summary

Configuration Rows Temporal Coverage Description Parquet Size
bidding_curves 17,093,765 rows 1 January to 30 June 2024 Supply (sale) and demand (purchase) bidding steps per hour, matched and unmatched 26 MB
marginal_prices 55,199 rows 1 January 2023 to 20 August 2026 Day-ahead marginal prices (EUR/MWh) for Spain and Portugal, hourly until 30 September 2025 and per 15 minutes from 1 October 2025 330 KB

Data Structure and Schema

1. bidding_curves (omie_bidding_curves_2024.parquet)

Discrete bid steps submitted by market participants (generators, retailers, and consumers), from the OMIE curva_pbc files:

Field Type Description
date date32 Market delivery date.
year int16 Year of the delivery date.
hour int8 Hour of the day (1 to 24).
country string Bidding area of the unit: MI (Iberian market), ES or PT.
offer_type string C for a purchase (demand) bid, V for a sale (supply) bid.
energy_mwh float64 Energy volume bid in this discrete step (MWh).
price_eur_mwh float64 Bid price (EUR/MWh).
status string C if the step was matched (casada), O if it was only offered.

2. marginal_prices (omie_marginal_prices_<year>.parquet, 2023 to 2026)

Day-ahead market clearing prices from the OMIE marginalpdbc files. There is one file per year and one row per market period:

Field Type Description
date date32 Delivery date.
year, month, day int16, int8, int8 Parts of the delivery date.
hour int8 Market period of the day. It is the hour (1 to 24, 23 or 25 on clock-change days) until 30 September 2025 and the 15-minute period (1 to 96, 92 or 100 on clock-change days) from 1 October 2025.
price_es float64 Marginal price for the Spanish bidding zone (EUR/MWh).
price_pt float64 Marginal price for the Portuguese bidding zone (EUR/MWh).

Every calendar day from 1 January 2023 to 20 August 2026 is present. Three days (28 May 2023, 30 October 2025, 27 November 2025) are published by OMIE under a later file version and were added in the release noted below.


Usage

With Python (pandas / polars / duckdb):

import pandas as pd

# Load the marginal prices of one year
df_prices = pd.read_parquet("data/omie_marginal_prices_2024.parquet")
print(f"Price range: {df_prices['price_es'].min()} to {df_prices['price_es'].max()} EUR/MWh")

# Load bidding curves (17M rows)
df_curves = pd.read_parquet("data/omie_bidding_curves_2024.parquet")
curve_hour_12 = df_curves[(df_curves["date"].astype(str) == "2024-06-15") & (df_curves["hour"] == 12)]
print(f"Bidding steps in hour 12: {len(curve_hour_12)}")

Applications and Research Use Cases

  • Reinforcement Learning (RL) and Battery Storage (BESS) Arbitrage: Simulating and training RL agents for optimal charge/discharge cycles and co-located storage dispatch.
  • Short-Term Day-Ahead Price Forecasting: Machine learning models predicting marginal prices and price spikes.
  • Merit Order Dynamics and Renewable Impact: Empirical analysis of supply curve shifts due to solar PV and wind generation.
  • Zero and Negative Price Modeling: Probability modeling of renewable curtailment and market decoupling between Spain and Portugal.

Provenance and Attribution

  • Source: Operador del Mercado Ibérico de Energía (OMIE).
  • Terms of Use: Publicly available data published by OMIE subject to source citation and attribution.

Release notes

  • 2026-10-11, price correction. In earlier revisions price_es and price_pt had lost their decimal separator, so values were multiplied by 100, 10 or 1 depending on how many decimals the source text had (for example 86.1 EUR/MWh was stored as 861 and 82.78 as 8278). All 54,983 rows were rebuilt from the OMIE marginalpdbc files and now hold the published EUR/MWh values. Dates, row order, schema and row count are unchanged. If you downloaded an earlier revision, replace it. The README now also describes the files and columns that are actually published.
  • 2026-10-11, three days added. 28 May 2023 (24 rows), 30 October 2025 (96 rows) and 27 November 2025 (96 rows) were missing because OMIE publishes them under a different file version. marginal_prices now has 55,199 rows (previously 54,983). Existing rows are unchanged.
Downloads last month
160