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.

2.2.4 Overview of all user input sets<br />

All the input sets which are under user control in TIMES are listed in Table 4. For a few sets<br />

default settings exist that are applied if no user input information is given. Set names starting<br />

with the prefix ‘com_’ are associated with commodities, the prefix ‘prc_’ denotes process<br />

information <strong>and</strong> the prefix ‘uc_’ is reserved for sets related to user constraints. Column 3 of<br />

Table 3 is a description of each set. In some cases (especially for complex sets), two<br />

(equivalent) descriptions may be given, the first in general terms, followed by a more precise<br />

description within square brackets, given in terms of n-tuples of indices.<br />

Remark<br />

Set are used in basically two ways:<br />

- as the domain over which summations must be effected in some mathematical<br />

expression, or<br />

- as the domain over which a particular expression or constraint must be<br />

enumerated (replicated)<br />

In the case of n-dimensional sets, some indexes may be used for enumeration <strong>and</strong> others for<br />

summation. In each such situation, the distinction between the two uses of the indexes is<br />

made clear by the way each index is used in the expression.<br />

An example will illustrate this important point: consider the 4-dimensional set top, having<br />

indexes r,p,c,io (see table 3 for its precise description). If some quantity A(r,p,c,io) must be<br />

enumerated for all values of the third index (c=commodity) <strong>and</strong> of the last index<br />

(io=orientation), but summed over all processes (p) <strong>and</strong> regions (r), this will be<br />

mathematically denoted:<br />

EXPRESSION1<br />

∑<br />

c, io<br />

= A(<br />

r,<br />

p,<br />

c,<br />

io)<br />

r,<br />

p,<br />

c,<br />

io∈top<br />

It is thus understood from the indexes listed in the name of the expression (c,io), that these<br />

two indexes are being enumerated, <strong>and</strong> thus, by deduction, only r <strong>and</strong> p are being summed<br />

upon. Thus the expression calculates the total of A for each commodity c, in each direction io<br />

(‘IN’ <strong>and</strong> ‘OUT’), summed over all processes <strong>and</strong> regions.<br />

Another example illustrates the case of nested summations, where index r is enumerated in<br />

the inner summation, but is summed upon in the outer summation. Again here, the expression<br />

is made unambiguous by observing the positions of the different indexes (for instance, the<br />

outer summation is done on the r index)<br />

EXPRESSION2<br />

=<br />

∑<br />

B<br />

∑<br />

A r<br />

c, io<br />

( ) ( , )<br />

r,<br />

p,<br />

c,<br />

io∈top<br />

p<br />

r<br />

p<br />

26

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

Saved successfully!

Ooh no, something went wrong!