为了解决实测流量压力数据错误对输水管道实时水力模型EPANET-RTX造成的干扰,针对大量实测数据,通过局部异常因子LOF算法与多个局部测量模型,建立异常数据检测模型检测异常样本;再采用Z分数算法检出异常参数,并采用k邻域均值法校正参数,实现高维向量快速检异、校正,从而保证EPANET-RTX稳定可靠地跟踪输水管网实时运行状态。以JS输水管网为实例进行运行数据异常检测及校正,异常数据识别准确率达99.53%,校正数据的质量及检异/校正速度均满足实时水力模型所需。
The measurement errors in flow and pressure data often interfere the real-time hydraulic model EPANET-RTX for water transmission pipelines. To address this issue, the Local Outlier factor (LOF) algorithm is used to detect abnormal samples, then the Z-score algorithm is used to detect abnormal parameters, and the k-neighborhood mean method is used to correct abnormal parameters, based on a large amount of measurement data. This approach achieves fast and accurate high-dimensional vector detection and correction, thereby ensures EPANET-RTX stably and reliably tracking the real-time hydraulic status of water transmission pipelines. Taking the JS water transmission pipeline network as an example, abnormal data detection and correction are carried out. The accuracy rate of abnormal data recognition reaches 99.53%, both the quality and the speed of correction data meet the needs of real-time hydraulic models.
[1] 刘书明,吴以朋,车晗.基于交互识别的供水管网数据异常值检测[J].给水排水,2015,41(11):150-154.
[2] 刘书明,吴以朋,车晗.利用自识别的供水管网监测数据质量控制[J].清华大学学报(自然科学版),2017,57(9):999-1003.
[3] 张凯,崔光亮.异常数据识别与修复机制在区域供水预测方案中的应用[J].水电能源科学,2021,39(7):53-56.
[4] 杨启航.供水管网异常检测数据识别研究[D].天津:天津理工大学,2022.
[5] 刘敬,谷利泽,钮心忻,等.基于单分类支持向量机和主动学习的网络异常检测研究[J].通信学报,2015,36(11):136-146.
[6] SUGIDAMAYATNO S, LELONO D. Outlier detection credit card transactions using local outlier factor algorithm (LOF)[J]. IJCCS (Indonesian Journal of Computing and Cybernetics Systems), 2019,13(4):409-420.
[7] NOWAK- BRZÉZINSKA A, HOŔYN C. Outliers in rules-the comparision of LOF, COF and KMEANS algorithms[J]. Procedia Computer Science, 2020,176:1420-1429.
[8] ALGHUSHAIRY O, ALSINI R, SOULE T, et al. A review of local outlier factor algorithms for outlier detection in big data streams[J]. Big Data and Cognitive Computing, 2020,5(1):1.
[9] 王艳阳,魏永霞.基于Z比分数的参考作物腾发量计算方法优选[J].节水灌溉,2015(3):52-54.
[10] JUNA A, UMER M, SADIQ S, et al. Water quality prediction using KNN imputer and multilayer perceptron[J]. Water, 2022,14(17):2592.
[11] WANG X Y, LING Y, LING X, et al. A particle swarm algorithm optimization-based SVM-KNN algorithm for epileptic EEG recognition[J]. International Journal of Intelligent Systems, 2022,37(12):11233-11249.
[12] REN J, DU C X. Analysis on organizational structure system model of China's sports management system based on KNN algorithm[J]. Mobile Information Systems, 2022,2022:7048312.
[13] 舒诗湖,赵明,何文杰,等.供水管网水力、水质模型校核标准探讨[J].中国给水排水,2008,24(18):104-106.
[14] ZAKARIA N A, NOOR N M. Imputation methods for filling missing data in urban air pollution data for Malaysia[J]. Urbanism. Arhitectura. Constructii, 2018,9(2):159-166.
[15] 武艳强,黄立人.时间序列处理的新插值方法[J].大地测量与地球动力学,2004,24(4):43-47.