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

FIRST INVESTMENT CALCULATION #174

Open
oum96-mah opened this issue Aug 28, 2023 · 2 comments
Open

FIRST INVESTMENT CALCULATION #174

oum96-mah opened this issue Aug 28, 2023 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@oum96-mah
Copy link

I have a bit of a problem with the first investment calculation. I'm trying to recalculate it and compare it to the value given in the Excel result file, but they're not the same. Is it possible to clarify the precise formula with which you calculate?

@smartie2076
Copy link
Collaborator

Hello @oum96-mah! The formula to calculate the present value of one investment unit is coded here:

def capex_from_investment(investment_t0, lifetime, project_life, wacc, tax):

It takes into account the discount factor, asset lifetime, project lifetime, number of necessary replacements and the residual value at project end.

@smartie2076 smartie2076 added the help wanted Extra attention is needed label Sep 14, 2023
@smartie2076
Copy link
Collaborator

The description here is maybe easier to read, but it seems it is marked for updates: https://offgridders.readthedocs.io/en/latest/Cost.html?highlight=replacement#including-costs-in-oemof-optimization

(The funtion above is the way that it is actually implemented)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants