Skip to content

Commit

Permalink
minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
kaklise committed Jul 24, 2024
1 parent 26ecf95 commit c640914
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 0 additions & 2 deletions wntr/stormwater/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ def headloss(head, swn, link_names=None):

return headloss


def pump_power(flowrate, headloss, flow_units, efficiency=100):
"""
Pump power [kW]
Expand Down Expand Up @@ -254,7 +253,6 @@ def conduit_time_to_capacity(volume, flowrate, flow_units, connected=False):

return time_to_capacity


def shortest_path_nodes(G, source_node, target_node):
"""
Nodes along the shortest path from a source to target node
Expand Down
10 changes: 5 additions & 5 deletions wntr/stormwater/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,25 +91,25 @@ def __init__(self, inp_file_name):
'pumps',
'orifices',
'weirs',
'xsections', # requires udpate to swmmio
'xsections',
'streets',
'inlets',
'inlet_usage',
'controls', # requires udpate to swmmio
'controls',

# Quality
'pollutants',
'landuses',
'coverages',
'buildup',
'washoff',
'inflows', # requires udpate to swmmio
'inflows',
'dwf',

# Curves, timeseries, patterns
'curves', # requires udpate to swmmio
'curves',
'timeseries',
'patterns', # requires udpate to swmmio
'patterns',

# Map
'polygons',
Expand Down

0 comments on commit c640914

Please sign in to comment.