Skip to content

Commit

Permalink
removing controlled set from sum
Browse files Browse the repository at this point in the history
  • Loading branch information
Renato-Rodrigues committed Sep 6, 2023
1 parent a7ddca0 commit cb999ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/22_subsidizeLearning/globallyOptimal/presolve.gms
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ $ifthen.altLearnRegiSet not "%cm_altLearnRegiSet%" == "off"
)
+
*** 2020 cumulative capacity for other regions plus sub-region cumulative capacity for years after 2020
sum((regi2,ttot)$((not sameas(regi2,regi)) and (NOT(altLearnRegi22(regi2,teLearn))) and (ttot.val ge 2025)),
sum(regi2$((not sameas(regi2,regi)) and (NOT(altLearnRegi22(regi2,teLearn))) and (ttot.val ge 2025)),
pm_capCum0("2020",regi2,teLearn)
)
+
sum((regi2,ttot)$((not sameas(regi2,regi)) and (altLearnRegi22(regi2,teLearn)) and (ttot.val ge 2025)),
sum(regi2$((not sameas(regi2,regi)) and (altLearnRegi22(regi2,teLearn)) and (ttot.val ge 2025)),
pm_capCum0(ttot,regi2,teLearn)
)
;
Expand Down

0 comments on commit cb999ab

Please sign in to comment.