Detailed Description
The invention is described in further detail below with reference to the following figures and specific examples:
a system level fault analysis system based on a power flow change map is shown in figure 1 and comprises a deep learning module 1 based on the power flow change map, a power grid system level fault perception module 2 and a power grid event alarm information merging and sorting module 3;
the deep learning module 1 based on the power flow change map is used for generating a key equipment fault sample set, forming a fault power flow change map corresponding to the key equipment fault sample set, constructing a fault diagnosis model by using an artificial intelligence algorithm, taking the fault power flow change map as the input of the model, taking the power grid fault corresponding to the fault power flow change map as the output, training the model through a large number of samples, and generating a power grid fault diagnosis model;
the power grid system level fault sensing module 2 periodically acquires power grid section data based on a power grid fault diagnosis model, compares the power grid section data of adjacent periods to generate a power flow change map, inputs the power flow change map into the power grid fault diagnosis model, judges whether a diagnosis result of equipment fault exists or not, and issues a power grid system level alarm if the diagnosis result is that the power grid has the fault;
the power grid event alarm information merging and sorting module 3 is used for summarizing power grid steady-state transient operation information based on the power grid system level alarm issued by the power grid system level fault sensing module 2 as a trigger and merging the information as the associated detailed information of the system level alarm.
In the above technical scheme, the power grid steady-state transient operation information includes power grid frequency information, section flow out-of-limit information, line trip information and unit trip information.
In the technical scheme, the deep learning module 1 based on the trend change map comprises a self-adaptive fault event set modeling module 11, a fault trend change map drawing module 12 and a deep neural network training module 13;
the self-adaptive fault event set modeling module 11 is used for calculating key equipment N-1 and N-2 by adopting an off-line simulation and on-line safety analysis calculation mode based on an on-line safety analysis module of a smart grid dispatching technology support platform to generate a key equipment fault sample set;
the fault current change map drawing module 12 is used for generating a power grid fault current change map, and the specific implementation method comprises model map construction and primitive coloring; the model graph construction is that different primitives represent different types of equipment to form a power grid model formed in a primitive form; the primitive coloring is used for simulating the fault of key equipment, coloring the primitive according to the size of the power flow change, and abstracting the power grid power flow change into a fault power flow change map easy for machine learning;
the deep neural network training module 13 constructs a fault prediction model by using an artificial intelligence algorithm, takes the fault power flow change map as the input of the fault prediction model, takes the power grid fault corresponding to the power flow change map as the output, trains the fault prediction model through a large number of samples, and generates a power grid fault diagnosis model.
In the above technical solution, the method for generating the key device fault sample set includes:
in order to collect a fault set to the maximum extent, simulating a plurality of power grid operating states, simulating a fault of a certain device, recording active power changes of all primary devices of the power grid before and after the fault, forming a characteristic value corresponding to the fault, and simulating N-1 and N-2 faults of all key devices in different power grid operating states; meanwhile, collecting experience in actual work to form a fault event set;
the power grid operation state comprises a maximum operation mode, a minimum operation mode, load changes at different peak-valley moments and a power grid state of grid topology changes;
the specific implementation method for constructing the model diagram comprises the following steps: different primitives represent different types of equipment, and a pentagon represents a line, a circle represents a load, a diamond represents a main transformer and a square represents a unit; performing matrix layout on all the devices subjected to graphical conversion, and arranging all the devices in a certain plant station in a line in a primitive form; the equipment types from left to right are a line, a load, a main transformer and a unit in sequence, and each type of equipment is sequenced from left to right according to the voltage level from high to low; counting the quantity of each type of equipment of each plant, and taking the maximum value of the quantity of the equipment of a single plant as the column number of the equipment; all the stations are arranged in multiple rows to form a power grid model formed in a primitive form. Therefore, the dimension reduction processing is carried out on the actual multidimensional variable, the processing efficiency is improved, and the interference factor is reduced.
In the above technical solution, the deep neural network training module 13 includes a deep network model selection module, a model loss function and optimization algorithm module, and a machine learning model training module; the deep network model selection module is used for more accurately and abstractly automatically extracting characteristics from the power grid flow change map; the model loss function and optimization algorithm module is used for reducing the overfitting risk in the power grid fault type classification process; the machine learning model training module trains based on the characteristics of the power grid flow change map and generates a model classifier.
In the above technical solution, the deep network model selection module adopts a VGG network model, the VGG network model is constructed by repeatedly iterating a convolutional layer and a pooling layer on the basis of CNN, the VGG network model comprises 11 layers in total, wherein, the 1 st layer to the 8 th layer are convolution layers, the 9 th layer to the 11 th layer are full connection layers, the deep network model selection module divides the power grid fault types into 10 categories, in order to enable the VGG network model to meet the classification requirements and prevent the network from overfitting, the full connection layer of 512 neurons is adopted to replace the 9 th full connection layer, the full connection layer containing 256 neurons is adopted to replace the 10 th full connection layer, the full connection layer containing 10 neurons is adopted to replace the 11 th full connection layer, the output of the SoftMax classifier in the deep neural network training module 13 corresponds to 10 labels, and the network structure of the SoftMax classifier is shown in fig. 4.
In the technical scheme, the model loss function and the model loss function adopted by the optimization algorithm module are cross entropy loss functions, and regularization terms are added to reduce the risk of overfitting;
the model loss function and optimization algorithm module adopts an optimization algorithm which is an adam (adaptive motion estimation) optimization algorithm, is an optimization algorithm capable of replacing the traditional random to replace the random gradient descent, and can iteratively update the weight of the neural network based on training data. Adam estimates and dynamically adjusts the learning rate of each parameter by utilizing a first-order matrix and a second-order matrix of the gradient, and has the main advantages that after bias correction, the learning rate of each iteration has a range, so that the parameters do not have large oscillation but relatively stable change;
the deep network model selection module adopts a Relief algorithm. The power grid has multidimensional variables, a large amount of data can be generated during power grid operation at each moment, the variable data contain a large amount of meaningless interference data, effective dimensionality reduction of the power grid data is necessary, and a Relief algorithm is selected in consideration of the fact that a variable feature extraction method is beneficial to implementation of a classification algorithm.
In the technical scheme, the power grid event warning information merging and sorting module 3 comprises a multi-channel data access module, a multi-thread data processing module, a fault information integration module and a multi-screen linkage and visualization large-screen pushing and displaying module;
the multi-channel data access module accesses data of various channels by adopting various data access modes; the multithreading data processing module uses a multithreading processing technology to improve the processing speed and efficiency of fault information; the fault information integration module integrates basic fault information, important section information and multi-form fault information of a user-defined monitoring object, which are acquired based on a smart grid dispatching technology support platform; aiming at the operating characteristics of an extra-high voltage direct current receiving end power grid, the multi-screen linkage and visualization large-screen pushing and displaying module integrates power grid operation key information such as frequency coordination control, dynamic ACE (adaptive communication index), key section monitoring and the like after a fault and pushes the key information to a scheduling mechanism within a fault influence range.
The power grid event warning information merging and sorting module 3 is mainly used for merging and sorting power grid information after an extra-high voltage alternating current/direct current single/bipolar locking fault. Under the condition of high-power transmission of extra-high voltage alternating current and direct current, if a blocking fault occurs, severe impact can be caused to a power grid at a transmitting end and a receiving end, a power grid stability control device at the transmitting end is subjected to a series of influences such as a power cutting machine, a frequency of the power grid at the receiving end is greatly dropped, a section is overloaded, voltage fluctuation and tide is greatly transferred, and a dispatcher is required to quickly and accurately deal with the fault. The merging and integrated display technology of the alarm key information is particularly important for improving the fault handling efficiency.
In the technical scheme, aiming at the current situation of fault information data access, in order to improve the data reliability and the access efficiency, the data access is carried out in a mode of file, message bus, real-time library reading and wide area event service.
The multiple data access modes are file interaction, message bus, real-time library reading and wide area event service; the data adopting the file interactive data access mode comprises thunder and lightning, mountain fire and meteorological information, the data adopting the message bus data access mode comprises protection data and WAMS data, and the data adopting the real-time library read data access mode comprises relevant measurement data of the fault equipment.
Aiming at thunder and lightning, mountain fire and meteorological information, because data are stored in a meteorological system and other comprehensive data networks, the data are acquired in a file interaction acquisition mode in consideration of small data volume and data cross-region transmission. And collecting the protection data and the WAMS data in a II area message bus mode. The warning information of the SCADA monitoring system is interacted in real time through an I area message bus, and the related measurement data of the fault equipment is acquired through a real-time library interface through multiple incidence relations among stations, graphs and equipment and ID information.
In the technical scheme, the fault information integration is to integrate the basic fault information, the important section information and the fault information of the customized monitoring object in multiple forms. For example, a user can customize information of a sending-end power grid unit safety control device cutting unit, receiving-end power grid system frequency, key sections before and after a fault, key voltage, key power plant tide situation and the like. After actual failure, the failure data processing service performs automatic data extraction and information integration according to failure equipment and user-defined configuration conditions and pushes a human-computer interface.
A system-level fault analysis method based on a power flow change map comprises the following steps:
firstly, a key equipment fault sample set is generated by adopting a deep learning module based on a power flow change map, and a fault power flow change map corresponding to the key equipment fault sample set is formed, as shown in figure 2,
secondly, the deep learning module based on the power flow change map constructs a fault diagnosis model by using an artificial intelligence algorithm, the fault power flow change map is used as the input of the model, the power grid fault corresponding to the fault power flow change map is used as the output, and the model is trained through a large number of samples to generate a power grid fault diagnosis model, as shown in fig. 3;
thirdly, the power grid system level fault sensing module periodically acquires power grid section data based on the power grid fault diagnosis model, compares the power grid section data of adjacent periods to generate a power flow change map, inputs the power flow change map into the power grid fault diagnosis model, judges whether a diagnosis result of equipment fault exists or not, and issues a power grid system level alarm if the diagnosis result is that the power grid has the fault;
and finally, the power grid event alarm information merging and sorting module is used for summarizing the steady-state transient operation information of the power grid based on the power grid system level alarm issued by the power grid system level fault sensing module as a trigger and merging the steady-state transient operation information as the associated detailed information of the system level alarm.
Details not described in this specification are within the skill of the art that are well known to those skilled in the art. The computer environment that this patent software realized recommends CPU3.2GHz, memory 16GB, hard disk 250GB or higher configuration.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.