From 549d24329338200b256af26788fca2974821ff47 Mon Sep 17 00:00:00 2001 From: jenny Date: Fri, 15 Mar 2024 13:08:53 -0400 Subject: [PATCH] To show bug for David --- omf/scratch/hostingcapacity/downlineLoad.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/omf/scratch/hostingcapacity/downlineLoad.py b/omf/scratch/hostingcapacity/downlineLoad.py index 663d8289e..2b1707276 100644 --- a/omf/scratch/hostingcapacity/downlineLoad.py +++ b/omf/scratch/hostingcapacity/downlineLoad.py @@ -72,7 +72,8 @@ def downline_hosting_capacity( FNAME ): tree = opendss.dssConvert.omdToTree(beginning_test_file.resolve()) # this tree is a list - graph = my_networkPlot( os.path.join( modelDir, circuit_file) ) - print( graph.nodes() ) + graph = opendss.networkPlot( os.path.join( modelDir, circuit_file) ) + print( graph ) + # print( graph.nodes ) #print( nx.descendants(graph, "EQ_SOURCE_BUS") )