Skip to main content
https://raw.githubusercontent.com/SESAM-Polimi/MARIO/767d2c0e9e42ae0b6acf7c3a1cc379d7bcd367fa/doc/source/_static/images/polimi.svg

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 scnerios based on different policies such as coal phase out, carbon taxes, renewable incetives 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:

conda install -c conda-forge cvxpy

Then, you can use pip to install hypatia as follow:

pip install hypatia-py

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. When Hypatia is installed, you can strat to use the embedded examples as a quick start:

from hypatia import load_example

# Loading the planning example
planning = load_example('Planning')

# Loading the Operation example
operation = load_example('Operation')

# See the configuration of systems
print(planning)
print(operation)

# see the description of systems
print(planning.description)
print(operation.description)

# Running models
planning.run(solver='glpk')

# Save the results
planning.to_csv(path= '../save/directory')

If you want to see the structure of inputs and how the examples are built, you can download the data files to a specific place in your machine:

from hypatia import download_example

# Downloading the Planning example
download_example(example='Planning', destination_path='Where/To/Save')

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:

License

https://img.shields.io/badge/License-Apache_2.0-blue.svg

This work is licensed under Apache 2.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hypatia-py-0.1.0.tar.gz (70.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hypatia_py-0.1.0-py3-none-any.whl (1.8 MB view details)

Uploaded Python 3

File details

Details for the file hypatia-py-0.1.0.tar.gz.

File metadata

  • Download URL: hypatia-py-0.1.0.tar.gz
  • Upload date:
  • Size: 70.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/3.10.0 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for hypatia-py-0.1.0.tar.gz
Algorithm Hash digest
SHA256 49b9dd342eb87a5cf385ecefa4c76c32ff2527bda8cf470c14e6a4b8d0684639
MD5 4822b5b1389401196c97ade6404d5c69
BLAKE2b-256 a1ad7c5a00b73d058433ef2ce097915ca574a6d28536024d3a751b8fc26d5657

See more details on using hashes here.

File details

Details for the file hypatia_py-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: hypatia_py-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/3.10.0 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for hypatia_py-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c9b6f17530a8c5612a78a5891fc6a685c402bc4df0eaa529b6a8e2fa3972bee4
MD5 bc2482e0b15b671a704960fc3e22993d
BLAKE2b-256 d552b754419651be0d78819b4982391e4fd45c51b11449cf8c793e45ec066faf

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.1

2 files

This release

0.1.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page