-
Notifications
You must be signed in to change notification settings - Fork 43
/
Copy pathinitmty.mlf
62 lines (59 loc) · 2.68 KB
/
initmty.mlf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
* Copyright (C) 2000-2023 Energy Technology Systems Analysis Programme (ETSAP)
* This file is part of the IEA-ETSAP TIMES model generator, licensed
* under the GNU General Public License v3.0 (see file NOTICE-GPLv3.txt).
*=============================================================================
* Init Declarations for the MLF Macro extension
*=============================================================================
$ INCLUDE initmty.tm
$ SETGLOBAL MACRO Yes
$ SETGLOBAL SPOINT
*--- Redefined & Additional input parameters ---
PARAMETER TM_ARBM 'Arbitrary multiplier' /1/;
PARAMETER TM_SCALE_UTIL 'Scaling factor utility function' /0.001/;
PARAMETER TM_SCALE_NRG 'Scaling factor demand units' /0.001/;
PARAMETER TM_SCALE_CST 'Scaling factor cost units' /0.001/;
PARAMETER TM_DESUB(R) 'Elasticity of substitution between demands' //;
PARAMETER TM_STEP(R,CG,LIM) 'Steps in CES substitution' //;
PARAMETER TM_VOC(R,YEAR,CG,BD) 'Variance in CES component or utility' //;
*--- Internal attributes ---
SET COM_GRP / AKL, LAB, KN, YN, CON, UTIL /;
SET NITER /1*18/;
SET TM_PP(R,YEAR) //;
* Initialized Scalar Defaults *
PARAMETER TM_DEFVAL /
DEPR 5
ESUB 0.25
KGDP 2.5
KPVS 0.25
DMTOL 0.1
IVETOL 0.5
NEGTOL 0.01
MACVOC 0.4
MACSTEP 200
LOGSTEP 550
USEHDF 1
ESC 1.028
/;
PARAMETER SOL_ACFR(R,UC_COST,T) Baseline annual cost data //;
* MACRO Sectoral Demands, marginals and AEEIs
PARAMETERS
TM_DEM(REG,YEAR,COM) Demand levels
TM_DMC(REG,YEAR,COM) Demand marginals
TM_DDF_Y(R,T) Production growths
TM_DDF_DM(R,T,C) Demand growth rate
TM_DDF_SP(R,T,C) Demand marginals change rate
TM_F2(R,T,C) Demand DDF calibration
TM_ANNC(REG,YEAR) Estimate of annual energy system cost
TM_GDPGOAL(REG,YEAR) Projected Baseline GDP
TM_GDP(R,T) Actualized gross domestic product
TM_QSFA(REG,T) Quadratic supply function A
TM_QSFB(REG,T,COM) Quadratic supply function B
TM_NWT(REG) Negishi weights
TM_NWTIT(NITER,REG) Negishi weights by iteration
TM_CIE(R,T,CG) Expnditure rate //
PAR_Y(R,T) Production parameter //
PAR_GRGDP(R,T) Growth rate of GDP //
PAR_MC(R,YEAR,C) Marginal costs of demands //
TM_RESULT(ITEM,R,YEAR) MACRO Summary result parameters //
;