Skip to content

Commit 58688fe

Browse files
author
Cinzia Mazzetti
committed
Comments
1 parent baf178d commit 58688fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lisflood/hydrological_modules/kinematic_wave_parallel_tools.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def solve1Pixel(pix, discharge_avg, discharge, lateral_inflow, constant,\
126126
# volume of water in channel at end of computation step
127127
channel_volume_end = a_dx * discharge[pix]**beta
128128

129-
# mass water balance to calc average outflow
129+
# integration on control volume to calc average outflow (channel water mass balance)
130130
discharge_avg[pix] = upstream_inflow_avg + lateral_inflow[pix] + (channel_volume_start[pix] - channel_volume_end[pix]) * inv_time_delta
131131

132132
# avoid negative average discharge

0 commit comments

Comments
 (0)