Skip to main content

Framework for integrated energy systems assessment

Project description

Build Status Version Documentation Status PyPI - License codecov

Forschungszentrum Juelich Logo

FINE - Framework for Integrated Energy System Assessment

The 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.

If you want to use 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 FINE can be found here.

Requirements

Framework

The FINE Framework itself requires the following components:

  • FINE sourcecode
  • Python dependencies
  • A Mixed Integer Linear Programming (MILP) solver like Gurobi or GLPK

Installation

The installation proceedure requires:

  • Git
  • Anaconda

Installation of framework and dependencies

Installation requirements

  1. Install anaconda by choosing your operating system here. If you are a Windows 10 user, remember to tick "Add Anaconda to my PATH environment variable" during installation under "Advanced installations options".
  2. Install git from https://git-scm.com/downloads

Prepare folder

  1. Open a prompt e.g. "anaconda prompt" or "cmd" from the windows start menu
  2. Make a folder where you want to work, for example C:\Users<your username>\work with "mkdir C:\Users<your username>\work"
  3. Go to that directory with "cd C:\Users<your username>\work" at the command line

Get source code via GIT

Clone public repository or repository of your choice first

git clone https://github.com/FZJ-IEK3-VSA/FINE.git 

Move into the FINE folder with

cd fine

Installation for users

It is recommended to create a clean environment with conda to use FINE because it requires many dependencies.

conda env create -f requirements.yml

This directly installs FINE and its dependencies in the FINE conda environment. Activate the created environment with:

activate FINE

Installation for developers

Create a development environment if you want to modify it. Install the requirements in a clean conda environment:

conda env create -f requirements_dev.yml
activate FINE_dev

This installs FINE and its requirements for development (testing, formatting). Further changes in the current folder are reflected in package installation through the installation with pip -e.

Run the test suite with:

pytest --cov=FINE test/

Installation of an optimization solver

FINE requires an MILP solver which can be accessed using PYOMO. There are three standard solvers defined:

  • GUROBI
    • Recommended due to better performance but requires license (free academic version available)
    • Set as standard solver
  • GLPK
    • 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

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ß, Leander Kotzur, Noah Pflugradt, Julian Belina, Toni Busch, Philipp Dunkel, Patrick Freitag, Thomas Grube, Heidi Heinrichs, Maximilian Hoffmann, Kevin Knosala, Felix Kullmann, Stefan Kraus, Jochen Linßen, Rachel Maier, Peter Markewitz, Lars Nolting, Shruthi Patil, Jan Priesmann, Stanley Risch, Julian Schönau, Bismark Singh, Andreas Smolenko, Peter Stenzel, Chloi Syranidou, Christoph Winkler, Michael Zier, Detlef Stolten

Alumni: Robin Beer, Henrik Büsing, Dilara Caglayan, Timo Kannengießer, Martin Robinius, 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

Institut TSA

We are the Institute of Energy and Climate Research - Techno-economic Systems Analysis (IEK-3) belonging to the Forschungszentrum Jülich. Our interdisciplinary institute'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

Within the BMWi funded project METIS we develop together with the RWTH-Aachen (Prof. Aaron Praktiknjo), the EDOM Team at FAU (PD Bismark Singh) and the Jülich Supercomputing Centre new methods and models within FINE.

METIS Team

           

Acknowledgement

This work was supported by the Helmholtz Association under the Joint Initiative "Energy System 2050 A Contribution of the Research Field Energy".

Helmholtz Logo

Project details


Download files

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

Source Distribution

FINE-2.2.2.tar.gz (611.0 kB view details)

Uploaded Source

Built Distribution

FINE-2.2.2-py3-none-any.whl (12.0 MB view details)

Uploaded Python 3

File details

Details for the file FINE-2.2.2.tar.gz.

File metadata

  • Download URL: FINE-2.2.2.tar.gz
  • Upload date:
  • Size: 611.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.6

File hashes

Hashes for FINE-2.2.2.tar.gz
Algorithm Hash digest
SHA256 60cb7ab38e4ca256af9c1e089a09b6d19c0bd730725c1df1196ce0301d2c471d
MD5 97b4108cecd4c1631aa5074326d18792
BLAKE2b-256 1bdf4a5cc0e5814273b8c03114ca2bbedb640d07c8a2650b942d7fff0fd46ea5

See more details on using hashes here.

File details

Details for the file FINE-2.2.2-py3-none-any.whl.

File metadata

  • Download URL: FINE-2.2.2-py3-none-any.whl
  • Upload date:
  • Size: 12.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.6

File hashes

Hashes for FINE-2.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 82bc3467c69589948902dd6891940519820e99cce6b32498fab2a7361ea8929a
MD5 0c20b86df36b93635e3dba309d295667
BLAKE2b-256 280f54395c034a1ba954617da26d1bec8f33146c328e9a3fcaeac873ddec5478

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page