You are on page 1of 44

Juan Miguel Morales

Salvador Pineda
Tools for decision making under uncertainty in
electricity markets
GAMS Introduction
Tools for decision making under uncertainty in electricity markets 2 Lecture 1: When uncertainty matters
GAMS download
www.gams.com
Tools for decision making under uncertainty in electricity markets 3 Lecture 1: When uncertainty matters
GAMS appearence
Tools for decision making under uncertainty in electricity markets 4 Lecture 1: When uncertainty matters
GAMS files
Tools for decision making under uncertainty in electricity markets 5 Lecture 1: When uncertainty matters
GAMS files
Tools for decision making under uncertainty in electricity markets 6 Lecture 1: When uncertainty matters
Definition of sets, parameters, tables, variables, etc.
Definition of objective function
Definition of equality constraints
Definition of inequality constraints
Definition of the model
Solve statement
Display solution (optional)
GAMS file structure
Tools for decision making under uncertainty in electricity markets 7 Lecture 1: When uncertainty matters
GAMS basic commands
Tools for decision making under uncertainty in electricity markets 8 Lecture 1: When uncertainty matters
SETS
Tools for decision making under uncertainty in electricity markets 9 Lecture 1: When uncertainty matters
SCALARS
Tools for decision making under uncertainty in electricity markets 10 Lecture 1: When uncertainty matters
PARAMETERS
Tools for decision making under uncertainty in electricity markets 11 Lecture 1: When uncertainty matters
TABLES
Tools for decision making under uncertainty in electricity markets 12 Lecture 1: When uncertainty matters
VARIABLES
Tools for decision making under uncertainty in electricity markets 13 Lecture 1: When uncertainty matters
EQUATIONS
Tools for decision making under uncertainty in electricity markets 14 Lecture 1: When uncertainty matters
MODEL
Tools for decision making under uncertainty in electricity markets 15 Lecture 1: When uncertainty matters
SOLVE
Tools for decision making under uncertainty in electricity markets 16 Lecture 1: When uncertainty matters
SOLVE
Tools for decision making under uncertainty in electricity markets 17 Lecture 1: When uncertainty matters
DISPLAY
Tools for decision making under uncertainty in electricity markets 18 Lecture 1: When uncertainty matters
FUNCTIONS
Tools for decision making under uncertainty in electricity markets 19 Lecture 1: When uncertainty matters
FUNCTIONS SUM and PROD
Tools for decision making under uncertainty in electricity markets 20 Lecture 1: When uncertainty matters
FUNCTION $
Tools for decision making under uncertainty in electricity markets 21 Lecture 1: When uncertainty matters
FUNCTION FOR
Tools for decision making under uncertainty in electricity markets 22 Lecture 1: When uncertainty matters
FUNCTION WHILE
Tools for decision making under uncertainty in electricity markets 23 Lecture 1: When uncertainty matters
Example
Transport
problem
Tools for decision making under uncertainty in electricity markets 24 Lecture 1: When uncertainty matters
Transport problem example
Tools for decision making under uncertainty in electricity markets 25 Lecture 1: When uncertainty matters
Transport problem example
Tools for decision making under uncertainty in electricity markets 26 Lecture 1: When uncertainty matters
Transport problem example
Tools for decision making under uncertainty in electricity markets 27 Lecture 1: When uncertainty matters
Transport problem example
Tools for decision making under uncertainty in electricity markets 28 Lecture 1: When uncertainty matters
Transport problem example
Tools for decision making under uncertainty in electricity markets 29 Lecture 1: When uncertainty matters
Transport problem GAMS
Tools for decision making under uncertainty in electricity markets 30 Lecture 1: When uncertainty matters
Transport problem GAMS
Tools for decision making under uncertainty in electricity markets 31 Lecture 1: When uncertainty matters
Transport problem GAMS
Tools for decision making under uncertainty in electricity markets 32 Lecture 1: When uncertainty matters
Transport problem GAMS
Tools for decision making under uncertainty in electricity markets 33 Lecture 1: When uncertainty matters
Transport problem GAMS
Tools for decision making under uncertainty in electricity markets 34 Lecture 1: When uncertainty matters
Transport problem GAMS
Tools for decision making under uncertainty in electricity markets 35 Lecture 1: When uncertainty matters
Transport problem GAMS
Tools for decision making under uncertainty in electricity markets 36 Lecture 1: When uncertainty matters
Transport problem GAMS
Tools for decision making under uncertainty in electricity markets 37 Lecture 1: When uncertainty matters
Transport problem GAMS
Tools for decision making under uncertainty in electricity markets 38 Lecture 1: When uncertainty matters
Example
Run
the model
Tools for decision making under uncertainty in electricity markets 39 Lecture 1: When uncertainty matters
.lst file
Tools for decision making under uncertainty in electricity markets 40 Lecture 1: When uncertainty matters
.lst file
Tools for decision making under uncertainty in electricity markets 41 Lecture 1: When uncertainty matters
.lst file
Tools for decision making under uncertainty in electricity markets 42 Lecture 1: When uncertainty matters
.lst file
Tools for decision making under uncertainty in electricity markets 43 Lecture 1: When uncertainty matters
.lst file
Tools for decision making under uncertainty in electricity markets 44 Lecture 1: When uncertainty matters
Thanks for your attention!