From 58688fe0648c75f8d18e5698ed5d4143d36dda23 Mon Sep 17 00:00:00 2001 From: Cinzia Mazzetti Date: Fri, 24 May 2024 13:54:36 +0000 Subject: [PATCH] Comments --- .../hydrological_modules/kinematic_wave_parallel_tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lisflood/hydrological_modules/kinematic_wave_parallel_tools.py b/src/lisflood/hydrological_modules/kinematic_wave_parallel_tools.py index 27e37d6..bd3d257 100755 --- a/src/lisflood/hydrological_modules/kinematic_wave_parallel_tools.py +++ b/src/lisflood/hydrological_modules/kinematic_wave_parallel_tools.py @@ -126,7 +126,7 @@ def solve1Pixel(pix, discharge_avg, discharge, lateral_inflow, constant,\ # volume of water in channel at end of computation step channel_volume_end = a_dx * discharge[pix]**beta - # mass water balance to calc average outflow + # integration on control volume to calc average outflow (channel water mass balance) discharge_avg[pix] = upstream_inflow_avg + lateral_inflow[pix] + (channel_volume_start[pix] - channel_volume_end[pix]) * inv_time_delta # avoid negative average discharge