A method for automatically adding lightning arrester components in circuit simulation software
By setting the structural parameters and design execution program in the electromagnetic transient simulation software, the automatic addition of arrester components is realized, which solves the complex problem of manual addition and improves the efficiency and operational convenience of lightning protection analysis.
Patent Information
- Application Number
- CN202210580950.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-26
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2042-05-26
AI Technical Summary
In electromagnetic transient simulation software, manually adding arrester components is complex and time-consuming, affecting the ease of use of the software and the efficiency of lightning protection analysis.
Provide a method to automatically add arrester components. By setting the structural parameters and necessary conditions in the electromagnetic transient simulation software interface, designing and loading the execution program, the automatic addition of arrester components is realized, including parameter setting, automatic positioning and icon adding modules.
It simplifies the process of adding arrester components and improves the efficiency of lightning protection analysis. It eliminates the need for users to manually configure arrester components. The operation is simple and fast, which significantly improves the efficiency of lightning protection analysis.
Smart Images

Figure CN115017856B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of electromagnetic transient process analysis of lightning-struck power transmission lines, and in particular to a method for automatically adding lightning arrester elements in circuit simulation software. Background Art
[0002] The circuit method is widely used in the analysis of electromagnetic transient processes of lightning-struck transmission lines and is one of the main methods for evaluating the lightning resistance performance of transmission lines. The carriers of the circuit method are mostly foreign visualized electromagnetic transient process analysis software, such as PSCAD, ATP-EMTP, etc. With the increasing calls for software autonomy and localization, colleges and universities and research institutes have also begun to develop their own electromagnetic transient simulation calculation tools.
[0003] Self-developed software can better meet customized functional requirements, which is crucial for the analysis of lightning protection performance of transmission lines. There are many transmission line towers with different tower types, and the geographical environment in which the towers are located is also different. In order to meet the needs of evaluating each tower of the transmission line, it is necessary to model each tower separately, which is a huge workload and the process is extremely cumbersome. To this end, the relevant research units have further realized customization based on the self-developed electromagnetic transient calculation module, and realized the automatic creation of the transmission line model, which has achieved good results.
[0004] The ultimate goal of the transmission line withstand performance evaluation is to propose lightning protection measures, improve the lightning resistance level of the line, and reduce the trip rate of the line. Common lightning protection transformation methods mainly include reducing grounding resistance, enhancing insulation (increasing the length of insulator strings), installing line arresters, etc. In the implementation of the simulation calculation model, the specific operation of reducing insulation resistance and enhancing insulation is to change the resistance value of the grounding resistor and the length of the insulator string, which is relatively easy; while installing line arresters requires adding new components to the original circuit, which is relatively difficult. If the user adds it manually, it will reduce the convenience of the software and it is not very user-friendly. In view of this, based on the general architecture of the existing electromagnetic transient simulation module, we propose a method for automatically adding arrester components. Summary of the invention
[0005] The object of the present invention is to provide a method for automatically adding lightning arrester components in circuit simulation software to solve the problems raised in the above-mentioned background technology.
[0006] In order to solve the above technical problems, one of the purposes of the present invention is to provide a method for automatically adding lightning arrester components in circuit simulation software, comprising the following steps:
[0007] S1. In the interface canvas of the electromagnetic transient simulation software, set the structural parameters of the components and electrical connection relationships;
[0008] S2. In the electromagnetic transient simulation software, set the necessary condition parameters to meet the requirements, including but not limited to the arrester component icon size and the insulator component unique identification;
[0009] S3. Design and load an execution program for automatically adding arrester components into the electromagnetic transient simulation software;
[0010] S4. Run the above execution program to automatically add a lightning arrester component to the insulator component specified by the user in the canvas.
[0011] 2. The method for automatically adding arrester components in circuit simulation software according to claim 1, characterized in that: in said S1, in the interface canvas of the electromagnetic transient simulation software, setting the structural parameters of the components and the electrical connection relationship includes:
[0012] In the interface of the electromagnetic transient simulation software, each component in the canvas has its own node, and each component has at least two nodes; the electrical connection relationship between the components is constructed by connecting the corresponding nodes between the associated components in the canvas.
[0013] As a further improvement of the present technical solution, in S2, the necessary requirement for the size of the arrester element icon is that the size of the arrester element icon is adapted to that of the insulator element icon, specifically, the height of the arrester element icon is consistent with that of the insulator element icon, that is, the distance between the two nodes of the element is consistent, and needs to be an integer multiple of the side length of the canvas grid.
[0014] As a further improvement of the technical solution, in S2, the necessary requirement for the unique identification of the insulator element is that each insulator element has and only has a unique identification (Title), and the naming method of the unique identification can be but is not limited to naming according to the position of the insulator.
[0015] As a further improvement of the technical solution, in S4, the specific method of running the execution program to automatically add a lightning arrester element to the insulator element specified by the user in the canvas includes the following steps:
[0016] S4.1. The user pre-sets the parameters of the arrester element to be added through the parameter setting module, and selects the insulator element to which the arrester element needs to be added through the instruction input module;
[0017] S4.2, the electromagnetic transient simulation software automatically locates to the icon position of the insulator element in the canvas through the automatic positioning module;
[0018] S4.3. The icon adding module of the electromagnetic transient simulation software places the arrester element on one side parallel to the two nodes of the insulator element icon according to the parameters preset by the user, ensuring that the nodes of the two elements are at the same height and the distance between the center lines of the two elements is greater than or equal to 5 squares;
[0019] S4.4. Use wires to connect the nodes of the insulator element and the arrester element at the same height, so as to realize the automatic addition of the arrester element.
[0020] The second object of the present invention is to provide an execution program for automatically adding lightning arrester components, including: a parameter setting module, a command input module, an automatic positioning module and an icon adding module; wherein:
[0021] The parameter setting module is used to provide a channel for the user to set the basic parameters of the arrester element to be added;
[0022] The command input module is used for the user to input the task command for automatically adding the arrester element;
[0023] The automatic positioning module is used to automatically locate the insulator element icon position specified by the user where the arrester element needs to be added after receiving the task instruction;
[0024] The icon adding module is used to automatically add a lightning arrester component on one side of the insulator component icon specified by the user according to the parameters preset by the user, and display the newly added icon and connection lines on the canvas.
[0025] As a further improvement of the present technical solution, in the parameter setting module, the user can preset basic parameters for the added arrester elements, including but not limited to the number of arrester elements added at one time, the directional relationship between the added arrester elements and the insulator elements, the distance range between the added arrester elements and the center line of the insulator elements, etc.
[0026] As a further improvement of the technical solution, in the instruction input module, the content of the task instruction that can be input includes but is not limited to the unique identification of the insulator element, the accurate position coordinates of the insulator, etc.
[0027] The third object of the present invention is to provide an operating platform device for electromagnetic transient simulation software, including a processor, a memory, and a computer program stored in the memory and running on the processor, and the processor is used to implement the steps of the automatic addition method of lightning arrester elements in the above-mentioned circuit simulation software when executing the computer program.
[0028] A fourth object of the present invention is to provide a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for automatically adding lightning arrester elements in the above-mentioned circuit simulation software are implemented.
[0029] Compared with the prior art, the present invention has the following beneficial effects:
[0030] In the automatic adding method of lightning arrester components in this circuit simulation software, by designing the relative sizes of lightning arrester components and insulator components and setting the implementation method of automatic adding lightning arrester components, the automatic adding function of lightning arrester in the electromagnetic transient simulation circuit of the transmission line can be realized, so that users do not need to add and configure lightning arrester components by themselves when performing lightning protection transformation analysis, and its operation is simple and fast, which greatly improves the efficiency of lightning protection analysis. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 Automatically add a schematic diagram of the principle structure to the arrester component model in the circuit simulation software of the present invention;
[0032] Figure 2 is an exemplary overall method flow chart of the present invention;
[0033] Figure 3 is an exemplary local method flow chart of the present invention;
[0034] Figure 4 A module structure diagram of an exemplary execution program for automatically adding a lightning arrester element in the present invention;
[0035] Figure 5 It is a structural diagram of an exemplary electronic computer platform device in the present invention.
[0036] In the figure:
[0037] 1. Parameter setting module; 2. Command input module; 3. Automatic positioning module (3); 4. Icon adding module (4). DETAILED DESCRIPTION
[0038] 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.
[0039] Example 1
[0040] like Figure 1-Figure 3As shown, this embodiment provides a method for automatically adding a lightning arrester component in a circuit simulation software, comprising the following steps:
[0041] S1. In the interface canvas of the electromagnetic transient simulation software, set the structural parameters of the components and electrical connection relationships;
[0042] S2. In the electromagnetic transient simulation software, set the necessary condition parameters to meet the requirements, including but not limited to the arrester component icon size and the insulator component unique identification;
[0043] S3. Design and load an execution program for automatically adding arrester components into the electromagnetic transient simulation software;
[0044] S4. Run the above execution program to automatically add a lightning arrester component to the insulator component specified by the user in the canvas.
[0045] In this embodiment, in S1, in the interface canvas of the electromagnetic transient simulation software, setting the structural parameters of the components and electrical connection relationships includes:
[0046] In the interface of electromagnetic transient simulation software, each component located in the canvas has its own node (such as Figure 1 The electrical connection relationship between the components is constructed by connecting the corresponding nodes between the associated components in the canvas.
[0047] In this embodiment, in S2, the necessary requirements for the size of the arrester component icon are: the arrester component icon and the insulator component icon (such as Figure 1 Specifically, the height of the arrester component icon is consistent with that of the insulator component icon, that is, the distance between the two nodes of the components is consistent and needs to be an integer multiple of the side length of the canvas grid.
[0048] Furthermore, in S2, the necessary requirement for the unique identification of the insulator element is that each insulator element has and only has a unique identification (Title), and the naming method of the unique identification can be but is not limited to naming according to the position of the insulator; for example, Figure 1 The insulator shown belongs to the A phase of the I loop of the #5 tower, so the Title of the insulator element can be named 5-IA.
[0049] It is worth mentioning that the identification of each insulator element can also be independently and uniquely encoded through an encoder, but in this embodiment, its position is used to name it, so that the software can automatically name and quickly locate the component position without adding an additional encoder. It is easy to use, improves efficiency and reduces application costs.
[0050] In this embodiment, in S4, the specific method of running the execution program to automatically add a lightning arrester element to the insulator element specified by the user in the canvas includes the following steps:
[0051] S4.1. The user pre-sets the parameters of the arrester element to be added through the parameter setting module 1, and selects the insulator element to which the arrester element needs to be added through the instruction input module 2. For example, the user chooses to add an arrester to the insulator of the A phase of the I return of the #5 tower;
[0052] S4.2, the electromagnetic transient simulation software automatically locates to the icon position of the insulator element with Title 5-IA in the canvas through the automatic positioning module 3;
[0053] S4.3, the icon adding module 4 of the electromagnetic transient simulation software places the arrester element on one side parallel to the two nodes of the insulator element icon according to the parameters preset by the user, ensuring that the nodes of the two elements are at the same height and the distance between the center lines of the two elements is greater than or equal to 5 squares;
[0054] S4.4. Use wires to connect the nodes of the insulator element and the arrester element at the same height, so as to realize the automatic addition of the arrester element.
[0055] like Figure 4-Figure 5 As shown, this embodiment also provides an execution program for automatically adding lightning arrester elements, including: a parameter setting module 1, an instruction input module 2, an automatic positioning module 3 and an icon adding module 4; wherein:
[0056] The parameter setting module 1 is used to provide the user with a channel for setting the basic parameters of the arrester element to be added;
[0057] The command input module 2 is used for the user to input the task command for automatically adding the arrester element;
[0058] The automatic positioning module 3 is used to automatically locate the insulator element icon position specified by the user where the arrester element needs to be added after receiving the task instruction;
[0059] The icon adding module 4 is used to automatically add a lightning arrester component on one side of the insulator component icon specified by the user according to the parameters preset by the user, and display the newly added icon and connection lines on the canvas.
[0060] In this embodiment, in the parameter setting module 1, the user can preset basic parameters for the added arrester elements, including but not limited to the number of arrester elements added at one time, the directional relationship between the added arrester elements and the insulator elements, the distance range between the added arrester elements and the center line of the insulator elements, etc.
[0061] Furthermore, in the instruction input module 2, the content of the task instruction that can be input includes but is not limited to the unique identification of the insulator element, the accurate position coordinates of the insulator, etc.
[0062] like Figure 5 As shown, this embodiment also provides an operating platform device for electromagnetic transient simulation software, which includes a processor, a memory, and a computer program stored in the memory and running on the processor.
[0063] The processor includes one or more processing cores, the processor is connected to the memory through a bus, the memory is used to store program instructions, and when the processor executes the program instructions in the memory, the steps of the automatic addition method of the lightning arrester element in the above-mentioned circuit simulation software are implemented.
[0064] Optionally, the memory can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk.
[0065] In addition, the present invention also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps of the method for automatically adding lightning arrester components in the above-mentioned circuit simulation software are implemented.
[0066] Optionally, the present invention also provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the steps of the method for automatically adding lightning arrester components in the circuit simulation software of the above aspects.
[0067] A person of ordinary skill in the art can understand that the process of implementing all or part of the steps of the above-mentioned embodiments can be completed by hardware, or can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the above-mentioned storage medium can be a read-only memory, a disk or an optical disk, etc.
[0068] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited by the above embodiments. The above embodiments and descriptions are only preferred examples of the present invention and are not intended to limit the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention. The scope of protection of the present invention is defined by the attached claims and their equivalents.
Claims
1. A method for automatically adding lightning arrester components in circuit simulation software, Features: The steps include: S1. In the interface canvas of the electromagnetic transient simulation software, set the structural parameters of the components and electrical connection relationships; S2. In the electromagnetic transient simulation software, set the necessary condition parameters to meet the requirements, including the arrester component icon size and the insulator component unique identification; S3. Design and load an execution program for automatically adding arrester components into the electromagnetic transient simulation software; S4. Run the above execution program to automatically add a lightning arrester component to the insulator component specified by the user in the canvas; In the above S3, the execution program for automatically adding arrester elements loaded in the electromagnetic transient simulation software includes: a parameter setting module (1), an instruction input module (2), an automatic positioning module (3) and an icon adding module (4); wherein: The parameter setting module (1) is used to provide a channel for the user to set basic parameters of the arrester element to be added; The command input module (2) is used for allowing a user to input a task command for automatically adding a lightning arrester component; The automatic positioning module (3) is used to automatically position the insulator element icon position specified by the user where the arrester element needs to be added after receiving the task instruction; The icon adding module (4) is used to automatically add a lightning arrester component on one side of the insulator component icon specified by the user according to the parameters preset by the user, and display the newly added icon and connection line on the canvas; In S4, the specific method of running the execution program to automatically add a lightning arrester element to the insulator element specified by the user in the canvas includes the following steps: S4.
1. The user pre-sets the parameters of the arrester element to be added through the parameter setting module (1), and selects the insulator element to which the arrester element needs to be added through the instruction input module (2); S4.2, the electromagnetic transient simulation software is automatically positioned to the icon position of the insulator element in the canvas through the automatic positioning module (3); S4.3, the icon adding module (4) of the electromagnetic transient simulation software places the arrester element on one side parallel to the two nodes of the insulator element icon according to the parameters preset by the user, ensuring that the nodes of the two elements are at the same height and the distance between the center lines of the two elements is greater than or equal to 5 squares; S4.
4. Use wires to connect the nodes of the insulator element and the arrester element at the same height, so as to realize the automatic addition of the arrester element.
2. The method for automatically adding lightning arrester components in circuit simulation software according to claim 1, Features: In S1, in the interface canvas of the electromagnetic transient simulation software, the structural parameters of the components and electrical connection relationships are set, including: In the interface of the electromagnetic transient simulation software, each component in the canvas has its own node, and each component has at least two nodes; the electrical connection relationship between the components is constructed by connecting the corresponding nodes between the associated components in the canvas.
3. The method for automatically adding lightning arrester components in circuit simulation software according to claim 1, Features: In S2, the necessary requirement for the size of the arrester element icon is that the size of the arrester element icon is adapted to that of the insulator element icon, specifically, the height of the arrester element icon is consistent with that of the insulator element icon, that is, the distance between the two nodes of the element is consistent, and needs to be an integer multiple of the side length of the canvas grid.
4. The method for automatically adding lightning arrester components in circuit simulation software according to claim 1, Features: In S2, the necessary requirement for the unique identification of the insulator element is that each insulator element has and only has a unique identification, and the unique identification is named according to the position of the insulator.
5. The method for automatically adding lightning arrester components in circuit simulation software according to claim 1, Features: In the parameter setting module (1), the basic parameters preset by the user for the arrester elements to be added include the number of arrester elements to be added at one time, the directional relationship between the arrester elements to be added and the insulator elements, and the distance range between the arrester elements to be added and the center line of the insulator elements.
6. The method for automatically adding lightning arrester components in circuit simulation software according to claim 5, Features: In the instruction input module (2), the content of the task instruction input includes the unique identification of the insulator element and the accurate position coordinates of the insulator.
Citation Information
Patent Citations
Lightning overvoltage simulation calculation method and device of current limiter and computer equipment
CN110765731A
Method of protecting single-phase distribution line from damages due to thunder
JP2008148555A
