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

Add ability to exclude attributes from processing results #824

Closed
henhuy opened this issue Feb 24, 2022 · 0 comments · Fixed by #825
Closed

Add ability to exclude attributes from processing results #824

henhuy opened this issue Feb 24, 2022 · 0 comments · Fixed by #825
Assignees

Comments

@henhuy
Copy link
Contributor

henhuy commented Feb 24, 2022

This issue is related to #707

Problem description:
When using oemof_tabulars facades energysystem components are generated with multiple attributes which are not related to oemof.solph. Using processing.parameter_as_dict() of oemof.solph results in many unwanted parameters from related component (i.e. subnodes as written in #707). It would be nice to have an option to exclude attributes from parameter dict generation.

Proposal:
Add attribute exclude_attrs=None to parameter_as_dict() which can hold a list of unwanted attributes, which are then filtered out before preparing parameter dict results. Default results are untouched as exclude_attrs is optional.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant