Skip to content

Commit

Permalink
add leak attributes to tank _optional_attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
kbonney committed Nov 19, 2024
1 parent 15437bc commit 46efc83
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 @@ -434,7 +434,10 @@ class Tank(Node):
"mixing_fraction",
"mixing_model",
"bulk_coeff",
"tag"]
"tag",
"leak",
"leak_area",
"leak_discharge_coeff"]

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

0 comments on commit 46efc83

Please sign in to comment.