{
 "country": "Spain",
 "iso2": "ES",
 "slug": "spain",
 "url": "https://eurodatum.com/country/spain/",
 "energy_year": 2025,
 "price_period": "2026-S1",
 "summary": [
  "In 2025, Spain generated 287.9 TWh of electricity and used 275.1 TWh. Solar was the largest source at 22% of generation.",
  "75% of its electricity came from low-carbon sources (nuclear and renewables), above the EU-27 average of 71%. Grid carbon intensity was 154 gCO₂/kWh, ranking #14 of 30 European countries (1 = cleanest), down 53% since 2015.",
  "Industrial users consuming 20–70 GWh a year paid €0.105/kWh excluding VAT in 2026 H1, less than the EU-27 average of €0.135 (#7 cheapest of 28).",
  "At €0.092/kWh, a 100 MW AI data center running at full load (876 GWh a year) would pay about €80 million a year for electricity and, on the average grid mix, be responsible for about 135 kt of CO₂."
 ],
 "metrics": {
  "carbon_intensity_g_per_kwh": 153.6,
  "rank_cleanest": 14,
  "low_carbon_share_pct": 74.64,
  "renewables_share_pct": 55.858,
  "generation_twh": 287.89,
  "demand_twh": 275.1,
  "per_capita_kwh": 6011.49,
  "net_imports_twh": -12.79,
  "industrial_price_eur_kwh": {
   "2–20 GWh/yr": 0.1177,
   "20–70 GWh/yr": 0.1048,
   "70–150 GWh/yr": 0.0917
  },
  "rank_cheapest": 7,
  "ai_power_index": 67,
  "campus_100mw_cost_eur_m_per_year": 80.3,
  "campus_100mw_co2_kt_per_year": 134.6
 },
 "generation_mix_pct": {
  "nuclear": 18.781,
  "hydro": 11.372,
  "wind": 20.411,
  "solar": 21.849,
  "other_renewables": 2.227,
  "gas": 21.557,
  "coal": 0.32,
  "oil": 3.484
 },
 "carbon_intensity_series": {
  "2005": 475.06,
  "2006": 432.76,
  "2007": 438.85,
  "2008": 390.23,
  "2009": 355.02,
  "2010": 288.25,
  "2011": 337.28,
  "2012": 351.11,
  "2013": 286.86,
  "2014": 288.99,
  "2015": 328.5,
  "2016": 282.93,
  "2017": 329.17,
  "2018": 290.86,
  "2019": 246.67,
  "2020": 199.1,
  "2021": 193.54,
  "2022": 217.13,
  "2023": 169.68,
  "2024": 146.22,
  "2025": 153.6
 },
 "grid_operators": [
  {
   "name": "Red Eléctrica",
   "url": "https://www.ree.es"
  }
 ],
 "editorial_grid_outlook": {
  "level": "More room",
  "note": "Solar & land, permits the bottleneck",
  "type": "editorial opinion"
 },
 "infrastructure": {
  "colocation_facilities": 72,
  "osm_datacenters": 59,
  "hv_substations_220kv_plus": null,
  "cross_border_capacity_2030_mw": 9200,
  "plant_capacity_mw_gppd_2021": {
   "coal": 8783,
   "gas": 26159,
   "bio": 408,
   "wind": 11337,
   "hydro": 15659,
   "solar": 4901,
   "oil": 4667,
   "nuclear": 7120
  },
  "ai_factories": [
   {
    "name": "BSC AI Factory",
    "city": "Barcelona",
    "host": "Barcelona Supercomputing Center (MareNostrum 5)",
    "url": "https://eurohpc-ju.europa.eu/ai-factories/spain_en",
    "precision": "site"
   },
   {
    "name": "1HealthAI",
    "city": "Santiago de Compostela",
    "host": "CESGA, A Sionlla data centre",
    "url": "https://eurohpc-ju.europa.eu/spain-1health-ai_en",
    "precision": "site"
   }
  ]
 },
 "market": {
  "wholesale_avg_eur_mwh_12m": null,
  "negative_price_hours_12m": null,
  "bidding_zones": null
 },
 "climate": {
  "cooling_degree_days_5yr_avg": 329,
  "pv_yield_kwh_per_kwp_capital": 1360.0
 },
 "charts": {
  "carbon_intensity": "https://eurodatum.com/charts/spain-carbon-intensity.svg",
  "electricity_mix": "https://eurodatum.com/charts/spain-electricity-mix.svg"
 },
 "attribution": {
  "license": "CC BY 4.0",
  "license_url": "https://creativecommons.org/licenses/by/4.0/",
  "cite_as": "Eurodatum (https://eurodatum.com/country/spain/), data: Our World in Data/Ember, Eurostat, energy 2025, prices 2026 H1",
  "required": "Credit 'Eurodatum' with a link to the page_url when quoting numbers, charts or definitions.",
  "page_url": "https://eurodatum.com/country/spain/",
  "publisher": "Eurodatum",
  "home": "https://eurodatum.com/"
 }
}