pypsa.pf.find_tree

Contents

pypsa.pf.find_tree#

pypsa.pf.find_tree(sub_network, weight='x_pu')#

Get the spanning tree of the graph, choose the node with the highest degree as a central “tree slack” and then see for each branch which paths from the slack to each node go through the branch.