This OpenSTEF workshop repository contains two workshops: a beginner workshop where no coding is required and a more advanced workshop where you through exercises you get to know OpenSTEF. Both contain the same three notebooks: Workshop_1_train_model
, Workshop_2_make_forecast
, and Workshop_3_perform_backtest
.
It is also recommended to look at the presentation of the workshop, to gain some basic understanding of OpenSTEF. You can find the presentation here.
Participants of the beginner workshop do not need any pre-existing knowledge.
Participants of the advanced workshop are expected to have basic knowledge on Jupyter Notebook and Python.
- Open an online notebook interface such as google collab or jupyter lab.
- Upload the data/*.csv to the online environment
- Have fun with the workshop!
Preparation for Windows
- Download the repository (find an elaborate guide here). Remember the destination location. For example
C:\Users\YourUserName\Downloads\openstef-workshop
. - Install Python 3.11 (Not Python >= 3.12!).
- Open a terminal (Windows-Key + R, type cmd, press OK) and use the cd (change dir) command to navigate to the folder where you downloaded the workshop. For example:
C:\Users\YourUserName> cd Downloads\openstef-workshop
C:\Users\YourUserName\Downloads\power-grid-model-workshop>
- Optional: create and activate a virtual environment. This helps to keep your system clean.
> python -m venv venv
> venv\Scripts\activate
- Install the requirements (openSTEF and Jupyter):
pip install -r requirements.txt
- Run Jupyter notebook. This will either open a browser or the console output will tell you where to find the jupyter notebook server. Alternatively, if you are for example working in Visual Studio Code or PyCharm, you can open the openstef-workshop foler manually.
> jupyter notebook
- Try the workshop files by opening any of the
.ipynb
files and pressing the>>
(run all) button. Note that in the files not ending with_answers
, there are exercises where you have to fill in some code. These notebooks will thus work without you doing these exercises.
This project is licensed under the Mozilla Public License, version 2.0 - see LICENSE for details.
Please read CODE_OF_CONDUCT.md, CONTRIBUTING.md and PROJECT_GOVERNANCE.md for details on the process for submitting pull requests to us.
Please read SUPPORT.md for how to connect and get into contact with the OpenSTEF project.