• Keine Ergebnisse gefunden

ix MESSAGE WorkshopSession III: Building an Energy System Model (Part 2) and Adding energy policies

N/A
N/A
Protected

Academic year: 2022

Aktie "ix MESSAGE WorkshopSession III: Building an Energy System Model (Part 2) and Adding energy policies"

Copied!
13
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

MESSAGE

ix

Workshop

Session III: Building an Energy System Model (Part 2) and Adding energy policies

MESSAGEix Workshop team:

Behnam Zakeri, Paul Kishimoto, Oliver Fricko, Francesco Lovat, Muhammad Awais, Laura Wienpahl

Energy, Climate, and Environment (ECE) Program

International Institute for Applied Systems Analysis (IIASA), Austria 9 June 2021

(2)

MESSAGEix is a cost minimization model for energy planning

A system of interlinked resources, technologies, commodities, levels, etc. to deliver certain services

Getting familiar with Jupyter Notebook: building a simple model from scratch

MESSAGEix Workshop, Previous Session

2 26 July 2021

Recap...

Resources Renewable potentials

Conversion/processing Demand

PRIMARY SECONDARY FINAL USEFUL

Transmission &

Distribution

(3)

There is no pre-defined sectors, technologies, commodities, etc.

The level of technical detail depends on the user’s preferences and research questions.

Flexibility remains for temporal and spatial representation.

MESSAGEix: A flexible representation of the system

26 July 2021

Recap...

Refinery

crude oil light oil

heavy fuel oil

Aggregate representation

Detailed representation

image: www.azom.com

(4)

The MESSAGE

ix

framework: Workflow of modeling

26 July 2021 4

MESSAGEix

Mathematical spec

1. Interface

GDX files

Recap…

3. Model

2. Database ixmp

(ix modeling platform)

scenario.commit()

scenario.solve()

(5)

Working with MESSAGEix tutorials (hands-on sessions):

1. Reviewing Westeros Baseline as a simple energy system model 2. Adding policies and constraints to a scenario

The objective:

Be able to find information on MESSAGEix sets, parameters, and equations

Learn about MESSAGEix tutorials and their main features

Be able to build a simple energy model using Jupyter Notebook

Learn how to represent some general constraints and policies

A tutorial to the MESSAGEix framework – Part 2

26 July 2021

Agenda of this Session

(6)

Locate your tutorial folder in your machine

Open an Anaconda command window, activate your message_ix environment, and call jupyter notebook

Navigate to the folder for Westeros tutorials and open the baseline

Working with tutorials

6 26 July 2021

Building an energy system from scratch

(7)

Creating a new scenario (or loading an existing one)

Declaring required sets (node, technology, commodity, level, etc.)

Defining required parameters (adding numeric data, relating sets to each other, etc.) - demand

- techno-economic parameters - bounds and dynamic constraints

Solving the model

Postprocessing and plotting

Building a MESSAGEix model

26 July 2021

Different steps of modeling

(8)

Importing required software packages

import ixmp

import message_ix

Loading the ixmp platform (connection to the database):

mp = ixmp.Platform()

Creating a new scenario:

my_scen = message_ix.Scenario(mp, model, scenario, version=‘new’)

Example: model = ‘building energy system’, scenario = ‘baseline’ (or ‘high-efficiency’)

Working with MESSAGEix scenarios

8 26 July 2021

A short note on model/scenarios

Modeling

platform model/scenario identifiers

(9)

Creating a new scenario

my_scen = message_ix.Scenario(mp, model, scenario, version=‘new’)

Listing your scenarios mp.scenario_list()

Loading scenarios

my_scen = message_ix.Scenario(mp, model, scenario, version=3)

my_scen = message_ix.Scenario(mp, model, scenario) (loading the default version)

Working with MESSAGEix scenarios

26 July 2021

A short note on model/scenarios (2)

Modeling

platform model/scenario identifiers

model scenario version default

MESSAGEix-mymodel baseline 1 1

MESSAGEix-mymodel baseline 2 0

MESSAGEix-mymodel baseline 3 0

MESSAGEix-mymodel low-emissions 1 1

MESSAGEix-mymodel low-demand 1 1

(10)

Working with sets:

my_scen.add_set(‘technology’, ‘item’)

my_scen.add_set(‘technology’, [‘item1’, ‘item2’])

my_scen.set(‘technology’) shows the content of a set

my_scen.remove_set(‘technology’, ‘item2’) removes an item from a set

Working with parameters:

my_scen.add_par(‘technical_lifetime’, df) df is a Pandas DataFrame (like a table) my_scen.par(‘technical_lifetime’) shows the content of a parameter

my_scen.remove_par(‘technical_lifetime’, df) ➔ removes an item from a parameter

Working with MESSAGEix scenarios

10 26 July 2021

Adding, modifying, and removing data

MESSAGEix parameter MESSAGEix set

(11)

The MESSAGE

ix

framework : Investment planning

From historical activity/capacity to model years

Electricity generation (TWh)

Optimization years

?

(12)

Dynamic constraints

12 26 July 2021

Diffusion and contraction of technologies over time

activity

2010 2020

growth_activity_up and initial_activity_up

growth_activity_lo and initial_activity_lo

bound_activity_up

bound_activity_lo

time ACT?

Link to the documentation After solving

(13)

Thank you very much for your attention!

This presentation is licensed under a Creative Commons Attribution 4.0 International License

Dr. Behnam Zakeri

Research Scholar – Energy Program International Institute for Applied Systems Analysis (IIASA) Laxenburg, Austria zakeri@iiasa.ac.at

Referenzen

ÄHNLICHE DOKUMENTE

The energy supply model MESSAGE 9 Turning to the validation of MESSAGE, the correctness of the mapping done by the model depends on the degree of simplification of

A set of assumptions which is commonly accepted as "realistic" (50 percent of all single family homes with the appropriate back up system for space or water

Decision Analysis. An Evaluation and Communication Tool 48 Implementation and Transfer of the Research Results.. economic activity, demography, human settlement pat- terns, and

The electricity impact submodel calculates a set of envi- ronmental impacts associated with model power plants of five types: coal, pressurized water reactor (PWR) ,?. boiling

The first part, below, describes the regional energy demand data that is required as input to the model, followed by a section describing the methodology to calculate the

Integrated Energy System Modelling and PolicY Analysis A Descri~tion of an IIASA Research

requires many, many years and much remains to be done in the next years. The point here i s rather this: We more and more realize that nuclear power took on a pilot

This paper is structured as follows: The Data Categorization section highlights the identified categories and datatypes associated with city quarter modelling; the