Posts: 2
Threads: 1
Joined: Sep 2019
Hi,
I am trying to use the summing function (over regions, periods and timeslices), and the results seems to tell me this funtion will add a nonnegative constraint to related variables. Is that true and/or possible to change?
The thing is, I use the cumulative emissions as a constraint to generate mitigation scenarios, while the constrainted variable (i.e. CO2) has to stay positive (zero the lowest) no matter how limited the emission space is. In this case, the model cann't use negativeemission technologies BECCS, therefore I have trouble modelling the zeroemission / negetiveemission target.
Please let me know if I have misunderstanding here, or there is some other ways to realize this modelling. Thanks a lot!
Regards,
Huan.
Posts: 402
Threads: 18
Joined: May 2010
By default, most variables are nonnegative in TIMES (including VAR_COMNET and VAR_COMPRD). If you want to allow for negative CO2 emissions, you should define the corresponding variables free, or with sufficiently negative lower bounds. Usually defining a few VAR_COMNET variables free is sufficient (e.g. TOTCO2, GHG). A shortcut for defining INF as the lower bound of VAR_COMNET(r,t,c,s) in each period is to set:
COM_BNDNET(r,'0',c,'ANNUAL','N')=1;
In VEDAFE, it would mean putting 0 in the Year column, and N in the LimType column in a ~TFM_INS table. Of course you can also directly set lower bounds (LO), but then you must choose some reasonable negative number (not too large in absolute value).
Posts: 402
Threads: 18
Joined: May 2010
05102019, 03:40 AM
(This post was last modified: 05102019, 03:41 AM by AnttiL.)
Just in case the previous post does not seem to help, some more information:
I have myself modelled scenarios with negative emissions for many years in TIMES, and I have not seen any problems with that, as long as I define the total net CO2 and GHG variables (VAR_COMNET) free, i.e. with negative bounds. However, if you are also referring to the VAR_COMPRD variables of the emissions in your model, then you may need to define those variables free as well (or having negative bounds).
Defining cumulative constraints on the emissions should not make any difference in that respect. Even if you use UC_CUMCOM, which creates new variables for cumulative amounts, TIMES automatically sets the lower bound of the cumulative variables to negative infinity, whenever the corresponding periodwise variables have been set with negative lower bounds. But if the problem persists, please provide some more info about the way you are defining the constraints and bounds.
Posts: 2
Threads: 1
Joined: Sep 2019
Thanks a lot AnttiL!
I followed your instruction, and now it perfectly worked! I really appreciate your detailed explanation.
Best regards,
Huan.
Posts: 17
Threads: 4
Joined: Nov 2019
(04102019, 03:47 PM)AnttiL Wrote: By default, most variables are nonnegative in TIMES (including VAR_COMNET and VAR_COMPRD). If you want to allow for negative CO2 emissions, you should define the corresponding variables free, or with sufficiently negative lower bounds. Usually defining a few VAR_COMNET variables free is sufficient (e.g. TOTCO2, GHG). A shortcut for defining INF as the lower bound of VAR_COMNET(r,t,c,s) in each period is to set:
COM_BNDNET(r,'0',c,'ANNUAL','N')=1;
In VEDAFE, it would mean putting 0 in the Year column, and N in the LimType column in a ~TFM_INS table. Of course you can also directly set lower bounds (LO), but then you must choose some reasonable negative number (not too large in absolute value).
Hi AnttiL，
I have follew your guide to set the NB bound or a negative bounds on CO2, but it doesn't work
I tried N bound:
negative low bound:
negative UC low bound:
But I can not get the negative results:
What shall I do?
Thank you !
Posts: 402
Threads: 18
Joined: May 2010
1) You should remove the huge negative values for UC_RHST~LO. They serve no purpose, but may only cause some trouble (numerical problems for the solver).
2) I don't know how you have modeled your emissions, or whether you have included any options for achieving negative emissions. Your UC constraint appears to set an upper bound of zero for the total CO2 emissions over regions, and it looks like you get zero emissions in each region. Are you expecting that the CO2 emissions should be negative in some regions and positive in others? If you think that should be so in the optimal solution, then you have some other bounds/constraints preventing it, possibly related to sectoral CO2 emission commodities.
