OSeMOSYS / otoole

OSeMOSYS Tools for Energy
https://otoole.readthedocs.io
MIT License
25 stars 18 forks source link

Add discounted result calcualtions #238

Closed trevorb1 closed 3 days ago

trevorb1 commented 4 days ago

Description

I have an application where I want to use the DiscountedCostByTechnology result variable. However, otoole does this calculation internally within the TotalDiscountedCost calculation, and does not print out this data. This PR addresses this.

Specifically, in this PR I have:

Additionally, I have

IMPORTANT NOTE ON THE TOTAL DISCOUNTED COST I believe otoole is currently following the old (incorrect) objective function definition found in OSeMOSYS_fast - it does not account for costs of storage (see this issue ticket for description). However, this has since been corrected with OSeMOSYS PR 81 and 91. This PR does NOT correct this issue, as it only updates implementation details and results stay the same. A new ticket (#237) has been created to address the incorrect calcualtion.

Issue Ticket Number

na

Documentation

na