-
Notifications
You must be signed in to change notification settings - Fork 4
/
common.gms
135 lines (124 loc) · 4.65 KB
/
common.gms
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
* Common declarations for all models
set t time /2010,2015,
2020,2025,
2030,2035,
2040,2045,
2050,2055,
2060,2065,
2070,2075,
2080,2085,
2090,2095,
2100/
set i /
dryland_loss,
wetland_loss,
popout_mig,
popin_mig,
death_malaria,
death_dengue,
death_schisto,
death_diarr,
death_heat_u65,
death_heat_o65,
death_cold_u65,
death_cold_o65,
death_respir,
death_exttropstorm,
death_tropstorm,
dam_exttropstorm,
dam_tropstorm,
water,
agric,
ecosys_species,
energy_heat,
energy_cool,
forestry
/
set r regions /USA,CAN,WEU,JPK,ANZ,EEU,FSU,MDE,CAM,SAM,
SAS,SEA,CHI,NAF,SSA,SIS/
set c countries /
ARG,ARM,AUS,AUT,AZE,
BDI,BEL,BEN,BFA,BGD,BGR,BHR,BHS,BIH,BLR,
BLZ,BOL,BRA,BRB,BRN,BTN,BWA,
CAN,CHE,CHL,CHN,CIV,CMR,COL,COM,CRI,CYP,
CZE,
DEU,DJI,DNK,DOM,
ECU,EGY,ESP,EST,ETH,
FIN,FJI,FRA,
GAB,GBR,GEO,GHA,GIN,GMB,GNB,GNQ,GRC,GTM,
HND,HRV,HUN,
IDN,IND,IRL,IRN,IRQ,ISL,ISR,ITA,
JAM,JOR,JPN,
KAZ,KEN,KGZ,KHM,KOR,KWT,
LAO,LBN,LBR,LKA,LSO,LTU,LUX,LVA,
MAR,MDA,MDG,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
D(t,c,i) "Damages of endpoints"
d_y_x(t,c,i)
x_t(t,c,i)
smallphi(t,c,i)
bigphi(t,c,i)
* Atmosphere
temp(t) "Temperature (degrees C)"
temp_r(t,c) "Regional (country) temp (degrees C)"
CO(t) "CO2 concentration (ppm??)"
DT(t) "Change in temperature (degrees C)"
DT_r(t,c) "Change in regional mean temp (degrees C)"
CT(t) "Change in global mean temp. rel to 2010 (degrees C)"
CRT(t,c) "Change in reg. mean temp. rel. to 2010 (degrees C)"
* Economy
Y(t,c) "Income in nation c at time t"
Y_pc(t,c) "Per capita income in nation c at time t"
Y_pc_growth(t,c) "Per capita income growth in nation c at time t"
Y_dens(t,c) "Income density of region t at time r"
Y_dens_growth(t,c) "Income density growth of region t at time r"
P_dens(t,c) "Population density of nation c at time t"
P_growth(t,c) "Population growth of nation c at time t"
* Global scalars
tstep "Time step - 5 years, as per DICE model" / 5 /
RHO "Time preference" / 0.5 /
ETA "Marginul utility of consumption elasticity" / 1.0 /
;