rl-institut / multi-vector-simulator

Multi-vector Simulation Tool assessing and optimizing Local Energy Systems (LES) for the E-LAND project
GNU General Public License v2.0
21 stars 10 forks source link

[Bug] Calculation of replacement costs during project lifetime #955

Open Mabra-hub opened 2 years ago

Mabra-hub commented 2 years ago

Hi all, @smartie2076 @ciaradunks @Bachibouzouk

I have a project duration of 20y and PV with lifetime of 30y and age_installed of 0y. In the scalars results table I get a negative value for replacement_costs_during_project_lifetime for PV. When I set the PV lifetime to 20y, I get 0. So apparently when lifetime>project duration, some negative investment costs are calculated. I think the issue lies in def get_replacement_costs

Maybe this is intentional due to the remaining value of the asset after the project duration, but I still think it is confusing and should be listed under a separate variable. inputs_cuba.zip

Checklist to make sure that the bug report ist complete: