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:
[ ] OS: your_operating_system, your_distribution
[ ] Branch: branch_name, updated on update_date
[ ] If applicable: Attach full error message
[ ] If applicable: Share screenshots/images of your problem
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: