An Operation and Planning Energy System Modelling Framework
Hypatia is an open source modelling framework written in Python that provides a technology-rich basis for optimizing both the operation and planning mode of the energy systems in short-term and long-term time horizons. Hypatia is able to analyze various energy transition scenarios based on different policies such as coal phase out, carbon taxes, renewable incentives and other national and international pledges for the possible future energy systems.
There are different ways to install hypatia software on your machine. The fastest one is through pip:
In case that you are using pip, it is suggested to create a new environment to avoid conflicts of the other packages. To create a new environment, you should use Anaconda Prompt:
conda create -n hypatia python=3.8
If you create a new environment for hypatia, you need to activate the environment each time you want to use it, by writing the following line in Anaconda Prompt:
conda activate hypatia
After activating the environment, you need to install CVXPY, version 1.1.18:
conda install -c conda-forge cvxpy=1.1.18
Then, you can download the code version you are interesting in and save in any folder of your local disk, after unzipping it. After that, open the Anaconda Prompt, activate the enviroment of hypatia and digit:
cd "path"
"path" of local folder in which you placed the Hypatia folder you just downloaded e.g. C:UsersYourUserGitHubHypatia. Inside the path digit:
python setup.py bdist_wheel
FInally, the last command:
pip install -e .
Most of the open source solvers that are supported by CVXPY (the optimization library used in Hypatia), will be installed automatically with the software. For the commercial solvers, you should follow the specific installation methods.
Some of the key packages that Hypatia relies on are:
Hypatia supports different Open Source and Commercial solvers like:
Note
- This project is under active development.
This work is licensed under Apache 2.0