Fault processing method and device for smart power grid
Through fault prediction based on neural network models of ring and radial topologies, the problem of fault propagation paths and impact gaps under different topologies in smart grids is solved, and the accuracy of fault diagnosis and the efficiency of grid emergency response are improved.
Patent Information
- Application Number
- CN202411102333.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-12
- Publication Date
- 2024-10-29
AI Technical Summary
Smart grid fails to effectively consider fault propagation paths and impact gaps under different topologies during fault handling, resulting in low processing efficiency and lack of targeted fault diagnosis solutions.
By obtaining real-time data from the power grid, specific neural network models are used to predict faults in ring and radial topologies. Training is performed based on the topology, fault propagation paths and fault types, and a targeted fault prediction model is constructed to achieve accurate diagnosis.
It improves the accuracy of fault prediction and the efficiency of power grid emergency response, reduces the difficulty of model processing, and achieves accurate prediction of fault types and probability of power grid failure within the scope of natural disasters.
Smart Images

Figure CN118868079A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of power grid safety technology, and in particular to a fault handling method and device for a smart grid. Background Art
[0002] With the rapid development of energy internet, smart grid, as its core component, is gaining increasing attention. By integrating advanced communication technology, sensor technology, cyber-physical system, data mining and machine learning algorithms, smart grid can monitor the operation status of the power grid in real time, predict potential failures, and make quick disposal decisions, thereby ensuring the stable, safe and efficient operation of the power system. However, in actual applications, the power grid faces the threat of various natural disasters, such as typhoons, heavy rains, earthquakes, etc. These natural disasters may not only cause damage and failure of power grid equipment, but also cause serious consequences such as power supply interruption.
[0003] In smart grids, the topology of the grid has an important impact on the propagation of faults. Ring topology and radial topology are two common grid topologies, which have different fault propagation characteristics and handling requirements. Due to the existence of multiple closed loops in the ring topology, a fault may propagate through multiple paths when it occurs, affecting multiple nodes and devices, and having a large impact range; while the radial topology presents a tree-like branch, and the fault usually propagates along a single path, only affecting nodes and devices on one line, with a relatively limited impact range. Ring and radial topologies have different electrical characteristics and fault propagation mechanisms, making later fault finding and maintenance more difficult and reducing efficiency. If the same model is used, it is necessary to build a feature set that can handle these complex differences, which may cause the feature space to become large and complex, increase the difficulty of model learning, and reduce the accuracy of result prediction.
[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0005] The embodiments of the present invention provide a fault handling method and device for a smart grid, so as to at least solve the technical problem that although the grid topology structure is taken into account in the fault prediction / diagnosis of the grid in the related technology, the fault propagation path and the impact difference between different topologies when a fault occurs are relatively large, and no targeted fault diagnosis solutions are given for different topologies, resulting in low processing efficiency.
[0006] According to one aspect of an embodiment of the present invention, a fault handling method for a smart grid is provided, comprising: acquiring real-time grid data of a target grid, wherein the target grid is a grid that needs to be diagnosed for faults, and the real-time grid data is data generated during the operation of the target grid; inputting the real-time grid data into a grid fault prediction model, so as to determine the network topology type of the target grid according to the real-time grid data using the grid fault prediction model, wherein the grid fault prediction model comprises a first network structure and a second network structure, the first network structure being used to predict grid faults of a ring topology structure, and the second network model being used to predict grid faults of a radial topology structure; selecting a target fault prediction model in the grid fault prediction model according to the network topology structure, wherein the target fault prediction model is one of the following: the first network structure, the second network structure; processing the real-time grid data using the target fault prediction model to obtain a fault prediction result of the target fault prediction model; and obtaining a fault diagnosis result of the target grid according to the fault prediction result.
[0007] Optionally, before inputting the real-time data of the power grid into the power grid fault prediction model to determine the network topology type of the target power grid based on the real-time data of the power grid using the power grid fault prediction model, the fault handling method of the smart grid also includes: obtaining historical fault information of the sample power grid based on the topology type of the sample power grid, wherein the historical fault information includes: fault time, fault location, fault cause, fault impact range, fault recovery time, equipment status of fault-related equipment, weather conditions and operation records, and the topology types include: ring topology and radial topology; determining the historical fault propagation path of the historical faults of the sample power grid based on the historical fault information; determining the historical fault type corresponding to the historical fault information; training the topology type, the historical fault propagation path and the historical fault type to obtain the power grid fault prediction model.
[0008] Optionally, historical fault information of the sample power grid is obtained according to the topological structure type of the sample power grid, including: after determining the sample power grid, using a power grid topology visualization tool to graphically display the power grid nodes and power grid lines of the sample power grid to obtain a sample power grid structure of the sample power grid; and obtaining the topological structure type of the sample power grid according to structural characteristics of the sample power grid structure.
[0009] Optionally, acquiring historical fault information of the sample power grid according to the topological structure type of the sample power grid includes: collecting fault information of the sample power grid under each of the topological structure types to obtain the historical fault information of the sample power grid; wherein, collecting fault information of the sample power grid under each of the topological structure types to obtain the historical fault information of the sample power grid includes: collecting the fault time of the sample power grid for analyzing the fault frequency and fault period of the sample power grid; collecting the fault location of the sample power grid for determining the location information of the fault in the sample power grid; collecting the equipment status information related to the fault in the sample power grid to obtain the equipment status of the fault-related equipment; collecting the fault recovery time in the sample power grid to obtain the time required from the occurrence of the fault to the restoration of power supply in the sample power grid.
[0010] Optionally, determining a historical fault propagation path of a historical fault of the sample power grid according to the historical fault information includes: locating the fault in the sample power grid according to the fault position in the historical fault information to obtain historical real-time operation data in the historical fault information; simulating a fault on the sample power grid according to the historical real-time operation data to obtain fault simulation information; analyzing the fault simulation information to obtain information on the scope and degree of impact of a fault on the sample power grid; and obtaining the historical fault propagation path of the sample power grid according to the scope and degree of impact information.
[0011] Optionally, determining the historical fault type corresponding to the historical fault information includes: obtaining the historical fault type by adjusting the change amplitude of the sample power grid real-time data in the historical fault information, wherein the historical fault type includes: short circuit fault, overload fault and open circuit fault.
[0012] Optionally, the topology structure type, the historical fault propagation path and the historical fault type are trained to obtain the power grid fault prediction model, including: obtaining influence feature one of the historical fault propagation path, obtaining influence feature two of the historical fault type; obtaining influence feature three of the historical fault propagation path; and training the topology structure type, the historical fault propagation path, the historical fault type, the influence feature one, the influence feature two and the influence feature three according to the influence feature one, the influence feature two and the influence feature three to obtain the power grid fault prediction model.
[0013] Optionally, obtaining a fault diagnosis result of the target power grid according to the fault prediction result includes: determining a fault occurrence probability of the target power grid according to the fault prediction result; and determining that a fault occurs in the target power grid when the fault occurrence probability is greater than a fault occurrence probability threshold.
[0014] According to another aspect of an embodiment of the present invention, a fault handling device for a smart grid is provided, comprising: a first acquisition module, used to acquire real-time grid data of a target grid, wherein the target grid is a grid that needs to be diagnosed for faults, and the real-time grid data is data generated during the operation of the target grid; a first determination module, used to input the real-time grid data into a grid fault prediction model, so as to determine the network topology type of the target grid according to the real-time grid data using the grid fault prediction model, wherein the grid fault prediction model comprises a first network structure and a second network structure, the first network structure being used to predict faults of a grid with a ring topology structure, and the second network model being used to predict faults of a grid with a radial topology structure; a selection module, used to select a target fault prediction model in the grid fault prediction model according to the network topology structure, wherein the target fault prediction model is one of the following: the first network structure and the second network structure; a first processing module, used to process the real-time grid data using the target fault prediction model to obtain a fault prediction result of the target fault prediction model; and a second acquisition module, used to obtain a fault diagnosis result of the target grid according to the fault prediction result.
[0015] Optionally, the fault handling device of the smart grid also includes: a third acquisition module, which is used to obtain historical fault information of the sample power grid according to the topology type of the sample power grid before inputting the real-time data of the power grid into the power grid fault prediction model to determine the network topology type of the target power grid according to the real-time data of the power grid using the power grid fault prediction model, wherein the historical fault information includes: fault time, fault location, fault cause, fault impact range, fault recovery time, equipment status of fault-related equipment, weather conditions and operation records, and the topology types include: ring topology and radial topology; a second determination module, which is used to determine the historical fault propagation path of the historical faults of the sample power grid according to the historical fault information; a third determination module, which is used to determine the historical fault type corresponding to the historical fault information; a training module, which is used to train the topology type, the historical fault propagation path and the historical fault type to obtain the power grid fault prediction model.
[0016] Optionally, the third acquisition module includes: a presentation unit, used to, after determining the sample power grid, use a power grid topology visualization tool to graphically present the power grid nodes and power grid lines of the sample power grid to obtain a sample power grid structure of the sample power grid; and a first acquisition unit, used to obtain the topological structure type of the sample power grid according to the structural characteristics of the sample power grid structure.
[0017] Optionally, the third acquisition module includes: a first acquisition unit, used to collect fault information of the sample power grid under each of the topology types to obtain the historical fault information of the sample power grid; wherein, the fault information of the sample power grid under each of the topology types is collected to obtain the historical fault information of the sample power grid, including: a first acquisition subunit, used to collect the fault time of the sample power grid, used to analyze the fault frequency and fault period of the sample power grid; a second acquisition subunit, used to collect the fault location of the sample power grid, used to determine the location information of the fault in the sample power grid; a third acquisition subunit, used to collect the equipment status information related to the fault in the sample power grid, so as to obtain the equipment status of the fault-related equipment; a fourth acquisition subunit, used to collect the fault recovery time in the sample power grid, so as to obtain the time required from the occurrence of the fault to the restoration of power supply in the sample power grid.
[0018] Optionally, the second determination module includes: a positioning unit, used to locate the fault in the sample power grid according to the fault position in the historical fault information to obtain the historical real-time operation data in the historical fault information; a fault simulation unit, used to simulate the fault of the sample power grid according to the historical real-time operation data to obtain fault simulation information; an analysis unit, used to analyze the fault simulation information to obtain the impact range information and impact degree information of the sample power grid after the fault occurs in the sample power grid; a second acquisition unit, used to obtain the historical fault propagation path of the sample power grid according to the impact range information and the impact degree information.
[0019] Optionally, the third determination module includes: a third acquisition unit, used to obtain the historical fault type by analyzing the change amplitude of the sample power grid real-time data in the historical fault information, wherein the historical fault type includes: short circuit fault, overload fault and open circuit fault.
[0020] Optionally, the training module includes: a fourth acquisition unit, used to obtain the impact feature one of the historical fault propagation path; a fifth acquisition unit, used to obtain the impact feature two of the historical fault type; a sixth acquisition unit, used to obtain the impact feature three of the historical fault propagation path; and a training unit, used to train the topology structure type, the historical fault propagation path, the historical fault type, the impact feature one, the impact feature two and the impact feature three according to the impact feature one, the impact feature two and the impact feature three to obtain the power grid fault prediction model.
[0021] Optionally, the second acquisition module includes: a first determination unit, used to determine the fault probability of the target power grid according to the fault prediction result; and a second determination unit, used to determine that a fault occurs in the target power grid when the fault probability is greater than a fault probability threshold.
[0022] According to another aspect of an embodiment of the present invention, a smart grid fault handling system is further provided. The smart grid fault handling system uses any one of the smart grid fault handling methods described above.
[0023] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium includes a stored program, wherein the program executes any one of the above-mentioned smart grid fault handling methods.
[0024] According to another aspect of an embodiment of the present invention, a processor is further provided, wherein the processor is used to run a program, wherein the program executes any one of the above-mentioned smart grid fault handling methods when running.
[0025] According to another aspect of an embodiment of the present invention, a computer program product is provided, comprising computer instructions, wherein when the computer instructions are executed by a processor, any one of the above-mentioned smart grid fault handling methods is executed.
[0026] In an embodiment of the present invention, real-time grid data of a target grid is obtained, wherein the target grid is a grid that needs to be diagnosed for faults, and the real-time grid data is data generated during the operation of the target grid; the real-time grid data is input into a grid fault prediction model, so as to use the grid fault prediction model to determine the network topology type of the target grid according to the real-time grid data, wherein the grid fault prediction model includes a first network structure and a second network structure, the first network structure is used to predict grid faults of a ring topology structure, and the second network model is used to predict grid faults of a radial topology structure; in the grid fault prediction model, a target fault prediction model is selected according to the network topology, wherein the target fault prediction model is one of the following: a first network structure, a second network structure; the real-time grid data is processed using the target fault prediction model to obtain a fault prediction result of the target fault prediction model; and according to the fault prediction result The fault diagnosis result of the target power grid is obtained. Through the technical solution provided by the present invention, the first neural network model and the second neural network model are constructed to predict the power grid faults under different topological structures, and corresponding handling decisions are provided based on the predicted faults. At the same time, each model uses the topological structure, fault propagation path, fault type and corresponding specific numerical values as a training set, so that the prediction result is more targeted, thereby achieving the technical effect of accurately predicting the fault type and the probability of power grid failure within the scope of natural disasters, improving the emergency response efficiency of the power grid, improving the prediction accuracy and hidden danger investigation capabilities, and thus solving the technical problem that although the power grid topological structure is taken into account in the fault prediction / diagnosis of the power grid in the related technology, the fault propagation path and the impact difference of different topological structures when a fault occurs are not considered, and no targeted fault diagnosis scheme is given for different topological structures, resulting in low processing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0028] Figure 1 It is a hardware structure block diagram of a mobile terminal of a smart grid fault handling method according to an embodiment of the present invention;
[0029] Figure 2 is a flow chart of a fault handling method for a smart grid according to an embodiment of the present invention;
[0030] Figure 3 is a flow chart of an optional smart grid fault handling method according to an embodiment of the present invention;
[0031] Figure 4is a flow chart of a fault handling system for a smart grid according to an embodiment of the present invention;
[0032] Figure 5 is a schematic diagram of a fault handling device for a smart grid according to an embodiment of the present invention. DETAILED DESCRIPTION
[0033] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0034] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0035] As introduced in the background technology, although the related art considers the topology of the power grid in the fault prediction / diagnosis of the power grid, it does not consider that the fault propagation paths and impacts of different topologies are quite different when a fault occurs, and does not provide targeted fault diagnosis solutions for different topologies, thus resulting in low processing efficiency. In view of the above defects, a fault handling method and device for a smart grid, a fault handling system for a smart grid, a computer-readable storage medium, a processor, and a computer program product are provided in the embodiments of the present invention.
[0036] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention.
[0037] The method embodiments provided in the embodiments of the present invention can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, Figure 1 FIG. 1 is a hardware structure block diagram of a mobile terminal of a smart grid fault handling method according to an embodiment of the present invention. Figure 1 As shown, the mobile terminal may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the mobile terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the mobile terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.
[0038] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the fault handling method of the smart grid in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, the above method is implemented. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories can be connected to the mobile terminal via a network. Examples of the above-mentioned network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof. The transmission device 106 is used to receive or send data via a network. The above-mentioned specific examples of the network may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0039] According to an embodiment of the present invention, a method embodiment of a fault handling method for a smart grid is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0040] Figure 2 is a flow chart of a fault handling method for a smart grid according to an embodiment of the present invention. Figure 2 As shown, the method comprises the following steps:
[0041] Step S202, acquiring real-time grid data of a target grid, wherein the target grid is a grid that needs to be diagnosed for a fault, and the real-time grid data is data generated during the operation of the target grid.
[0042] Optionally, the above-mentioned real-time power grid data may include but is not limited to: power grid load, voltage, frequency, current and other data.
[0043] In this embodiment, data generated during the operation of the power grid that needs to be diagnosed for faults (ie, the target power grid) can be obtained to help monitor the operation status of the power grid and facilitate subsequent data analysis.
[0044] Step S204, inputting the real-time data of the power grid into the power grid fault prediction model, so as to use the power grid fault prediction model to determine the network topology type of the target power grid according to the real-time data of the power grid, wherein the power grid fault prediction model includes a first network structure and a second network structure, the first network structure is used to predict the fault of the power grid with a ring topology structure, and the second network model is used to predict the fault of the power grid with a radial topology structure.
[0045] Optionally, the above network topology types may include: tree topology, star topology, ring topology, radial topology, etc. In the embodiment of the present invention, the ring topology and radial topology are taken as examples for description.
[0046] In this embodiment, inputting real-time grid data into a grid fault prediction model can improve fault prediction and handling capabilities. By determining the network topology of the target grid based on the real-time grid data, the equipment and lines in the grid can be more accurately identified, thereby providing more accurate information and guidance for fault handling.
[0047] Step S206, selecting a target fault prediction model in the power grid fault prediction model according to the network topology structure, wherein the target fault prediction model is one of the following: a first network structure, a second network structure.
[0048] In this embodiment, the corresponding target fault prediction model can be selected according to the network topology structure. If the network topology structure is a ring topology structure, the target fault prediction model is the first neural network model (i.e., the first network structure); if the network topology structure is a radial topology structure, the target fault prediction model is the second neural network model (i.e., the second network structure), which can more accurately predict the fault conditions of the power grid equipment.
[0049] Step S208, using the target fault prediction model to process the real-time data of the power grid to obtain the fault prediction result of the target fault prediction model.
[0050] In this embodiment, by processing the real-time data of the power grid using the target fault prediction model, potential faults can be discovered in advance, thereby improving the reliability and safety of power grid equipment.
[0051] Step S210, obtaining a fault diagnosis result of the target power grid according to the fault prediction result.
[0052] It should be noted that the above fault prediction results are based on data analysis and model prediction of possible power grid failures.
[0053] In this embodiment, fault diagnosis of the target power grid can be performed based on the fault prediction results, that is, the specific fault type, location and cause of the power grid can be determined, so that corresponding treatment and repair measures can be taken using the fault diagnosis results of the target power grid.
[0054] As can be seen from the above, in an embodiment of the present invention, real-time grid data of a target grid is obtained, wherein the target grid is a grid that needs to be diagnosed for faults, and the real-time grid data is data generated during the operation of the target grid; the real-time grid data is input into a grid fault prediction model, so as to use the grid fault prediction model to determine the network topology type of the target grid according to the real-time grid data, wherein the grid fault prediction model includes a first network structure and a second network structure, the first network structure is used to predict faults of a grid with a ring topology structure, and the second network model is used to predict faults of a grid with a radial topology structure; in the grid fault prediction model, a target fault prediction model is selected according to the network topology, wherein the target fault prediction model is one of the following: a first network structure, a second network structure; The invention discloses a network structure; uses a target fault prediction model to process real-time data of a power grid to obtain a fault prediction result of the target fault prediction model; obtains a fault diagnosis result of a target power grid according to the fault prediction result. The technical scheme provided by the present invention achieves the goal of predicting power grid faults under different topological structures by constructing a first neural network model and a second neural network model, and providing corresponding disposal decisions based on the predicted faults. At the same time, each model uses the topological structure, fault propagation path, fault type and corresponding specific numerical values as a training set, so that the prediction result is more targeted, thereby achieving an accurate prediction of the fault type and the probability of power grid failure within the scope of natural disasters, improving the technical effect of improving the efficiency of power grid emergency response, and improving the prediction accuracy and hidden danger investigation capabilities.
[0055] The above-mentioned technical solution provided by the embodiment of the present invention solves the technical problem that although the power grid topology structure is taken into account in the fault prediction / diagnosis of the power grid in the related technology, the fault propagation path and the impact difference between different topologies when a fault occurs are relatively large, and no targeted fault diagnosis solutions are given for different topologies, resulting in low processing efficiency.
[0056] According to the above embodiment of the present invention, before the real-time data of the power grid is input into the power grid fault prediction model to determine the network topology type of the target power grid according to the real-time data of the power grid by using the power grid fault prediction model, the fault handling method of the smart grid also includes: obtaining historical fault information of the sample power grid according to the topology type of the sample power grid, wherein the historical fault information includes: fault time, fault location, fault cause, fault impact range, fault recovery time, equipment status of fault-related equipment, weather conditions and operation records, and the topology types include: ring topology and radial topology; determining the historical fault propagation path of the historical faults of the sample power grid according to the historical fault information; determining the historical fault type corresponding to the historical fault information; training the topology type, historical fault propagation path and historical fault type to obtain a power grid fault prediction model.
[0057] It should be noted that the above-mentioned fault time records the exact time when the fault occurs, the above-mentioned fault cause is obtained by analyzing the specific cause of the fault, and the above-mentioned fault impact range determines the impact range of the fault on the grid operation according to the grid fault.
[0058] Optionally, the above-mentioned fault location may include: affected lines, equipment and nodes; the equipment status of the above-mentioned fault-related equipment may include: equipment health status, historical maintenance records and operating parameters, etc.; the above-mentioned fault causes may include: equipment aging, external interference and operational errors, etc.; the above-mentioned fault impact scope may include: affected users, areas and the degree of power damage, etc.
[0059] In this embodiment, historical fault information of the sample power grid can be obtained according to the topological structure type of the sample power grid, and the historical fault propagation path of the historical faults of the sample power grid and the historical fault type corresponding to the historical fault information can be determined according to the historical fault information. The topological structure type, historical fault propagation path and historical fault type are trained to obtain a power grid fault prediction model.
[0060] According to the above-mentioned embodiment of the present invention, historical fault information of a sample power grid is obtained according to the topological structure type of the sample power grid, including: after determining the sample power grid, using a power grid topology visualization tool to graphically display the power grid nodes and power grid lines of the sample power grid to obtain a sample power grid structure of the sample power grid; and obtaining the topological structure type of the sample power grid according to the structural characteristics of the sample power grid structure.
[0061] In this embodiment, after determining the sample power grid, a power grid topology visualization tool can be used to display the power grid nodes and lines in a graphical manner, so that the structure of the power grid can be directly observed to determine whether the power grid is a ring topology or a radial topology.
[0062] According to the above embodiment of the present invention, historical fault information of the sample power grid is obtained according to the topological structure type of the sample power grid, including: collecting fault information of the sample power grid under each topological structure type to obtain historical fault information of the sample power grid; wherein, collecting fault information of the sample power grid under each topological structure type to obtain historical fault information of the sample power grid includes: collecting the fault time of the sample power grid for analyzing the fault frequency and fault cycle of the sample power grid; collecting the fault location of the sample power grid for determining the location information of the fault in the sample power grid; collecting the equipment status information related to the fault in the sample power grid to obtain the equipment status of the fault-related equipment; collecting the fault recovery time in the sample power grid to obtain the time required from the occurrence of the fault to the restoration of power supply in the sample power grid.
[0063] In this embodiment, historical fault information of each power grid topology can be collected, which can help identify problems in the power grid, discover the patterns and causes of faults, and thus formulate more effective response measures.
[0064] According to the above-mentioned embodiment of the present invention, determining the historical fault propagation path of the historical fault of the sample power grid based on the historical fault information includes: locating the fault in the sample power grid based on the fault position in the historical fault information to obtain the historical real-time operation data in the historical fault information; simulating the fault of the sample power grid based on the historical real-time operation data to obtain fault simulation information; analyzing the fault simulation information to obtain the impact range information and impact degree information on the sample power grid after the fault occurs in the sample power grid; and obtaining the historical fault propagation path of the sample power grid based on the impact range information and impact degree information.
[0065] In this embodiment, the power grid fault can be located according to the fault position in the historical fault information, the real-time operation data in the historical power grid fault information can be obtained, the power grid fault can be simulated based on the real-time operation data, the power grid state after the simulated fault is analyzed to obtain the post-fault power grid data to analyze the scope and degree of the impact of the fault on the power grid, and the fault propagation path can be analyzed according to the impact range of the power grid.
[0066] Optionally, the influencing features of the fault propagation path may include: path length, number of nodes passed by the fault, device type on the path, device status on the path, and device fault records on the path.
[0067] It should be noted that the longer the above path length is, the greater the impact range of the fault is. The path length of the ring topology is greater than that of the radial topology. By counting the number of nodes passed on the fault path, the degree of spread of the fault in the power grid can be reflected, and the types of equipment involved in the propagation path can be identified. Different types of equipment may have different effects on the propagation and impact of the fault. The equipment status information on the propagation path is analyzed to determine whether the equipment has potential risks. By checking the historical fault records on the propagation path, it is analyzed whether the equipment is prone to failure. The path length, the number of nodes passed by the fault, the type of equipment on the path, the equipment status on the path, and the equipment fault records on the path are directly related to the fault propagation path. Training the subsequent model based on these parameters can better capture the occurrence and propagation laws of faults, which is helpful to discover potential fault points in advance and take corresponding preventive measures.
[0068] Optionally, the above-mentioned equipment status information may include: normal equipment status, abnormal equipment status and historical maintenance records.
[0069] According to the above embodiment of the present invention, determining the historical fault type corresponding to the historical fault information includes: obtaining the historical fault type by adjusting the change amplitude of the sample power grid real-time data in the historical fault information, wherein the historical fault type includes: short circuit fault, overload fault and open circuit fault.
[0070] In this embodiment, the real-time data of the power grid in the historical fault information can be used to mainly collect the change range of the real-time data when the fault occurs, and the fault type can be determined by analyzing the real-time data.
[0071] It should be noted that when the equipment current of the faulty node suddenly increases and instantly reaches the current peak or the current waveform is exponential or quasi-exponential, the voltage and power also change accordingly, indicating that a short circuit fault has occurred in the equipment at the current node of the power grid, and different fault types lead to different durations of short circuit faults. For example, arc discharge caused by insulation damage leads to arc short circuit. Since the arc takes a certain amount of time to extinguish, the fault lasts longer. Different types of equipment are affected to varying degrees by short circuit faults. For example, key equipment such as transformers and generators may be subjected to huge current and voltage shocks during a short circuit, thereby being seriously damaged. Protection equipment such as switchgear and fuses may play an isolation and protection role during a short circuit, reducing damage to other equipment. For this reason, current peak value, current change rate, short circuit fault duration, and the type of equipment affected by the short circuit are the primary factors to be considered when a short circuit fault occurs in the power grid. The equipment load rate means that the equipment is close to or exceeds its capacity limit, which increases the risk of equipment failure. The overload rate is manifested as equipment overheating, insulation damage, loose electrical connections, etc. If the overload fault lasts for a short time, the equipment may only be temporarily affected and can continue to operate after returning to normal. However, if the overload fault lasts for a long time, the equipment may suffer serious damage. Therefore, the equipment overload rate and overload fault duration are the primary factors to be considered when an overload fault occurs in the power grid.
[0072] In addition, when a circuit breaker occurs, the voltage usually changes due to the circuit interruption. The rate of voltage change may vary depending on the location and nature of the circuit breaker. If the circuit breaker occurs on the power supply side, the voltage may drop suddenly; if the circuit breaker occurs on the load side, the voltage may rise suddenly. Therefore, the direction and magnitude of the voltage change rate can provide clues about the location and type of the circuit breaker. When a circuit breaker occurs, the current is suddenly interrupted, resulting in an increase in the frequency of current interruptions. This interruption is instantaneous until the fault is repaired or bypassed. Therefore, the increase in the frequency of current interruptions is a clear sign of a circuit breaker. Circuit breakers may occur anywhere in the power grid, including transmission lines, distribution equipment, switch cabinets, etc. The location of the equipment fault is crucial to the impact and identification of the circuit breaker. For example, a transmission line break may cause a large-scale power outage, while a break inside a distribution equipment may only affect a local area.
[0073] According to the above embodiment of the present invention, the topology structure type, the historical fault propagation path and the historical fault type are trained to obtain a power grid fault prediction model, including: obtaining the influence feature one of the historical fault propagation path, obtaining the influence feature two of the historical fault type; obtaining the influence feature three of the historical fault propagation path; according to the influence feature one, the influence feature two and the influence feature three, the topology structure type, the historical fault propagation path, the historical fault type, the influence feature one, the influence feature two and the influence feature three are trained to obtain the power grid fault prediction model.
[0074] In this embodiment, the neural network model can be trained according to the topology type, historical fault propagation path, and historical fault type to obtain a power grid fault prediction model. By analyzing the topology type, historical fault propagation path, and historical fault type, the neural network model can learn and predict possible future fault conditions.
[0075] Figure 3 is a flow chart of an optional smart grid fault handling method according to an embodiment of the present invention, such as Figure 3 As shown, after the neural network model is established, the neural network model is trained according to the topological structure type, the historical fault propagation path, and the historical fault type to obtain a trained neural network model.
[0076] The specific steps are as follows: 1) Obtain a training set for the neural network model. 2) Input the training set into the neural network model for training to obtain a trained neural network model.
[0077] Optionally, the above-mentioned neural network model may include: a first neural network model and a second neural network model, wherein the first neural network model is used to predict power grid faults in a ring topology structure, and the second neural network model is used to predict power grid faults in a radial topology structure.
[0078] It should be noted that the above training set is a data set consisting of topological structure types, historical fault propagation paths, and historical fault types.
[0079] Optionally, the above training set may include: a first training set and a second training set, wherein the first training set is used to train the first neural network model, and the second training set is used to train the second neural network model.
[0080] Optionally, the first training set may include: a ring topology structure, influencing characteristics of the fault propagation path under the ring topology structure (i.e., influencing characteristics one), influencing characteristics corresponding to the fault type (i.e., influencing characteristics two), influencing characteristics of the fault propagation path (i.e., influencing characteristics three), and influencing characteristics of the specific values of the influencing characteristics corresponding to the fault type, as well as the specific values of the influencing characteristics corresponding to the fault type; the second training set may include: a radial topology structure, influencing characteristics of the fault propagation path under the radial topology structure, influencing characteristics corresponding to the fault type, influencing characteristics of the fault propagation path, and the specific values of the influencing characteristics corresponding to the fault type, as well as the specific values of the influencing characteristics corresponding to the fault type.
[0081] It should be noted that the above-mentioned neural network model is a convolutional neural network model. In order to receive the fault data of the power grid, the input layer has 3 input layers, and the number of neurons in each input layer is 2-5. Each neuron corresponds to an input feature. The three input layers include topological structure, fault propagation path, and fault type. For example, the input layer of the topological structure has 2 neurons, specifically a ring topological structure and a radial topological structure embedded in a graph. The input layer of the fault propagation path has 5 neurons, specifically the path length, the number of nodes passed by the fault, the type of equipment on the path, the status of the equipment on the path, and the equipment fault record on the path. The input layer of the fault type has 3 neurons, specifically short circuit fault, overload fault, and open circuit fault; the output layer is used to output the power grid state and provide a disposal decision based on the power grid state. The number of layers is 1, and the number of neurons is 2. Each neuron corresponds to the power grid state or disposal decision, and predicts the future state of the power grid and the corresponding disposal decision. The objective function is a sigmoid function, and the output layer outputs the fault probability, which is calculated by the sigmoid activation function, because the sigmoid function can map any real number between 0 and 1, thereby representing the probability.
[0082] According to the above embodiment of the present invention, a fault diagnosis result of the target power grid is obtained according to the fault prediction result, including: determining the fault occurrence probability of the target power grid according to the fault prediction result; and determining that a fault occurs in the target power grid when the fault occurrence probability is greater than a fault occurrence probability threshold.
[0083] It should be noted that the above-mentioned fault occurrence probability threshold is a fault threshold first set for the model output value when a power grid fault occurs. The probability value ranges from 0 to 1. The closer the output probability value is to 1, the power grid will definitely fail. The closer the output probability value is to 0, the probability of the power grid is unlikely to fail. 0.5 is used as the intermediate probability value as a benchmark to determine whether the possibility of the event is high enough. In the embodiment of the present invention, the threshold of the fault occurrence probability value is set to 0, making the decision process more intuitive and simple. In fact, the optimal threshold may not always be 0.5. It depends on factors such as the specific application scenario, the characteristics of the data set, and the cost of false alarms and missed alarms. Among them, the threshold is not unique. During actual use, the operator can adjust it at any time according to the power grid status.
[0084] Specifically, in fault prediction, if the model predicts that the probability of a device failing is greater than 0.5, it is generally considered that the device has failed. Conversely, if the probability is less than 0.5, it is considered that the probability of the device failing is low.
[0085] In this embodiment, the fault probability of the target power grid can be determined based on the fault prediction result, and whether the target power grid has a fault can be judged by the fault probability threshold. By setting the fault probability threshold, the timeliness and accuracy of power grid faults can be improved.
[0086] like Figure 3 As shown, the specific steps of the embodiment of the present invention are as follows: 1) determine the topological structure of the power grid; 2) based on the topological structure of the power grid, obtain the historical fault information of the power grid; 3) determine the fault propagation path of the historical fault according to the historical fault information; 4) determine the fault type according to the historical fault information; 5) establish a neural network model; 6) train the neural network model according to the topological structure, fault propagation path, and fault type to obtain a trained neural network model, wherein the loss value of the loss function is continuously updated and iterated until the error between the predicted value and the actual value predicted by the neural network model is minimized, representing that the training of the neural network model is completed; 7) based on the topological structure, input the real-time data of the power grid into the trained neural network model, and output the prediction result.
[0087] Figure 4 is a flow chart of a fault handling system for a smart grid according to an embodiment of the present invention. Figure 4As shown, the system includes the following seven modules: 1) a topology determination module: used to determine the topology; 2) a historical fault information determination module: connected to the topology determination module, used to obtain the historical fault information of the power grid; 3) a fault propagation path determination module: connected to the historical fault information determination module, used to determine the fault propagation path of the historical fault; 4) a fault type determination module: connected to the historical fault information determination module, used to determine the fault type; 5) a neural network model: connected to the topology determination module, used to predict the topological structure of the power grid fault; 6) a training module: connected to the neural network model, used to train the neural network model; 7) a prediction result output module: connected to the training module, used to input the real-time data of the power grid into the trained neural network model to output the prediction result.
[0088] Since the above-mentioned embodiment of the present invention comprehensively predicts power grid faults based on topological structure, fault propagation path and fault type, the faults are prioritized according to the predicted fault probability values and based on topological structure, fault propagation path and fault type, and the faults arranged in front should receive faster handling decisions, wherein the priority of the handling decision is based on a comprehensive consideration of multiple factors such as the impact of the fault on the operation of the power grid, the difficulty of repair and resource requirements, so as to ensure that the fault can be handled quickly and effectively when it occurs, thereby minimizing the loss.
[0089] In addition, by calculating the path length on the fault propagation path and the number of nodes passed by the fault, the propagation path with the longest path length and the largest number of nodes is selected as the critical path. Since the propagation speed of the fault on the propagation path with the longest path length and the largest number of nodes is faster and the impact range is larger, the faulty equipment on the critical path should be given a higher handling decision priority. For some more serious fault types (short circuits), which will cause serious damage to the power grid, such types should be given a higher handling decision priority.
[0090] Therefore, the technical solution provided by the above embodiment of the present invention solves the following problems: 1) Ring and radial topological structures have different electrical characteristics and fault propagation mechanisms, which makes it difficult to find faults and maintain them later; 2) It does not take into account that the fault propagation paths and impacts of different topological structures are greatly different when a fault occurs; 3) No powerful diagnostic solution is given for different topological structures, and the processing efficiency is low. At the same time, it has the following beneficial effects: 1) It realizes the accurate prediction of the fault type and the probability of power grid failure within the scope of natural disasters, and is equipped with corresponding disposal decision priorities, which plays a key command role in the research and development of digital power grid equipment fault disposal and intelligent decision-making, and greatly improves the hidden danger investigation capability and emergency response efficiency of the power grid; 2) It reduces the amount of data processed by the model and reduces the processing difficulty of the model; 3) The model trained with different training sets makes the prediction results more accurate and improves the prediction accuracy.
[0091] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0092] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of each embodiment of the present application.
[0093] According to an embodiment of the present invention, there is also provided a smart grid fault handling device for implementing the above-mentioned smart grid fault handling method. Figure 5 is a schematic diagram of a fault handling device for a smart grid according to an embodiment of the present invention. Figure 5 As shown, the device includes: a first acquisition module 501, a first determination module 503, a selection module 505, a first processing module 507 and a second acquisition module 509. The risk analysis device in the operation process of the power grid is described below.
[0094] The first acquisition module 501 is used to acquire real-time grid data of a target grid, wherein the target grid is a grid that needs to be diagnosed for a fault, and the real-time grid data is data generated during the operation of the target grid.
[0095] The first determination module 503 is used to input the real-time data of the power grid into the power grid fault prediction model, so as to use the power grid fault prediction model to determine the network topology type of the target power grid according to the real-time data of the power grid, wherein the power grid fault prediction model includes a first network structure and a second network structure, the first network structure is used to predict the fault of the power grid with a ring topology structure, and the second network model is used to predict the fault of the power grid with a radial topology structure.
[0096] The selection module 505 is used to select a target fault prediction model in the power grid fault prediction model according to the network topology structure, wherein the target fault prediction model is one of the following: a first network structure and a second network structure.
[0097] The first processing module 507 is used to process the real-time data of the power grid using the target fault prediction model to obtain the fault prediction result of the target fault prediction model.
[0098] The second acquisition module 509 is used to obtain the fault diagnosis result of the target power grid according to the fault prediction result.
[0099] It should be noted here that the above-mentioned first acquisition module 501, first determination module 503, selection module 505, first processing module 507 and second acquisition module 509 correspond to steps S202 to S210 in the above-mentioned embodiments, and the five modules are the same as the instances and application scenarios implemented by the corresponding steps, but are not limited to the contents disclosed in the above-mentioned embodiments.
[0100] As can be seen from the above, in the scheme recorded in the above-mentioned embodiment of the present invention, the first acquisition module can be used to acquire the real-time grid data of the target grid, wherein the target grid is a grid that needs to be diagnosed for faults, and the real-time grid data is data generated during the operation of the target grid; then the first determination module can be used to input the real-time grid data into the grid fault prediction model, so as to use the grid fault prediction model to determine the network topology type of the target grid according to the real-time grid data, wherein the grid fault prediction model includes a first network structure and a second network structure, the first network structure is used to predict grid faults of a ring topology structure, and the second network model is used to predict grid faults of a radial topology structure; then the selection module can be used to select the target fault prediction model in the grid fault prediction model according to the network topology structure, wherein the target fault prediction model is based on The invention discloses one of the following: a first network structure and a second network structure; secondly, the first processing module can be used to process the real-time data of the power grid using the target fault prediction model to obtain the fault prediction result of the target fault prediction model; finally, the second acquisition module can be used to obtain the fault diagnosis result of the target power grid according to the fault prediction result, thereby achieving the goal of predicting power grid faults under different topological structures by constructing the first neural network model and the second neural network model, and providing corresponding disposal decisions based on the predicted faults. At the same time, each model uses the topological structure, fault propagation path, fault type and the corresponding specific numerical value as a training set, so that the prediction result is more targeted, thereby realizing the accurate prediction of the fault type and the probability of power grid failure within the scope of natural disasters, improving the technical effect of improving the efficiency of power grid emergency response, and improving the prediction accuracy and hidden danger investigation ability.
[0101] The above-mentioned technical solution provided by the embodiment of the present invention solves the technical problem that although the power grid topology structure is taken into account in the fault prediction / diagnosis of the power grid in the related technology, the fault propagation path and the impact difference between different topologies when a fault occurs are relatively large, and no targeted fault diagnosis solutions are given for different topologies, resulting in low processing efficiency.
[0102] In an optional embodiment, the fault handling device of the smart grid also includes: a third acquisition module, which is used to obtain historical fault information of the sample power grid according to the topology type of the sample power grid before inputting the real-time data of the power grid into the power grid fault prediction model to determine the network topology type of the target power grid according to the real-time data of the power grid using the power grid fault prediction model, wherein the historical fault information includes: fault time, fault location, fault cause, fault impact range, fault recovery time, equipment status of fault-related equipment, weather conditions and operation records, and the topology types include: ring topology and radial topology; a second determination module, which is used to determine the historical fault propagation path of the historical fault of the sample power grid according to the historical fault information; a third determination module, which is used to determine the historical fault type corresponding to the historical fault information; a training module, which is used to train the topology type, historical fault propagation path and historical fault type to obtain a power grid fault prediction model.
[0103] In an optional embodiment, the third acquisition module includes: a presentation unit, which is used to display the grid nodes and grid lines of the sample grid in a graphical manner using a grid topology visualization tool after determining the sample grid, so as to obtain a sample grid structure of the sample grid; and a first acquisition unit, which is used to obtain the topological structure type of the sample grid according to the structural characteristics of the sample grid structure.
[0104] In an optional embodiment, the third acquisition module includes: a first acquisition unit, which is used to collect fault information of the sample power grid under each topology type to obtain historical fault information of the sample power grid; wherein, the fault information of the sample power grid under each topology type is collected to obtain historical fault information of the sample power grid, including: a first acquisition sub-unit, which is used to collect the fault time of the sample power grid, which is used to analyze the fault frequency and fault cycle of the sample power grid; a second acquisition sub-unit, which is used to collect the fault location of the sample power grid, which is used to determine the location information of the fault in the sample power grid; a third acquisition sub-unit, which is used to collect the equipment status information related to the fault in the sample power grid, so as to obtain the equipment status of the fault-related equipment; a fourth acquisition sub-unit, which is used to collect the fault recovery time in the sample power grid, so as to obtain the time required from the occurrence of the fault to the restoration of power supply in the sample power grid.
[0105] In an optional embodiment, the second determination module includes: a positioning unit, which is used to locate the fault in the sample power grid according to the fault position in the historical fault information to obtain the historical real-time operation data in the historical fault information; a fault simulation unit, which is used to simulate the fault of the sample power grid according to the historical real-time operation data to obtain fault simulation information; an analysis unit, which is used to analyze the fault simulation information to obtain the impact range information and impact degree information of the sample power grid after the fault occurs; a second acquisition unit, which is used to obtain the historical fault propagation path of the sample power grid according to the impact range information and impact degree information.
[0106] In an optional embodiment, the third determination module includes: a third acquisition unit, which is used to obtain historical fault types by analyzing the change amplitude of sample power grid real-time data in historical fault information, wherein the historical fault types include: short circuit fault, overload fault and open circuit fault.
[0107] In an optional embodiment, the training module includes: a fourth acquisition unit, used to obtain the impact feature one of the historical fault propagation path; a fifth acquisition unit, used to obtain the impact feature two of the historical fault type; a sixth acquisition unit, used to obtain the impact feature three of the historical fault propagation path; a training unit, used to train the topology structure type, historical fault propagation path, historical fault type, impact feature one, impact feature two and impact feature three according to the impact feature one, impact feature two and impact feature three to obtain a power grid fault prediction model.
[0108] In an optional embodiment, the second acquisition module includes: a first determination unit, used to determine the fault probability of the target power grid according to the fault prediction result; and a second determination unit, used to determine that a fault occurs in the target power grid when the fault probability is greater than a fault probability threshold.
[0109] According to another aspect of an embodiment of the present invention, a smart grid fault handling system is further provided. The smart grid fault handling system uses any one of the above-mentioned smart grid fault handling methods.
[0110] According to another aspect of an embodiment of the present invention, a processor is further provided, and the processor is used to run a program, wherein when the program is run, any one of the above-mentioned smart grid fault handling methods is executed.
[0111] According to another aspect of an embodiment of the present invention, a computer program product is provided, including computer instructions, and when the computer instructions are executed by a processor, any one of the above-mentioned smart grid fault handling methods is executed.
[0112] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium including a stored program, wherein the program executes any one of the above-mentioned smart grid fault handling methods.
[0113] Optionally, in this embodiment, the computer-readable storage medium may be located in any one of the computer terminals in a computer terminal group in a computer network, or in any one of the communication devices in a communication device group.
[0114] Optionally, in this embodiment, the computer-readable storage medium is configured to store program codes for executing the following steps: obtaining real-time grid data of a target grid, wherein the target grid is a grid that needs to be diagnosed for faults, and the real-time grid data is data generated during the operation of the target grid; inputting the real-time grid data into a grid fault prediction model, so as to use the grid fault prediction model to determine the network topology type of the target grid according to the real-time grid data, wherein the grid fault prediction model includes a first network structure and a second network structure, the first network structure is used to predict grid faults of a ring topology structure, and the second network model is used to predict grid faults of a radial topology structure; selecting a target fault prediction model in the grid fault prediction model according to the network topology structure, wherein the target fault prediction model is one of the following: a first network structure, a second network structure; processing the real-time grid data using the target fault prediction model to obtain a fault prediction result of the target fault prediction model; and obtaining a fault diagnosis result of the target grid according to the fault prediction result.
[0115] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for executing the following steps: obtaining historical fault information of the sample power grid according to the topology type of the sample power grid, wherein the historical fault information includes: fault time, fault location, fault cause, fault impact range, fault recovery time, equipment status of fault-related equipment, weather conditions and operation records, and the topology types include: ring topology and radial topology; determining the historical fault propagation path of the historical faults of the sample power grid according to the historical fault information; determining the historical fault type corresponding to the historical fault information; training the topology type, historical fault propagation path and historical fault type to obtain a power grid fault prediction model.
[0116] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for executing the following steps: after determining the sample power grid, using a power grid topology visualization tool to graphically display the power grid nodes and power grid lines of the sample power grid to obtain a sample power grid structure of the sample power grid; and obtaining a topological structure type of the sample power grid based on structural characteristics of the sample power grid structure.
[0117] Optionally, in this embodiment, the computer-readable storage medium is configured to store program codes for executing the following steps: collecting fault information of sample power grids under each topology type to obtain historical fault information of the sample power grid; wherein, collecting fault information of sample power grids under each topology type to obtain historical fault information of the sample power grid includes: collecting the fault time of the sample power grid to analyze the fault frequency and fault cycle of the sample power grid; collecting the fault location of the sample power grid to determine the location information of the fault in the sample power grid; collecting the equipment status information related to the fault in the sample power grid to obtain the equipment status of the fault-related equipment; collecting the fault recovery time in the sample power grid to obtain the time required from the occurrence of the fault to the restoration of power supply in the sample power grid.
[0118] Optionally, in this embodiment, the computer-readable storage medium is configured to store program codes for executing the following steps: locating the fault in the sample power grid according to the fault location in the historical fault information to obtain the historical real-time operation data in the historical fault information; simulating the fault of the sample power grid according to the historical real-time operation data to obtain fault simulation information; analyzing the fault simulation information to obtain the impact range information and impact degree information on the sample power grid after the fault occurs in the sample power grid; and obtaining the historical fault propagation path of the sample power grid according to the impact range information and impact degree information.
[0119] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for executing the following steps: obtaining historical fault types by adjusting the change amplitude of sample power grid real-time data in historical fault information, wherein the historical fault types include short circuit fault, overload fault and open circuit fault.
[0120] Optionally, in this embodiment, the computer-readable storage medium is configured to store program codes for executing the following steps: obtaining an influence feature one of a historical fault propagation path; obtaining an influence feature two of a historical fault type; obtaining an influence feature three of a historical fault propagation path; and training the topology structure type, historical fault propagation path, historical fault type, influence feature one, influence feature two, and influence feature three according to influence feature one, influence feature two, and influence feature three to obtain a power grid fault prediction model.
[0121] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for executing the following steps: determining a fault probability of the target power grid according to a fault prediction result; and determining that a fault occurs in the target power grid when the fault probability is greater than a fault probability threshold.
[0122] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0123] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0124] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0125] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0126] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0127] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0128] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A fault handling method for a smart grid, characterized in that: include: Acquire real-time grid data of a target grid, wherein the target grid is a grid that needs to be diagnosed for a fault, and the real-time grid data is data generated during the operation of the target grid; The real-time data of the power grid is input into a power grid fault prediction model, so as to use the power grid fault prediction model to determine the network topology type of the target power grid according to the real-time data of the power grid, wherein the power grid fault prediction model includes a first network structure and a second network structure, the first network structure is used to predict the fault of the power grid of the ring topology structure, and the second network model is used to predict the fault of the power grid of the radial topology structure; In the power grid fault prediction model, a target fault prediction model is selected according to the network topology structure, wherein the target fault prediction model is one of the following: the first network structure, the second network structure; Processing the real-time data of the power grid using the target fault prediction model to obtain a fault prediction result of the target fault prediction model; A fault diagnosis result of the target power grid is obtained according to the fault prediction result.
2. The fault handling method of the smart grid according to claim 1, characterized in that: Before inputting the real-time power grid data into a power grid fault prediction model to use the power grid fault prediction model to determine the network topology type of the target power grid according to the real-time power grid data, the method further includes: Acquire historical fault information of the sample power grid according to the topological structure type of the sample power grid, wherein the historical fault information includes: fault time, fault location, fault cause, fault impact range, fault recovery time, equipment status of fault-related equipment, weather conditions and operation records, and the topological structure types include: ring topology and radial topology; Determining a historical fault propagation path of a historical fault of the sample power grid according to the historical fault information; Determine the historical fault type corresponding to the historical fault information; The topology structure type, the historical fault propagation path and the historical fault type are trained to obtain the power grid fault prediction model.
3. The fault handling method of the smart grid according to claim 2, characterized in that: Acquiring historical fault information of the sample power grid according to the topological structure type of the sample power grid includes: After determining the sample power grid, using a power grid topology visualization tool to graphically display the power grid nodes and power grid lines of the sample power grid to obtain a sample power grid structure of the sample power grid; The topological structure type of the sample power grid is obtained according to the structural characteristics of the sample power grid structure.
4. The fault handling method of the smart grid according to claim 2, characterized in that: Acquiring historical fault information of the sample power grid according to the topological structure type of the sample power grid, including: collecting fault information of the sample power grid under each topological structure type to obtain the historical fault information of the sample power grid; Wherein, collecting fault information of the sample power grid under each of the topological structure types to obtain the historical fault information of the sample power grid includes: Collecting the fault time of the sample power grid for analyzing the fault frequency and fault cycle of the sample power grid; Collecting the fault location of the sample power grid to determine the location information of the fault in the sample power grid; Collecting the device status information related to the fault in the sample power grid to obtain the device status of the fault-related device; The fault recovery time in the sample power grid is collected to obtain the time required from the occurrence of the fault to the restoration of power supply in the sample power grid.
5. The fault handling method of the smart grid according to claim 2, characterized in that: Determining a historical fault propagation path of a historical fault of the sample power grid according to the historical fault information includes: Locating the fault in the sample power grid according to the fault location in the historical fault information to obtain the historical real-time operation data in the historical fault information; Performing fault simulation on the sample power grid according to the historical real-time operation data to obtain fault simulation information; Analyze the fault simulation information to obtain information on the scope and degree of impact of a fault on the sample power grid; The historical fault propagation path of the sample power grid is obtained according to the impact range information and the impact degree information.
6. The fault handling method of the smart grid according to claim 2, characterized in that: Determining the historical fault type corresponding to the historical fault information includes: The historical fault type is obtained by analyzing the change amplitude of the sample power grid real-time data in the historical fault information, wherein the historical fault type includes: short circuit fault, overload fault and open circuit fault.
7. The fault handling method of the smart grid according to claim 2, characterized in that: The topology type, the historical fault propagation path, and the historical fault type are trained to obtain the power grid fault prediction model, including: Obtain the impact characteristics of the historical fault propagation path 1. Obtaining a second impact feature of the historical fault type; Obtaining the third impact feature of the historical fault propagation path; According to the impact feature 1, the impact feature 2 and the impact feature 3 The topology type, the historical fault propagation path, the historical fault type, the impact feature one, the impact feature two, and the impact feature three are trained to obtain the power grid fault prediction model.
8. The fault handling method of the smart grid according to claim 1, characterized in that: Obtaining a fault diagnosis result of the target power grid according to the fault prediction result, including: Determining a fault occurrence probability of the target power grid according to the fault prediction result; When the fault occurrence probability is greater than a fault occurrence probability threshold, it is determined that a fault occurs in the target power grid.
9. A fault handling device for a smart grid, characterized in that: include: A first acquisition module is used to acquire real-time grid data of a target grid, wherein the target grid is a grid that needs to be diagnosed for a fault, and the real-time grid data is data generated during the operation of the target grid; A first determination module is used to input the real-time data of the power grid into a power grid fault prediction model, so as to use the power grid fault prediction model to determine the network topology type of the target power grid according to the real-time data of the power grid, wherein the power grid fault prediction model includes a first network structure and a second network structure, the first network structure is used to predict the fault of the power grid of the ring topology structure, and the second network model is used to predict the fault of the power grid of the radial topology structure; A selection module is used to select a target fault prediction model in the power grid fault prediction model according to the network topology structure, wherein the target fault prediction model is one of the following: the first network structure, Second network structure; A first processing module, used to process the real-time data of the power grid using the target fault prediction model to obtain a fault prediction result of the target fault prediction model; The second acquisition module is used to obtain the fault diagnosis result of the target power grid according to the fault prediction result.
10. A computer program product comprising computer instructions, characterized in that: When the computer instructions are executed by the processor, the fault handling method for the smart grid described in any one of claims 1 to 8 is performed.
Citation Information
Cited By
Fault analysis method for automatic testing equipment of vehicle machine
CN119537079A
Fault Analysis Method for Vehicle Computer Automation Test Equipment
CN119537079B
Intelligent fault detection method and system for network switch
CN120075078A
Power grid information safety integrated operation monitoring method
CN120810952A
