Add check for correct installedcap processing to AB_grid_pv benchmark…#831
Add check for correct installedcap processing to AB_grid_pv benchmark…#831SabineHaas merged 10 commits intodevfrom
Conversation
smartie2076
left a comment
There was a problem hiding this comment.
I feel like this is actually the correct point to add the benchmark test. I would merge it either way.
| # adapt index | ||
| result_time_series_pv.index = input_time_series_pv_shortened.index | ||
|
|
||
| assert_series_equal( |
There was a problem hiding this comment.
assert_series_equal seems very handy :)
Maybe import is as pd.assert_series_equal so that it is clear that it comes from pd?
There was a problem hiding this comment.
It's from pandas.util.testing so it would be a bit long pd.util.testing.assert_series_equal..
Co-authored-by: smartie2076 <no-reply>
Co-authored-by: smartie2076 <[email protected]>
…-institut/multi-vector-simulator into feature/check_installedcap_processing
|
Can you explain to me what those error messages are and whether they should worry me? |
It's been like that for a long time - I had mentioned that in another PR. Seems like in @smartie2076 nothing to worry for PR merging to my mind |
Yes it is likely due to not updating MVS locally :) |
thanks @Bachibouzouk - will do that before next PR |
Address #825
Changes proposed in this pull request:
installedCapprocessing to AB_grid_pv benchmark test@smartie2076 I realized too late that this check should actually be done in another benchmark test, as in AB_grid_pv the capacity is not optimized.
I quickly checked, that the test passes as well for an optimized capacity (optimizedCap=True and very low feed-in tariff to get simulation to run). So the question is answered but we might want to add the test in another benchmark test.
We can decide whether we still would like to merge this PR as it is an additional check.
The following steps were realized, as well (if applies):
black . --exclude docs/)EXECUTE_TESTS_ON=master pytest)Ready for review @smartie2076
Please mark above checkboxes as following:
❌ Check not applicable to this PR
For more information on how to contribute check the CONTRIBUTING.md.