This repository contains material for the illustration of energy system analysis for graduate students. The teaching material is prepared in German, coding contains a mix of German and Englisch. The technical setting is the heat supply for a district. Several technological options may be used to satisfy the heat demand. Cost settings and other key parameters can be freely configured in order to cover different scenarios. These scenarios are refered to different teams assuming that different groups of students investigate their specific setting. oemof code is provided which allows to run the optimization and to analyse the results. Also, the material includes slides for presenting the technical setting and preliminary exercises. All material may be adapted for individual use.
This repository includes the subdirectories with the following contents:
data: all data to define the given parameters for each team/scenario
data_postprocessed: Auswertungsergebnisse_Text.csv = List of parameter names which is used to generate files in the subfolders: subfolders with results for each team/scenario
data_raw: time series data for solar irradiation, electric and thermal power demand
experiment_config: file to control the calculation process
results: calculation results
src: python sources
The following steps are recommended to install the educational project on a Windows PC.
- Download and install Anaconda Navigator: https://www.anaconda.com/products/individual
- Open Anaconda Navigator
- Create new environment for python 3.7
- Activate your environment
- Open Terminal in your environment
- Download educational projekt (Lehrbeispiel) from this repository and store all files with the given folder structure on your harddrive in a defined project-folder
- In Terminal Window: Navigate to the project-folder
- Install all required packages using the command “pip install –r requirements.txt”
- Download and install Solver 'cbc' für Python 3.7: https://oemof-solph.readthedocs.io/en/latest/readme.html#installing-a-solver
The following steps are recommended to run the energy-system-planning-workshop on a Windows PC.
- Define calculation setup in the file “config.yml” in the folder “experiment_config” using a standard editor.
- Define boundary conditions for the optimization by adapting data in file “parameters_Team_XX” (XX for scenario/team ) in folder “data”.
- Open Anaconda Navigator
- Activate environment which was created in the installation process
- Open Terminal in this environment
- Navigate to folder src in the Terminal Window
- Start optimization in Terminal Window with: “python main.py”
- Wait computation to finish in Terminal Window
- Analyse results in folder “results”
christoph.pels-leusden(at)bht-berlin.de
Copyright (C) 2023 Berliner Hochschule für Technik Berlin
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.