Skip to content

Examples & tutorialsΒΆ

In this section of the documentation, we will take you through some simple and more advanced topics related to building and running Calliope models in Python. These examples are best understood after you have gone through the basic concepts.

Some of the tutorials are based on the built-in example models. They explain the key steps necessary to set up and run simple models. The built-in examples are simple on purpose, to show the key components of a Calliope model with which models of arbitrary complexity can be built.

  • Math gallery


    • Math gallery: reusable, user-defined math for implementing advanced constraints.
  • Example models


    • National scale: part of a national grid, using supply with and without a storage buffer, a storage technology, and inheriting from technology and node groups.
    • Urban scale: part of a district network, using conversion technologies with single and multiple output carriers, revenue generation through carrier export, and inheriting from templates.
    • MILP: extends the urban scale model with binary and integer decision variables (extending an LP model to a MILP model).
  • Python tutorials