Skip to content

SESAM-Polimi/Hypatia-polimi

 
 

Repository files navigation

Documentation Status https://img.shields.io/pypi/v/hypatia-py Documentation Status

Hypatia

An Operation and Planning Energy System Modelling Framework

What is it

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.

Quickstart

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.

Python module requirements

Some of the key packages that Hypatia relies on are:

  1. Pandas
  2. Numpy
  3. Plotly
  4. Cvxpy (domain-specific language)

Hypatia supports different Open Source and Commercial solvers like:

Note

  • This project is under active development.

License

This work is licensed under Apache 2.0

About

An Operation and Planning Energy System Modelling Framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 99.7%
  • Python 0.3%