Closed Bachibouzouk closed 3 years ago
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.
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?
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 FILE_NAME
in the input json (I only wanted to get rid of the FileNotFoundError when data was already available under the TIMESERIES
key in the input json
Fix #354
Changes proposed in this pull request:
TIMESERIES
key is in thedict_values
and the file underFILENAME
cannot be found, the timeseries is loaded fromTIMESERIES
instead 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.