-
Notifications
You must be signed in to change notification settings - Fork 0
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
Integration into GridCal #1
Comments
Hi Santiago, sure, I don't mind! That sounds great. Best wishes, |
Hi Paul, After a quick check I believe it would be hard to integrate because of the dependencies (igraph, pyunicorn) If it would be possible to migrate to networkx it would be great, otherwise the cost of integration is too high. thanks, |
Hi Santiago, |
Hi Paul, If we can reduce the dependencies to numpy and networkx it would be great. In GridCal there is an object based data structure: The nodes are the Bus object, and the branches are represented by a series of different objects (Line, Transformer, DCLine, etc...) My plan was to obtain the graph with its coordinates in the simplest structure that we can have (maybe a Graph object from networkx?) and then convert that result to Bus and Line objects to display in the GUI. Best regards, |
This is my take so far: Commented is the igraph code, and I have replaced it with what I believe it is a Networkx equivalent.
However, in this function I fail to understand the iGraph outcome of
|
Hi Santiago, I think p = dict(nx.shortest_path_length(G)) where Maybe you can submit the adjustments you already made in a PR and I can finish this next week. Note that, atm the algorithm does not yield different types of links (Line, Transformer, etc.) or buses. Best, |
Hi Santiago, |
Hi!,
Would you mind if we integrate this work into GridCal?
It would be a very nice addition.
Best regards,
Santiago
The text was updated successfully, but these errors were encountered: