From 6c523f7684ac83cf1a4a40fd00365f7d2a4b7984 Mon Sep 17 00:00:00 2001 From: Dobson Date: Thu, 22 Feb 2024 10:48:14 +0000 Subject: [PATCH] Update graph_utilities.py --- swmmanywhere/graph_utilities.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/swmmanywhere/graph_utilities.py b/swmmanywhere/graph_utilities.py index 1ecdb820..5bfe498b 100644 --- a/swmmanywhere/graph_utilities.py +++ b/swmmanywhere/graph_utilities.py @@ -924,9 +924,7 @@ def process_successors(G: nx.Graph, # TODO - could do timearea here if i hated myself enough anc = nx.ancestors(G,node).union([node]) tot = sum([G.nodes[anc_node]['catchment_area'] for anc_node in anc]) - ca = G.nodes[node]['contributing_area'] - print(f'tot: {tot}, up: {ca}') - #TODO same as contributing_area? + M3_PER_HR_TO_M3_PER_S = 1 / 60 / 60 Q = tot * hydraulic_design.precipitation * M3_PER_HR_TO_M3_PER_S