Skip to content

Commit

Permalink
add leak attributes to optional node attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
kbonney committed Nov 19, 2024
1 parent 3bdf5c2 commit 15437bc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion wntr/network/elements.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,10 @@ class Junction(Node):
"minimum_pressure",
"required_pressure",
"pressure_exponent",
"tag"]
"tag",
"leak",
"leak_area",
"leak_discharge_coeff"]

def __init__(self, name, wn):
super(Junction, self).__init__(wn, name)
Expand Down

0 comments on commit 15437bc

Please sign in to comment.