PyPSA-Spain: An extension of PyPSA-Eur to model the Spanish energy system

This work presents PyPSA-Spain, an open-source, high-resolution model of the Spanish energy system, developed as a national-scale fork of PyPSA-Eur. The model integrates detailed national datasets to improve the representation of renewable generation profiles (via quantile-to-quantile transformation...

Full description

Saved in:
Bibliographic Details
Main Authors: Cristobal Gallego-Castillo, Marta Victoria
Format: Article
Language:English
Published: Elsevier 2025-07-01
Series:Energy Strategy Reviews
Subjects:
Online Access:http://www.sciencedirect.com/science/article/pii/S2211467X25001270
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1849335597978615808
author Cristobal Gallego-Castillo
Marta Victoria
author_facet Cristobal Gallego-Castillo
Marta Victoria
author_sort Cristobal Gallego-Castillo
collection DOAJ
description This work presents PyPSA-Spain, an open-source, high-resolution model of the Spanish energy system, developed as a national-scale fork of PyPSA-Eur. The model integrates detailed national datasets to improve the representation of renewable generation profiles (via quantile-to-quantile transformations) and regional electricity demand, and identifies a spatial resolution of 35–50 nodes as a practical balance between geographical detail and network complexity. Cross-border electricity flows with France and Portugal are represented through a nested modelling approach, using time-dependent electricity prices precomputed with PyPSA-Eur. As a case study, PyPSA-Spain is applied to optimise the 2030 electricity generation mix under decarbonisation targets from Spain’s updated National Energy and Climate Plan (NECP). Results show that improved renewable profiles lead to a more balanced deployment of solar and wind. The model also reveals potential transmission bottlenecks that may constrain the optimal use of renewable resources. PyPSA-Spain fills a methodological gap between European-scale optimisation and national planning, offering a transparent and flexible platform for future energy system analysis in Spain.
format Article
id doaj-art-294fa5f2ffbe4c4cbaabdb22e8939c4f
institution Kabale University
issn 2211-467X
language English
publishDate 2025-07-01
publisher Elsevier
record_format Article
series Energy Strategy Reviews
spelling doaj-art-294fa5f2ffbe4c4cbaabdb22e8939c4f2025-08-20T03:45:12ZengElsevierEnergy Strategy Reviews2211-467X2025-07-016010176410.1016/j.esr.2025.101764PyPSA-Spain: An extension of PyPSA-Eur to model the Spanish energy systemCristobal Gallego-Castillo0Marta Victoria1Departamento de Aeronaves y Vehículos Espaciales, Escuela Técnica Superior de Ingeniería Aeronáutica y del Espacio, Universidad Politécnica de Madrid., Pza. Cardenal Cisneros, 3, Ciudad Universitaria, Madrid, 28040, Spain; Corresponding author.Department of Mechanical and Production Engineering and iCLIMATE Interdisciplinary Centre for Climate Change, Aarhus University, Aarhus, 8000, Denmark; Department of Wind and Energy Systems, Technical University of Denmark, Elektrovej, 325, Lyngby, 2800, DenmarkThis work presents PyPSA-Spain, an open-source, high-resolution model of the Spanish energy system, developed as a national-scale fork of PyPSA-Eur. The model integrates detailed national datasets to improve the representation of renewable generation profiles (via quantile-to-quantile transformations) and regional electricity demand, and identifies a spatial resolution of 35–50 nodes as a practical balance between geographical detail and network complexity. Cross-border electricity flows with France and Portugal are represented through a nested modelling approach, using time-dependent electricity prices precomputed with PyPSA-Eur. As a case study, PyPSA-Spain is applied to optimise the 2030 electricity generation mix under decarbonisation targets from Spain’s updated National Energy and Climate Plan (NECP). Results show that improved renewable profiles lead to a more balanced deployment of solar and wind. The model also reveals potential transmission bottlenecks that may constrain the optimal use of renewable resources. PyPSA-Spain fills a methodological gap between European-scale optimisation and national planning, offering a transparent and flexible platform for future energy system analysis in Spain.http://www.sciencedirect.com/science/article/pii/S2211467X25001270Energy system modellingSpatial resolutionSpanish NECPOpen-source
spellingShingle Cristobal Gallego-Castillo
Marta Victoria
PyPSA-Spain: An extension of PyPSA-Eur to model the Spanish energy system
Energy Strategy Reviews
Energy system modelling
Spatial resolution
Spanish NECP
Open-source
title PyPSA-Spain: An extension of PyPSA-Eur to model the Spanish energy system
title_full PyPSA-Spain: An extension of PyPSA-Eur to model the Spanish energy system
title_fullStr PyPSA-Spain: An extension of PyPSA-Eur to model the Spanish energy system
title_full_unstemmed PyPSA-Spain: An extension of PyPSA-Eur to model the Spanish energy system
title_short PyPSA-Spain: An extension of PyPSA-Eur to model the Spanish energy system
title_sort pypsa spain an extension of pypsa eur to model the spanish energy system
topic Energy system modelling
Spatial resolution
Spanish NECP
Open-source
url http://www.sciencedirect.com/science/article/pii/S2211467X25001270
work_keys_str_mv AT cristobalgallegocastillo pypsaspainanextensionofpypsaeurtomodelthespanishenergysystem
AT martavictoria pypsaspainanextensionofpypsaeurtomodelthespanishenergysystem