A package for estimating uncertainty in outputs of LISFLOOD-FP flood model outputs caused by estimated river bathymetry and arbitrary conventions in grid alignment.
Martin Nguyen, Prof. Matthew D. Wilson, Dr. Emily M. Lane, Prof. James Brasington, and Dr. Rose A. Pearson
Numerous studies have extensively employed Monte Carlo-based methods to characterise uncertainty in flood modelling due to their simplicity and flexibility. However, these approaches are time-consuming and computationally extensive. Recognising the need for efficiency, machine learning has emerged as a promising alternative with comparable results. This paper introduces an advanced uncertainty estimation method for flood modelling, utilising the Bayes Neural Network with Bayes by Backprop (Blundell et al., 2015; Shridhar et al., 2019). The model aims to forecast variations in flood modelling predictions caused by uncertainty in the topographical and bathymetric processes, offering a more efficient and accurate approach to address the challenges posed by traditional Monte Carlo methods.
To install, you can create a conda environment using the provided environment.yaml file.
For Windows:
conda env create -f environment.yaml
For Linux:
module purge
module load Miniconda3/23.10.0-1
conda env create -f environment.yaml
Then, depending on the type of your machine, you can download cudatoolkit as instruction here and then PyTorch package from here. The author used these two lines for downloading cudatoolkit version 11.8.0 and PyTorch accordingly for both Windows and Linux.
conda install cuda -c nvidia/label/cuda-11.8.0
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
We used the BNNBB approach to developed three models - Model 1, 2, and 3. The model 1 and 2 are used to predict the proportion of each pixel being flooded (the pF map) and the standard deviation of maximum flood depth (the sdMWD map). We only need four fundamental inputs - DEM, Roughness lengthness, Water depth, and Water surface elevation (produced from one-time running LISFLOOD model) to plug into the FloodUnEs for predictions. The architectures of these models are presented as pictures below:
This project is part of the NIWA-led national programme, "Reducing flood inundation hazard and risk across Aotearoa - New Zealand", funded by the Ministry for Business, Innovation and Employment (MBIE) Endeavour Programme. A PhD scholarship was provided from this programme to Martin Nguyen. The LISFLOOD-FP flood model was developed at the University of Bristol and is available here.
[1] @danielkelshaw
[2] @JonOnEarth
[3] @kumar-shridhar
Github author: Martin Nguyen martinnguyen20494@gmail.com

