pypsa.pf.find_tree

Contents

pypsa.pf.find_tree#

pypsa.pf.find_tree(sub_network: SubNetwork, weight: str = 'x_pu') None#

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.