How to build a share constraint? Antti-L Super Moderator Posts: 402 Threads: 18 Joined: May 2010 03-12-2020, 09:55 PM (This post was last modified: 03-12-2020, 10:15 PM by Antti-L. Edit Reason: add ) 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? « 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)