13

When do Balance Energy Prices Skyrocket?

⛶  Fullscreen ↓  Download
Demo

The original challenge is here. See also details of a Data Expedition for continual improvements to data availability.

Data Expedition
Resources Challenge

Monitoring open datasets related to energy projects in Switzerland

Contact

Bundesamt für Energie, Lucas Tochtermann

When do Balance Energy Prices Skyrocket?

Presented at Energy Data Hackdays 2024. Fachhochschule Nordwestschweiz, September 12 - 13, 2024. The original slides can be found in CHALLENGE.md

Results

Working in an open source data science environment, we used Jupyter Notebooks to dive into the challenge of understanding and modelling national energy balancing with Python. In our presentation you can see the key outputs, or browse our notebooks and other sources shared on GitHub.

The goal is better understanding of the subject matter through clear presentation of the data. Our data sources, as well as further literature and links that were referenced can be found in a section further on.

An initial Energy Overview was done by combining outputs from five energy sources with data available for this year:

Comparison of Share and Price of Tertiary Energy

Comparison of Amount and Price of Tertiary Energy

Energy Overview

We started mocking up a basic dashboard using Marimo, which could include further read-outs and interactive graphs.

Prediction of load levels was done with Chronos forecasting running in a Runpod, as shown here:

We also ran tests in the SARIMAX and Nixtla forecasting libraries.

Finally, a Timeline of April 22 events was started by collecting key developments in a spreadsheet.

We thank all the participants of the Hackdays, and hope that we provoke further data exploration in the future!

Data

Dataset File Source
Day-ahead prices, hourly auction_spot_prices_switzerland_2024.csv EPEX
Day-ahead traded volumes, hourly auction_spot_volumes_switzerland_2024.csv EPEX
Balancing prices for BGs short/long, 15min balancing_prices_2024.csv Swissgrid
Day-ahead prices, hourly day_ahead_prices_CH_2024.csv ENTSO-E
Swiss power generation per type, hourly generation_per_type.csv ENTSO-E
Swiss power generation per type (staging), hourly generation_per_type_staging.csv ENTSO-E
Yearly calendar of events kalender_2024_ch.csv -
Legend of Meteoschweiz columns legende meteoschweiz.csv Meteoschweiz
Consumption schedule, hourly load.csv ENTSO-E
Consumption Schedule (staging), hourly load_staging.csv ENTSO-E
Weather data staging_ms_6120.csv Meteoschweiz
Weather data (unprocessed) staging_ms_6121.csv Meteoschweiz
Problems reported in power supply unavailability_of_generation_units.csv ENTSO-E

Join our Data Expedition to help efforts to catalog and support open data for projects like this one. Further links can be found in the Resources section of the Hackdays.

Notes

Since it is not possible for the market participants to have all the information we have, we have to reconstruct the probable situation from the available sources - and if we recognize patterns, find out in which combination the variables become important. To learn about pricing models for power trading, see this With The Grid blog post.

Swissgrid has to pay the current balancing price, and there is little to counter speculation and mispredictions. Few understand the background about the schedules and how Swissgrid organizes the grid operation. The Swissgrid website has various documents that illustrate the matter.

For a brief intro to statistical forecasting with Python, see SARIMAX at Statsmodels.org

In the Media

These articles on the events in April were mentioned in the Challenge presentation:

Projects

We found these prior Hackday and other projects inspirational:

Simulation as Game

Inspired by Koboldgames, who supported previous Energy Hackdays and have developed serious games involving environmental and economics models, we researched whether games are being used to simulate and teach power systems.

We used Etherpad (hosted at OKFN DE) to collaborate on these notes.

This content is a preview from an external site.
 

Edited (version 47)

2 months ago ~ oleg

Share

Thanks everyone for an amazing time! 👏👏👏 Music for your further travels & hacknights: Don't Sleep by Jamie Finlay

2 months ago ~ oleg

Event finish

Edited (version 44)

2 months ago ~ oleg

Edited (version 43)

2 months ago ~ oleg

Edited (version 42)

2 months ago ~ oleg

Edited (version 41)

2 months ago ~ alfa_diopwicki

Edited (version 40)

2 months ago ~ alfa_diopwicki

Edited (version 39)

2 months ago ~ oleg

Updated Readme

2 months ago ~ oleg

2 months ago ~ andrin_keller

2 months ago ~ andrin_keller

2 months ago ~ andrin_keller

Edited (version 35)

2 months ago ~ LucasT

Joined the team

2 months ago ~ andrin_keller

  Thank you @Marino for the cool visualization! Gute Besserung

2 months ago ~ oleg

Edited (version 31)

2 months ago ~ alfa_diopwicki

Den Präsentationslink wurde verschoben.

2 months ago ~ alfa_diopwicki

Rename EnergieUebersichtCH-2024 (4).xlsx to EnergieUebersichtCH-2024.xlsx (@lucs20)

Add files via upload (@lucs20)

Edited (version 30)

2 months ago ~ alfa_diopwicki

Share

Edited (version 29)

2 months ago ~ alfa_diopwicki

Added Präsentationslink.

2 months ago ~ alfa_diopwicki

Edited (version 28)

2 months ago ~ alfa_diopwicki

2 months ago ~ alfa_diopwicki

Initial notebooks (@loleg)

The book.

2 months ago ~ oleg

Share

2 months ago ~ oleg

  Midnight gaming break ...

2 months ago ~ oleg

balancing prices and gen per type (@lucs20)

 Having a hard time explaining your own data

2 months ago ~ oleg

Share

clean epex data (@lucs20)

Rename visualizationgeneratorsandbalancePrices to visualizationgeneratorsandbalancePrices.py (@Skyore7)

Create visualizationgeneratorsand_balancePrices (@Skyore7)

Explaining Commodities - YouTube

2 months ago ~ oleg

Share

  Some quick data exploration in OpenRefine helps us get started

2 months ago ~ oleg

Plotting and predicting load balancing values with SARIMAX, Matplotlib, Pandas, in Marimo

2 months ago ~ oleg

Add files via upload (@lucs20)

2 months ago ~ oleg

Prototype

Joined the team

2 months ago ~ peter_janes

Sketching

Added an Etherpad (as the Presentation link) to keep notes together. If you want one too, get it at https://pad.okfn.de/ (danke Open Knowledge Deutschland 💛)

2 months ago ~ oleg

Research

Joined the team

2 months ago ~ alfa_diopwicki

  Teamed up, data downloaded: ready to rumble!

2 months ago ~ oleg

Joined the team

2 months ago ~ oleg

Start

Edited (version 9)

2 months ago ~ LucasT

Edited (version 8)

2 months ago ~ gaston_energy

Repository updated

3 months ago ~ LucasT

Edited (version 4)

3 months ago ~ LucasT
 
Contributed 3 months ago by LucasT for Energy Data Hackdays 2024
All attendees, sponsors, partners, volunteers and staff at our hackathon are required to agree with the Hack Code of Conduct. Organisers will enforce this code throughout the event. We expect cooperation from all participants to ensure a safe environment for everybody.

Creative Commons LicenceThe contents of this website, unless otherwise stated, are licensed under a Creative Commons Attribution 4.0 International License.