-
Notifications
You must be signed in to change notification settings - Fork 141
Streamline investment periods #1183
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
base: dev
Are you sure you want to change the base?
Conversation
Having aggregation periods now, we should be more precise here. I decided against INVESTMENT_PERIOD, which was used talking about this kind of periods before, as the period can also be relevant for parametrised capacities (without investemnt), e.g. `Flow(nominal_calacity=[5, 8])` for a model with two CAPACITY_PERIODS.
bca6cfe to
9e9a9bb
Compare
Note: It was never unit-tested.
Turns out, there has been no unit test.
It was actually untested.
Discounting and interest rate are removed from InvestmentFlowBlock,
these numbers would now go to `c_{invest,var}(p)`.
Naming points in time instead of all time steps should be more flexible. Result processing is not adjusted, yet.
processing.Results is currently broken.
* m.es.investment_times is now always set * use Results object for tests
The test "test_without_last_time_point" was actually a test of processing functionality. The test "test_numeric_index" cannot be placed in the same template anymore as overwrriting the index is no longer supported.
|
Hi, im from the flixopt framework. |
|
Hi, @FBumann, thanks for reaching out. This is indeed interesting, but as you see also by the time this refactoring takes, we won't have time to prepare a list of options with their pros and cons. If you like, you can drop in at our next developer meeting in Berlin (https://oemof.org/2025/07/10/2025-09-user-developer-meeting-in-berlin-save-the-date/), which shouldn't be too far from your location for a day trip. Otherwise, you can either share your ideas so that we comment on them or browse the notes of our past developer meetings. We have (sparsely) documented our discussions. |
|
Hi @p-snft, Kind regards |
# Conflicts: # src/oemof/solph/components/experimental/_sink_dsm.py # tests/test_scripts/test_solph/test_multi_period_model/test_multi_period_dispatch_model.py
PERIODStoCAPACITY_PERIODS(The former can be easily confused with aggregation periods.)EnergySystem.periods(list[DateRange]) by keywordinvestment_times(list[Timestamp]).