Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
5 tasks
Mabra-hub opened this issue Sep 30, 2022 · 0 comments
Open
5 tasks

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

Mabra-hub opened this issue Sep 30, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@Mabra-hub
Copy link

Mabra-hub commented Sep 30, 2022

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:

  • 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
  • If applicable: Share used input data
@Mabra-hub Mabra-hub added the bug Something isn't working label Sep 30, 2022
@Bachibouzouk Bachibouzouk reopened this Oct 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants