Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
henhuy opened this issue Jun 5, 2024 · 2 comments · Fixed by #175
Closed

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

henhuy opened this issue Jun 5, 2024 · 2 comments · Fixed by #175
Assignees
Labels
bug Something isn't working

Comments

@henhuy
Copy link
Collaborator

henhuy commented Jun 5, 2024

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).

@henhuy henhuy added the bug Something isn't working label Jun 5, 2024
@henhuy henhuy self-assigned this Jun 5, 2024
@Bachibouzouk
Copy link
Collaborator

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

@henhuy
Copy link
Collaborator Author

henhuy commented Jun 5, 2024

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants