oemof / oemof-tabular

Load oemof energy systems from tabular data sources.
https://oemof-tabular.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
7 stars 5 forks source link

Postprocessing does not work for components which add pyomo variables #174

Closed henhuy closed 5 months ago

henhuy commented 6 months ago

When postprocessing MIMO component from oemof.industry, postprocessing throws an MultIndexError as key from oemof_data is not only holding input and output node, but instead holds group and current period for a sequence series (i.e. key equals: ("mimo", "group0", 0)). In order to fix this, I would simply neglect oemof keys holding more than 2 entries (fo in- and output).

Bachibouzouk commented 6 months ago

Hello, just to be sure I understand: how will the results be postprocessed then if you ignore them?

henhuy commented 6 months ago

Hello, just to be sure I understand: how will the results be postprocessed then if you ignore them?

These are MIMO internal results, which are not meant to be visible for the user...