Constraint issue with OSEMOSYS extention

Hi everybody!

I’m trying to develop a new functionality that expands the current tool by setting a limit based on the Land Area Impact of each technology.

The Land Area Impact Variable is defined through the following equations:

s.t. LAI1_LandAreaImpact{r in REGION, t in TECHNOLOGY, f in FUEL, y in YEAR}: TotalCapacityAnnual[r,t,y] * CapacityLandAreaImpactFactor[t] + ProductionByTechnologyAnnual[r, t, f, y]*EnergyLandAreaImpactFactor[t] = LandAreaImpact[r, t, f, y];

s.t. LAI2_LandAreaImpact {r in REGION, y in YEAR}: sum{t in TECHNOLOGY, f in FUEL} LandAreaImpact[r, t, f, y] = SumLandAreaImpact[r, y];

My end goal is to keep the SumLandAreaImpact variable under a certain limit.

s.t. LAI_Constraint{r in REGION, y in YEAR: y > min(y)}: SumLandAreaImpact[r, y] <= LAIlimit[r,y];

The issue is that when I test this on the Atlantis model, it doesn’t seem to work regardless of whether I use a fixed or a variable limit. It just seems to ignore the constraint I added, since the value of SumLandAreaImpact remains the same regardless of the value of the limit.

Is there something I’m missing here? Any hint would be really useful.

Thanks a lot for your time!

Spyros