Skip to content

Commit

Permalink
Add land irrigation before catchment routing
Browse files Browse the repository at this point in the history
  • Loading branch information
liuly12 committed May 22, 2023
1 parent 58dbe4d commit 369f80f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion wsimod/orchestration/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,10 @@ def enablePrint(stdout):
for node in self.nodes_type['Reservoir'].values():
node.make_abstractions()

#Apply irrigation
for node in self.nodes_type['Land'].values():
node.apply_irrigation()

#Catchment routing
for node in self.nodes_type['Catchment'].values():
node.route()
Expand Down Expand Up @@ -475,4 +479,4 @@ def reinit(self):
prop_()

for arc in self.arcs.values():
arc.end_timestep()
arc.end_timestep()

0 comments on commit 369f80f

Please sign in to comment.