Charging Demand Forecasting for Planned Electric Vehicle Charging Stations Based on Multi-Dimensional Similarity Calculation
-
摘要: 针对城市新建电动汽车充电站在缺乏历史运营数据条件下,难以有效利用多维环境特征相似迁移,实现充电需求准确预测的问题,研究了融合多维相似度计算与可解释机器学习的需求预测方法。该方法以运营特征、建成环境特征和空间可达性特征构建多维特征向量,通过余弦相似度筛选出与目标站点在特征空间中最为接近的参考站点。随后,基于这些参考站点的历史运营数据,建立极限梯度提升模型(extreme gradient boosting,XGBoost)进行回归预测,并采用贝叶斯优化算法实现超参数自动寻优。为提高模型的可解释性,引入Shapley加性解释模型(shapley additive explanations,SHAP)量化各特征对预测结果的边际贡献,并结合部分依赖图(partial dependence plot,PDP)揭示充电速率、快充枪数和餐饮服务密度等关键变量对需求的非线性影响机制。以苏州市哪吒福茂4S店为实证对象,结果显示: 本文方法的平均绝对百分比误差(mean absolute percentage error,MAPE)为1.79%,明显低于无相似度XGBoost模型、相似度加权法和Lasso回归模型,其对应的MAPE分别为35.38%、8.96%和12.34%。此外,本文方法在其他测试站点的平均MAPE为4.95%,表现出良好的泛化能力与稳定性。SHAP分析表明: 充电速率与快充枪数是影响需求的主要正向因素,而道路密度与餐饮服务类兴趣点(point of interest,POI)密度对需求具有显著的促进效应。综合分析结果表明: 本文方法可在无历史数据条件下有效提升新建充电站需求预测精度,实现对站点潜在充电强度的提前识别,有助于实现城市新能源充电基础设施的科学空间选址与桩容精细化配置。Abstract: Faced with the challenge of accurately predicting charging demand for new urban electric vehicle (EV) stations due to the lack of historical data and the difficulty in leveraging multi-dimensional feature similarity transfer, this study develops a prediction framework incorporating multi-dimensional similarity calculation and interpretable machine learning. In this method, multi-dimensional feature vectors are constructed by combining operational features, built environment features, and spatial accessibility features. Cosine similarity is employed to identify reference stations that are most similar to the target station in feature space. Based on the historical operational data of these reference stations, an extreme gradient boosting (XGBoost) regression model is established, and its hyperparameters are optimized automatically using Bayesian optimization. To enhance interpretability, the shapley additive explanations (SHAP) approach is adopted to quantify the marginal contribution of each feature to the prediction outcome, while the partial dependence plot (PDP) is used to uncover the nonlinear effects of key variables such as charging rate, number of fast-charging guns, and density of dining service facilities. Taking the Nezha Fumao 4S Store in Suzhou as a case study, the proposed method achieves a mean absolute percentage error (MAPE) of 1.79%, which is substantially lower than those of the plain XGBoost model without similarity, the similarity-weighted method, and the Lasso regression model, whose corresponding MAPE values are 35.38%, 8.96%, and 12.34%, respectively. Moreover, the method achieves an average MAPE of 4.95% across other test stations, indicating strong generalization and stability. SHAP analysis reveals that charging rate and number of fast-charging guns are the dominant positive factors influencing demand, while road network density and point of interest (POI) density for dining services significantly promote charging activity. The results demonstrate that the proposed method effectively improves demand forecasting accuracy for stations lacking historical data, enables early identification of potential charging intensity, thereby contributing to achieving scientific spatial siting and refined capacity configuration of urban new energy charging infrastructure.
-
表 1 充电订单数据示例
Table 1. Example of charging order data
字段 字段描述 示例 充电开始时间 精确到秒的充电开始时间 2024-1-1 10:13:22 充电结束时间 精确到秒的充电结束时间 2024-1-1 10:56:42 充电量/(kW·h) 以度为单位的充电业务消耗的电量 19.132 充电时长/s 精确到秒的充电时长 495 订单金额/元 以元为单位的充电业务扣除的费用 20.22 充电站 充电业务对接的具体充电站名称 ***充电站 经度 充电站所处位置的经度坐标 120.**42 纬度 充电站所处位置的纬度坐标 31.**44 充电桩 车辆充电使用的充电桩号 2号桩 充电枪 车辆充电使用的充电枪桩号 02 表 2 POI数据内容解释
Table 2. Description of POI data fields
字段 字段名称 字段描述 name POI名称 POI的名称 id ID POI的编号 First-class 所属大类 一级功能分类, 如公共设施, 购物服务 Second-class 所属中类 二级功能分类, 如地铁站, 风景区 lon POI经度 POI的地理位置经度 lat POI纬度 POI的地理位置纬度 District 所处区域 POI所处行政级别中的区级划分 City 所处城市 POI所处行政级别中的市级划分 表 3 充电需求影响因素
Table 3. Influencing factors of charging demand
分类 影响因素 运营特征 快充枪数、慢充枪数、充电速率、电价 建成环境特征 距中心区距离、用地属性、餐饮服务、交通设施、购物服务、休闲娱乐、商务住宅、公司企业 空间可达性特征 道路密度 表 4 苏州市研究区域内充电站快慢充枪充电速率分布
Table 4. Distribution of charging power for fast and slow chargers in the Suzhou study area
分类 充电功率区间/kW 充电枪数 慢充枪(201) 0~10 200 10~20 1 快充枪(554) 20~30 8 30~40 318 40~50 157 50~60 43 60~70 8 70~80 11 80~90 2 90~100 2 100~110 5 表 5 POI数据分类
Table 5. POI data classification
类别名称 描述 数量 休闲娱乐 公园, 影剧院, 运动场馆等 2 318 公司企业 公司, 工厂, 农林牧渔企业等 7 575 商务住宅 住宅区, 楼宇, 产业园区等 1 964 购物服务 商场, 便利店, 体育用品店等 30 501 交通设施 公交站, 地铁站, 火车站等 11 286 餐饮服务 中餐厅, 咖啡厅, 冷饮店等 29 528 表 6 相似站点情况展示
Table 6. Overview of similar stations
充电站名称 相似度 60天累积充电量(kW·h) 用地属性 哪吒福茂4S店 85 476 商业类 西湖农贸市场充电站 0.963 58 716 商业类 阳光天地地下二层充电站(二期) 0.932 92 214 商业类 仁恒里商业广场地下一层充电站 0.912 106 574 商业类 东桥卫生所充电站 0.897 86 433 住宅类 度假区人民医院充电站 0.851 75 823 公共服务类 常熟凤凰城地下三层充电站 0.832 85 295 商业类 方糖地下一层充电站 0.827 64 649 商业类 表 7 贝叶斯优化XGBoost模型最优参数组合
Table 7. Optimal hyperparameter combination of XGBoost via bayesian optimization
参数 最优值 参数 最优值 n_estimators 221 colsample_bytree 0.842 subsample 0.60 reg_alpha 0.037 6 max_depth 7 reg_lambda 0.001 4 gamma 0.983 learning_rate 0.015 表 8 其他站点预测结果
Table 8. Forecasting results for other stations
站点名称 真实累积充电需求/(kW·h) 预测累积充电需求/(kW·h) MAPE/% 大湖城邦地下一层充电站 55 237 59 192 7.16 悦坞里地下一层充电站 109 741 104 759 4.54 秦馀美好荟下一层充电站 103 428 100 076 3.24 兴启坊地下一层充电站 98 953 103 762 4.86 表 9 不同方法预测误差对比
Table 9. Comparison of prediction errors across different methods
站点名称 真实累积充电需求/(kW·h) 预测方法 预测累积充电需求/(kW·h) MAPE/% 哪吒福茂4S店充电站 85 476 本文方法 83 945 1.79 相似度权重求和 77 817 8.96 Lasso线性回归 74 928 12.34 无相似度计算的XGBoost 55 234 35.38 大湖城邦地下一层充电站 55 237 本文方法 59 192 7.16 相似度权重求和 62 517 13.18 Lasso线性回归 63 959 15.79 无相似度计算的XGBoost 78 630 42.35 悦坞里地下一层充电站 109 741 本文方法 104 759 4.54 相似度权重求和 99 513 9.32 Lasso线性回归 93 982 14.36 无相似度计算的XGBoost 67 095 38.86 秦馀美好荟下一层充电站 103 428 本文方法 100 076 3.24 相似度权重求和 92 619 10.45 Lasso线性回归 83 890 18.89 无相似度计算的XGBoost 64 828 37.32 兴启坊地下一层充电站 98 953 本文方法 103 762 4.86 相似度权重求和 110 085 11.25 Lasso线性回归 115 507 16.73 无相似度计算的XGBoost 134 882 36.31 表 10 不同特征组合预测误差对比
Table 10. Comparison of prediction errors across different feature combinations
运营特征 建成环境特征 空间可达性特征 真实累积充电需求/(kW·h) 预测累积充电需求/(kW·h) MAPE/% √ 64 196 24.89 √ 89 319 4.49 √ 85 476 92 983 8.78 √ √ 97 061 13.55 √ √ 64 677 24.33 √ √ 87 145 1.95 表 11 充电需求影响因素SHAP贡献表
Table 11. SHAP contribution of features affecting charging demand
特征 平均绝对SHAP值 贡献率/% 充电速率 0.285 05 26.9 快充枪数 0.242 30 22.9 运营时间 0.144 29 13.6 餐饮服务 0.109 91 10.4 交通设施 0.063 43 6.0 公司企业 0.047 56 4.5 距中心区距离 0.037 52 3.5 慢充枪数 0.037 35 3.5 购物服务 0.030 91 2.9 道路密度 0.021 60 2.0 电价 0.012 05 1.1 用地属性 0.009 49 0.9 休闲娱乐 0.009 32 0.9 商务住宅 0.008 73 0.8 -
[1] 孙健, 宋茂星, 邱果, 等. 基于电动汽车大数据的多等级充电站选址与服务能力研究[J]. 中国公路学报, 2024, 37(4): 48-60.SUN J, SONG M X, QIU G, et al. Location and service capability of multilevel charging stations based on electric vehicle big data[J]. China Journal of Highway and Transport, 2024, 37(4): 48-60. (in Chinese) [2] 庞松岭, 赵雨楠, 唐金锐, 等. 基于充电桩利用率的充电负荷超短期预测方法研究[J]. 电力科学与技术学报, 2024, 39(1): 115-123, 133.PANG S L, ZHAO Y N, TANG J R, et al. Ultra-short-term charging load forecasting based on charging pile utilization[J]. Journal of Electric Power Science and Technology, 2024, 39(1): 115-123, 133. (in Chinese) [3] 杨亚璪, 宾涛. 电动汽车集中型充电站选址定容模型[J]. 交通运输系统工程与信息, 2024, 24(3): 204-212.YANG Y Z, BIN T. Electric vehicle centralized charging station siting and capacity modeling[J]. Journal of Transportation Systems Engineering and Information Technology, 2024, 24(3): 204-212. (in Chinese) [4] 苏峰山, 禄小敏, 叶云会, 等. 基于图卷积自编码器的道路网相似度计算方法[J]. 武汉大学学报(信息科学版), 2026, 51(2): 391-402.SU F S, LU X M, YE Y H, et al. A road network similarity calculation method based on graph convolutional autoencoder[J]. Geomatics and Information Science of Wuhan University, 2026, 51(2): 391-402. (in Chinese) [5] 王江锋, 杨昊, 梁艳平, 等. 基于手机信令HMM轨迹映射的交通方式识别算法[J]. 哈尔滨工业大学学报, 2024, 56(11): 45-54.WANG J F, YANG H, LIANG Y P, et al. Transportation mode recognition algorithm based on mobile phone signaling HMM trajectory mapping[J]. Journal of Harbin Institute of Technology, 2024, 56(11): 45-54. (in Chinese) [6] 郝晓军, 冯蕴天, 李廷鹏, 等. 高维特征向量相似度计算方法研究[J]. 航天电子对抗, 2023, 39(6): 30-34.HAO X J, FENG Y T, LI T P, et al. Similarity calculation of high-dimensional feature vectors[J]. Aerospace Electronic Warfare, 2023, 39(6): 30-34. (in Chinese) [7] 吴玥琳, 袁振洲, 陈秋芳, 等. 考虑轨迹相似度的综合客运枢纽出租车合乘方法研究[J]. 交通运输系统工程与信息, 2020, 20(2): 188-195.WU Y L, YUAN Z Z, CHEN Q F, et al. Taxi pooling method of urban integrated passenger transport hub with trajectory similarity[J]. Journal of Transportation Systems Engineering and Information Technology, 2020, 20(2): 188-195. (in Chinese) [8] GENOV E, DE CAUWER C, VAN KRIEKINGE G, et al. Forecasting flexibility of charging of electric vehicles: tree and cluster-based methods[J]. Applied Energy, 2024, 353: 121969. doi: 10.1016/j.apenergy.2023.121969 [9] 胡晓伟, 宋帅, 邱振洋, 等. 寒区电动公交充电站选址及定容规划研究[J]. 交通运输系统工程与信息, 2024, 24(2): 281-292.HU X W, SONG S, QIU Z Y, et al. Location and capacity planning of electric bus charging station in cold regions[J]. Journal of Transportation Systems Engineering and Information Technology, 2024, 24(2): 281-292. (in Chinese) [10] LI M Y, LENZEN M, KECK F, et al. GIS-based probabilistic modeling of BEV charging load for Australia[J]. IEEE Transactions on Smart Grid, 2018, 10(4): 3525-3534. [11] ZHENG Y, SHAO Z, ZHANG Y, et al. A systematic methodology for mid-and-long term electric vehicle charging load forecasting: the case study of Shenzhen, China[J]. Sustainable Cities and Society, 2020, 56: 102084. doi: 10.1016/j.scs.2020.102084 [12] SUN Y, CHEN Z, LI Z, et al. EV charging schedule in coupled constrained networks of transportation and power system[J]. IEEE Transactions on Smart Grid, 2018, 10(5): 4706-4716. [13] 侯亘, 田伦, 潘晓锋, 等. 城际出行场景下出行者电动汽车选择影响因素[J]. 交通信息与安全, 2025, 43(4): 139-148. doi: 10.3963/j.jssn.1674-4861.2025.04.014HOU G, TIAN L, PAN X F, et al. Identifying the determinants of travelers choosing electric vehicles in the context of intercity travel[J]. Journal of Transport Information and Safety, 2025, 43(4): 139-148. (in Chinese) doi: 10.3963/j.jssn.1674-4861.2025.04.014 [14] XING Q, CHEN Z, ZHANG Z, et al. Modelling driving and charging behaviours of electric vehicles using a data-driven approach combined with behavioural economics theory[J]. Journal of Cleaner Production, 2021, 324: 129243. doi: 10.1016/j.jclepro.2021.129243 [15] MOON H B, PARK S Y, JEONG C, et al. Forecasting electricity demand of electric vehicles by analyzing consumers charging patterns[J]. Transportation Research Part D: Transport and Environment, 2018, 62: 64-79. doi: 10.1016/j.trd.2018.02.009 [16] 李振华, 张成浩, 刘奕舟, 等. 基于多特征提取和多层级迁移学习的电动汽车充电站充电量预测[J]. 电力系统保护与控制, 2025, 53(6): 150-162.LI Z H, ZHANG C H, LIU Y Z, et al. Charging energy forecasting for EV stations based on multi-feature extraction and multi-level transfer learning[J]. Power System Protection and Control, 2025, 53(6): 150-162. (in Chinese) [17] 张文会, 乔梓凡, 陈德启. 出租车轨迹数据驱动的充电站选址定容方法[J]. 交通运输系统工程与信息, 2025, 25(5): 291-301.ZHANG W H, QIAO Z F, CHEN D Q. Charging station location and capacity determination algorithm based on taxi trajectory data[J]. Journal of Transportation Systems Engineering and Information Technology, 2025, 25(5): 291-301. (in Chinese) [18] ARIAS M B, BAE S. Electric vehicle charging demand forecasting model based on big data technologies[J]. Applied Energy, 2016, 183: 327-339. doi: 10.1016/j.apenergy.2016.08.080 [19] 李芃禹, 曹静, 王宁, 等. 数据-模型协同驱动的Robotaxi车队充电设施选址定容方法[J]. 同济大学学报(自然科学版), 2024, 52(增刊1): 197-209.LI P Y, CAO J, WANG N, et al. Charging facility layout and planning approach for Robotaxi fleets collaboratively driven by data and model[J]. Journal of Tongji University (Natural Science), 2024, 52 (S1): 197-209. (in Chinese) [20] CAO T, XU Y, LIU G, et al. Feature-enhanced deep learning method for electric vehicle charging demand probabilistic forecasting of charging station[J]. Applied Energy, 2024, 371: 123751. doi: 10.1016/j.apenergy.2024.123751 [21] CHEN T Q, GUESTRIN C. XGBoost: a scalable tree boosting system[C]. The 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, New York, USA: ACM, 2016. [22] 中华人民共和国国家市场监督管理总局, 国家标准化管理委员会. 电动汽车充换电设施术语: GB/T 29317—2021[S]. 北京: 中国标准出版社, 2021.State Administration for Market Regulation, Standardization Administration of the People's Republic of China. Terminology of electric vehicle charging and battery swapping infrastructure: GB/T 29317—2021[S]. Beijing: Standards Press of China, 2021. (in Chinese) -
下载: