Power grid lightning protection method and device, terminal equipment and storage medium
By acquiring and processing lightning data, generating a lightning probability curve, and combining lightning protection configuration data for targeted protection, the problem of inaccurate calculation of lightning probability in the existing technology is solved, and the power grid lightning protection effect and grid operation safety are improved.
Patent Information
- Application Number
- CN202411795584.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-09
- Publication Date
- 2025-04-08
AI Technical Summary
The existing power grid lightning protection methods rely on empirical formulas to calculate the lightning probability, resulting in a large gap between the calculation results and the actual lightning probability, affecting the protection effect.
By obtaining lightning data, regional classification and time interval screening are performed, a lightning probability curve is generated, and targeted lightning protection is carried out in combination with lightning protection configuration data.
It improves the lightning protection effect of regional power grids and enhances the safety of power grid operations.
Smart Images

Figure CN119781090A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power grid lightning protection, and in particular to a power grid lightning protection method, device, terminal equipment and storage medium. Background Art
[0002] Lightning failure is one of the main causes of power grid failure. At present, the protection of power grid against lightning is mainly based on the calculation of lightning probability. The accuracy of lightning probability calculation directly affects the lightning protection effect of power grid. At present, lightning probability is mainly calculated based on empirical formulas. However, since the empirical formula is mainly based on the probability of lightning occurrence and has a high generalization, when performing lightning analysis in a specific range, it is limited by the influence of spatial and temporal factors, resulting in a large gap between the calculated lightning probability and the actual lightning probability. When used as reference data for lightning protection of power grid, the protection effect is poor. Summary of the invention
[0003] The embodiments of the present invention provide a power grid lightning protection method, device, terminal equipment and storage medium, which can improve the lightning protection effect of a regional power grid and thus improve the safety of power grid operation.
[0004] An embodiment of the present invention provides a power grid lightning protection method, comprising:
[0005] Acquire a number of lightning data; wherein the lightning data includes: lightning geographical coordinates, lightning current amplitude and lightning time;
[0006] Classify each lightning data into regions according to its geographical coordinates, and obtain a number of lightning data in each region;
[0007] For each area, according to the lightning moments of a number of lightning data in the current area, a number of lightning data in a preset time interval are selected as a number of selected lightning data;
[0008] Generate a lightning probability curve for the current area within a preset time interval based on all selected lightning data and a number of lightning data in the current area;
[0009] Obtain lightning protection configuration data for each area, and perform lightning protection for each area based on the lightning protection configuration data and each lightning probability curve.
[0010] Furthermore, generating a lightning probability curve of the current area within a preset time interval according to all selected lightning data and a plurality of lightning data in the current area includes:
[0011] Obtaining a number of preset lightning current amplitude division thresholds from a preset lightning current amplitude interval;
[0012] Calculate the lightning cumulative probability value of the current area under each preset lightning current amplitude division threshold value within a preset time interval according to all selected lightning data, several preset lightning current amplitude division threshold values and several lightning data in the current area;
[0013] A lightning probability curve is generated according to each lightning cumulative probability value and each preset lightning current amplitude division threshold.
[0014] Further, the calculation of the lightning cumulative probability value of the current area under each preset lightning current amplitude division threshold value within a preset time interval according to all selected lightning data, several preset lightning current amplitude division threshold values and several lightning data in the current area includes:
[0015] Dividing the lightning current amplitude of the selected lightning data according to each preset lightning current amplitude division threshold value, and obtaining the number of each selected lightning data corresponding to each preset lightning current amplitude division threshold value;
[0016] According to the number of each selected lightning data corresponding to each preset lightning current amplitude division threshold and the number of lightning data in the current area, the lightning cumulative probability value of the current area under each preset lightning current amplitude division threshold within the preset time interval is calculated.
[0017] Furthermore, the generating of the lightning probability curve by dividing the threshold value according to each lightning cumulative probability value and each preset lightning current amplitude value includes:
[0018] Generate a number of lightning coordinate points according to each lightning cumulative probability value and each preset lightning current amplitude division threshold value; wherein each lightning coordinate point has the lightning cumulative probability value as the ordinate and the preset lightning current amplitude division threshold value as the abscissa;
[0019] Fit each lightning coordinate point according to the dichotomy method to obtain the initial lightning probability curve;
[0020] The initial lightning probability curve is calibrated with each lightning coordinate point to obtain the fitting error;
[0021] The initial lightning probability curve is adjusted according to the fitting error to obtain the lightning probability curve.
[0022] Based on the above method embodiment, the present invention provides a corresponding device embodiment;
[0023] An embodiment of the present invention provides a power grid lightning protection device, including: a data acquisition module, a data time-space processing module, a lightning probability curve generation module and a lightning protection module;
[0024] The data acquisition module is used to acquire a number of lightning data; wherein the lightning data includes: lightning geographical coordinates, lightning current amplitude and lightning time;
[0025] The data spatiotemporal processing module is used to classify each lightning data into regions according to the lightning geographic coordinates of each lightning data, and obtain a number of lightning data in each region; for each region, according to the lightning moments of the lightning data in the current region, select a number of lightning data in a preset time interval as a number of selected lightning data;
[0026] The lightning probability curve generating module is used to generate a lightning probability curve of the current area within a preset time interval according to all selected lightning data and a number of lightning data in the current area;
[0027] The lightning protection module is used to obtain lightning protection configuration data of each area, and perform lightning protection on each area according to the lightning protection configuration data of each area and each lightning probability curve.
[0028] Furthermore, generating a lightning probability curve of the current area within a preset time interval according to all selected lightning data and a plurality of lightning data in the current area includes:
[0029] Obtaining a number of preset lightning current amplitude division thresholds from a preset lightning current amplitude interval;
[0030] Calculate the lightning cumulative probability value of the current area under each preset lightning current amplitude division threshold value within a preset time interval according to all selected lightning data, several preset lightning current amplitude division threshold values and several lightning data in the current area;
[0031] A lightning probability curve is generated according to each lightning cumulative probability value and each preset lightning current amplitude division threshold.
[0032] Further, the calculation of the lightning cumulative probability value of the current area under each preset lightning current amplitude division threshold value within a preset time interval according to all selected lightning data, several preset lightning current amplitude division threshold values and several lightning data in the current area includes:
[0033] Dividing the lightning current amplitude of the selected lightning data according to each preset lightning current amplitude division threshold value, and obtaining the number of each selected lightning data corresponding to each preset lightning current amplitude division threshold value;
[0034] According to the number of each selected lightning data corresponding to each preset lightning current amplitude division threshold and the number of lightning data in the current area, the lightning cumulative probability value of the current area under each preset lightning current amplitude division threshold within the preset time interval is calculated.
[0035] Furthermore, the generating of the lightning probability curve by dividing the threshold value according to each lightning cumulative probability value and each preset lightning current amplitude value includes:
[0036] Generate a number of lightning coordinate points according to each lightning cumulative probability value and each preset lightning current amplitude division threshold value; wherein each lightning coordinate point has the lightning cumulative probability value as the ordinate and the preset lightning current amplitude division threshold value as the abscissa;
[0037] Fit each lightning coordinate point according to the dichotomy method to obtain the initial lightning probability curve;
[0038] The initial lightning probability curve is calibrated with each lightning coordinate point to obtain the fitting error;
[0039] The initial lightning probability curve is adjusted according to the fitting error to obtain the lightning probability curve.
[0040] Another embodiment of the present invention provides a terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and when the processor executes the computer program, a power grid lightning protection method described in the above-mentioned embodiment of the invention is implemented.
[0041] Another embodiment of the present invention provides a storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the storage medium is located is controlled to execute a power grid lightning protection method described in the above-mentioned embodiment of the invention.
[0042] The following beneficial effects are achieved by implementing the present invention:
[0043] The present invention provides a method, device, terminal equipment and storage medium for lightning protection of power grid. The method obtains a plurality of lightning data including lightning geographic coordinates, lightning current amplitude and lightning time, and then classifies each lightning data into regions according to the lightning geographic coordinates of each lightning data. On the basis of the regional classification, the lightning data in a preset time interval are taken as a plurality of selected lightning data, and a lightning probability curve of the current region in the preset time interval is generated according to all the selected lightning data and a plurality of lightning data in the current region; the lightning probability curve of each region in the preset time interval is generated by considering the region associated with the spatial factor and the time associated with the time factor, thereby improving the applicability of the lightning probability curve; then the lightning protection configuration data of each region is obtained in a targeted manner, and lightning protection is performed on each region in a targeted manner in combination with the regional lightning protection configuration data and the lightning probability curve, thereby improving the lightning protection effect of the regional power grid, and thereby improving the safety of power grid operation. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 It is a flow chart of a power grid lightning protection method provided by an embodiment of the present invention.
[0045] Figure 2 It is a schematic diagram of a lightning probability curve provided by an embodiment of the present invention.
[0046] Figure 3 It is a schematic structural diagram of a power grid lightning protection device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0047] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions 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 are within the scope of protection of the present invention.
[0048] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0049] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by technicians in the technical field to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" in the specification and claims of this application and the above-mentioned figure descriptions and any variations thereof are intended to cover non-exclusive inclusions.
[0050] In the description of the embodiments of the present application, the technical terms "first", "second", etc. are only used to distinguish different objects, and cannot be understood as indicating or implying relative importance or implicitly indicating the number, specific order or primary and secondary relationship of the indicated technical features. In the description of the embodiments of the present application, the meaning of "multiple" is more than two, unless otherwise clearly and specifically defined.
[0051] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0052] In the description of the embodiments of the present application, the term "and / or" is only a description of the association relationship of the associated objects, indicating that there may be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0053] In the description of the embodiments of the present application, the term "multiple" refers to more than two (including two). Similarly, "multiple groups" refers to more than two groups (including two groups), and "multiple pieces" refers to more than two pieces (including two pieces).
[0054] In the description of the embodiments of the present application, unless otherwise clearly specified and limited, technical terms such as "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, and it can be the internal connection of two elements or the interaction relationship between two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the embodiments of the present application can be understood according to the specific circumstances.
[0055] like Figure 1 As shown, a lightning protection method for a power grid provided by an embodiment of the present invention includes:
[0056] Step S1: obtaining a number of lightning data; wherein the lightning data includes: lightning geographic coordinates, lightning current amplitude and lightning time;
[0057] Step S2: classifying each lightning data into regions according to the lightning geographic coordinates of each lightning data, and obtaining a number of lightning data in each region;
[0058] Step S3: for each area, according to the lightning moments of the lightning data in the current area, select a number of lightning data in a preset time interval as a number of selected lightning data;
[0059] Step S4: generating a lightning probability curve of the current area within a preset time interval according to all selected lightning data and a number of lightning data in the current area;
[0060] Step S5: obtaining lightning protection configuration data of each area, and performing lightning protection on each area according to the lightning protection configuration data of each area and each lightning probability curve.
[0061] For step S1, a number of lightning data are obtained from the lightning system, and the obtained lightning data include lightning geographic coordinates, lightning current amplitude and lightning time. The storage format of the obtained lightning data can be expressed as [lightning geographic coordinates, lightning time, lightning current amplitude].
[0062] For step S2, each lightning data is regionally classified according to the lightning geographic coordinates in all the lightning data obtained, a number of lightning data under each region are obtained, and the regionally classified lightning data are stored in the format of [region, lightning geographic coordinates, lightning time, lightning current amplitude].
[0063] Exemplarily, the acquired lightning data include the lightning data of City A from January 1, 2021 to January 1, 2024 and the lightning data of City B from January 1, 2021 to January 1, 2024. The obtained lightning data after regional classification can be expressed as [City A, longitude and latitude (22, 112), January 1, 2021 15:35, 30kA].
[0064] Preferably, in order to reduce the error caused by regional classification, lightning data within a preset time interval of each region can be directly obtained from the lightning system. For example, lightning data from January 1, 2021 to January 1, 2024 in City A is directly obtained, and the format is specified as [City A, longitude and latitude (22, 112), January 1, 2021 15:35, 30kA] when exported.
[0065] For step S3, for each region, according to the lightning moments of all lightning data in the current region, a number of lightning data in a preset time interval are selected as a number of selected lightning data. The preset time interval is the time interval required for research. Preferably, in order to simplify the process of obtaining the selected lightning data, when the lightning system obtains data, the lightning data of each region in the preset time interval can be directly exported according to the preset time interval.
[0066] For step S4, a lightning probability curve of the current area within a preset time interval is generated according to all selected lightning data and a number of lightning data in the current area.
[0067] In a preferred embodiment, the method of generating a lightning probability curve for the current area within a preset time interval based on all selected lightning data and a number of lightning data in the current area includes: obtaining a number of preset lightning current amplitude division thresholds from a preset lightning current amplitude interval; calculating the lightning cumulative probability value of the current area under each preset lightning current amplitude division threshold within the preset time interval based on all selected lightning data, a number of preset lightning current amplitude division thresholds and a number of lightning data in the current area; and generating a lightning probability curve based on each lightning cumulative probability value and each preset lightning current amplitude division threshold.
[0068] Specifically, a plurality of preset lightning current amplitude division thresholds are obtained from a preset lightning current amplitude interval. In the present invention, the preset lightning current amplitude interval is [0, 120], and the unit is kA. All integer multiples of 10 are taken from the interval to obtain preset lightning current amplitude division thresholds, which are: 0kA, 10kA, 20kA, 30kA, 40kA, 50kA, 60kA, 70kA, 80kA, 90kA, 100kA, 110kA and 120kA. Each preset lightning current amplitude division threshold is marked with a serial number in sequence.
[0069] In a preferred embodiment, the method calculates the lightning cumulative probability value of the current area under each preset lightning current amplitude division threshold value within a preset time interval based on all selected lightning data, several preset lightning current amplitude division threshold values and several lightning data in the current area, including: dividing the lightning current amplitude of the selected lightning data according to each preset lightning current amplitude division threshold value to obtain the number of each selected lightning data corresponding to each preset lightning current amplitude division threshold value; calculating the lightning cumulative probability value of the current area under each preset lightning current amplitude division threshold value within the preset time interval according to the number of each selected lightning data corresponding to each preset lightning current amplitude division threshold value and the number of lightning data in the current area.
[0070] Specifically, the lightning current amplitude of the selected lightning data is divided according to the preset lightning current amplitude division thresholds 0kA, 10kA, 20kA, 30kA, 40kA, 50kA, 60kA, 70kA, 80kA, 90kA, 100kA, 110kA and 120kA, and the total number of selected lightning data greater than or equal to 0, the total number of selected lightning data greater than or equal to 10kA, the total number of selected lightning data greater than or equal to 20kA, and the total number of selected lightning data greater than or equal to 30kA are determined. Total number of data, total number of selected lightning data greater than or equal to 40kA, total number of selected lightning data greater than or equal to 50kA, total number of selected lightning data greater than or equal to 60kA, total number of selected lightning data greater than or equal to 70kA, total number of selected lightning data greater than or equal to 80kA, total number of selected lightning data greater than or equal to 90kA, total number of selected lightning data greater than or equal to 100kA, total number of selected lightning data greater than or equal to 110kA, total number of selected lightning data greater than or equal to 120. The number of each selected lightning data corresponding to the preset lightning current amplitude division thresholds 0kA, 10kA, 20kA, 30kA, 40kA, 50kA, 60kA, 70kA, 80kA, 90kA, 100kA, 110kA and 120kA is obtained. For each preset lightning current amplitude division threshold, the lightning cumulative probability value is calculated according to the number of corresponding selected lightning data and the number of all lightning data in the preset time interval of the current area. The calculation formula of the lightning cumulative probability value is as follows: Lightning cumulative probability X(I a) = number of lightning currents with lightning current amplitude greater than or equal to I a ÷ number of lightning data in the preset time interval of the current area × 100%. Wherein, I a is the preset lightning current amplitude division threshold. Exemplarily, the total number of lightning data in the current area within the preset time interval is 41306, and the number of lightning greater than or equal to 20kA is 21565, then it can be calculated that the cumulative X(20kA) = 52.208%. The results of calculating the lightning cumulative probability corresponding to the preset lightning current amplitude division thresholds 0kA, 10kA, 20kA, 30kA, 40kA, 50kA, 60kA, 70kA, 80kA, 90kA, 100kA, 110kA and 120kA are shown in the following table:
[0071]
[0072] In a preferred embodiment, the generating of the lightning probability curve according to each lightning cumulative probability value and each preset lightning current amplitude division threshold value comprises: generating a plurality of lightning coordinate points according to each lightning cumulative probability value and each preset lightning current amplitude division threshold value; wherein each lightning coordinate point has the lightning cumulative probability value as the ordinate and the preset lightning current amplitude division threshold value as the abscissa; fitting each lightning coordinate point according to the dichotomy method to obtain an initial lightning probability curve; checking the initial lightning probability curve with each lightning coordinate point to obtain a fitting error; and adjusting the initial lightning probability curve according to the fitting error to obtain the lightning probability curve.
[0073] Specifically, a number of lightning coordinate points are generated according to each lightning cumulative probability value, serial number label and each preset lightning current amplitude division threshold. The lightning coordinate points obtained using the above table data are: (0, 100.000%), (10, 95.461%), (20, 52.208%), (30, 27.904%), (40, 14.591%), (50, 8.623%), (60, 5.224%), (70, 3.430%), (80, 2.193%), (90, 1.353%), (100, 0.855%), (110, 0.482%) and (120, 0.199%).
[0074] Based on the dichotomy method, with the lightning cumulative probability as the vertical axis and the preset lightning current amplitude division threshold as the horizontal axis, the obtained lightning coordinate points are fitted to obtain the initial lightning probability curve. The fitted initial lightning probability curve is checked by substituting the preset lightning current amplitude division threshold of each lightning coordinate point into the initial lightning probability curve to obtain each lightning cumulative probability value output by the initial lightning probability curve. The errors of each lightning cumulative probability value output by the initial lightning probability curve and the lightning cumulative probability value of each lightning coordinate point are compared to determine the output error of the initial lightning probability curve. The precision of the fitting curve constant is adjusted according to the output error until the error is less than 2% to obtain the lightning probability curve. For example, Figure 2 Shown is a schematic diagram of a lightning probability curve in a certain area provided by the present invention.
[0075] For step S5, the lightning protection configuration data of each area is obtained, for example, the lightning protection configuration of the regional distribution network line includes the lightning protection performance of the arrester of the regional distribution line and the lightning resistance performance of the regional distribution line, and lightning protection is performed on each area according to the lightning protection configuration data of each area and each lightning probability curve. For example, the current carrying capacity of the arrester in a certain area is I a = 22kA, and the cumulative probability value of lightning greater than or equal to 22kA in the area obtained by combining the lightning probability curve is 50.64%, and the probability that the distribution network line can prevent lightning is 49.36%. The two obtained probabilities are provided to the distribution network operation and maintenance personnel in the area, so that the distribution network operation and maintenance personnel can evaluate the lightning protection effect of the arrester in the area, and whether the regional arrester needs to be replaced or maintained to improve the lightning protection effect of the area.
[0076] Based on the above method embodiment, the present invention provides a corresponding device embodiment.
[0077] like Figure 3 As shown, an embodiment of the present invention provides a power grid lightning protection device, including: a data acquisition module, a data time-space processing module, a lightning probability curve generation module and a lightning protection module;
[0078] The data acquisition module is used to acquire a number of lightning data; wherein the lightning data includes: lightning geographical coordinates, lightning current amplitude and lightning time;
[0079] The data spatiotemporal processing module is used to classify each lightning data into regions according to the lightning geographic coordinates of each lightning data, and obtain a number of lightning data in each region; for each region, according to the lightning moments of the lightning data in the current region, select a number of lightning data in a preset time interval as a number of selected lightning data;
[0080] The lightning probability curve generating module is used to generate a lightning probability curve of the current area within a preset time interval according to all selected lightning data and a number of lightning data in the current area;
[0081] The lightning protection module is used to obtain lightning protection configuration data of each area, and perform lightning protection on each area according to the lightning protection configuration data of each area and each lightning probability curve.
[0082] In a preferred embodiment, generating a lightning probability curve of the current area within a preset time interval according to all selected lightning data and a plurality of lightning data in the current area includes:
[0083] Obtaining a number of preset lightning current amplitude division thresholds from a preset lightning current amplitude interval;
[0084] Calculate the lightning cumulative probability value of the current area under each preset lightning current amplitude division threshold value within a preset time interval according to all selected lightning data, several preset lightning current amplitude division threshold values and several lightning data in the current area;
[0085] A lightning probability curve is generated according to each lightning cumulative probability value and each preset lightning current amplitude division threshold.
[0086] In a preferred embodiment, the calculation of the lightning cumulative probability value of the current area under each preset lightning current amplitude division threshold value within a preset time interval according to all selected lightning data, several preset lightning current amplitude division threshold values and several lightning data in the current area includes:
[0087] Dividing the lightning current amplitude of the selected lightning data according to each preset lightning current amplitude division threshold value, and obtaining the number of each selected lightning data corresponding to each preset lightning current amplitude division threshold value;
[0088] According to the number of each selected lightning data corresponding to each preset lightning current amplitude division threshold and the number of lightning data in the current area, the lightning cumulative probability value of the current area under each preset lightning current amplitude division threshold within the preset time interval is calculated.
[0089] In a preferred embodiment, the generating of the lightning probability curve by dividing the threshold value according to each lightning cumulative probability value and each preset lightning current amplitude value includes:
[0090] Generate a number of lightning coordinate points according to each lightning cumulative probability value and each preset lightning current amplitude division threshold value; wherein each lightning coordinate point has the lightning cumulative probability value as the ordinate and the preset lightning current amplitude division threshold value as the abscissa;
[0091] Fit each lightning coordinate point according to the dichotomy method to obtain the initial lightning probability curve;
[0092] The initial lightning probability curve is calibrated with each lightning coordinate point to obtain the fitting error;
[0093] The initial lightning probability curve is adjusted according to the fitting error to obtain the lightning probability curve.
[0094] It should be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the accompanying drawings of the device embodiments provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines. A person of ordinary skill in the art may understand and implement it without paying any creative effort.
[0095] Those skilled in the art can clearly understand that for the sake of convenience and brevity, the specific working process of the device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0096] Based on the above method item embodiments, the present invention provides corresponding terminal device item embodiments.
[0097] An embodiment of the present invention provides a terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, a power grid lightning protection method described in any one of the present invention is implemented.
[0098] The terminal device may be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc. The terminal device may include, but is not limited to, a processor and a memory.
[0099] The processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the terminal device, and uses various interfaces and lines to connect various parts of the entire terminal device.
[0100] The memory can be used to store the computer program, and the processor realizes various functions of the terminal device by running or executing the computer program stored in the memory and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function, etc.; the data storage area can store data created according to the use of the mobile phone, etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Med i aCard, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0101] Based on the above method item embodiments, the present invention provides a corresponding storage medium item embodiment.
[0102] An embodiment of the present invention provides a storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the storage medium is located is controlled to execute a power grid lightning protection method as described in any one of the present inventions.
[0103] The storage medium is a computer-readable storage medium, and the computer program is stored in the computer-readable storage medium. When the computer program is executed by the processor, the steps of each of the above-mentioned method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium.
[0104] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.
Claims
1. A lightning protection method for a power grid, characterized in that: include: Acquire a number of lightning data; wherein the lightning data includes: lightning geographical coordinates, lightning current amplitude and lightning time; Classify each lightning data into regions according to its geographical coordinates, and obtain a number of lightning data in each region; For each area, according to the lightning moments of a number of lightning data in the current area, a number of lightning data in a preset time interval are selected as a number of selected lightning data; Generate a lightning probability curve for the current area within a preset time interval based on all selected lightning data and a number of lightning data in the current area; Obtain lightning protection configuration data for each area, and perform lightning protection for each area based on the lightning protection configuration data and each lightning probability curve.
2. A power grid lightning protection method according to claim 1, characterized in that: The generating of a lightning probability curve of the current area within a preset time interval according to all selected lightning data and a plurality of lightning data in the current area includes: Obtaining a number of preset lightning current amplitude division thresholds from a preset lightning current amplitude interval; Calculate the lightning cumulative probability value of the current area under each preset lightning current amplitude division threshold value within a preset time interval according to all selected lightning data, several preset lightning current amplitude division threshold values and several lightning data in the current area; A lightning probability curve is generated according to each lightning cumulative probability value and each preset lightning current amplitude division threshold.
3. A lightning protection method for a power grid as claimed in claim 2, characterized in that: The method of calculating the lightning cumulative probability value of the current area under each preset lightning current amplitude division threshold value within a preset time interval according to all selected lightning data, a plurality of preset lightning current amplitude division threshold values and a plurality of lightning data in the current area includes: Dividing the lightning current amplitude of the selected lightning data according to each preset lightning current amplitude division threshold value, and obtaining the number of each selected lightning data corresponding to each preset lightning current amplitude division threshold value; According to the number of each selected lightning data corresponding to each preset lightning current amplitude division threshold and the number of lightning data in the current area, the lightning cumulative probability value of the current area under each preset lightning current amplitude division threshold within the preset time interval is calculated.
4. A lightning protection method for a power grid as claimed in claim 2, characterized in that: The generating of the lightning probability curve by dividing the threshold value according to each lightning cumulative probability value and each preset lightning current amplitude value comprises: Generate a number of lightning coordinate points according to each lightning cumulative probability value and each preset lightning current amplitude division threshold value; wherein each lightning coordinate point has the lightning cumulative probability value as the ordinate and the preset lightning current amplitude division threshold value as the abscissa; Fit each lightning coordinate point according to the dichotomy method to obtain the initial lightning probability curve; The initial lightning probability curve is calibrated with each lightning coordinate point to obtain the fitting error; The initial lightning probability curve is adjusted according to the fitting error to obtain the lightning probability curve.
5. A lightning protection device for a power grid, characterized in that: include: Data acquisition module, data space-time processing module, lightning probability curve generation module and lightning protection module; The data acquisition module is used to acquire a number of lightning data; wherein the lightning data includes: lightning geographical coordinates, lightning current amplitude and lightning time; The data spatiotemporal processing module is used to classify each lightning data into regions according to the lightning geographic coordinates of each lightning data, and obtain a number of lightning data in each region; for each region, according to the lightning moments of the lightning data in the current region, select a number of lightning data in a preset time interval as a number of selected lightning data; The lightning probability curve generating module is used to generate a lightning probability curve of the current area within a preset time interval according to all selected lightning data and a number of lightning data in the current area; The lightning protection module is used to obtain lightning protection configuration data of each area, and perform lightning protection on each area according to the lightning protection configuration data of each area and each lightning probability curve.
6. A lightning protection device for a power grid as claimed in claim 5, characterized in that: The generating of a lightning probability curve of the current area within a preset time interval according to all selected lightning data and a plurality of lightning data in the current area includes: Obtaining a plurality of preset lightning current amplitude division thresholds from a preset lightning current amplitude interval; Calculate the lightning cumulative probability value of the current area under each preset lightning current amplitude division threshold value within a preset time interval according to all selected lightning data, several preset lightning current amplitude division threshold values and several lightning data in the current area; A lightning probability curve is generated according to each lightning cumulative probability value and each preset lightning current amplitude division threshold.
7. A lightning protection device for a power grid as claimed in claim 6, characterized in that: The method of calculating the lightning cumulative probability value of the current area under each preset lightning current amplitude division threshold value within a preset time interval according to all selected lightning data, a plurality of preset lightning current amplitude division threshold values and a plurality of lightning data in the current area includes: Dividing the lightning current amplitude of the selected lightning data according to each preset lightning current amplitude division threshold value, and obtaining the number of each selected lightning data corresponding to each preset lightning current amplitude division threshold value; According to the number of each selected lightning data corresponding to each preset lightning current amplitude division threshold and the number of lightning data in the current area, the lightning cumulative probability value of the current area under each preset lightning current amplitude division threshold within the preset time interval is calculated.
8. A lightning protection device for a power grid as claimed in claim 6, characterized in that: The generating of the lightning probability curve by dividing the threshold value according to each lightning cumulative probability value and each preset lightning current amplitude value comprises: Generate a number of lightning coordinate points according to each lightning cumulative probability value and each preset lightning current amplitude division threshold value; wherein each lightning coordinate point has the lightning cumulative probability value as the ordinate and the preset lightning current amplitude division threshold value as the abscissa; Fit each lightning coordinate point according to the dichotomy method to obtain the initial lightning probability curve; The initial lightning probability curve is calibrated with each lightning coordinate point to obtain the fitting error; The initial lightning probability curve is adjusted according to the fitting error to obtain the lightning probability curve.
9. A terminal device, characterized in that: The invention comprises a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, a lightning protection method for a power grid as claimed in any one of claims 1 to 4 is implemented.
10. A storage medium, characterized in that: The storage medium includes a stored computer program, wherein when the computer program is executed, the device where the storage medium is located is controlled to execute a power grid lightning protection method as claimed in any one of claims 1 to 4.