Suzhou Electric Appliance Research Institute
期刊号: CN32-1800/TM| ISSN2097-6623

Article retrieval

文章检索

首页 >> 文章检索 >> 往年索引

基于PSO-K-means聚类压缩感知的用电量数据修复方法

来源:电工电气发布时间:2026-02-26 16:26 浏览次数:7

基于PSO-K-means聚类压缩感知的用电量数据修复方法

张心怡1,刘绪杰2,林穿1
(1 莆田学院 机电与信息工程学院,福建 莆田 351100;
2 广西电网有限责任公司梧州供电局,广西 梧州 543002)
 
    摘 要:随着电力系统智能化发展,用电数据的完整性需要对负荷预测与调度提出更高要求。针对传统 K-means 算法存在初始聚类中心敏感、易陷入局部最优的缺陷,以及用电数据缺失问题,提出了一种改进聚类算法与压缩感知的联合修复方法,并设置了低缺失率、高缺失率以及连续缺失率的数据缺失场景进行实验验证。通过粒子群优化算法(PSO)实现全局最优聚类中心搜索,利用轮廓系数和 CH 指数验证 PSO-K-means 算法的聚类性能;基于 PSO-K-means 算法对用电数据的聚类结果采用同类数据均值预填充缺失时段,将同类数据构建的时间序列进行压缩感知重构。结果表明,在设置的三种场景中,相较其他方法,所提方法在决定系数和均方根误差指标上都更加优异,显著提升数据修复精度,为智能电网数据质量优化提供了创新技术路径,有效支撑电力系统精准调度与运行。
    关键词: PSO-K-means 算法;压缩感知;用电量数据;数据修复
    中图分类号:TM715     文献标识码:A     文章编号:2097-6623(2026)02-0007-06
 
An Electricity Consumption Data Repair Method Based on the
PSO-K-means Clustering-Compressed Sensing
 
ZHANG Xin-yi1, LIU Xu-jie2, LIN Chuan1
(1 School of Mechanical, Electrical & Information Engineering, Putian University, Putian 351100, China;
2 Wuzhou Power Supply Bureau of Guangxi Power Grid Co., Ltd., Wuzhou 543002, China)
 
    Abstract: With the advancement of intelligent power systems, the integrity of electricity consumption data imposes heightened demands on load forecasting and dispatch. Addressing the limitations of the traditional K-means algorithm, such as sensitivity to initial clustering centers, susceptibility to local optima,and the issue of missing electricity data, this study proposes a combined repair method integrating an enhanced clustering algorithm with compressed sensing, setting up data missing scenarios with low attrition rate, high attrition rate, and continuous missing rates for experimental verification. Then the particle swarm optimization (PSO) algorithm is employed to implement global optimal clustering center search, utilizing the silhouette coefficient and CH index to verify the clustering performance of the PSO-K-means algorithm; based on the clustering results of electricity consumption data obtained using the PSO-K-means algorithm, pre-fill missing time periods with the mean value of similar data, and perform compressive sensing reconstruction on the time series constructed from similar data. Results demonstrate that among the three scenarios set, compared with other methods, the proposed method excels in both the coefficient of determination and root mean square error indicators, significantly enhancing the accuracy of data repair. It provides an innovative technical path for optimizing data quality in smart grids and effectivelys upports precise scheduling and operation of power systems.
    Key words: PSO-K-means algorithm; compressed sensing; electricity consumption data; data repair
 
参考文献
[1] 王睿琛,卢少平,段沛恒,等. 基于聚类-压缩感知理论的电力现货市场用户电量数据修复方法[J]. 武汉大学学报(工学版),2021,54(3) :247-254.
[2] 于泓,杜娟,魏琳,等. 计及行为特征的市场化用户电量数据拟合方法[J] . 山东大学学报(工学版),2023,53(4) :113-119.
[3] 刘东升,代盛国,商学斌,等. 基于压缩感知理论的缺失数据集下线损预测模型[J] . 广东电力,2019,32(2) :80-86.
[4] KLAWONN Frank, KRUSE Rudolf, WINKLER Roland. Fuzzy clustering: More than just fuzzification[J].Fuzzy Sets and Systems,2015,281 :272-279.
[5] 丁宏恩,高宗和,苏大威,等. 混合量测状态估计相角参考点坏数据问题的处理方法[J] . 电力系统自动化,2014,38(9) :132-136.
[6] 赵少东,王春燕. 电力系统的计量缺失数据智能修复研究与应用[J]. 科技创新导报,2018(18) :96-98.
[7] 张瑞,孟晨,王成,等. 基于 IFISTA 算法的 LFM 信号压缩感知重构[J] . 现代电子技术,2022,45(11) :11-17.
[8] 杨梦. 基于压缩感知的信号重构算法研究[D]. 哈尔滨:哈尔滨工程大学,2021.
[9] 陶永辉, 王勇. 基于初始聚类中心选取的改进 K-means 算法[J]. 国外电子测量技术,2022,41(9) :54-59.
[10] 孙林, 张一曼, 张辰珂, 等. 基于改进粒子群和 K-means 聚类的优化算法[J]. 江苏科技大学学报(自然科学版),2023,37(3) :81-90.
[11] LI Chenggang, ZHANG Jiajun, ZHANG Haifeng, et al.A clustering method for charging behaviors of electric vehicle users based on an improved k-means algorithm[J].Journal of Physics:Conference Series,2024,2876(1) :012029.
[12] 刘雁行,乔如妤,梁楠,等. 基于 LSTM-压缩感知的居民用户负荷数据异常识别及缺失数据修复融合清洗模型[J]. 供用电,2025,42(3) :104-114.
[13] 赵琦. 基于压缩感知的地下供水管道漏水声信号处理研究[D]. 呼和浩特:内蒙古师范大学,2022.
[14] 高海宾.一种融合乌鸦搜索算法的 K-means 聚类算法[J].新乡学院学报,2024,41(3) :19-25.