Closed vignesh1987 closed 3 years ago
Thanks @vignesh1987 - this looks good and happy to merge. @HauHe - would you like to double check that this fixes your problem?
Sure I can give if it a test.
Works! Thanks a lot for the fix @vignesh1987! Will you merge it @willu47 ?
Updating check statement No.1 to consider TotalAnnualMaxCapacityInvestment default values.
The check statement (No1) was modified to not perform the check when the default value of -1 is used for the TotalAnnualMaxCapacityInvestment parameter.
check{r in REGION, t in TECHNOLOGY, y in YEAR:TotalAnnualMaxCapacityInvestment[r, t, y]<>-1 && TotalAnnualMinCapacityInvestment[r, t, y]<>0}: TotalAnnualMaxCapacityInvestment[r, t, y]>=TotalAnnualMinCapacityInvestment[r, t, y];