IntroductionUrban power load forecasting is essential for smart grid planning but is hindered by data imbalance issues. Traditional single-model approaches fail to address this effectively, while multi-model methods mitigate imbalance by splitting datasets but incur high costs and risk losing shared power distribution characteristics.MethodsA lightweight urban power load forecasting model (DLUPLF) is proposed, enhancing LSTM networks with contrastive loss in short-term sampling, a difference compensation mechanism, and a shared feature extraction layer to reduce costs. The model adjusts predictions by learning distribution differences and employs dynamic class-center contrastive learning loss for regularization. Its performance was evaluated through parameter tuning and comparative analysis.ResultsThe DLUPLF model demonstrated improved accuracy in forecasting imbalanced datasets while reducing computational costs. It preserved shared power distribution characteristics and outperformed traditional and multi-model approaches in efficiency and prediction accuracy.DiscussionDLUPLF effectively addresses data imbalance and model complexity challenges, making it a promising solution for urban power load forecasting. Future work will focus on real-time applications and broader smart grid systems.
Read full abstract