OSeMOSYS / OSeMOSYS_GNU_MathProg

The GNU MathProg implementation of OSeMOSYS
Apache License 2.0
9 stars 14 forks source link

Add CapitalRecoveryFactor calculated parameter #39

Closed willu47 closed 3 years ago

willu47 commented 4 years ago

Substitute (1+DiscountRate[r])^(y-min{yy in YEAR} min(yy)) with parameter definition:

param CapitalRecoveryFactor{y} :=
    (1+DiscountRate[r])^(y-min{yy in YEAR} min(yy))

This will simplify the code, and should give a minor performance increase.