高级检索

基于XGBoost模型的短期电力负荷预测

Short-Term Power Load Forecasting Based on XGBoost Model

  • 摘要:
    目的 针对办公建筑短期电力负荷受工作日行为、节假日调休安排及气象条件共同影响、且预测精度随预测时效延长而下降的问题,构建适用于办公建筑场景的多时效短期负荷预测方法,分析气象因素在不同预测时效和不同用电场景中的作用差异,为需求侧运行分析与精细化用能管理提供支撑。
    方法 选取某典型办公建筑2024年1月1日至2025年5月24日逐小时电力负荷数据,结合同时段气象观测资料及气象预报资料,构建包含历史负荷、时间日历、节假日与调休、目标时刻增强特征和相似日统计特征的输入体系;采用极端梯度提升(Extreme Gradient Boosting,XGBoost)建立1 h、2 h、3 h、6 h、12 h和24 h多时效预测模型,并对24 h场景进一步构建增量预测模型;对预测结果进行总体及分场景评估。
    结果 所建模型在1~24 h时效内均表现出较好的预测能力,且随预测时效延长,误差整体增大、相关性逐步下降。历史负荷特征始终是精度提升的主导因素,目标时刻日历、节假日调休和相似日特征对6 h及以上时效改善明显,气象因素在3 h及以上时效及平稳场景中的增益更为突出,24 h增量建模优于直接预测。
    结论 办公建筑短期负荷预测宜采用“短时直接预测-中长时目标时刻增强-跨日增量建模”的分层建模思路。历史负荷是短时预测的核心信息源,气象因素更适合作为具有时效依赖性和场景依赖性的辅助修正因子,节假日调休与相似日特征是提升中长时效预测能力的关键补充。所构建的多时效 XGBoost 预测框架可为建筑侧负荷预测和需求侧精细化管理提供参考。

     

    Abstract:
    Objective The study aims to develop a feasible multi-horizon short-term load forecasting method for office buildings, where load is jointly affected by working-day behavior, holiday and adjusted working-day arrangements, and meteorological conditions, and where forecasting accuracy generally decreases as the forecast horizon increases. It also aims to clarify the role of meteorological factors under different forecast horizons and operating scenarios.
    Method Hourly power load data of a typical office building from January 1, 2024 to May 24, 2025 were collected together with concurrent meteorological observations and forecast data. An input feature set was constructed using historical load, calendar information, holidays and adjusted working days, target-time enhanced features, and similar-day statistics. Extreme Gradient Boosting (XGBoost) was used to build forecasting models for 1 h, 2 h, 3 h, 6 h, 12 h and 24 h ahead, and an incremental model was further developed for the 24 h-ahead task. The forecasting performance was then evaluated from both overall and scenario-based perspectives.
    Result The models show good forecasting performance across horizons from 1 h to 24 h. As the forecast horizon increases, the overall error increases and the correlation decreases. Historical load features remain the dominant contributors to forecasting accuracy. Target-time calendar features, holiday and adjusted working-day information, and similar-day features improve the performance for horizons of 6 h and above. Meteorological factors provide more evident gains for horizons of 3 h and above and in relatively stable scenarios. For 24 h-ahead forecasting, incremental modeling outperforms direct forecasting.
    Conclusion A hierarchical strategy is suitable for short-term load forecasting of office buildings, including direct forecasting for short horizons, target-time enhancement for medium- and long-horizon forecasting, and incremental modeling for cross-day forecasting. Historical load is the core information source for short-horizon forecasting, while meteorological factors serve better as auxiliary correction factors with clear horizon and scenario dependence. Holiday, adjusted working-day, and similar-day features are key supplements for improving medium- and long-horizon forecasting. This framework provides a useful reference for building-side load forecasting and refined demand-side energy management.

     

/

返回文章
返回