How to build a share constraint? fabio.lanati Junior Member Posts: 5 Threads: 1 Joined: Jul 2019 04-12-2020, 03:59 PM (This post was last modified: 04-12-2020, 04:00 PM by fabio.lanati.) (03-12-2020, 09:55 PM)Antti-L Wrote: Yes, of course the UC_COMPRD (with the % parameter) is defined on the LHS for each single region and not on their sum. But all the terms on the LHS and RHS are summed over regions. So for a minimum renewable share constraint we get (simplified, for each period t):   SUM((r,p,c), VAR_FLO(r,t,p,c))  ≥  SUM((r,c), Share(t) × VAR_COMPRD(r,t,c)) Here, c is member of the electricity commodities. This translates into: Production of renewable electricity over all regions must be at least Share(t) × Production of all electricity produced over all regions. So, as far as I can see it is exactly as you would want? To put this in another way:  Here you just need to define the same Share-% value for the UC_COMPRD coefficient in all regions, and not define different values for each region.  Easy enough? Thanks.  if I understand correctly, by defining the constraint in this way, I impose the same LO share in all regions while there is no way to impose this % only on the sum, leaving the distribution of the constraint among the regions to the optimization. If I want a national share of renewable (e.g LO - 40%), each region of my model will have at least a 40% share. Right? « Next Oldest | Next Newest »

 Messages In This Thread How to build a share constraint? - by fabio.lanati - 03-12-2020, 07:15 PM RE: How to build a share constraint? - by Antti-L - 03-12-2020, 07:31 PM RE: How to build a share constraint? - by fabio.lanati - 03-12-2020, 07:43 PM RE: How to build a share constraint? - by Antti-L - 03-12-2020, 07:50 PM RE: How to build a share constraint? - by fabio.lanati - 03-12-2020, 09:18 PM RE: How to build a share constraint? - by Antti-L - 03-12-2020, 09:55 PM RE: How to build a share constraint? - by fabio.lanati - 04-12-2020, 03:59 PM RE: How to build a share constraint? - by Antti-L - 04-12-2020, 04:11 PM RE: How to build a share constraint? - by fabio.lanati - 04-12-2020, 05:14 PM RE: How to build a share constraint? - by Antti-L - 04-12-2020, 05:37 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)