| The power quality monitoring system is an important business system that continues to be built with the continuous development of China’s power grid,with the goal of managing the stability and quality of electricity.Its main function is to achieve closed-loop operation of data collection,monitoring,statistics and analysis,and governance.It can solve the problems of diversified and complex causes of existing power quality problems,lack of governance decision-making support methods,and achieve power quality situational awareness Provide technical and platform support for analyzing the impact of power quality events on the power grid,evaluating power quality event losses,and predicting power quality development trends.The construction of power quality monitoring system has gone through the stages from the initial power quality monitoring system based on data collection,to the statistics of power quality data,to the present and future large-scale data statistics and analysis.However,with the continuous advancement of the construction of power quality monitoring systems,there are more and more business requirements involved in power quality monitoring.The development of system construction is becoming increasingly large and redundant,which puts forward higher requirements for system architecture.It is urgent to change the traditional single software system architecture to adapt to the constantly evolving innovation and efficient operation and maintenance needs of power quality monitoring business.In response to the above problems and needs,this paper proposes a reconstruction method of the power quality monitoring system based on the Microservices architecture based on the early construction of the National Grid Power Quality Monitoring System project.The reconstructed system solves the expanding business needs of the power quality monitoring system by applying the Microservices architecture,making it easier for the system to expand and build new businesses;At the same time,it also solves the problems of operation and maintenance difficulties caused by the increasing development of the system.The research content of this article mainly focuses on the following aspects:Firstly,the existing architecture and future demand development of power quality monitoring system are analyzed,and the business Functional requirement of the system are proposed.Secondly,the system functions are divided into Microservices,different functional modules of the power quality monitoring system are designed,the system Microservices and operation architecture are given,and the database model is designed,which lays the foundation for the subsequent business function expansion and operation and maintenance management of the power quality monitoring system.Secondly,the key governance technologies of Microservices in the power quality monitoring system are analyzed and studied,including the fault identification model based on LightGBM,service registration discovery,service gateway and other technologies,which effectively solve the problem that Microservices faults are difficult to locate and identify due to the complex business relationship of power quality management.Finally,based on the above analysis and research work,the power quality monitoring system based on Microservices architecture is designed in detail,and is developed and implemented based on frameworks such as SpringCloud and Open-source software.The function and performance test of the power quality monitoring system based on Microservices architecture shows that the system can meet the requirements of easy expansion of the business functions of power quality monitoring,and the daily operation and maintenance of the system are efficient,and the system runs stably and well. |