rl-institut / oemof-B3

An open-source energy system model for Brandenburg/Berlin.
https://oemof-b3.readthedocs.io/
GNU Affero General Public License v3.0
9 stars 5 forks source link

plot_storage_level is not working #314

Closed MaGering closed 1 year ago

MaGering commented 1 year ago

If I run the script I get the following error:

Traceback (most recent call last):
  File "scripts/plot_storage_levels.py", line 151, in <module>
    year = data.index[0].year
AttributeError: 'str' object has no attribute 'year'

The format of the index looks strange when I print it: 2017-01-01 00:00:00;0.0;0.0;0.0;3.1119065;0.0;0.0;0.0;5.9660555