OSeMOSYS / OSeMOSYS_GNU_MathProg

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

Clarify DiscountFactor #102

Open willu47 opened 7 months ago

willu47 commented 7 months ago

While the DiscountRateIdv parameter is specified by technology, the DiscountFactor parameters are calculated from DiscountRate and are not indexed by Technology.

DiscountFactor is used in the objective function, but nowhere else in the (short and fast) code. DiscountFactor is used in equation CC2 in the long code. DiscountFactorMid is used in equation E5 (all) and OC4_ (long)

Proposed Solution

  1. a. Please confirm the correct implementation.

  2. b.DiscountFactor and DiscountFactorMid should be calculated using DiscountRateIdv and indexed by Technology. Objective function and constraints should be updated to include the technology index.

robertodawid commented 7 months ago

Regarding the individual discount rates DiscountRateIdv implementation: