-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path3_CMW_2016_Variables.gms
38 lines (30 loc) · 1.85 KB
/
3_CMW_2016_Variables.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
****************************Variables*******************************************
*** General Model Variables - Lower Level ***
Positive variables
x(a,f,c) energy sold by producer to inland demand in PJ
y(a,f,e) energy sold by producer to exporter in PJ
z(a,e,sea) energy sold by exporter e to importer sea(c) in PJ
Pinv(a,f) investments in additional production capacity
Tinv_c(a,f,c) investments in additional transport capacity to local demand
Tinv_e(a,f,e) investments in additional transport capacity to exporter
alpha_p(a,f) dual of producers production capacity
alpha_Pinv(a,f) dual of producers capacity for new investments
alpha_res(f) dual of reserve constraint
alpha_tc(a,f,c) dual of transport capacity constraint of producer f to consumer c
alpha_te(a,f,e) dual of export constraint of producer f to exporter e
Einv(a,e) investments in additional export capacity
mu_e(a,e) dual of exporters export capacity
mu_Einv(a,e) dual of exporters capacity for new investments
pi_CHN(a) dual of Chinas export restriction
;
Variables
p_c(a,c) price at consumption node c
p_e(a,e) price paid by exporter to producers
mc_int(a,f) marginal costs intercept in $ per t
;
** fix last period investment (Tinv_e, Tinv_e) to 0 in order to avoid empty equations
Tinv_c.fx(a,f,c)$(DomProd(f,c) AND ord(a) = card(a) ) = 0;
Tinv_e.fx(a,f,e)$(Exprod(f,e) AND ord(a) = card(a) ) = 0;
** fix other last period investments to reduce endog. variables
Pinv.fx(a,f)$(ord(a) = card(a)) = 0;
Einv.fx(a,e)$(ord(a) = card(a)) = 0;