-
Notifications
You must be signed in to change notification settings - Fork 127
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
Features/refine investments #753
base: dev
Are you sure you want to change the base?
Conversation
I am still struggling with the naming of the „other needs“. There are a couple of options:
|
If I understood it correctly, you use
or something like that. |
It will be used for limiting factors that are shared between |
I cannot see the changes made by this PR due to hundreds of changed lines that do not belong to this PR. However, I like |
I based this one on #752. (We agreed on the general idea, so it will probably avoid double work.) I hope to have that one finished soon, so all changes specific to this branch can be seen.
Generally, I do agree. However, PS: I think, #752 is ready. |
# Conflicts: # src/oemof/solph/constraints.py
With the API of |
There are two reasons:
|
This PR suggests a new API for investments:
Investment
has a new keyword argumentother_needs
. It replaces custom kwargs that served the same purpose.investment_limit
andadditional_investment_flow_limit
are unified. If a keyword is named, the corresponding entry inother_needs
is considered, else the summedep_costs
are limited.