Skip to content

Examples

This section presents several examples to learn how to use GEMS language.

Ready-to-use examples

Users can execute the examples directly by yourself, they already contain all the inputs needed for being running by GEMS interpreter.

Example Description
Adequacy Quick Start A minimal three-bus adequacy study to get started immediately with GEMS, including input files ready to run.

Jupyter Notebooks

Users can learn step by step how to build a study by running the cells gradually.

Notebook Description
Unit Commitment with GemsPy Step-by-step tutorial building a unit commitment model with GemsPy, from a simple adequacy problem to a full unit commitment formulation.
Investment Optimization with GemsPy Tutorial showing how to model and solve an investment optimization problem (optimal capacity planning) using GemsPy.
PyPSA-Eur to GEMS Example explaining via a notebook how to convert a PyPSA-Eur network into a GEMS study, it is part of the Getting Started section.

Reference Libraries

For helping users to get familiar with GEMS objects, a list of ready-to-use libraries with their source files, and an interactive viewer, inside the Reference Libraries page.