Skip to content

Commit 9ca79b0

Browse files
committed
remove double negative in objective equation
1 parent 9520268 commit 9ca79b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/osemosys_fast.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ minimize cost: sum{r in REGION, t in TECHNOLOGY, y in YEAR}
341341
CapitalCost[r,t,y] * NewCapacity[r,t,y] * CapitalRecoveryFactor[r,t] * PvAnnuity[r,t] / DiscountFactor[r,y] +
342342
DiscountedTechnologyEmissionsPenalty[r,t,y] - DiscountedSalvageValue[r,t,y]) +
343343
sum{r in REGION, s in STORAGE, y in YEAR} (CapitalCostStorage[r,s,y] * NewStorageCapacity[r,s,y] / DiscountFactorStorage[r,s,y] -
344-
- SalvageValueStorage[r,s,y] / ((1+DiscountRateStorage[r,s])^(max{yy in YEAR} max(yy)-min{yy in YEAR} min(yy)+1)));
344+
SalvageValueStorage[r,s,y] / ((1+DiscountRateStorage[r,s])^(max{yy in YEAR} max(yy)-min{yy in YEAR} min(yy)+1)));
345345

346346
#
347347
#####################

0 commit comments

Comments
 (0)