Study on Flood Simulation in the Wei River Basin Driven by Multi-Source DEM Fusion
Abstract
1. Introduction
2. Materials and Methods
2.1. The Study Site
2.2. Available Information
2.3. Machine Learning Models
2.3.1. Random Forest
2.3.2. K-Means Clustering Algorithm
2.3.3. Optuna Hyperparameter Optimization
2.3.4. Building and Training Machine Learning Models
- (1)
- Data preparation stage. The experimental data used in this study include one high-precision DEM of the Wei River and four low-precision DEMs, namely ASTER DEM, AW3D30 DEM, NASA DEM, and SRTM DEM. All DEMs are in txt format. It should be noted that this study currently focuses exclusively on the fusion of multi-source DEMs at a 30 m resolution. Furthermore, the adopted fusion method requires all source DEMs to share a uniform resolution and does not support the fusion of data with cross-resolutions. After the DEM data are collected, invalid value processing is performed on all DEM files by converting the value −9999 in the txt files to NaN, thereby facilitating subsequent statistical calculations and topographic feature processing.
- (2)
- (3)
- Random Forest model construction stage. Considering that the DEM error distribution exhibits significant differences among various slope intervals, this study adopts the K-Means clustering method to realize adaptive slope zoning. To reduce bias caused by subjectively selecting the number of slope zones, a sensitivity analysis of slope zoning is carried out in this paper. Based on the K-Means algorithm, the slope dataset is clustered into 4, 6, 8, 12 and 100 categories respectively, so as to test the influence of different zoning schemes on the fusion accuracy. For each zoning scheme, the weighted Root Mean Square Error is adopted as the evaluation indicator; a smaller error value corresponds to better model performance.
- (4)
- Parameter optimization stage. The model achieves both random and Bayesian optimization of hyperparameters through the Optuna framework. In this stage, data is first cleaned and dimensionally aligned. NaN values in all features and the DEM are filtered out to ensure that the training data contains no outliers. To reduce the computational cost of the optimization process, this study performs slope-adaptive partitioning based on K-Means clustering, selects samples from the first slope interval as the optimization dataset, and extracts samples from this interval for hyperparameter search. With the minimization of the validation set Root Mean Square Error (RMSE) as the optimization objective, the optimal parameter combination is determined through multiple iterations, achieving precise tuning of the model’s hyperparameters. After the training of each interval model is completed, the models and partition boundary information are saved for use in the subsequent prediction stage.
- (5)
- Weight calculation stage for fusion results. After completing the model training for each slope interval, the feature importance of each Random Forest model is extracted. This metric reflects the contribution of each input feature to the model’s prediction results. The Random Forest model can output the contribution of each input feature to the prediction results, i.e., feature importance. The input features include the elevation values of four low-precision DEMs, slope, aspect, curvature, and the Topographic Position Index (TPI) under 3 × 3, 5 × 5, and 7 × 7 windows (TPI3, TPI5, TPI7). For the Random Forest model trained for each slope interval, a feature importance vector can be extracted.
- (6)
- Result output stage: The output results include the fused DEM file and the model evaluation file. For the fused DEM file, the prediction results of each slope interval model are first mosaicked according to their spatial positions to generate a complete fused high-precision DEM matrix. For valid pixels not covered during the training process, the overall prediction mean is used for filling. The fused DEM matrix is saved in text file format.
2.4. Flood Evolution Model
2.4.1. Model Principles
2.4.2. Model Building
- (1)
- Principle of FSDA distribution: The spatial distribution of the FSDAs—including Liangxiangpo, Liuweipo, Gongqu West, Changhongqu, Baishipo, Xiaotanpo, Rengupo, Guangrunpo, and Daming Floodplain—was used as key anchoring points. Specifically, the Qimen cross-section controls the inflow and outflow gates of both the Liuweipo and Liangxiangpo FSDAs and serves as the transition node between the upstream single-channel reach and the midstream FSDA cluster. Therefore, Qimen was selected as the boundary between the first and second reaches. Xiyuan Village is located between the core midstream FSDA cluster (Liangxiangpo, Liuweipo, Gongqu West, etc.) and the downstream Daming Floodplain. Using Xiyuan Village as a segmentation point allows the peak-attenuation effect of the midstream FSDA cluster to be simulated independently. Thus, Xiyuan Village was selected as the boundary between the second and third reaches.
- (2)
- Principle of key hydraulic structure control: The Hehe (Gong) Sluice serves as the main inlet for upstream inflow and the starting point of the main stream of the Wei River in the study area. With a complete record of measured discharge data, it was selected as the upstream boundary control node. Qimen is located downstream of the confluence of the Qihe River and the Communist Canal, surrounded by hydraulic structures such as the Xiaokoukou Control Gate. It is the core control works for the Liuweipo and Liangxiangpo FSDAs, and the area downstream of Qimen constitutes the midstream FSDA cluster. Selecting Qimen as a segmentation node enables precise simulation of the impact of upstream FSDA activation on the midstream reaches. The Luzhuang Pumping Station, as the downstream outflow control node of the Wei River basin with continuous outflow monitoring data, was selected as the downstream outflow boundary.
2.4.3. Model Calibration
3. Result
3.1. Analysis of Multi-Source DEM Fusion Results
3.1.1. Evaluation Criteria
3.1.2. Accuracy Analysis
3.2. Flood Process and Inundation Analysis Based on Different DEMs
3.2.1. Analysis of Flow Processes
3.2.2. Analysis of Flooded Area and Flood Storage Capacity
4. Discussion
Supplementary Materials
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
Abbreviations
| DEM | Digital Elevation Model |
| SRTM | Shuttle Radar Topography Mission |
| NASADEM | NASA Digital Elevation Model |
| AW3D30 | Advanced Land Observing Satellite World 3D-30 m |
| FABDEM | Forest And Buildings removed Copernicus DEM |
| 2D | Two-Dimensional |
| 1D | One-Dimensional |
| ML | Machine Learning |
| GPU | Graphics Processing Unit |
| RF | Random Forest |
| K-Means | K-Means Clustering |
| CNN | Convolutional Neural Network |
| RMSE | Root Mean Square Error |
| MAE | Mean Absolute Error |
| NSE | Nash–Sutcliffe Efficiency |
| R2 | Coefficient of Determination |
| GB | Guobiao (Chinese National Standard) |
| ITF-Flood | Integrated Terrestrial Fluxes Model for Flood Forecasting |
| FSDA | Flood Storage and Detention Area |
| CFL | Courant–Friedrichs–Lewy |
References
- Zhang, W.; Liu, G.; Chiaka, J.C.; Yang, Z. Flood risk cascade analysis and vulnerability assessment of watershed based on Bayesian network. J. Hydrol. 2023, 626, 130144. [Google Scholar] [CrossRef]
- Xu, K.; Wang, C.; Bin, L.; Shen, R.; Zhuang, Y. Climate change impact on the compound flood risk in a coastal city. J. Hydrol. 2023, 626, 130237. [Google Scholar] [CrossRef]
- Ministry of Water Resources of the People’s Republic of China. Guiding Opinions and Implementation Plan on Promoting the Construction of Smart Water Conservancy. Water Conserv. Constr. Manag. 2022, 42, 5. [Google Scholar] [CrossRef]
- Ministry of Water Resources of the People’s Republic of China. Guiding Opinions on Vigorously Promoting the Construction of Smart Water Conservancy; China Water Conservancy Press: Beijing, China, 2021. [Google Scholar]
- Li, G.Y. Building digital twin watershed to promote high-quality development of water conservancy in the new stage. Water Resour. Dev. Manag. 2022, 8, 3–5. [Google Scholar] [CrossRef]
- Li, J.Z.; Li, L.J.; Zhang, T.; Kang, Y.; Zhang, B.; Feng, P. Study on the influence of DEM data source and resolution on watershed flood simulation. J. Hydroelectr. Eng. 2023, 42, 26–40. [Google Scholar] [CrossRef]
- Zhu, Y.; Burlando, P.; Tan, P.Y.; Gei, C.; Fatichi, S. Improving pluvial flood simulations with a multi-source digital elevation model super-resolution method. Nat. Hazards Earth Syst. Sci. 2025, 25, 2271–2291. [Google Scholar] [CrossRef]
- Kulp, S.; Strauss, B.H. CoastalDEM v3.0: Improving Fully Global Coastal Elevation Predictions Through a Convolutional Neural Network and Multi-Source DEM Fusion; Climate Central Scientific Report; Climate Central: Princeton, NJ, USA, 2024. [Google Scholar]
- Peramuna, P.; Neluwala, N.; Wijesundara, K.K.; Desilva, S.; Venkatesan, S.; Dissanayake, P.B.R. Enhancing 2D hydrodynamic flood model predictions in data-scarce regions through integration of multiple terrain datasets. J. Hydrol. 2025, 648, 132343. [Google Scholar] [CrossRef]
- Zhang, R.; Pei, H. Analysis of multi-source DEM data fusion methods under different geomorphic conditions. China New Technol. New Prod. 2025, 18, 126–128. [Google Scholar] [CrossRef]
- Liu, W.B. Research on improving terrain mapping accuracy by multi-source data fusion: A case study of typical geomorphic areas in Nancheng County, Jiangxi Province. North China Nat. Resour. 2025, 3, 90–93. [Google Scholar]
- Zhang, X.X.; Yang, Y.C.; Ma, Q.; Xu, H.; Zheng, J.L.; Yang, B.; Yang, X.J.; Liu, C.J. Watershed flood review strategy driven by hydrological and hydrodynamic models. Chin. J. Appl. Basic Eng. Sci. 2026, 34, 76–88. [Google Scholar] [CrossRef]
- Yin, P.F.; Wang, P.Y.; Zhao, W.L. Thoughts on suggestions for improving the flood control system in Wei River Basin. Haihe Water Resour. 2023, 4, 48–50. [Google Scholar]
- Yang, W.Z.; Wang, P.Y.; Zhao, W.L. Comparative analysis of “63·8” and “21·7” rainstorm floods in Wei River Basin. Haihe Water Resour. 2023, 1, 66–69. [Google Scholar] [CrossRef]
- Zhang, Y.; Zou, L.; Dou, M.; Wang, J.; Liu, Y. Water environmental risk assessment of different periods in Henan section of Wei River Basin. J. Agro-Environ. Sci. 2023, 42, 1778–1789. [Google Scholar] [CrossRef]
- Breiman, L. Random Forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar] [CrossRef]
- Liu, B.; Mazumder, R. Randomization can reduce both bias and variance: A case study in Random Forests. J. Mach. Learn. Res. 2025, 26, 1–49. [Google Scholar] [CrossRef]
- Mei, T.; Fan, Y.; Lv, J. Exogenous randomness empowering Random Forests. arXiv 2024, arXiv:2411.07554. [Google Scholar] [CrossRef]
- Ma, Y.B.; Liu, S.Y.; Cao, D.P.; Feng, J.H.; Zhao, J.H. Application of Random Forest algorithm based on Bayesian optimization for reservoir prediction. Chin. J. Geophys. 2025, 68, 3247–3257. [Google Scholar] [CrossRef]
- MacQueen, J. Some methods for classification and analysis of multivariate observations. In Proceedings of the 5th Berkeley Symposium on Mathematical Statistics and Probability, Berkeley, CA, USA, 21 June–18 July 1965; University of California Press: Oakland, CA, USA, 1967; Volume 1, pp. 281–297. [Google Scholar]
- Zhang, L.N.; Zhang, X.R.; Ma, L.; Yu, H.L.; Song, X.Y. K-Means clustering algorithm optimized based on heuristic crossover strategy. J. Jilin Univ. (Sci. Ed.) 2025, 63, 1663–1672. [Google Scholar] [CrossRef]
- Zhuang, Y.; Chen, X.; Yang, Y.; Wang, Z.; Liu, W. Statistically optimal K-Means clustering via nonnegative low-rank semidefinite programming. arXiv 2023, arXiv:2305.18436. [Google Scholar] [CrossRef]
- Wang, K.Y.; Wang, Y.F.; Chen, X.; Liu, T.; Zhang, H. Remote sensing estimation of forest carbon storage in Jiangxi Province based on ensemble learning algorithm and Optuna optimization. Acta Ecol. Sin. 2025, 45, 685–700. [Google Scholar] [CrossRef]
- Yang, F.; Xiao, F.; Shi, B.W.; Li, G.; Zhou, M. Deterioration trend assessment of hydropower units based on Optuna-CatBoost and CRITIC evaluation method. Water Resour. Power 2025, 43, 206–210. [Google Scholar] [CrossRef]
- Neftissov, A.; Biloshchytskyi, A.; Kazambayev, I.; Kyzyrbekov, A.; Zhaparov, R. An Advanced Ensemble Machine Learning Framework for Estimating Long-Term Average Discharge at Hydrological Stations Using Global Metadata. Water 2025, 17, 2097. [Google Scholar] [CrossRef]
- Wang, G.; Cao, J.; Sun, J.; Liu, Y.; Zhang, H. A multi-scale factor feature fusion modeling method for landslide susceptibility mapping. AIMS Geosci. 2026, 12, 335–359. [Google Scholar] [CrossRef]
- Horn, B.K.P. Hill shading and the reflectance map. Proc. IEEE 1981, 69, 14–47. [Google Scholar] [CrossRef]
- Guo, W.; Zhai, M.; Lei, X.; Huang, H.; Long, Y.; Li, S. Two-Dimensional Hydrodynamic Simulation of the Effect of Stormwater Inlet Blockage on Urban Waterlogging. Water 2024, 16, 2029. [Google Scholar] [CrossRef]
- Bates, P.D.; de Roo, A.P.J. A simple raster-based model for flood inundation simulation. J. Hydrol. 2000, 236, 54–77. [Google Scholar] [CrossRef]
- Dong, B.L.; Tan, C.; Xia, J.Q.; Wang, Y.; Li, J. Multi-GPU parallel acceleration of hydrodynamic model for rapid high-resolution urban flood simulation. Adv. Water Sci. 2026, 37, 199–208. [Google Scholar] [CrossRef]
- Li, W. Hydraulic Calculation Handbook, 2nd ed.; China Water Power Press: Beijing, China, 2006. [Google Scholar]
- Li, X.Y.; Hou, J.M.; Liu, Y.; Zhang, W.; Chen, L. Simulation of flood process in underground space under extreme rainstorm based on 1D-2D coupled hydrodynamic model. Chin. J. Hydrodyn. 2024, 39, 434–441. [Google Scholar] [CrossRef]
- GB/T 22482-2008; Standard for Hydrological Information and Hydrological Forecasting. Standards Press of China: Beijing, China, 2008.
- Zhao, S.; Cheng, W.; Jiang, J.; Wang, L.; Zhang, P. Error comparison among the DEM datasets made from ZY-3 satellite and the global open datasets. J. Geo-Inf. Sci. 2020, 22, 370–378. [Google Scholar] [CrossRef]
- Meadows, M.; Jones, S.; Reinke, K. Vertical accuracy assessment of freely available global DEMs (FABDEM, Copernicus DEM, NASADEM, AW3D30 and SRTM) in flood-prone environments. Int. J. Digit. Earth 2024, 17, 2308734. [Google Scholar] [CrossRef]
- Soliman, M.; Morsy, M.M.; Radwan, H.G. Generalized methodology for two-dimensional flood depth prediction using ML-based models. Hydrology 2025, 12, 223. [Google Scholar] [CrossRef]














| Parameter | SRTM DEM | NASA | AW3D30 | ASTER |
|---|---|---|---|---|
| Acquisition time | 2000 | 2000 | 2006–2011 | 2000–2013 |
| Release time | 2015 | 2020 | 2019 | 2019 |
| Coverage | 60° N–56° S | 60° N–56° S | 80° N–80° S | 83° N–83° S |
| Spatial Coordinate System | GCS_WGS_1984 | GCS_WGS_1984 | User_Defined_Transverse_Mercator | GCS_WGS_1984 |
| Datum plane | D_WGS_ 1984 | D_WGS_ 1984 | D_WGS_ 1984 | D_WGS_ 1984 |
| Spatial resolution | 30 m | 30 m | 30 m | 30 m |
| Slope Intervals | 4 | 6 | 8 | 12 | 100 |
|---|---|---|---|---|---|
| Weighted RMSE | 1.0714 | 1.0726 | 1.0690 | 1.0694 | 1.0758 |
| River Reach Name | Left (L) (m) | Top (T) (m) | Right (R) (m) | Bottom (B) (m) |
|---|---|---|---|---|
| Hehe (Gong) to Qimen | 476,822.158437773 | 3,941,486.2664484 | 529,432.158437773 | 3,908,326.2664484 |
| Qimen to Xiyuancun | 523,022.158437773 | 3,986,816.2664484 | 563,687.158437773 | 3,927,251.2664484 |
| Xiyuancun to Luzhuang Pumping Station | 561,544.71008287 | 4,040,063.01399907 | 617,514.71008287 | 3,981,433.01399907 |
| Key Cross-Section (Monitoring Station) | Maximum Water Level (m) | Relative Error | Peak Discharge (m3/s) | Relative Error | Peak Time | Error (h) | |
|---|---|---|---|---|---|---|---|
| Hehe (Gong) | Actual value | 76.77 | 1.84% | 1325 | 0.32% | 23 July at 17:00 | 0 |
| Simulated value | 78.188 | 1329.26 | 23 July at 17:00 | ||||
| Wuling | Actual value | 56.42 | 6.94% | 861 | 4.72% | 31 July at 18:00 | 0 |
| Simulated value | 52.5 | 820.32 | 31 July at 18:00 | ||||
| Section Name | Hydraulic Parameters | SRTM | NASA | ASTER | AW3D30 | Fused DEM | High-Precision DEM |
|---|---|---|---|---|---|---|---|
| Hehe (Gong) | Flood peak date | 23 July | 23 July | 23 July | 22 July | 23 July | 23 July |
| Flood peak time | 12:00 | 11:00 | 1:00 | 21:00 | 11:00 | 17:00 | |
| Maximum discharge (m3·s−1) | 1310.79 | 1311.69 | 934.13 | 1171.62 | 1312.16 | 1329.26 | |
| Relative error of discharge | 0.014 | 0.013 | 0.297 | 0.119 | 0.013 | 0 | |
| Huang tugang | Flood peak date | 23 July | 23 July | 21 July | 21 July | 23 July | 23 July |
| Flood peak time | 21:00 | 19:00 | 1:00 | 1:00 | 18:00 | 20:00 | |
| Maximum discharge (m3·s−1) | 430.34 | 498.95 | 0.12 | 18.80 | 691.94 | 720.38 | |
| Relative error of discharge | 0.403 | 0.307 | 0.999 | 0.974 | 0.042 | 0 | |
| Xiyuancun | Flood peak date | 31 July | 31 July | 30 July | 31 July | 31 July | 31 July |
| Flood peak time | 14:00 | 3:00 | 12:00 | 15:00 | 7:00 | 13:00 | |
| Maximum discharge (m3·s−1) | 745.95 | 721.70 | 696.54 | 516.34 | 769.01 | 814.13 | |
| Relative error of discharge | 0.084 | 0.114 | 0.144 | 0.366 | 0.059 | 0 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Wu, Z.; Cai, S.; Zhai, M.; Wang, C. Study on Flood Simulation in the Wei River Basin Driven by Multi-Source DEM Fusion. Water 2026, 18, 1201. https://doi.org/10.3390/w18101201
Wu Z, Cai S, Zhai M, Wang C. Study on Flood Simulation in the Wei River Basin Driven by Multi-Source DEM Fusion. Water. 2026; 18(10):1201. https://doi.org/10.3390/w18101201
Chicago/Turabian StyleWu, Zengji, Siyu Cai, Mingshuo Zhai, and Chao Wang. 2026. "Study on Flood Simulation in the Wei River Basin Driven by Multi-Source DEM Fusion" Water 18, no. 10: 1201. https://doi.org/10.3390/w18101201
APA StyleWu, Z., Cai, S., Zhai, M., & Wang, C. (2026). Study on Flood Simulation in the Wei River Basin Driven by Multi-Source DEM Fusion. Water, 18(10), 1201. https://doi.org/10.3390/w18101201
