A lightning protection analysis simulation step size calculation method, device, equipment and medium
By querying the length data of the impedance element in the description file of the tower model, the simulation step length of the lightning protection analysis is automatically calculated, which solves the problem of small simulation step length setting and waste of computing resources in the existing technology, and improves the efficiency and accuracy of simulation step length calculation.
Patent Information
- Application Number
- CN202210763958.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-29
- Publication Date
- 2025-06-10
- Estimated Expiration
- 2042-06-29
AI Technical Summary
In the prior art, the simulation step size requires the user to manually set the impedance elements of all towers in the entire line, resulting in a small setting and serious waste of computing resources.
By obtaining the description file of the tower model, query the length data of the impedance element in the description file, and automatically calculate the lightning protection analysis simulation step size based on the length data.
Automatic calculation of simulation step size is realized, which reduces manual workload, improves the efficiency and accuracy of simulation step size calculation, and avoids waste of computing resources.
Smart Images

Figure CN115017732B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer simulation technology, and in particular, to a method, device, equipment and medium for calculating the simulation step length of lightning protection analysis. Background Art
[0002] Lightning strike is the main cause of transmission line tripping. For the lightning protection evaluation model of transmission lines, in the prior art, the simulation step length needs to be set by the user. Since the setting of this parameter requires the user to understand the lengths of the wave impedance elements of all the towers on the entire line, the workload is extremely large.
[0003] The lightning protection evaluation of the entire line is mostly carried out in a segmented manner. In order to ensure that the evaluation of all towers does not report an error, the manually set simulation step length, even if the calculation does not report an error through continuous attempts, will be a relatively small time step length, which is likely to cause a large waste of computing resources. Summary of the Invention
[0004] The present invention provides a method, device, equipment and medium for calculating the simulation step length of lightning protection analysis, which realizes the automatic calculation of the simulation step length, reduces the manual workload, improves the efficiency and accuracy of calculating the simulation step length, and reduces the waste of computing resources.
[0005] According to one aspect of the present invention, there is provided a method for calculating the simulation step length of lightning protection analysis, the method comprising:
[0006] Obtaining a description file of the tower model;
[0007] Querying the length data of the impedance element in the description file;
[0008] Determining the simulation step length of lightning protection analysis according to the length data.
[0009] According to another aspect of the present invention, there is provided a device for calculating the simulation step length of lightning protection analysis, the device comprising:
[0010] A description file obtaining module, configured to obtain a description file of the tower model;
[0011] A length data querying module, configured to query the length data of the impedance element in the description file;
[0012] A simulation step length determining module, configured to determine the simulation step length of lightning protection analysis according to the length data.
[0013] According to another aspect of the present invention, there is provided an electronic device, the electronic device comprising:
[0014] At least one processor; and
[0015] A memory communicatively connected to the at least one processor; wherein,
[0016] The memory stores a computer program executable by the at least one processor. When executed by the at least one processor, the computer program enables the at least one processor to execute the lightning protection analysis simulation step calculation method according to any embodiment of the present invention.
[0017] According to another aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions for causing a processor to implement the lightning protection analysis simulation step calculation method according to any embodiment of the present invention when executed.
[0018] According to another aspect of the present invention, there is provided a computer program product including a computer program that implements the lightning protection analysis simulation step calculation method according to any embodiment of the present invention when executed by a processor.
[0019] The technical solution of the embodiment of the present invention realizes the automatic calculation of the simulation step by obtaining the description file of the tower model, querying the length data of the impedance element in the description file, and determining the lightning protection analysis simulation step according to the length data. It can improve the efficiency of the simulation step calculation, reduce the manual workload, and determine the simulation step for the tower model by querying the length data of the impedance element in the description file of the tower model. It solves the problem in the prior art that the simulation step needs to be determined according to the lengths of the impedance elements of all towers on the entire line, resulting in a too small set simulation step and serious waste of computing resources. It can reasonably set the simulation step, improve the accuracy of the simulation step calculation, and reduce the waste of computing resources.
[0020] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present invention, nor is it used to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. Description of the Drawings
[0021] To more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present invention, and those of ordinary skill in the art can obtain other drawings without creative efforts based on these drawings.
[0022] Figure 1 is a flowchart of a lightning protection analysis simulation step calculation method according to Embodiment 1 of the present invention;
[0023] Figure 2 is a flowchart of a lightning protection analysis simulation step calculation method according to Embodiment 2 of the present invention;
[0024] Figure 3 is a flowchart of a method for calculating the lightning protection analysis simulation step length provided in Embodiment 3 of the present invention;
[0025] Figure 4 is a flowchart of a method for calculating the lightning protection analysis simulation step length provided in Embodiment 4 of the present invention;
[0026] Figure 5 is a schematic structural diagram of a device for calculating the lightning protection analysis simulation step length provided in Embodiment 5 of the present invention;
[0027] Figure 6 is a schematic structural diagram of an electronic device for implementing the method for calculating the lightning protection analysis simulation step length of the embodiment of the present invention. Detailed implementation manners
[0028] In order to enable those skilled in the art to better understand the solution of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
[0029] It should be noted that the term "including" in the specification and claims of the present invention and any of its variations are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device including a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0030] Embodiment 1
[0031] Figure 1 This is a flowchart of a method for calculating the lightning protection analysis simulation step length provided in Embodiment 1 of the present invention. This embodiment is applicable to the situation of analyzing the lightning protection performance of a tower. This method can be executed by a device for calculating the lightning protection analysis simulation step length, which can be implemented in the form of hardware and / or software, and the device for calculating the lightning protection analysis simulation step length can be configured in an electronic device. As Figure 1 shown, the method includes:
[0032] S110. Obtain a description file of the tower model.
[0033] A pole tower refers to a support used to hold transmission lines in an overhead power transmission line. A pole tower model refers to a mathematical model established for the pole tower. Through the pole tower model, the performance of the pole tower can be simulated and analyzed. In this application, the performance of the pole tower can be lightning protection performance, that is, the ability of the pole tower to withstand lightning current. Exemplarily, when lightning strikes the pole tower, it can be regarded as inputting lightning current into the pole tower to form an overvoltage. The greater the lightning current, the higher the overvoltage formed. When the overvoltage is too high for the pole tower to withstand, a power transmission line trip will occur. Among them, the lightning current refers to the current that flows through the struck object and discharges into the ground during direct lightning strike.
[0034] A description file refers to a file that describes the parameters of the pole tower model. The parameters of the pole tower model include at least one of parameters such as pole tower size and topological structure. The pole tower size refers to the actual geometric size of the pole tower. The topological structure refers to the connection structure of the equivalent circuit of the pole tower. The pole tower equivalent circuit is formed by connecting a series of impedance elements. By determining the numbers of each connected node, the topological structure of the pole tower equivalent circuit can be described through the node numbers. Among them, an impedance element refers to an element used to describe the impedance of the pole tower. The parameters of the pole tower model can be preset default values or can be set according to actual situations. The description file is automatically generated after the pole tower model is established.
[0035] Specifically, when performing lightning protection performance analysis on the pole tower, at least one pole tower model is established through simulation software, and the pole tower models are connected to simulate an actual power transmission line. According to the at least one established pole tower model, the corresponding description files of each pole tower model can be obtained. One pole tower model corresponds to one description file. The description files corresponding to different pole tower models can be the same or different.
[0036] S120. Query the length data of the impedance element in the description file.
[0037] The length data refers to the length of the impedance element. The impedance size of the impedance element can be described through the length data. Exemplarily, the larger the length data, the greater the impedance of the impedance element. The description file includes at least the length data of one impedance element. The length data of each impedance element can be the same or different.
[0038] Specifically, query the fields in the description file to identify the length data of the impedance element. Exemplarily, the data of a preset data type can be directly extracted from the description file and used as the length data of the impedance element; or a string used to describe the length data of the impedance element can be extracted from the description file, and the string can be converted into data of a preset data type and used as the length data of the impedance element. The preset data type can be double-precision floating-point numbers.
[0039] S130. Determine the simulation step size for lightning protection analysis according to the length data.
[0040] Lightning protection analysis refers to analyzing the lightning protection performance of a tower to obtain the maximum lightning current that the tower can withstand. The simulation step size of lightning protection analysis refers to the interval time between two consecutive calculation processes of the tower model during the lightning protection analysis process. One calculation process of the tower model refers to the process of starting from inputting the lightning current into the tower model, calculating the overvoltage of the tower according to the lightning current, and comparing the overvoltage with a preset voltage to obtain a comparison result. Among them, the preset voltage can be set according to the actual situation. The comparison result can be normal and abnormal, and abnormal indicates that the tower trips.
[0041] Specifically, according to the length data, the length data can be substituted into the calculation formula of the simulation step size to calculate the simulation step size of lightning protection analysis, or the length data can be processed, and the simulation step size of lightning protection analysis can be calculated according to the processed length data.
[0042] The technical solution of the embodiment of the present invention realizes the automatic calculation of the simulation step size by obtaining the description file of the tower model, querying the length data of the impedance element in the description file, and determining the simulation step size of lightning protection analysis according to the length data. It can improve the efficiency of calculating the simulation step size and reduce the manual workload. By querying the length data of the impedance element in the description file of the tower model, the simulation step size can be determined for the tower model, solving the problem in the prior art that the simulation step size needs to be determined according to the lengths of the impedance elements of all towers on the entire line, resulting in a too small set simulation step size and serious waste of computing resources. It can reasonably set the simulation step size, improve the accuracy of calculating the simulation step size, and reduce the waste of computing resources.
[0043] Embodiment Two
[0044] Figure 2 It is a flowchart of a method for calculating the simulation step size of lightning protection analysis provided by the second embodiment of the present invention. On the basis of the above embodiment, querying the length data of the impedance element in the description file is specifically: querying the target information corresponding to the length identification field in the description file; obtaining the length data of the impedance element from the target information. As Figure 2 shown, the method includes:
[0045] S210. Obtain the description file of the tower model.
[0046] S220. Query the target information corresponding to the length identification field in the description file.
[0047] The length identification field is used to identify the position of the information describing the length data. Exemplarily, the length identification field may include a first start field and a first end field. The first start field is used to identify the start position of the information describing the length data, and the first end field is used to identify the end position of the information describing the length data.
[0048] The target information refers to the information describing the length data. The target information can be the code in the description file. At least one length data can be obtained through the target information. The target information corresponding to the length identification field refers to the target information determined according to the length identification field. Exemplarily, the target information corresponding to the length identification field can be the information between the first start field and the first end field in the length identification field.
[0049] Specifically, in the description file, query the length identification field, and determine the position where the target information is located according to the length identification field, so as to determine the target information corresponding to the length identification field. Exemplarily, the length identification field includes a first start field <resistancelengths>and the first end field< / resistancelengths> , and determine the start and end positions of the target information according to the first start field and the first end field, and the information between the first start field and the first end field is the target information corresponding to the length identification field.
[0050] S230. Obtain the length data of the impedance element from the target information.
[0051] Specifically, identify the target information, obtain the field for identifying the length data in the target information, and obtain the length data of the impedance element according to the field for identifying the length data. The target information includes at least one group of fields for identifying the length data. According to a group of fields for identifying the length data, the length data of one impedance element can be determined. A group of fields for identifying the length data includes a second start field and a second end field, and the length data of the impedance element can be determined according to the information between the second start field and the second end field. Exemplarily, a group of fields for identifying the length data includes a second start field <string>and the second end field< / string> , <string>and< / string> The information between can be determined as the length data of the impedance element
[0052] S240. Determine the lightning protection analysis simulation step according to the length data.
[0053] The technical solution of the embodiment of the present invention realizes automatically querying the target information in the description file by querying the target information corresponding to the length identification field in the description file and obtaining the length data of the impedance element from the target information, which can improve the efficiency of obtaining the target information, thereby improving the efficiency of obtaining the length data of the impedance element and reducing the manual workload.
[0054] Based on the above embodiment, the obtaining the length data from the target information includes: identifying at least one line information included in the target information, and obtaining the length data of at least one impedance element, where different impedance elements correspond to different line information.
[0055] Line information refers to the information corresponding to a line of code in the code corresponding to the target information. It can also be understood that the target information corresponds to at least one line of code, and each line of code corresponds to one line of information, so the target information includes at least one line of information. Specifically, the line information included in the target information is identified line by line. In each line, the field of the identification length data in the line information is identified, and according to the field of the identification length data, the length data of the impedance element is obtained. After the target information is identified, at least one length data of the impedance element can be obtained. Among them, one line of information includes the length data of one impedance element, that is, different impedance elements correspond to different line information. According to the line sequence of the line information, it can be determined which impedance element the length data included in the line information belongs to. It can also be understood that according to the line sequence of the line information, the impedance element corresponding to the length data can be determined, and the corresponding relationship between the length data and the impedance element can be preset in advance.
[0056] By identifying at least one line of information included in the target information line by line and obtaining at least one length data of the impedance element, it is convenient to establish the corresponding relationship between the length data and the impedance element and improve the accuracy of obtaining the length data.
[0057] Embodiment III
[0058] Figure 3 The flowchart of a method for calculating the lightning protection analysis simulation step provided in Embodiment III of the present invention is shown. On the basis of the above embodiments, the step of determining the lightning protection analysis simulation step according to the length data is specifically: calculating an initial simulation step according to the length data; and correcting the initial simulation step to obtain the lightning protection analysis simulation step. As Figure 3 shown, the method includes:
[0059] S310. Obtain the description file of the tower model.
[0060] S320. Query the length data of the impedance element in the description file.
[0061] S330. Calculate the initial simulation step according to the length data.
[0062] The initial simulation step refers to the simulation step calculated according to the length data, and the initial simulation step can provide a reference basis for determining the lightning protection analysis simulation step.
[0063] Specifically, one simulation step can be calculated according to one length data. First, at least one simulation step can be calculated according to at least one length data, and then the obtained simulation steps are screened to obtain the initial simulation step; or the length data can be screened first, and then the initial simulation step is calculated according to the screened length data. According to multiple length data, finally only one initial simulation step can be obtained.
[0064] S340. Modify the initial simulation step size to obtain the lightning protection analysis simulation step size.
[0065] Specifically, modify the initial simulation step size and determine the modified initial simulation step size as the lightning protection analysis simulation step size. Exemplarily, modifying the initial simulation step size can be to enlarge or reduce the initial simulation step size within a preset range, and the preset range can be set according to the actual situation.
[0066] The technical solution of this embodiment calculates the initial simulation step size through the length data and modifies the simulation step size to obtain the lightning protection analysis simulation step size, which can avoid the influence of calculation errors on the setting of the lightning protection analysis simulation step size, improve the accuracy of determining the lightning protection analysis simulation step size, and reduce the waste of computing resources.
[0067] Based on the above embodiment, calculating the initial simulation step size according to the length data includes: obtaining the minimum length data among the length data of at least one of the impedance elements; calculating the initial simulation step size based on the following formula according to the minimum length data: , where T is the initial simulation step size, L is the minimum length data, and c is the speed of light.
[0068] The minimum length data refers to the minimum value in the length data. Specifically, sort the length data of at least one impedance element, obtain the length data with the smallest value as the minimum length data, and substitute the minimum length data into the initial simulation step size calculation formula to calculate the initial simulation step size.
[0069] By selecting the minimum length data from the length data of the impedance elements and calculating the initial simulation step size according to the minimum length data, the calculation amount of the initial simulation step size can be reduced, computing resources can be saved, and the calculation efficiency of the initial simulation step size can be improved.
[0070] Based on the above embodiment, modifying the initial simulation step size to obtain the lightning protection analysis simulation step size includes: reducing the initial simulation step size through a preset parameter to obtain an alternative simulation step size; mapping the alternative simulation step size to a preset standard numerical range to obtain the lightning protection analysis simulation step size, and the preset standard numerical range is determined according to a preset minimum transmission time.
[0071] The preset parameter refers to the parameter set according to the actual situation for reducing and adjusting the initial simulation step size. The alternative simulation step size refers to the simulation step size after reducing the initial simulation step size. The preset standard numerical range refers to the value range of the simulation step size determined according to the minimum transmission time. Exemplarily, the preset standard numerical range is less than the minimum transmission time. The transmission time refers to the time required for the current to flow from one end to the other end through the impedance element. The transmission time is determined by the parameters of the impedance element itself. The minimum transmission time refers to the minimum value of the transmission times of each impedance element.
[0072] Specifically, according to the preset parameter, divide the initial simulation step size by the preset parameter to obtain the alternative simulation step size. Map the alternative simulation step size into the preset standard numerical range, and determine the lightning protection analysis simulation step size as the mapping result. Exemplarily, the preset parameter is 1.1. Divide the initial simulation step size by 1.1 to obtain the alternative simulation step size. Represent the alternative simulation step size in scientific notation, that is, a*10 n , where 1≤a<10. If a is an integer, the alternative simulation step size can be directly determined as the lightning protection analysis simulation step size. Otherwise, round a down to obtain an integer b, and use b*10 n as the lightning protection analysis simulation step size.
[0073] Reducing the initial simulation step size through the preset parameter to obtain the alternative simulation step size, and mapping the alternative simulation step size into the preset standard numerical range to obtain the lightning protection analysis simulation step size can solve the problem in the prior art that the set lightning protection analysis simulation step size is greater than the minimum transmission time due to the decimal place retention problem, and improve the accuracy of determining the lightning protection analysis simulation step size.
[0074] Based on the above embodiments, it further includes: according to the lightning protection analysis simulation step size, input a lightning current into the tower model to obtain the lightning protection performance of the tower model.
[0075] Specifically, starting from the first time a lightning current is input into the tower model, input a lightning current into the tower model every other lightning protection analysis simulation step size. The lightning current input each time gradually increases, and the increasing amplitude can be set according to the actual situation. After the tower receives the lightning current, calculate the overvoltage of the tower according to the lightning current, and compare the overvoltage with the preset voltage. If the overvoltage is less than the preset voltage, it indicates that the comparison result is normal, and continue to input the next lightning current. If the overvoltage is greater than the preset voltage, it indicates that the corresponding result is abnormal, and the lightning protection analysis process ends. The lightning protection performance of the tower can be determined according to the magnitude of the last input lightning current or the last output overvoltage.
[0076] According to the lightning protection analysis step size, lightning current is input into the tower model to obtain the lightning protection performance of the tower model, realizing the simulation study of the lightning protection performance of the tower and providing a data basis for improving the lightning protection performance of the tower.
[0077] Embodiment 4
[0078] Figure 4 The following is a flowchart of a method for calculating the lightning protection analysis simulation step size provided in Embodiment 4 of the present invention. As Figure 4 shown, the method includes:
[0079] S410. Obtain the description file of the tower model.
[0080] Among them, the description file of the tower model contains the code for describing the length data of the impedance elements. Exemplarily, the code for describing the length data of the impedance elements is:
[0081]
[0082] Among them, L_ZA1, L_ZA2, L_ZA3, L_ZA4, L_ZA5, L_ZA6, L_ZT1, and L_ZT are the lengths of the respective impedance elements in the equivalent circuit of the tower corresponding to the tower model, which are set by the user when establishing the tower model.
[0083] S420. Query the target information corresponding to the length identification field in the description file.
[0084] Specifically, identify the <resistancelengths>field and< / resistancelengths> field in the description file, and determine the target information according to the <resistancelengths>field and< / resistancelengths> code between the fields.
[0085] S430. Identify the target information line by line to obtain the length data of at least one impedance element.
[0086] Specifically, extract the <string>and< / string> string between them line by line, convert it into a double-precision floating-point number, determine it as the length data of the impedance element, and store the length data of at least one impedance element as an impedance length array.
[0087] S440. Obtain the minimum length data among the length data of at least one impedance element.
[0088] Specifically, compare the numerical values in the impedance length array to obtain the minimum length data L.
[0089] S450. Calculate the initial simulation step size according to the minimum length data.
[0090] Specifically, substitute the minimum length data into the initial simulation step size calculation formula to obtain the initial simulation step size T.
[0091] S460. Modify the initial simulation step size to obtain the simulation step size for lightning protection analysis.
[0092] Specifically, divide T by 1.1 and express the result in scientific notation, i.e., a*10 n , where 1 ≤ a < 10; if a is an integer, keep it unchanged, otherwise, round a down to get an integer b. Finally, use b*10 n as the simulation step size for lightning protection analysis.
[0093] The technical solution of the embodiment of the present invention realizes the automatic calculation of the simulation step size by obtaining the description file of the tower model, querying the length data of the impedance element in the description file, and determining the simulation step size for lightning protection analysis according to the length data. It can improve the efficiency of calculating the simulation step size, reduce the manual workload, and determine the simulation step size for the tower model by querying the length data of the impedance element in the description file of the tower model, solving the problem in the prior art that the simulation step size needs to be determined according to the lengths of the impedance elements of all towers on the entire line, resulting in a too small set simulation step size and serious waste of computing resources. It can reasonably set the simulation step size, improve the accuracy of calculating the simulation step size, and reduce the waste of computing resources.
[0094] Embodiment Five
[0095] Figure 5 FIG. is a schematic structural diagram of a device for calculating the simulation step size for lightning protection analysis provided by Embodiment Five of the present invention. As Figure 5 shown, the device includes: a description file acquisition module 501, a length data query module 502, and a simulation step size determination module 503.
[0096] Among them, the description file acquisition module 501 is used to acquire the description file of the tower model;
[0097] The length data query module 502 is used to query the length data of the impedance element in the description file;
[0098] The simulation step size determination module 503 is used to determine the simulation step size for lightning protection analysis according to the length data.
[0099] The technical solution of the embodiment of the present invention realizes the automatic calculation of the simulation step length by obtaining the description file of the pole tower model, querying the length data of the impedance element in the description file, and determining the lightning protection analysis simulation step length according to the length data. It can improve the efficiency of calculating the simulation step length, reduce the manual workload, and determine the simulation step length for the pole tower model by querying the length data of the impedance element in the description file of the pole tower model. It solves the problem in the prior art that the simulation step length needs to be determined according to the lengths of the impedance elements of all pole towers on the entire line, resulting in a too small set simulation step length and serious waste of computing resources. It can reasonably set the simulation step length, improve the accuracy of calculating the simulation step length, and reduce the waste of computing resources.
[0100] Optionally, the length data query module 502 includes:
[0101] A target information query unit, configured to query target information corresponding to the length identification field in the description file;
[0102] A length data acquisition unit, configured to acquire the length data of the impedance element from the target information.
[0103] Optionally, the length data acquisition unit is specifically configured to:
[0104] Identify at least one line information included in the target information, and acquire the length data of at least one impedance element, where different impedance elements correspond to different line information.
[0105] Optionally, the simulation step length determination module 503 includes:
[0106] An initial simulation step length determination unit, configured to calculate an initial simulation step length according to the length data;
[0107] A correction unit, configured to correct the initial simulation step length to obtain the lightning protection analysis simulation step length.
[0108] Optionally, the initial simulation step length determination unit includes:
[0109] A minimum length data acquisition subunit, configured to acquire the minimum length data among the length data of at least one of the impedance elements;
[0110] An initial simulation step length calculation subunit, configured to calculate the initial simulation step length based on the following formula according to the minimum length data:
[0111]
[0112] where T is the initial simulation step length, L is the minimum length data, and c is the speed of light.
[0113] Optionally, the correction unit includes:
[0114] An alternative simulation step determination subunit, configured to reduce the initial simulation step through preset parameters to obtain an alternative simulation step;
[0115] A mapping subunit, configured to map the alternative simulation step to a preset standard numerical range to obtain a lightning protection analysis simulation step, where the preset standard numerical range is determined according to a preset minimum transmission time.
[0116] Optionally, the device further includes:
[0117] A lightning current input module, configured to input a lightning current into the tower model according to the lightning protection analysis simulation step to obtain the lightning protection performance of the tower model.
[0118] The lightning protection analysis simulation step calculation device provided by the embodiments of the present invention can execute the lightning protection analysis simulation step calculation method provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects for executing the method.
[0119] Embodiment Six
[0120] Figure 6 FIG. shows a schematic structural diagram of an electronic device 10 that can be used to implement the embodiments of the present invention. The electronic device is intended to represent various forms of digital computers, such as, for example, a laptop computer, a desktop computer, a workbench, a personal digital assistant, a server, a blade server, a mainframe computer, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as, for example, a personal digital processor, a cellular phone, a smart phone, a wearable device (such as a helmet, glasses, a watch, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present invention described and / or claimed herein.
[0121] As Figure 6 shown, the electronic device 10 includes at least one processor 11, and a memory communicatively connected to at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., where the memory stores a computer program executable by at least one processor. The processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 into the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. The input / output (I / O) interface 15 is also connected to the bus 14.
[0122] Multiple components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a magnetic disk, an optical disc, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.
[0123] The processor 11 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the lightning protection analysis simulation step calculation method.
[0124] In some embodiments, the lightning protection analysis simulation step calculation method can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed onto the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the lightning protection analysis simulation step calculation method described above can be executed. Alternatively, in other embodiments, the processor 11 can be configured to execute the lightning protection analysis simulation step calculation method in any other suitable manner (e.g., by means of firmware).
[0125] The various embodiments of the systems and technologies described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on a chip (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special or general programmable processor, and can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit the data and instructions to the storage system, the at least one input device, and the at least one output device.
[0126] A computer program for implementing the method of the present invention can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when the computer program is executed by the processor, the functions / operations specified in the flowchart and / or block diagram are implemented. The computer program can be executed entirely on the machine, partially on the machine, as a stand-alone software package partially on the machine and partially on a remote machine, or entirely on a remote machine or server.
[0127] In the context of the present invention, a computer-readable storage medium can be a tangible medium that can contain or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer-readable storage medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, the computer-readable storage medium can be a machine-readable signal medium. More specific examples of the machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0128] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the electronic device. Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, speech input, or tactile input).
[0129] The systems and techniques described herein can be implemented in a computing system including backend components (e.g., as a data server), or a computing system including middleware components (e.g., an application server), or a computing system including frontend components (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described herein), or a computing system including any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected with each other by digital data communication in any form or medium (e.g., a communication network). Examples of communication networks include: local area network (LAN), wide area network (WAN), blockchain network, and the Internet.
[0130] The computing system can include a client and a server. The client and the server are generally far from each other and usually interact through a communication network. The client-server relationship is created by computer programs running on respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system, solving the defects of difficult management and weak business scalability existing in traditional physical hosts and VPS (Virtual Private Server) services.
[0131] It should be understood that various forms of the processes shown above can be used, steps can be reordered, added, or deleted. For example, the steps recited in the present invention can be executed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved, and this is not limited herein.
[0132] The above specific embodiments do not constitute a limitation on the protection scope of the present invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.
Claims
1. A method for calculating the simulation step size of lightning protection analysis, characterized in that, it includes: Obtain the description file of the tower model; Query the length data of the impedance element in the description file; Determine the simulation step size of lightning protection analysis according to the length data, including: calculate the initial simulation step size according to the length data; correct the initial simulation step size to obtain the simulation step size of lightning protection analysis; Among them, the correction of the initial simulation step size to obtain the simulation step size of lightning protection analysis includes: Shrink the initial simulation step size through preset parameters to obtain an alternative simulation step size; Map the alternative simulation step size to a preset standard numerical range to obtain the simulation step size of lightning protection analysis, and the preset standard numerical range is determined according to the preset minimum transmission time.
2. The method for calculating the simulation step size of lightning protection analysis according to claim 1, characterized in that, The querying of the length data of the impedance element in the description file includes: Query the target information corresponding to the length identification field in the description file; Obtain the length data of the impedance element from the target information.
3. The method for calculating the simulation step size of lightning protection analysis according to claim 2, characterized in that, The obtaining of the length data from the target information includes: Identify at least one line information included in the target information and obtain the length data of at least one impedance element, where different impedance elements correspond to different line information.
4. The method for calculating the simulation step size of lightning protection analysis according to claim 1, characterized in that, The calculation of the initial simulation step size according to the length data includes: Obtain the minimum length data among the length data of at least one impedance element; Calculate the initial simulation step size based on the following formula according to the minimum length data: where T is the initial simulation step size, L is the minimum length data, and c is the speed of light.
5. The method for calculating the simulation step size of lightning protection analysis according to claim 1, characterized in that, It further includes: Input the lightning current into the tower model according to the simulation step size of lightning protection analysis, and obtain the lightning protection performance of the tower model.
6. A device for calculating the simulation step size of lightning protection analysis, characterized in that, it includes: A description file acquisition module for obtaining the description file of the tower model; A length data query module for querying the length data of the impedance element in the description file; A simulation step size determination module for determining the simulation step size of lightning protection analysis according to the length data; The simulation step size determination module includes an initial simulation step size determination unit and a correction unit: The initial simulation step size determination unit is used to calculate the initial simulation step size according to the length data; The correction unit is used to correct the initial simulation step size to obtain the simulation step size of lightning protection analysis; The correction unit includes an alternative simulation step size determination subunit and a mapping subunit: The alternative simulation step size determination subunit is used to shrink the initial simulation step size through preset parameters to obtain an alternative simulation step size; The mapping sub-unit is configured to map the alternative simulation step length to a preset standard numerical range to obtain a lightning protection analysis simulation step length, where the preset standard numerical range is determined according to a preset minimum transmission time.
7. An electronic device, characterized in that, the electronic device includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein, the memory stores a computer program executable by the at least one processor, and when the computer program is executed by the at least one processor, the at least one processor is enabled to execute the lightning protection analysis simulation step length calculation method according to any one of claims 1-5.
8. A computer-readable storage medium, characterized in that, the computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a processor, the lightning protection analysis simulation step length calculation method according to any one of claims 1-5 is implemented.
Citation Information
Patent Citations
High-precision closed-loop dynamic phasor simulation calculation and verification method and device for HVDC system
CN113343456A
Methods to simulate continuous wave lidar sensors
US20220128673A1