Look for timeseries key in the dict_asset if the file is not present#881
Look for timeseries key in the dict_asset if the file is not present#881Bachibouzouk merged 4 commits intodevfrom
Conversation
3831cbd to
e4a0a8e
Compare
|
Does this adress known bug #354? Is this just about the timeseries of eg. specific generation or demand being red from the json file instead of the file, or does this also work for efficiencies? I will have to do the review later, as the deliverable has higher prio right now. |
Thanks, I could not find the issue anymore last Friday and I was pretty sure there was one! It only works with csv files being loaded, this could apply for efficiencies if they are loaded from the filename provided under the |
smartie2076
left a comment
There was a problem hiding this comment.
It would be great if you wrote a hint at this functionality in the functions docstrings and a little pytest for this, at least for the functionality you introduced...
89f53ef to
b961d66
Compare
2bc94c4 to
d718bc3
Compare
d718bc3 to
9fec3ba
Compare
Fix #354
Changes proposed in this pull request:
TIMESERIESkey is in thedict_valuesand the file underFILENAMEcannot be found, the timeseries is loaded fromTIMESERIESinstead of throwing an errorDo the same for
C0.treat_multiple_flows--> issue #882The following steps were realized, as well (if applies):
black . --exclude docs/)EXECUTE_TESTS_ON=master pytest)For more information on how to contribute check the CONTRIBUTING.md.