Skip to content

Commit

Permalink
Merge pull request #23 from BramDr/bugfix/water_body_evaporation_repo…
Browse files Browse the repository at this point in the history
…rting

report accumulated water body evaporation over all routing substeps
  • Loading branch information
edwinkost authored Jun 15, 2023
2 parents 17a6bb5 + 88aee6f commit 711ef30
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions model/routing.py
Original file line number Diff line number Diff line change
Expand Up @@ -1604,7 +1604,7 @@ def kinematic_wave_update_before_19_feb_2018(self, landSurface, groundwater, cur
#######################################################################################################################

# evaporation (m/day)
self.waterBodyEvaporation = water_body_evaporation_volume / self.cellArea
self.waterBodyEvaporation = acc_water_body_evaporation_volume / self.cellArea

# local input to surface water (m3)
self.local_input_to_surface_water += acc_local_input_to_surface_water
Expand Down Expand Up @@ -1882,7 +1882,7 @@ def kinematic_wave_update_not_working(self, landSurface, groundwater, currTimeSt
#######################################################################################################################

# evaporation (m/day)
self.waterBodyEvaporation = water_body_evaporation_volume / self.cellArea
self.waterBodyEvaporation = acc_water_body_evaporation_volume / self.cellArea

# local input to surface water (m3)
self.local_input_to_surface_water += acc_local_input_to_surface_water
Expand Down Expand Up @@ -2143,7 +2143,7 @@ def kinematic_wave_update(self, landSurface, groundwater, currTimeStep, meteo):
#######################################################################################################################

# evaporation (m/day)
self.waterBodyEvaporation = water_body_evaporation_volume / self.cellArea
self.waterBodyEvaporation = acc_water_body_evaporation_volume / self.cellArea

# local input to surface water (m3)
self.local_input_to_surface_water += acc_local_input_to_surface_water
Expand Down

0 comments on commit 711ef30

Please sign in to comment.