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

Support Multigraphs (multiple edges between same sets of vertices) #194

Open
hexaeder opened this issue Jan 21, 2025 · 0 comments
Open

Support Multigraphs (multiple edges between same sets of vertices) #194

hexaeder opened this issue Jan 21, 2025 · 0 comments

Comments

@hexaeder
Copy link
Member

In power system modeling it is common to have lines in parallel. Those would be

l12a = Line(...; src=1, dst=2)
l12b = Line(...; src=1, dst=2

Currently, that's not possible. It would be nice if NetworkDynamics supported Multigraphs (Graphs with more than one edge per set of vertices). I think this should be fairly straightforward to implement since we mostly identify edges by their position in the edges iterator.

cc @mandywal

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

No branches or pull requests

1 participant