21.01.2014 Views

Sets and Parameters - iea-etsap

Sets and Parameters - iea-etsap

Sets and Parameters - iea-etsap

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

1 Introduction<br />

The purpose of the Reference Manual is to lay out the full details of the TIMES model,<br />

including data specification, internal data structures, <strong>and</strong> mathematical formulation of the<br />

model’s Linear Program (LP) formulation, as well as the Mixed Integer Programming (MIP)<br />

formulations required by some of its options. As such, it provides the TIMES<br />

modeller/programmer with sufficiently detailed information to fully underst<strong>and</strong> the nature <strong>and</strong><br />

purpose of the data components, model equations <strong>and</strong> variables. A solid underst<strong>and</strong>ing of the<br />

material in this Manual is a necessary prerequisite for anyone considering making<br />

programming changes in the TIMES source code.<br />

The Reference Manual is organized as follows:<br />

Chapter 1 Basic notation <strong>and</strong> conventions: lays the groundwork for underst<strong>and</strong>ing the<br />

rest of the material in the Reference Manual;<br />

Chapter 2 <strong>Sets</strong>: explains the meaning <strong>and</strong> role of various sets that identify how the<br />

model components are grouped according to their nature (e.g. dem<strong>and</strong><br />

devices, power plants, energy carriers, etc.) in a TIMES model;<br />

Chapter 3 <strong>Parameters</strong>: elaborates the details related to the user-provided numerical data,<br />

as well as the internally constructed data structures, used by the model<br />

generator (<strong>and</strong> report writer) to derive the coefficients of the LP matrix (<strong>and</strong><br />

prepare the results for analysis);<br />

Chapter 4 Variables: defines each variable that may appear in the matrix, both<br />

explaining its nature <strong>and</strong> indicating how if fits into the matrix structure;<br />

Chapter 5 Equations: states each equation in the model, both explaining its role, <strong>and</strong><br />

providing its explicit mathematical formulation;<br />

Chapter 6 The User Constraints: explains the framework that may be employed by<br />

modellers to formulate additional linear constraints, which are not part of the<br />

generic constraint set of TIMES, without having to bother with any GAMS<br />

programming;<br />

Chapter 7 The Lumpy Investment facility, <strong>and</strong><br />

Chapter 8 The Endogenous Technological Learning capability.<br />

1.1 Basic notation <strong>and</strong> conventions<br />

To assist the reader, the following conventions are employed consistently throughout this<br />

chapter:<br />

• <strong>Sets</strong>, <strong>and</strong> their associated index names, are in lower <strong>and</strong> bold case, e.g., com is the set<br />

of all commodities;<br />

• Literals, explicitly defined in the code, are in upper case within single quotes, e.g.,<br />

‘UP’ for upper bound;<br />

• <strong>Parameters</strong>, <strong>and</strong> scalars (constants, i.e., un-indexed parameters) are in upper case, e.g.,<br />

NCAP_AF for the availability factor of a technology;<br />

• Variables are in upper case with a prefix of VAR_, e.g., VAR_ACT corresponds to the<br />

activity level of a technology.<br />

• Equations are in upper case with a prefix of EQ_ or EQ(l)_ with the placeholder (l)<br />

denoting the equation type (l=E for a strict equality, l=L for an inequality with the left<br />

8

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!