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

Adapt to cleaned up oemof.network #988

Merged
merged 2 commits into from
Oct 11, 2023
Merged

Adapt to cleaned up oemof.network #988

merged 2 commits into from
Oct 11, 2023

Conversation

p-snft
Copy link
Member

@p-snft p-snft commented Oct 11, 2023

  • Fix "Flow" does not have "_in_edges"

In old versions of oemof.network, Edge was subclass to Node.
Thus, the Flow had the attribute "_in_edges" though there was
no Edge connected to an Edge. Now, the Edge (sand thus Flow)
is cleaned up in oemof.network. As attributes starting with "_"
are ignored  anyway, this commit does not even change any behaviour.
@p-snft p-snft marked this pull request as ready for review October 11, 2023 08:52
@p-snft
Copy link
Member Author

p-snft commented Oct 11, 2023

It turned out that the number of required changes is very limited. In the end, I just had to change the order two expressions are evaluated that return booleans and are connected by an or. So, I will just merge.

@p-snft p-snft merged commit 1ef253d into dev Oct 11, 2023
12 checks passed
@p-snft p-snft deleted the revision/network_cleanup branch October 11, 2023 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant