pnnl / tesp

Other
39 stars 37 forks source link

Add option to have network plot coordinates fed back into .glm #121

Closed trevorhardy closed 2 weeks ago

trevorhardy commented 1 year ago

As part of plotting the network model networkx defines locations for all the nodes in the network. Though the algorithm used is unlikely to be highly realistic for power system purposes, it can be better than nothing. We should add a feature to the GLModifier.model.plot_model() call to allow these coordinates to feed back up from the networkx graph to the .glm.

d3j331 commented 1 year ago

networkx plot locations might change every time is generated, but I think it can be done.

trevorhardy commented 2 weeks ago

Monish made these commits in the "uvm" branch and they need to be pulled into the mainline of TESP.

We need to test the case where not all objects have a location defined to make sure the lay-out engine can fill in any gaps.

jk1066 commented 2 weeks ago

Tested on UVM feeder, generates plot immediately.