Non-negative restriction of summing constraint (UC_RHS)
#5
(04-10-2019, 03:47 PM)Antti-L Wrote: By default, most variables are non-negative 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 VEDA-FE, 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 Antti-L,
   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:
[Image: 3b585931f3d31607.png]
negative low bound:
[Image: e002707fc5493ec9.png]
negative UC low bound:

[Image: 5b1f5312a4c02180.png]
But I can not get the negative results:
[Image: 125613046a7224f9.png]

What shall I do?



Thank you !
Reply


Messages In This Thread
RE: Non-negative restriction of summing constraint (UC_RHS) - by q-z17 - 10-11-2021, 11:56 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)