基于KS-PSO-BP神经网络耦合模型的需水预测——以江苏省为例

李恩, 孙伯明, 孙晓文, 赵敏, 姚向阳, 颜冰

长江科学院院报 ›› 2026, Vol. 43 ›› Issue (7) : 65-71.

PDF(1062 KB)
PDF(1062 KB)
长江科学院院报 ›› 2026, Vol. 43 ›› Issue (7) : 65-71. DOI: 10.11988/ckyyb.20250379
水资源

基于KS-PSO-BP神经网络耦合模型的需水预测——以江苏省为例

作者信息 +

Water Demand Prediction Based on KS-PSO-BP Neural Network Coupled Model: A Case Study of Jiangsu Province

Author information +
文章历史 +

摘要

需水预测是区域水资源开发利用中的关键环节,鉴于江苏省需水影响因素涉及范围广、样本系列值少、需水波动幅度大等特点,提出了一种粒子群优化与正态区间估计联合优化的KS-PSO-BP耦合神经网络模型,模型使用主成分分析法与灰色关联分析法筛选需水影响因子,加入粒子群优化算法优化BP神经网络,通过引入K-S正态检验与正态区间估计,构建KS-PSO-BP神经网络需水预测模型,并对江苏省需水量进行模拟预测。结果表明:PSO-BP神经网络在预测结果相对误差上优于BP神经网络,对江苏省2021—2023年进行需水预测时,PSO-BP神经网络预测相对误差区间分别为-1.55%~1.14%、-1.65%~1.23%、-1.64%~1.18%,基于KS-PSO-BP耦合神经网络模型预测相对误差区间分别为-0.23%~0.09%、-0.28%~0.01%、-0.28%~0.02%,可见基于KS-PSO-BP耦合神经网络模型极大缩小了误差区间,模型预测结果更稳定、更准确,与江苏省实际用水状况更接近,该模型可作为江苏省需水预测的一种方法。

Abstract

[Objective] Current research on water demand prediction primarily focuses on improving prediction accuracy, while studies on interval prediction of water demand remain limited. This study aims to further improve prediction accuracy, reduce error interval and reflect the actual regional water demand by incorporating the Kolmogorov-Smirnov (K-S) normal interval estimation into BP (back propagation) neural network model. [Methods] In view of a wide range of water demand influencing factors, limited sample series, and significant demand fluctuations in Jiangsu Province, we coupled the K-S normal interval estimation with particle swarm optimization (PSO) and BP neural network. Specific processes are as follows: the degree of influence and the number of key factors were preliminarily identified through principal component analysis (PCA), followed by the calculation of grey relational grades (GRG) to determine the final water demand influencing factor index. This index was utilized as input for both BP and PSO-BP neural networks. The final model was then selected by comparing performance indicators, including relative error, Nash-Sutcliffe efficiency (NSE), and coefficient of determination (R2). Using multiple fitting iterations of the PSO-BP neural network, the sample size was expanded, and the K-S normality test and normal interval estimation were performed to further narrow the relative error intervals of the water demand prediction results. [Results] 1) Eight primary influencing factors of water demand were identified for Jiangsu Province: population, GDP, added value of secondary industry, added value of tertiary industry, per capita urban domestic water consumption, per capita rural domestic water consumption, irrigation water quota per mu (1 mu≈666.7 m2), and water consumption per 10 000 yuan of industrial added value. 2) Both BP and PSO-BP neural networks exhibited strong performance in fitting historical water demand data, demonstrating their feasibility for future water demand prediction. Specifically, the PSO-BP neural network outperformed the standard BP network in the relative error of water demand prediction. The maximum relative errors for the training, validation, and testing samples were 2.23%, 0.88%, and 1.19%, respectively, with an average training error of 1.03%. The NSE and R2 reached 0.98 and 0.99, respectively. 3) The selection of sample size significantly influenced the prediction results of water demand. With the increase of the sample size, the average value of samples was closer to the real value, and the overall prediction results of samples were more stable. The increase of sample size would reduce the benefit of improving the accuracy of the overall prediction results. 4) The K-S normality test and normal interval estimation stabilized the prediction results, substantially narrowed the error intervals, and better reflected the actual water demand. At a 95% confidence level, the relative error intervals of water demand prediction in 2021, 2022, and 2023 in Jiangsu Province were reduced to -0.23%-0.09%, -0.28%-0.01%, and -0.28%-0.02%, respectively. [Conclusion] The KS-PSO-BP neural network coupled model significantly reduces the error range and provides more stable and accurate prediction results that closely align with actual water demand in Jiangsu Province. The model serves as an effective method for regional water demand prediction and offers valuable guidance for future water resources planning in Jiangsu Province.

关键词

需水预测 / 主成分分析 / 灰色关联分析 / PSO-BP神经网络 / K-S正态检验

Key words

water demand prediction / principal component analysis / grey relational analysis / PSO-BP neural network / K-S normality test

引用本文

导出引用
李恩, 孙伯明, 孙晓文, . 基于KS-PSO-BP神经网络耦合模型的需水预测——以江苏省为例[J]. 长江科学院院报. 2026, 43(7): 65-71 https://doi.org/10.11988/ckyyb.20250379
LI En, SUN Bo-ming, SUN Xiao-wen, et al. Water Demand Prediction Based on KS-PSO-BP Neural Network Coupled Model: A Case Study of Jiangsu Province[J]. Journal of Changjiang River Scientific Research Institute. 2026, 43(7): 65-71 https://doi.org/10.11988/ckyyb.20250379
中图分类号: TV213.4 (水利资源的管理、保护与改造)   

参考文献

[1]
杨皓翔, 梁川, 崔宁博. 基于加权灰色-马尔可夫链模型的城市需水预测[J]. 长江科学院院报, 2015(7): 15-21.
(Yang Hao-xiang, Liang Chuan, Cui Ning-bo. Prediction of Urban Water Demand by Using Weighted Grey-Markov Chain Model[J]. Journal of Changjiang River Scientific Research Institute, 2015(7):15-21.(in Chinese))
[2]
邵骏, 卢满生, 杜涛, 等. 长江流域水资源生态足迹及其驱动因素[J]. 长江科学院院报, 2021, 38(12): 19-24, 32.
(Shao Jun, Lu Man-sheng, Du Tao, et al. Water Resources Ecological Footprint in Yangtze River Basin and Its Driving Factors[J]. Journal of Yangtze River Scientific Research Institute, 2021, 38(12): 19-24, 32.(in Chinese))
[3]
邵磊, 周孝德, 杨方廷, 等. 基于RAGA的GM(1,1)-RBF组合需水预测模型[J]. 长江科学院院报, 2010, 27(5):29-33.
(Shao Lei, Zhou Xiao-de, Yang Fang-ting, et al. Water Demand Prediction Model Constructed by GM(1, 1)-RBF Portfolio Neural Network Based on RAGA[J]. Journal of Yangtze River Scientific Research Institute, 2010, 27(5):29-33.(in Chinese))
[4]
Gabriele A, Biondi D, Gargano R, et al. From Deterministic to Probabilistic Forecasts of Water Demand[C]//The 3rd International Joint Conference on Water Distribution Systems Analysis & Computing and Control for the Water Industry (WDSA/CCWI 2024). MDPI, 2024, 69 ( 1): 122.
[5]
Bata M H, Carriveau R, Ting D S. Short-term Water Demand Forecasting Using Nonlinear Autoregressive Artificial Neural Networks[J]. Journal of Water Resources Planning and Management, 2020, 146(3): 04020008.
[6]
Stelzl A, Pointl M, Fuchs-Hanusch D. Estimating Future Peak Water Demand with a Regression Model Considering Climate Indices[J]. Water, 2021, 13(14): 1912.
[7]
李嘉欣, 彭少明. 黄河流域用水现状及需水预测研究[J]. 人民黄河, 2024, 46(7):66-71.
(Li Jia-xin, Peng Shao-ming. Study on the Current Situation of Water Use and Water Demand Forecast in the Yellow River Basin[J]. Yellow River, 2024, 46(7):66-71.(in Chinese))
[8]
毛青, 解阳阳, 刘赛艳, 等. 南水北调受水区工业需水量的多方法组合预测[J]. 水资源与水工程学报, 2024, 35(3): 51-58, 66.
(Mao Qing, Xie Yang-yang, Liu Sai-yan, et al. Multi-method Combination Prediction of Industrial Water Demand in the Receiving Area of the South to North Water Diversion Project[J]. Journal of Water Resources and Water Engineering, 2024, 35(3): 51-58, 66.(in Chinese))
[9]
杨登元, 鞠茂森, 唐德善. 基于改进PCA-BP神经网络模型的海宁市需水预测[J]. 水电能源科学, 2024, 42(5): 68-71, 79.
(Yang Deng-yuan, Ju Mao-sen, Tang De-shan. Water Demand Prediction in Haining City Based on Improved PCA-BP Neural Network Model[J]. Water Resources and Power, 2024, 42(5): 68-71, 79.(in Chinese))
[10]
Jeyavelu S, Mohan K. A Hierarchical Hybrid Deep-net Framework for Water Demand Forecasting Using OPHO Optimization and Deep Learning Techniques[J]. Iranian Journal of Science and Technology, Transactions of Civil Engineering, 2025, 49(5): 5255-5271.
[11]
Jia S, Cui M, Chen L, et al. Soybean Water Monitoring and Water Demand Prediction in Arid Region Based on UAV Multispectral Data[J]. Agronomy, 2025, 15(1):88.
[12]
董增川, 王佳晟, 崔璨, 等. 基于滚动交叉验证的城市需水预测方法[J]. 水资源保护, 2025, 41(3): 13-19.
(Dong Zeng-chuan, Wang Jia-sheng, Cui Can, et al. Method for Urban Water Demand Forecast Based on Rolling Cross-validation[J]. Water Resources Protection, 2025, 41(3): 13-19.(in Chinese))
[13]
Iglesias-Rey A, López Hojas C A, Martínez-Solano F J, et al. An Approach Based on the Use of Commercial Codes and Engineering Judgement for the Battle of Water Demand Forecasting[C]//The 3rd International Joint Conference on Water Distribution Systems Analysis & Computing and Control for the Water Industry (WDSA/CCWI 2024). MDPI, 2024: 176.
[14]
Yang M, Gao E, Wang G, et al. Medium and Long-term Regional Water Demand Prediction Using Harris Hawks Optimisation-Back Propagation Neural Network Model[J]. Scientific Reports, 2024, 14:27763.
[15]
陈伟楠, 杨程天. 基于主成分分析的PSO-BP模型在城市需水预测中的应用[J]. 信息与电脑(理论版), 2018, 30(13): 48-50.
(Chen Wei-nan, Yang Cheng-tian. Application of PSO-BP Model Based on Principal Component Analysis in Prediction of Urban Water Demand[J]. China Computer & Communication, 2018, 30(13): 48-50.(in Chinese))
[16]
孔祥仟, 陈园, 刘博懿, 等. 基于主成分分析的神经网络在需水预测中的应用[J]. 水电能源科学, 2018, 36(4):26-28.
(Kong Xiang-qian, Chen Yuan, Liu Bo-yi, et al. Application of Neural Network Based Principal Component Analysis in Prediction of Water Demand[J]. Water Resources and Power, 2018, 36(4):26-28.(in Chinese))
[17]
王春娟, 冯利华, 罗伟, 等. 主成分回归在需水预测中的应用[J]. 水资源与水工程学报, 2013, 24(1):50-53.
(Wang Chun-juan, Feng Li-hua, Luo Wei, et al. Application of Principal Component Regression Model to Water Demand Forecast[J]. Journal of Water Resources and Water Engineering, 2013, 24(1): 50-53.(in Chinese))
[18]
龚杰, 赵起超, 娄华超, 等. 模糊层次分析法在水资源价值评估中的应用: 以绵阳市为例[J]. 长江科学院院报, 2022, 39(4): 34-40.
(Gong Jie, Zhao Qi-chao, Lou Hua-chao, et al. Application of Fuzzy Analytic Hierarchy Process to Water Resource Value Assessment: Case Study of Mianyang City[J]. Journal of Changjiang River Scientific Research Institute, 2022, 39(4): 34-40.(in Chinese))
[19]
单义明, 杨侃. 基于灰色关联度分析的山西省PSO-SVR需水量预测模型[J]. 水电能源科学, 2021, 39(2):18-21.
(Shan Yi-ming, Yang Kan. Forecasting Model of PSO-SVR Water Requirement in Shanxi Province Based on Grey Correlation Analysis[J]. Water Resources and Power, 2021, 39(2): 18-21.(in Chinese))
[20]
王艳菊, 王珏, 吴泽宁, 等. 基于灰色关联分析的支持向量机需水预测研究[J]. 节水灌溉, 2010(10):49-52.
(Wang Yan-ju, Wang Jue, Wu Ze-ning, et al. Research on Water Demand Prediction of Support Vector Machine Based on Grey Relational Analysis[J]. Water Saving Irrigation, 2010(10): 49-52.(in Chinese))
[21]
何淑林, 刘慧敏, 金立强, 等. 基于神经网络算法的果树需水预测研究[J]. 灌溉排水学报, 2022, 41(1): 19-24.
(He Shu-lin, Liu Hui-min, Jin Li-qiang, et al. Calculating Demands of Fruit Trees for Water Using Neural Network Algorithm[J]. Journal of Irrigation and Drainage, 2022, 41(1): 19-24.(in Chinese))
[22]
李雨, 王君, 张萌萌, 等. 基于PSO-BP模型的省域交通运输碳排放多情景预测[J]. 华南师范大学学报(自然科学版), 2025, 57(2): 12-22.
(Li Yu, Wang Jun, Zhang Meng-meng, et al. Multi-scenario Prediction of Provincial Transportation Carbon Emissions Using the PSO-BP Model[J]. Journal of South China Normal University (Natural Science Edition), 2025, 57(2): 12-22.(in Chinese))
[23]
张晓琴, 牛建永, 李顺勇. 基于G-Q的K-S异方差检验方法[J]. 山西大学学报(自然科学版), 2019, 42(1): 95-104.
(Zhang Xiao-qin, Niu Jian-yong, Li Shun-yong. Heteroscedasticity Test Method of K-S Based on G-Q Test[J]. Journal of Shanxi University (Natural Science Edition), 2019, 42(1): 95-104.(in Chinese))

基金

江苏省水利科技项目(2024024)
中央级公益性科研院所基本科研业务费专项资金项目(Y525005)
中央级公益性科研院所基本科研业务费专项资金项目(Y525007)

编辑: 王慰
PDF(1062 KB)

Accesses

Citation

Detail

段落导航
相关文章

/