Framework for integrated energy systems assessment
Project description
ETHOS.FINE - Framework for Integrated Energy System Assessment
The ETHOS.FINE python package provides a framework for modeling, optimizing and assessing energy systems. With the provided framework, systems with multiple regions, commodities and time steps can be modeled. Target of the optimization is the minimization of the total annual cost while considering technical and enviromental constraints. Besides using the full temporal resolution, an interconnected typical period storage formulation can be applied, that reduces the complexity and computational time of the model.
ETHOS.FINE is used for the modelling of a diverse group of optimization problems within the Energy Transformation PatHway Optimization Suite (ETHOS) at IEK-3.
If you want to use ETHOS.FINE in a published work, please kindly cite following publication which gives a description of the first stages of the framework. The python package which provides the time series aggregation module and its corresponding literatur can be found here.
Features
- representation of an energy system by multiple locations, commodities and time steps
- complexity reducing storage formulation based on typical periods
Documentation
A "Read the Docs" documentation of ETHOS.FINE can be found here.
Requirements
The installation process uses a Conda-based Python package manager. We highly recommend using (Micro-)Mamba instead of Anaconda. The recommended way to use Mamba on your system is to install the Miniforge distribution. They offer installers for Windows, Linux and OS X. Have a look at the Miniforge Readme for further details.
The project environment includes GLPK as Mixed Integer Linear Programming (MILP) solver. If you want to solve large problems it is highly recommended to install GUROBI. See "Installation of an optimization solver" for more information.
Installation
Installation via conda-forge
The simplest way ist to install FINE into a fresh environment from conda-forge
with:
mamba create -n fine -c conda-forge fine
Installation from local folder
Alternatively you can first clone the content of this repository and perform the installation from there:
- Clone the content of this repository
git clone https://github.com/FZJ-IEK3-VSA/FINE.git
- Move into the FINE folder with
cd fine
- It is recommended to create a clean environment with conda to use FINE because it requires many dependencies.
mamba env create -f requirements.yml
- Activate the new enviroment. You should see
(fine)
in front of your command prompt to indicate that you are now in the virtual environment.
mamba activate fine
Installation for developers
I you want to work on the FINE codebase you need to run.
mamba env create -f requirements_dev.yml
This installs additional dependencies such as pytest
and installs FINE from the folder in editable mode with pip -e
. Changes in the folder are then reflected in the package installation.
You can run the following command in the project root folder:
pytest
Installation of an optimization solver
FINE requires an MILP solver which can be accessed using PYOMO. It searches for the following solvers in this order:
- GUROBI
- Recommended due to better performance but requires license (free academic version available)
- Set as standard solver
- GLPK
- This solver is installed with the FINE environment.
- Free version available
- CBC
- Free version available
Gurobi installation
The installation requires the following three components:
- Gurobi Optimizer
- In order to download the software you need to create an account and obtain a license.
- Gurobi license
- The license needs to be installed according to the instructions in the registration process.
- Gurobi python api
- The python api can be installed according to this instruction.
GLPK installation
A complete installation instruction for Windows can be found here.
CBC
Installation procedure can be found here.
Examples
A number of examples shows the capabilities of FINE.
License
MIT License
Copyright (C) 2016-2022 FZJ-IEK-3
Active Developers: Theresa Groß, Kevin Knosala, Noah Pflugradt, Johannes Behrens, Julian Belina, Arne Burdack, Toni Busch, Philipp Dunkel, Patrick Freitag, Thomas Grube, Heidi Heinrichs, Maximilian Hoffmann, Shitab Ishmam, Stefan Kraus, Felix Kullmann, Jochen Linßen, Rachel Maier, Peter Markewitz, Lars Nolting, Shruthi Patil, Jan Priesmann, Stanley Risch, Julian Schönau, Bismark Singh, Maximilian Stargardt, Christoph Winkler, Michael Zier, Detlef Stolten
Alumni: Robin Beer, Henrik Büsing, Dilara Caglayan, Timo Kannengießer, Leander Kotzur, Martin Robinius, Andreas Smolenko, Peter Stenzel, Chloi Syranidou, Johannes Thürauf, Lara Welder
You should have received a copy of the MIT License along with this program. If not, see https://opensource.org/licenses/MIT
About Us
We are the Institute of Energy and Climate Research - Techno-economic Systems Analysis (IEK-3) belonging to the Forschungszentrum Jülich. Our interdisciplinary department's research is focusing on energy-related process and systems analyses. Data searches and system simulations are used to determine energy and mass balances, as well as to evaluate performance, emissions and costs of energy systems. The results are used for performing comparative assessment studies between the various systems. Our current priorities include the development of energy strategies, in accordance with the German Federal Government’s greenhouse gas reduction targets, by designing new infrastructures for sustainable and secure energy supply chains and by conducting cost analysis studies for integrating new technologies into future energy market frameworks.
Contributions and Users
From 2018 to 2022 we developed together with the RWTH-Aachen (Prof. Aaron Praktiknjo), the EDOM Team at FAU and the Jülich Supercomputing Centre new methods and models for ETHOS.FINE within the BMWi funded project METIS.
Acknowledgement
This work was supported by the Helmholtz Association under the Joint Initiative "Energy System 2050 A Contribution of the Research Field Energy".
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file fine-2.3.0.tar.gz
.
File metadata
- Download URL: fine-2.3.0.tar.gz
- Upload date:
- Size: 196.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ed6660e633452c0ad196974d2c1e0e418cf18fe6e0e433ff130a7ed40f84dea |
|
MD5 | ff853c3d854ade7fc0d8b718e77fb42c |
|
BLAKE2b-256 | e2704d78f482e53cbcc525b17f0aea0259cfc8b8cf6c9b435a1fa50fdabf53d8 |
File details
Details for the file fine-2.3.0-py3-none-any.whl
.
File metadata
- Download URL: fine-2.3.0-py3-none-any.whl
- Upload date:
- Size: 185.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42b66b1d4447b123e7fd2d3dad86d96cdc8fe8e42eebab0f723a0231918d513b |
|
MD5 | 0fa4a05841ce3a6d674843bf69f66672 |
|
BLAKE2b-256 | 466e8fdc588f08b7d77264ec2d12358b8d9a4ac728fb5bdf2a11f837496db836 |