370.062 Open Source Energy System Modeling
Diese Lehrveranstaltung ist in allen zugeordneten Curricula Teil der STEOP.
Diese Lehrveranstaltung ist in mindestens einem zugeordneten Curriculum Teil der STEOP.

2021S, VU, 2.0h, 3.0EC


  • Semesterwochenstunden: 2.0
  • ECTS: 3.0
  • Typ: VU Vorlesung mit Übung
  • Format der Abhaltung: Online


Nach positiver Absolvierung der Lehrveranstaltung sind Studierende in der Lage...

Note, this course is in English only!

After successful completion of the course, students are able to understand the benefits of open source software/data, how to use open source tools and licenses, and are able to work with the IAMC (integrated-assessment community) data format to develop energy system models.

Lecture slides and recordings of several lectures are available at https://data.ene.iiasa.ac.at/teaching/ under an open-source license.

Inhalt der Lehrveranstaltung

Lecture 1

We will discuss the principles of open-source and collaborative scientific programming for energy modelling. Concepts include version control using GitHub, the principles of code review, unit tests and continuous integration.

Lecture 2

Integrated assessment models are a key tool for developing narratives and quantifying pathways to understand system transitions and impacts of policy measures. We will discuss different model types which can be used in this area, and we will review the role of numerical modelling of human and earth systems for policy-makers in the context of the IPCC reports and other global outlooks.

Lecture 3

We will use the pyam package, a Python package for visualizing and analyzing integrated assessment scenarios, for understanding climate change mitigation pathways used in the IPCC Special Report on Global Warming of 1.5°C (SR15).

Lecture 4

We will turn to developing a national-scale energy system model using the open-source MESSAGEix Integrated Assessment Modeling Framework. After working through an example, students will implement a stylized model for another country and analyze different climate change mitigation policies.

Lecture 5

We will discuss how to extend the stylized national energy system model developed in lecture 4 into an integrated assessment model by including land use and agriculture, water use, and other aspects of sustainable development.


  • Using Jupyter notebooks and the pyam package for scenario analysis
  • Using the open-source MESSAGEix energy modelling framework


Schriftlich und Mündlich

Weitere Informationen

Attention: An introduction for several lectures at EEG takes place on 8th March 2021 (10 am) Online!

EEG Vorbesprechung
Mo., 8. März 2021 10:00 - 13:00 (CET)

Nehmen Sie an meinem Meeting per Computer, Tablet oder Smartphone teil.

Sie können sich auch über ein Telefon einwählen.
Österreich: +43 1 2060 92964

Zugangscode: 213-134-813

Start of this lecture (blocked): Tuesday, 16.03.2021, 14:00-17:00

Schedule of Lectures:

  • Tuesday, March 16 , 2021, 14:00-17:00
  • Tuesday, March 23, 2021,  14:00-17:00
  • Tuesday, April 20, 2021,  14:00-17:00
  • CANCELLED Tuesday, April 27, 2021,  14:00-17:00 
  • Tuesday, May 11, 2021,  14:00-17:00
  • Tuesday, May 18, 2021,  14:00-17:00 (reserve slot if necessary)

Exam: Tuesday, June 1, 2021, 14:00-17:00 (written & remote-oral,  exam possible also upon individual appointment)

Vortragende Personen


LVA Termine

Di.14:00 - 17:0016.03.2021 - 23.03.2021 Zoom (LIVE)Lecture
Di.14:00 - 17:0020.04.2021 - 27.04.2021 Zoom (LIVE)Lecture
Di.14:00 - 17:0011.05.2021 Zoom (LIVE)Lecture
Di.14:00 - 17:0018.05.2021 Zoom (LIVE)Lecture
Di.14:00 - 17:0001.06.2021 Zoom (LIVE)Exam
Open Source Energy System Modeling - Einzeltermine
Di.16.03.202114:00 - 17:00 ZoomLecture
Di.23.03.202114:00 - 17:00 ZoomLecture
Di.20.04.202114:00 - 17:00 ZoomLecture
Di.27.04.202114:00 - 17:00 ZoomLecture
Di.11.05.202114:00 - 17:00 ZoomLecture
Di.18.05.202114:00 - 17:00 ZoomLecture
Di.01.06.202114:00 - 17:00 ZoomExam



  • Submitted assignments (50%)
  • Written and oral exam (30%)
  • Active participation in class (20%)


Di.14:00 - 17:0028.05.2024EI 3A Hörsaal schrift.&mündl.17.05.2024 00:00 - 10.06.2024 23:59in TISSPrüfung


Von Bis Abmeldung bis
22.02.2021 00:00 08.06.2021 23:00


710 FW Freie Wahlfächer - Elektrotechnik Freifach


Software resources

anaconda (Python and Jupyter installation framework) - www.anaconda.com

pyam documentation - software.ene.iiasa.ac.at/pyam

MESSAGEix framework - MESSAGEix.ene.ac.at

Resources for the IPCC Special Report on Global Warming of 1.5°C (SR15)

Full report - www.ipcc.ch/report/sr15/ (see Chapter 2 in particular)

Scenario Explorer - data.ene.iiasa.ac.at/iamc-1.5c-explorer

Assessment notebooks

Scientific literature

MESSAGEix framework documentation

Daniel Huppmann, Matthew Gidden, Oliver Fricko, Peter Kolp, Clara Orthofer, Michael Pimmer, Adriano Vinca, Alessio Mastrucci, Keywan Riahi, and Volker Krey. The MESSAGEix Integrated Assessment Model and the ix modeling platform. 2018, submitted. Electronic pre-print available at pure.iiasa.ac.at/15157/.


Students are expected to have a good understanding of the energy system and the policy questions concerning climate change mitigation and the transition to renewable energy sources. PhD students with an interest in numerical modelling and analytical methods are encouraged to join.

The frameworks used during the lectures and assignments are based on Jupyter Notebooks and Python. In-depth knowledge of Python is not required, but prior experience with at least one scientific programming language (Python, Julia, R, Matlab, Java, C, etc.) is expected.

Students that have not previously worked with Python should install the latest release from www.anaconda.com (Python 3.7 or higher) before the first lecture. Basic understanding of Python and learning to work with pandas DataFrames is highly recommended, see https://pandas.pydata.org/pandas-docs/stable/10min.html.

Running the MESSAGEix framework requires a working installation of GAMS (www.gams.com), but knowledge of GAMS as a mathematical programming language is not required. The MESSAGEix tutorials can be run via Jupyter/Python notebooks without a GAMS license file as preparation prior to the lectures, but developing larger models (e.g., extending the time horizon, adding technologies, disaggregating the demand sector) requires a valid GAMS license. Note that the license which can be purchased via TU Wien does not include the powerful solvers CPLEX and GUROBI. A course license valid for several weeks will be provided prior to the third lecture.