为实现对光伏集群的科学聚类划分,该文融合考虑气象因素和地理位置对光伏电站聚类的影响,将出力特性作为子集群的划分特征,提出一种基于改进曼哈顿距离的K中心点聚类算法(K-中心点)。光伏集群聚类的两个关键是气象特征的有效识别和各电站的相似性度量,为此采用变异系数法与秩和比法相结合对气象输入特征进行提取,可提高特征的识别有效性。另一方面将改进曼哈顿距离引入K-中心点聚类算法中,充分挖掘数据的动态特性,并采用3种内部有效指标优化聚类划分数,避免常规划分带来的分散性和偏差,提高聚类的整体效果。此外,在聚类基础上进行预测验证,为解决预测模型的参数设置问题,在预测模型中融入优化算法,采用改进灰狼优化算法(IGWO)对iTransformer和极度梯度提升(XGBoost)模型中的参数进行优化,功率预测结果表明所提聚类算法的有效性以及较高的精度。
Abstract
For the purpose of achieving a scientifically rigorous and methodologically sound clustering partition of photovoltaic clusters, this study incorporates the synergistic effects of meteorological factors and geographical positioning on the clustering of photovoltaic power stations. Employing output characteristics as the basis for subgroup delineation, the paper introduces a K-medoids clustering algorithm based upon an enhanced Manhattan distance metric. The two pivotal dimensions in photovoltaic cluster analysis encompass the robust identification of meteorological features and the precise quantification of inter-station similarity. Accordingly, an integrated approach combining the coefficient of variation method with the rank-sum ratio method is utilized to derive meteorological input features, thereby augmenting the efficacy of feature discrimination. Moreover, the refined Manhattan distance is embedded within the K-medoids framework to comprehensively elucidate the dynamic attributes inherent in the dataset. Three internally validated clustering metrics are leveraged to optimize cluster cardinality, effectively mitigating the dispersion and systematic bias endemic to conventional partitioning approaches while enhancing overall clustering robustness. Subsequent predictive validation is performed based on the established clusters. To resolve the challenge of parameter calibration within the forecasting model, metaheuristic optimization techniques are integrated. Specifically, an improved grey wolf optimization (IGWO) algorithm is deployed to fine-tune the hyperparameters of both the iTransformer and extreme gradient boosting (XGBoost) architectures. The power forecasting results verify the operational efficacy and superior predictive accuracy of the proposed clustering methodology.
关键词
光伏发电 /
聚类分析 /
功率预测 /
改进灰狼优化算法 /
iTransformer /
极度梯度提升
Key words
photovoltaic power /
cluster analysis /
power forecasting /
improved gray wolf optimization algorithm /
iTransformer /
extreme gradient boosting
{{custom_sec.title}}
{{custom_sec.title}}
{{custom_sec.content}}
参考文献
[1] 中国电力网.中国光伏产业发展路线图(2023—2024年)[EB/OL].(2024-2-28)[2024-12-26].https://www.chinapv.org.cn/Industry/resource_1380.html.
China Power Net.China PV Industry Development Roadmap (2023—2024)[EB/OL].(2024-2-28)[2024-12-26].https://www.chinapv.org.cn/Industry/resource_1380.html.
[2] 张扬科, 李刚, 李秀峰. 基于典型代表电站和改进SVM的区域光伏功率短期预测方法[J]. 电力自动化设备, 2021, 41(11): 205-210.
ZHANG Y K, LI G, LI X F.Short-term forecasting method for regional photovoltaic power based on typical representative power stations and improved SVM[J]. Electric power automation equipment, 2021, 41(11): 205-210.
[3] 王晓霞, 俞敏, 霍泽健, 等. 基于近邻传播聚类与LSTNet的分布式光伏电站群短期功率预测[J]. 电力系统自动化, 2023, 47(6): 133-141.
WANG X X, YU M, HUO Z J, et al.Short-term power forecasting of distributed photovoltaic station clusters based on affinity propagation clustering and long short-term time-series network[J]. Automation of electric power systems, 2023, 47(6): 133-141.
[4] 杨锡运, 刘晗, 陈文进, 等. 基于层次聚类分场景的光伏汇聚趋势量化方法[J]. 太阳能学报, 2024, 45(3): 496-505.
YANG X Y, LIU H, CHEN W J, et al.Photovoltaic convergence trend quantification method based on hierarchical clustering and scenarios[J]. Acta energiae solaris sinica, 2024, 45(3): 496-505.
[5] 李培强, 李欣然, 陈辉华, 等. 基于模糊聚类的电力负荷特性的分类与综合[J]. 中国电机工程学报, 2005, 25(24): 73-78.
LI P Q, LI X R, CHEN H H, et al.The characteristics classification and synthesis of power load based on fuzzy clustering[J]. Proceedings of the CSEE, 2005, 25(24): 73-78.
[6] 卢俊杰, 蔡涛, 郎建勋, 等. 基于集群划分的光伏电站集群发电功率短期预测方法[J]. 高电压技术, 2022, 48(5): 1943-1951.
LU J J, CAI T, LANG J X, et al.Short-term power output forecasting of clustered photovoltaic solar plants based on cluster partition[J]. High voltage engineering, 2022, 48(5): 1943-1951.
[7] 叶林, 施媛媛, 王启亨, 等. 面向暂态分析的分布式光伏集群多步分群与等值建模[J]. 电力系统自动化, 2023, 47(14): 72-81.
YE L, SHI Y Y, WANG Q H, et al.Multi-step grouping and equivalent modeling of distributed photovoltaic clusters for transient analysis[J]. Automation of electric power systems, 2023, 47(14): 72-81.
[8] 程启明, 张强, 程尹曼, 等. 基于密度峰值层次聚类的短期光伏功率预测模型[J]. 高电压技术, 2017, 43(4): 1214-1222.
CHENG Q M, ZHANG Q, CHENG Y M, et al.Short-term photovoltaic power prediction model based on hierarchical clustering of density peaks algorithm[J]. High voltage engineering, 2017, 43(4): 1214-1222.
[9] 张晓珂, 张辉, 戴小然, 等. 基于层次聚类和BILSTM的光伏短期功率预测模型[J]. 智慧电力, 2024, 52(9): 41-48.
ZHANG X K, ZHANG H, DAI X R, et al.Photovoltaic short-term power forecasting model based on hierarchical clustering & BILSTM[J]. Smart power, 2024, 52(9): 41-48.
[10] 吴汉斌, 时珉, 郑焕坤, 等. 基于EEMD-ALOCO-SVM模型的光伏功率短期区间预测[J]. 太阳能学报, 2023, 44(11): 64-71.
WU H B, SHI M, ZHENG H K, et al.Short-term interval prediction of photovoltaic power based on EEMD-ALOCO-SVM model[J]. Acta energiae solaris sinica, 2023, 44(11): 64-71.
[11] 陈庆明, 廖鸿飞, 孙颖楷, 等. 基于GWO-GRU的光伏发电功率预测[J]. 太阳能学报, 2024, 45(7): 438-444.
CHEN Q M, LIAO H F, SUN Y K, et al.Photovoltaic power prediction model based on GWO-GRU[J]. Acta energiae solaris sinica, 2024, 45(7): 438-444.
[12] 姜建国, 杨效岩, 毕洪波. 基于VMD-FE-CNN-BiLSTM的短期光伏发电功率预测[J]. 太阳能学报, 2024, 45(7): 462-473.
JIANG J G, YANG X Y, BI H B.Photovoltaic power forecasting method based on VMD-FE-CNN-BiLSTM[J]. Acta energiae solaris sinica, 2024, 45(7): 462-473.
[13] ZAMANI JOHARESTANI M, CAO C X, NI X L, et al.PM2.5 prediction based on random forest, XGBoost, and deep learning using multisource remote sensing data[J]. Atmosphere, 2019, 10(7): 373.
[14] YANG T.Sales prediction of walmart sales based on OLS, random forest, and XGBoost models[J]. Highlights in science, engineering and technology, 2023, 49: 244-249.
[15] 牛甲俊, 张薇, 许达明. 基于FCM和ITransformer-TCN的短期风电集群功率预测[J]. 东北电力大学学报, 2024, 44(1): 9-16.
NIU J J, ZHANG W, XU D M.Short-term power prediction of wind power cluster based on FCM and ITransformer-TCN[J]. Journal of Northeast Electric Power University, 2024, 44(1): 9-16.
[16] 阮楚婷, 冯启明, 赵劲民, 等. 基于变异系数法和耦合协调度模型的广西三级公立综合医院高质量发展状况研究[J]. 现代预防医学, 2024, 51(9): 1643-1648.
RUAN C T, FENG Q M, ZHAO J M, et al.Study on high quality development of tertiary public general hospitals in Guangxi based on coefficient of variation method and coupling coordina-tion degree model[J]. Modern preventive medicine, 2024, 51(9): 1643-1648.
[17] LIBERTI L, LAVOR C, MACULAN N, et al.Euclidean distance geometry and applications[J]. SIAM review, 2014, 56(1): 3-64.
[18] SUN Y J, LI S H, WANG Y L, et al.Fault diagnosis of rolling bearing based on empirical mode decomposition and improved Manhattan distance in symmetrized dot pattern image[J]. Mechanical systems and signal processing, 2021, 159: 107817.
[19] 李姣, 王秋萍, 戴芳. 基于改进HHO与K-Medoids的混合聚类算法[J]. 西安理工大学学报, 2022, 38(3): 410-420.
LI J, WANG Q P, DAI F.Hybrid clustering algorithm based on improved HHO and K-Medoids[J]. Journal of Xi’an University of Technology, 2022, 38(3): 410-420.
[20] LIU Y, HU T G, ZHANG H R, et al. iTransformer: inverted transformers are effective for time series forecasting[EB/OL].2023: arXiv: 2310.06625. https://arxiv.org/abs/2310.06625.
[21] 邢晨, 张照贝. 基于改进时间卷积网络的短期光伏出力概率预测方法[J]. 太阳能学报, 2023, 44(2): 373-380.
XING C, ZHANG Z B.Short-term probabilistic forecasting method of photovoltaic output power based on improved temporal convolutional network[J]. Acta energiae solaris sinica, 2023, 44(2): 373-380.