Skip to content

Commit

Permalink
remove double negative in objective equation
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorb1 committed Nov 7, 2024
1 parent 9520268 commit 9ca79b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/osemosys_fast.txt
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ minimize cost: sum{r in REGION, t in TECHNOLOGY, y in YEAR}
CapitalCost[r,t,y] * NewCapacity[r,t,y] * CapitalRecoveryFactor[r,t] * PvAnnuity[r,t] / DiscountFactor[r,y] +
DiscountedTechnologyEmissionsPenalty[r,t,y] - DiscountedSalvageValue[r,t,y]) +
sum{r in REGION, s in STORAGE, y in YEAR} (CapitalCostStorage[r,s,y] * NewStorageCapacity[r,s,y] / DiscountFactorStorage[r,s,y] -
- SalvageValueStorage[r,s,y] / ((1+DiscountRateStorage[r,s])^(max{yy in YEAR} max(yy)-min{yy in YEAR} min(yy)+1)));
SalvageValueStorage[r,s,y] / ((1+DiscountRateStorage[r,s])^(max{yy in YEAR} max(yy)-min{yy in YEAR} min(yy)+1)));

#
#####################
Expand Down

0 comments on commit 9ca79b0

Please sign in to comment.