Closed trevorhardy closed 2 weeks ago
networkx plot locations might change every time is generated, but I think it can be done.
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.
Tested on UVM feeder, generates plot immediately.
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.