Some analysis and plots of generation data in Spain from ENTSO-E, for a blog post about the outage on April 28, 2025.
ENTSO-E, Actual Generation per Production Type for Spain.
ENTSO-E has an API but is transitioning to a new system. Rather than integrate either the old or new API, data must be downloaded manually. A free ENTSO-E account is needed. Then select Export Data and select the annual CSV. Save the resulting file to the folder data.
The repo contains a Jupyter notebook for all plots and analysis.