Energy,Power & Electrical Engineering

Multi-Working Condition Energy Consumption Anomaly Detection Method for Office Building Lighting Sockets Based on LSTM-AE

  • CHEN Cheng ,
  • WANG Miao ,
  • WANG Xinyao ,
  • GAO Zhiming ,
  • ZHOU Xuan ,
  • YAN Junwei
Expand
  • 1.School of Mechanical and Automotive Engineering,South China University of Technology,Guangzhou 510640,Guangdong,China
    2.Guangdong Artificial Intelligence and Digital Economy Laboratory (Guangzhou),Guangzhou 510335,Guangdong,China
    3.School of Energy and Automotive Engineering,Shunde Polytechnic University,Foshan 528300,Guangdong,China
陈城(1991—),女,博士生,主要从事建筑智能节能研究。E-mail: 202011000733@mail.scut.edu.cn

Received date: 2024-12-09

  Online published: 2025-04-21

Supported by

the Natural Science Foundation of Guangdong Province(2019A1515011518)

Abstract

Anomaly detection of energy consumption in building lighting and socket systems can effectively improve energy efficiency. It holds significant importance for the implementation of building energy optimization measures and the realization of energy-saving management and control. Since the energy consumption of building lighting and plug load systems is heavily influenced by the random behavior of building occupants, and given the challenges posed by noisy time-series data and difficulty in feature extraction, this study proposed an unsupervised anomaly detection method that integrates operating condition classification with deep learning, aiming to enhance the accuracy and robustness of energy consumption anomaly identification. First, the decision tree algorithm was employed to classify the energy data based on attributes such as working days vs. non-working days and working hours vs. non-working hours. Then, for each identified condition, a long short-term memory autoencoder (LSTM-AE) model was constructed to detect anomalies. This model learns to reconstruct normal data and calculates the reconstruction error. By setting differentiated thresholds, it enables energy consumption anomaly detection under unlabeled data conditions. Using 578 days of hourly lighting and socket energy consumption data from an office building located in a hot-summer and warm-winter region, the study conducted model training and hyperparameter optimization experiments. Results indicate that the number of iterations, the number of neurons, and the activation function have significant effects on the model’s performance. Energy data during working days demonstrate greater stability than those on non-working days, resulting in higher detection accuracy. The proposed method achieves average precision, recall, and F1 of 91.23%, 90.87%, and 90.80%, respectively, across four typical operating conditions, demonstrating its effectiveness in detecting energy anomalies in building lighting and socket systems.

Cite this article

CHEN Cheng , WANG Miao , WANG Xinyao , GAO Zhiming , ZHOU Xuan , YAN Junwei . Multi-Working Condition Energy Consumption Anomaly Detection Method for Office Building Lighting Sockets Based on LSTM-AE[J]. Journal of South China University of Technology(Natural Science), 2025 , 53(9) : 117 -126 . DOI: 10.12141/j.issn.1000-565X.240575

References

[1] LUO S, HU W, LIU W,et al .Study on the decarbonization in China's power sector under the background of carbon neutrality by 2060 [J].Renewable and Sustainable Energy Reviews2022166:112618/1-18.
[2] WANG M, XU D, BAI Y,et al .Dynamic investigation on potassium migration and transformation during biochar combustion and its correlation with combustion reactivity[J].Fuel2023340:127540/1-11.
[3] 中国建筑节能协会 .2022中国建筑能耗与碳排放研究报告[R].北京:中国建筑节能协会,2022.
[4] AHMAD A S, HASSAN M Y, ABDULLAH M P,et al .A review on applications of ANN and SVM for building electrical energy consumption forecasting [J].Renewable and Sustainable Energy Reviews201433:102-109.
[5] AMASYALI K, ELGOHARY N .Building lighting energy consumption prediction for supporting energy data analytics [J].Procedia Engineering2016145:511-517.
[6] 李海涛,王瑞敏,董卫宇,等 .一种基于GRU的半监督网络流量异常检测方法[J].计算机科学202350(3):380-390.
  LI Haitao, WANG Ruimin, DONG Weiyu,et al .Semi-supervised network traffic anomaly detection method based on GRU [J].Computer Science202350(3):380-390.
[7] SERRANO-GUERRERO X, ESCRIVá-ESCRIVá G, LUNA-ROMERO S,et al .A time-series treatment method to obtain electrical consumption patterns for anomalies detection improvement in electrical consumption profiles [J].Energies202013(5):1046/1-23.
[8] SERRANO-GUERRERO X, ESCRIVá-ESCRIVá G, ROLDáN-BLAY C .Statistical methodology to assess changes in the electrical consumption profile of buildings [J].Energy and Buildings2018164:99-108.
[9] ZHANG L, WAN L, XIAO Y,et al .Anomaly detection method of smart meters data based on GMM-LDA clustering feature learning and PSO support vector machine[C]∥ Proceedings of 2019 IEEE Sustainable Power and Energy Conference.Beijing:IEEE,2019:2407-2412.
[10] PUNMIYA R, CHOE S .Energy theft detection using gradient boosting theft detector with feature engineering-based preprocessing [J].IEEE Transactions on Smart Grid201910(2): 2326-2329.
[11] HOLLINGSWORTH K, ROUSE K, CHO J,et al .Energy anomaly detection with forecasting and deep learning [C]∥ Proceedings of 2018 IEEE International Conference on Big Data.Seattle:IEEE,2018:4921-4925.
[12] AHMED N, SAHA A K, NOMAN M A AL,et al .Deep learning-based natural language processing in human-agent interaction:applications,advancements and challenges[J].Natural Language Processing Journal20249:100112/1-25.
[13] FENZA G, GALLO M, LOIA V .Drift-aware metho-dology for anomaly detection in smart grid [J].IEEE Access20197:9645-9657.
[14] SILVA A DA, GUARANY I S, ARRUDA B,et al .A method for anomaly prediction in power consumption using long short-term memory and negative selection [C]∥ Proceedings of 2019 IEEE International Symposium on Circuits and Systems.Sapporo:IEEE,2019:1-5.
[15] WANG X, ZHAO T, LIU H,et al .Power consumption predicting and anomaly detection based on long short-term memory neural network [C]∥ Proceedings of 2019 IEEE the 4th International Conference on Cloud Computing and Big Data Analysis.Chengdu:IEEE,2019:487-491.
[16] XU C, CHEN H .Abnormal energy consumption detection for GSHP system based on ensemble deep learning and statistical modeling method [J].International Journal of Refrigeration2020114:106-117.
[17] ZHENG Z, YANG Y, NIU X,et al .Wide and deep convolutional neural networks for electricity-theft detection to secure smart grids [J].IEEE Transactions on Industrial Informatics201814(4):1606-1615.
[18] LI S, HAN Y, YAO X,et al .Electricity theft detection in power grids with deep learning and random fo-rests [J].Journal of Electrical and Computer Enginee-ring20192019:4136874/1-12.
[19] PRIYADARSINI M, SONEKAR N .A CNN-based approach for anomaly detection in smart grid systems [J].Electric Power Systems Research2025238:111077/1-10.
[20] PYDI D P, ADVAITH S .Attention boosted autoencoder for building energy anomaly detection [J].Energy and AI202314: 100292/1-11.
[21] MASCALI L, SCHIERA D S, EIRAUDO S,et al .A machine learning-based anomaly detection framework for building electricity consumption data [J].Sustainable Energy Grids and Networks202336:101194/1-14.
[22] RUFF L, KAUFFMANN J R, VANDERMEULEN R A,et al .A unifying review of deep and shallow anomaly detection [J].Proceedings of the IEEE2021109(5):756-795.
[23] 周欣,燕达,任晓欣,等 .大型办公建筑照明能耗实测数据分析及模型初探 [J].照明工程学报201324(4):14-23.
  ZHOU Xin, YAN Da, REN Xiaoxin,et al .Data analysis and modeling of lighting energy use in large office buildings [J].China Illuminating Engineering Journal201324(4):14-23.
Outlines

/