Europeans rarely experience blackouts due to a reliable electricity supply, maintained by companies like TransnetBW, one of Germany's four transmission system operators. They ensure grid stability by balancing electricity input and output to maintain a frequency of 50 Hertz, using automated signals to adjust power plant activity. Traditionally, each European state managed its own grid, often leading to inefficiencies. Since 2022, the PICASSO platform, operated by TransnetBW, has optimized this process across Europe, saving hundreds of millions of euros annually and aiding decarbonization. To ensure platform reliability, TransnetBW monitors various time series data, offering a new dataset for further research.
Challenge Website: https://hessian.ai/industry-challenge/
Kaggle competition: https://www.kaggle.com/competitions/ai-serving-grid-stability/overview
This guide is divided into two sections: Running submission.py
and Notebooks. The first section explains how to run our code to generate our best submission, while the second section covers testing using notebooks. To reproduce our results, follow the instructions for running submission.py
.
The submission.py
script contains the code needed to generate the submission.csv
file. To reproduce our results, follow these steps:
- git clone https://github.com/data-science-kitchen/ai-serving-grid-stability.git
- cd ai-serving-grid-stability
py -m venv venv
(Python 3.10.10) or replacepy
with your installed Python version.- Activate your venv
pip install -r requirements.txt
- Download train.csv and train.csv ai-serving-grid-stability/data?select=test.csv and from Kaggle.
- Put the
train.csv
andtest.csv
into the data folder. - py submission.py
Just test notebooks.
py -m venv venv
(Python 3.9.1) or replacepy
with your installed Python version.- Activate your venv
pip install -r requirements.txt
- Add Kernel:
python -m ipykernel install --user --name ai-serving-grid-stab --display-name "Ai Serving Grid Stability"
(Restart VSCode) - Select your kernel in your Notebook.
- Install Kaggle API (see instructions)
- Run
kaggle competitions download -c ai-serving-grid-stability
- Extract zip-file to
data
subdirectory:unzip -d data ai-serving-grid-stability.zip
kaggle competitions submit -c ai-serving-grid-stability -f submission.csv -m "MESSAGE"