This repository contains code for the power system model medea, developed by Sebastian Wehrle and Johannes Schmidt.
medea was used to analyze district heating systems under high CO2 prices and is currently employed within the reFUEL project.
- at least 16 GB RAM, 32 GB recommended
- python 3.6 or later
- for python dependencies: see requirements.txt
- GAMS 24.8 or later
- a solver for mathematical programs, such as Gurobi
-
python: an easy, yet lightweight way to install python is via miniconda. python packages dependencies can be installed via
conda install --yes --file requirements.txt
-
GAMS-python bindings: download and install GAMS, then follow these instructions to set up the GAMS-python API.
-
git: download and install git
-
medea: fork this repository (try the fork button in the upper right corner) to your github account. Then, copy the forked repository's url and
git clone
medea to your local disk.
For medea to work properly, the variables folder
and gams_sysdir
in medea/config.py
must point to the correct locations, i.e. folder
must point
to the local medea repository (e.g. D:\git_repos\medea
) and gams_sysdir
must point to the folder of the local GAMS
installation that contains the GAMS executable. (On Windows this might be something like C:\GAMS\win64\27.1
)
For more information on how to use medea, please consult getting started.
For comments and bug reporting please contact Sebastian Wehrle.