an open source energy planning approach: soft-message€¦ · international atomic energy agency an...

20
International Atomic Energy Agency An open source energy planning approach: SOFT-MESSAGE June 2008 Paris, France M. Howells, H.H. Rogner, I. Jalal & M. Isshiki Planning and Economic Studies Section

Upload: others

Post on 01-Aug-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: An open source energy planning approach: SOFT-MESSAGE€¦ · International Atomic Energy Agency An open source energy planning approach: SOFT-MESSAGE June 2008 Paris, France M. Howells,

International Atomic Energy Agency

An open source energy planning approach:

SOFT-MESSAGE

June 2008

Paris, France

M. Howells, H.H. Rogner, I. Jalal & M. Isshiki

Planning and Economic Studies Section

Page 2: An open source energy planning approach: SOFT-MESSAGE€¦ · International Atomic Energy Agency An open source energy planning approach: SOFT-MESSAGE June 2008 Paris, France M. Howells,

International Atomic Energy Agency

2

Outline

• Objective: Component driven free

evolvable optimization model

• View of some of the components

• Interface, envelope, results viewer, model

code etc.

• Basic equations

• Simple application

• Conclusions

Page 3: An open source energy planning approach: SOFT-MESSAGE€¦ · International Atomic Energy Agency An open source energy planning approach: SOFT-MESSAGE June 2008 Paris, France M. Howells,

International Atomic Energy Agency

3

Selected objectives

• Simple Open Flexible Transparent

• MESSAGE (like MARKAL, TIMES, EFOM etc) is part of the Hefele-Manne family of models (limited but powerful)

• Reduce the barriers for uptake and basic capacity in the use of optimization models• For application (limited set of national medium term modeling)

• For development (very easy access to all equations)

• Free and unrestricted distribution (all components)

• Should increase the need and use of more powerful approaches

• Improve the power of simple but popular approaches

• As development is open, evolution can be sustainable

• (Target is a limited set of medium term applications)

Page 4: An open source energy planning approach: SOFT-MESSAGE€¦ · International Atomic Energy Agency An open source energy planning approach: SOFT-MESSAGE June 2008 Paris, France M. Howells,

International Atomic Energy Agency

4

What we would like to see

Page 5: An open source energy planning approach: SOFT-MESSAGE€¦ · International Atomic Energy Agency An open source energy planning approach: SOFT-MESSAGE June 2008 Paris, France M. Howells,

International Atomic Energy Agency

5

What I am going to show you..

Page 6: An open source energy planning approach: SOFT-MESSAGE€¦ · International Atomic Energy Agency An open source energy planning approach: SOFT-MESSAGE June 2008 Paris, France M. Howells,

International Atomic Energy Agency

6

Component driven

• Components that do not “lock us in”

• All aspects are “open” many service

providers / programmers / enthusiasts

• Components are (as) independent (as

possible)

• Can be changed, improved, replaced

• Components so far….

Page 7: An open source energy planning approach: SOFT-MESSAGE€¦ · International Atomic Energy Agency An open source energy planning approach: SOFT-MESSAGE June 2008 Paris, France M. Howells,

International Atomic Energy Agency

7

GLPK

Programming

kit

Data

File

Model

File

MPS

File

Results

In GNU

format

Clean

Results

(Equations)

Clean

Results

(Variables)

Scrubber

Envelope program

Resu

lts v

iew

er

Inte

rface*

* Interface is ONLY for testing. It is also independent – could use LEAP –

could use more symbolic interface – RES type interface.

Components

What the user sees

What the developer has access to

Page 8: An open source energy planning approach: SOFT-MESSAGE€¦ · International Atomic Energy Agency An open source energy planning approach: SOFT-MESSAGE June 2008 Paris, France M. Howells,

International Atomic Energy Agency

8Functional Mock-up interface(To be scrapped soon. It was compiled to help testing. Again, the move is to make this as independent from

specific implementation model implementation. We can also focus on simple intuitive interfaces. Could

theoretically use the same model with a different interface: LEAP / ANSWER / VEDA etc)

Page 9: An open source energy planning approach: SOFT-MESSAGE€¦ · International Atomic Energy Agency An open source energy planning approach: SOFT-MESSAGE June 2008 Paris, France M. Howells,

International Atomic Energy Agency

9Envelope Program(Written in Java this picks up the Model file and Data file and then submits the run. The data is

then cleaned for viewing / analysis )

Page 10: An open source energy planning approach: SOFT-MESSAGE€¦ · International Atomic Energy Agency An open source energy planning approach: SOFT-MESSAGE June 2008 Paris, France M. Howells,

International Atomic Energy Agency

10Results viewer

(Written in Java. Excel breaks down when results sets are large. Again, this utility is completely

independent of the interface, model file, data file etc.)

Page 11: An open source energy planning approach: SOFT-MESSAGE€¦ · International Atomic Energy Agency An open source energy planning approach: SOFT-MESSAGE June 2008 Paris, France M. Howells,

International Atomic Energy Agency

11

GLPK Programming Kit(A freeware subset of the AMPL mathematical programming language. Pictured is a

development kit (IDE Solve by Henri Gourvest), part of the manual and the Glpk Setup)

Page 12: An open source energy planning approach: SOFT-MESSAGE€¦ · International Atomic Energy Agency An open source energy planning approach: SOFT-MESSAGE June 2008 Paris, France M. Howells,

International Atomic Energy Agency

12

Page 13: An open source energy planning approach: SOFT-MESSAGE€¦ · International Atomic Energy Agency An open source energy planning approach: SOFT-MESSAGE June 2008 Paris, France M. Howells,

International Atomic Energy Agency

13

Page 14: An open source energy planning approach: SOFT-MESSAGE€¦ · International Atomic Energy Agency An open source energy planning approach: SOFT-MESSAGE June 2008 Paris, France M. Howells,

International Atomic Energy Agency

14

Page 15: An open source energy planning approach: SOFT-MESSAGE€¦ · International Atomic Energy Agency An open source energy planning approach: SOFT-MESSAGE June 2008 Paris, France M. Howells,

International Atomic Energy Agency

15

Basic equations (1)

y t

TotalDiscCost y , t

DiscOperatingCost y ,t =OperatingCost y , t *DiscountFactor y ,t

OperatingCost y ,t =TotCapAnny ,t * FixedCost y ,t +l

( Activity y ,l ,t *VariableCost y ,t *YearSplit y ,l )

DiscCapitalInvestment y ,t =CapitalCost y ,t * NewCap y ,t * DiscountFactor y ,t

Objective

function -

minimize:

Production y ,l , f Demand y ,l , f Usey , l , f

Where :

Production y ,l , ft

( Activity y ,l ,t OtptActvtyRatioy ,t , f YearSplit y ,l )

Usey ,l , ft

Activityy , l ,t InptActvtyRatio y ,t , f YearSplit y ,l )

TotalDiscCost y ,t = DiscOperatingCost y ,t + DiscCapitalInvestment y ,t - SalvageValue y ,t + DiscEmissionsPenalty y ,t

Page 16: An open source energy planning approach: SOFT-MESSAGE€¦ · International Atomic Energy Agency An open source energy planning approach: SOFT-MESSAGE June 2008 Paris, France M. Howells,

International Atomic Energy Agency

16

Basic equations (2)

,

,

l

( Activity y ,l ,t YearSplit y ,l EmissionActvtyRatio ) EmissionsProd y ,t ,e

EmissionsProd y , t ,e EmissionsCost y ,e EmissionsPenalty y ,t ,e

e

EmissionsProd y ,t ,e EmissionsCost y ,e EmissionsPenalty y ,t

DMDinRM y , l , f Use y ,l , f 1 RM y , f TotCapinRM y , f

EmissionsPenalty t ,y DiscountFactor t ,y DiscEmissionsPenalty t ,y

Page 17: An open source energy planning approach: SOFT-MESSAGE€¦ · International Atomic Energy Agency An open source energy planning approach: SOFT-MESSAGE June 2008 Paris, France M. Howells,

International Atomic Energy Agency

17

A Case study: High fossil fuel price imports,

a carbon tax and a RE target

Repeated from Rogner et al WEC 2007

Page 18: An open source energy planning approach: SOFT-MESSAGE€¦ · International Atomic Energy Agency An open source energy planning approach: SOFT-MESSAGE June 2008 Paris, France M. Howells,

International Atomic Energy Agency

18

Case Study: Total installed capacity

Page 19: An open source energy planning approach: SOFT-MESSAGE€¦ · International Atomic Energy Agency An open source energy planning approach: SOFT-MESSAGE June 2008 Paris, France M. Howells,

International Atomic Energy Agency

19

Case study:

• Total costs

(top)

• Costs relative

to Reference

scenario

• (under the

same “security

challenge”)

Page 20: An open source energy planning approach: SOFT-MESSAGE€¦ · International Atomic Energy Agency An open source energy planning approach: SOFT-MESSAGE June 2008 Paris, France M. Howells,

International Atomic Energy Agency

20

Conclusions

• Developed a first free OS energy planning model

• Hope to reduce the barriers to entry and increase modeling capacity at two levels:• Users

• Developers

• Simplified• “Power modelers” will still need “power tools”, solvers etc.

• Not aimed at long term modelling (rather medium term annual granulation)

• Applicable for a large set of “fist order” country applications

• Will continue development of components• Stand alone

• Testing and deployment

• Integration with other tools e.g. LEAP

• This is an evolving tool (and a first iteration is presented here)

• Allows a basis for further development and experiments• Test new approaches on a simple small scale

• Develop skills in research, university and other contexts

• Come up with better representations than those given here