Electromagnetic transient simulation method and system based on automatic layout

Through the node-based voltage level division and tree structure automatic layout technology, the problem of time-consuming and error-prone construction of traditional electromagnetic transient simulation models is solved, and the rapid automatic construction and efficient modeling of electromagnetic transient simulation models are realized.

CN120373246APending Publication Date: 2025-07-25CHINA ELECTRIC POWER RESEARCH INSTITUTE CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510328530.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-19
Publication Date
2025-07-25

AI Technical Summary

Technical Problem

The construction of traditional electromagnetic transient simulation models relies on manual operations, is time-consuming and labor-intensive, and is prone to errors, making it difficult to adapt to the needs of large-scale complex power systems.

Method used

The power system topology is divided based on the voltage level of the node, and the component diagram is displayed using a tree structure. The parameters in the parameter library are automatically connected and matched through the preset layout algorithm to generate and verify the electromagnetic transient simulation model.

Benefits of technology

It realizes the rapid and automatic construction of electromagnetic transient simulation models, reduces human errors, improves modeling efficiency and model accuracy, and adapts to large-scale complex power systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120373246A_ABST
    Figure CN120373246A_ABST
Patent Text Reader

Abstract

The invention discloses an electromagnetic transient simulation method and system based on automatic layout. The method comprises the following steps: carrying out region division on element icons in a topological structure of a power system based on voltage levels of nodes; displaying the element icons in each region after region division according to a tree structure to generate an element icon tree; element icons in the element icon tree are connected based on a preset layout algorithm, and an electromagnetic transient simulation model is established; automatically matching parameters in a preset parameter library on the basis of the types and connection relationships of element icons in the electromagnetic transient simulation model; and verifying the electromagnetic transient simulation model after parameter matching, and when the electromagnetic transient simulation model passes verification, performing electromagnetic transient simulation through the electromagnetic transient simulation model, and outputting a simulation file in a standard format.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electromagnetic transient modeling and simulation in power systems, and more specifically, to an electromagnetic transient simulation method and system based on automatic layout. Background Art

[0002] Electromagnetic transient simulation plays an important role in power system analysis and can simulate transient processes in power systems, such as short - circuit faults, switch operations, etc. Traditional methods for constructing electromagnetic transient simulation models usually rely on manual operations. Calculation personnel need to manually draw circuit diagrams, set component parameters, and connect nodes. This method not only consumes time and effort but also easily leads to inaccurate models due to human errors. In addition, with the expansion of the scale and the increase in complexity of power systems, the difficulty and error rate of manually constructing models have increased significantly.

[0003] To solve the above problems, there is an urgent need for a method that can automatically construct electromagnetic transient simulation models to improve the modeling efficiency, reduce human errors, and meet the requirements of large - scale complex systems. Summary of the Invention

[0004] The technical solution of the present invention provides an electromagnetic transient simulation method and system based on automatic layout to solve the problem of how to perform electromagnetic transient simulation based on automatic layout.

[0005] To solve the above problems, the present invention provides an electromagnetic transient simulation method based on automatic layout, and the method includes:

[0006] Dividing the component symbols in the power system topology structure into regions based on the voltage levels of the nodes;

[0007] Displaying the component symbols in each region after region division in a tree structure to generate a component symbol tree;

[0008] Connecting the component symbols in the component symbol tree based on a preset layout algorithm to establish an electromagnetic transient simulation model;

[0009] Automatically matching the parameters in a preset parameter library based on the types and connection relationships of the component symbols in the electromagnetic transient simulation model;

[0010] Verifying the electromagnetic transient simulation model after parameter matching. When the electromagnetic transient simulation model passes the verification, performing electromagnetic transient simulation through the electromagnetic transient simulation model and outputting a simulation file in a standard format.

[0011] Preferably, the voltage levels include: 1100 kV, 800 kV, 500 kV, 220 kV, 110 kV, 35 kV, 10 kV, and below 10 kV.

[0012] Preferably, the component graphic symbols after area division are displayed in a tree structure to generate a component graphic symbol tree, including:

[0013] Connect the transformer components in the component graphic symbols to the high-voltage area and the low-voltage area, and use them as the parent nodes of the component graphic symbol tree; use the component graphic symbols in the high-voltage area and the low-voltage area as the child nodes.

[0014] Preferably, connecting the component graphic symbols in the component graphic symbol tree based on a preset layout algorithm to establish an electromagnetic transient simulation model, including:

[0015] Based on the preset layout algorithm, set the component graphic symbols in the high-voltage area on the top layer of the component graphic symbol tree, set the component graphic symbols in the low-voltage area on the bottom layer of the component graphic symbol tree, and set the transformer components in the middle layer;

[0016] The connection relationships of the top layer, the bottom layer, and the middle layer are automatically generated.

[0017] Preferably, automatically matching the parameters in the preset parameter library based on the types and connection relationships of the component graphic symbols in the electromagnetic transient simulation model, including:

[0018] Automatically match the rated voltage and short-circuit impedance of the transformer.

[0019] On the other hand of the present invention, the present invention provides an electromagnetic transient simulation system based on automatic layout, and the system includes:

[0020] A division unit for dividing the component graphic symbols in the power system topology structure based on the voltage levels of the nodes;

[0021] A generation unit for displaying the component graphic symbols in each area after area division in a tree structure to generate a component graphic symbol tree;

[0022] A establishment unit for connecting the component graphic symbols in the component graphic symbol tree based on a preset layout algorithm to establish an electromagnetic transient simulation model;

[0023] A matching unit for automatically matching the parameters in the preset parameter library based on the types and connection relationships of the component graphic symbols in the electromagnetic transient simulation model;

[0024] A result unit for verifying the electromagnetic transient simulation model after matching the parameters. When the electromagnetic transient simulation model passes the verification, perform electromagnetic transient simulation through the electromagnetic transient simulation model and output a simulation file in a standard format.

[0025] Preferably, the voltage levels include: 1100 kV, 800 kV, 500 kV, 220 kV, 110 kV, 35 kV, 10 kV, and below 10 kV.

[0026] Preferably, the generating unit is configured to display the component graphic symbols after area division in a tree structure to generate a component graphic symbol tree, and is further configured to:

[0027] Connect the transformer components in the component graphic symbols to the high-voltage area and the low-voltage area, and use them as the parent nodes of the component graphic symbol tree; use the component graphic symbols in the high-voltage area and the low-voltage area as child nodes.

[0028] Preferably, the establishing unit is configured to connect the component graphic symbols in the component graphic symbol tree based on a preset layout algorithm to establish an electromagnetic transient simulation model, and is further configured to:

[0029] Based on the preset layout algorithm, set the component graphic symbols in the high-voltage area at the top layer of the component graphic symbol tree, set the component graphic symbols in the low-voltage area at the bottom layer of the component graphic symbol tree, and set the transformer components in the middle layer;

[0030] The connection relationships of the top layer, the bottom layer, and the middle layer are automatically generated.

[0031] Preferably, the matching unit is configured to automatically match the parameters in a preset parameter library based on the types and connection relationships of the component graphic symbols in the electromagnetic transient simulation model, and is further configured to:

[0032] Automatically match the rated voltage and short-circuit impedance of the transformer.

[0033] The technical solution of the present invention provides an electromagnetic transient simulation method and system based on automatic layout. The method includes: dividing the component graphic symbols in the power system topology structure based on the voltage levels of the nodes; displaying the component graphic symbols in each area after area division in a tree structure to generate a component graphic symbol tree; connecting the component graphic symbols in the component graphic symbol tree based on a preset layout algorithm to establish an electromagnetic transient simulation model; automatically matching the parameters in a preset parameter library based on the types and connection relationships of the component graphic symbols in the electromagnetic transient simulation model; verifying the electromagnetic transient simulation model after matching the parameters. When the electromagnetic transient simulation model passes the verification, perform electromagnetic transient simulation through the electromagnetic transient simulation model and output a simulation file in a standard format. The technical solution of the present invention provides an automatic construction electromagnetic transient simulation method and system to quickly and automatically construct an electromagnetic transient simulation model based on automatic layout technology. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] By referring to the following drawings, the exemplary embodiments of the present invention can be more completely understood:

[0035] Figure 1 A flowchart of an electromagnetic transient simulation method based on automatic layout according to a preferred embodiment of the present invention;

[0036] Figure 2 A flowchart for automatically constructing an electromagnetic transient simulation model according to a preferred embodiment of the present invention;

[0037] Figure 3 A flowchart of an automatic layout algorithm according to a preferred embodiment of the present invention;

[0038] Figure 4 A schematic diagram of the unit structure of a function file according to a preferred embodiment of the present invention; and

[0039] Figure 5 A structure diagram of an electromagnetic transient simulation system based on automatic layout according to a preferred embodiment of the present invention. Detailed implementation manners

[0040] Now, exemplary embodiments of the present invention will be introduced with reference to the accompanying drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. These embodiments are provided to disclose the present invention in detail and completely, and to fully convey the scope of the present invention to those skilled in the art. The terms in the exemplary embodiments shown in the drawings are not limitations on the present invention. In the drawings, the same units / components are denoted by the same reference numerals.

[0041] Unless otherwise specified, the terms (including scientific and technical terms) used herein have the ordinary meaning understood by those skilled in the art. In addition, it can be understood that the terms defined in the commonly used dictionary should be understood to have a meaning consistent with the context of their related fields, and should not be understood as idealized or overly formal meanings.

[0042] Figure 1 A flowchart of an electromagnetic transient simulation method based on automatic layout according to a preferred embodiment of the present invention.

[0043] In large power systems, the number of primary and secondary components is large and the topological structure is complex. When constructing models, it is overly dependent on manual operations, and the efficiency and accuracy of modeling are limited. The present invention provides a method for automatically constructing an electromagnetic transient simulation model, which realizes the rapid and automatic construction of an electromagnetic transient simulation model based on automatic layout technology.

[0044] As Figure 1 shown, the present invention provides an electromagnetic transient simulation method based on automatic layout, and the method includes:

[0045] Step 101: Divide the component graphic symbols in the power system topology structure into regions based on the voltage levels of the nodes;

[0046] Preferably, the voltage levels include: 1100 kV, 800 kV, 500 kV, 220 kV, 110 kV, 35 kV, 10 kV, and below 10 kV.

[0047] The present invention divides the component graphic symbols into regions according to the voltage levels of the nodes. The different voltage levels include 1100 kV, 800 kV, 500 kV, 220 kV, 110 kV, 35 kV, 10 kV, and below 10 kV.

[0048] Step 102: Display the component graphic symbols in each region after region division in a tree structure to generate a component graphic symbol tree;

[0049] Preferably, displaying the component graphic symbols in each region after region division in a tree structure to generate a component graphic symbol tree includes:

[0050] Connect the transformer components in the component graphic symbols to the high-voltage region and the low-voltage region and use them as the parent nodes of the component graphic symbol tree; use the component graphic symbols in the high-voltage region and the low-voltage region as the child nodes.

[0051] After the region division is completed in the present invention, the component graphic symbols in each region are displayed in a tree structure; the transformer component is used as the key device connecting the high-voltage region and the low-voltage region and serves as the parent node in the tree structure, and its high-voltage side and low-voltage side are respectively displayed as child nodes.

[0052] Step 103: Connect the component graphic symbols in the component graphic symbol tree based on a preset layout algorithm to establish an electromagnetic transient simulation model;

[0053] Preferably, connecting the component graphic symbols in the component graphic symbol tree based on a preset layout algorithm to establish an electromagnetic transient simulation model includes:

[0054] Based on the preset layout algorithm, set the component graphic symbols in the high-voltage region at the top layer of the component graphic symbol tree, set the component graphic symbols in the low-voltage region at the bottom layer of the component graphic symbol tree, and set the transformer components in the middle layer;

[0055] The connection relationships of the top layer, the bottom layer, and the middle layer are automatically generated.

[0056] Based on the generated tree structure, the system automatically arranges and connects the component symbols. Through the preset layout algorithm, the system arranges the component symbols according to the hierarchical relationship of the tree structure and automatically generates connection lines. For example, the component symbols in the high-voltage area are located at the top layer of the tree structure, the component symbols in the low-voltage area are located at the bottom layer, and the connection devices such as transformers are located in the middle layer. The connection lines are automatically generated according to the electrical relationship between the components to ensure the accuracy of the model.

[0057] Step 104: Automatically match the parameters in the preset parameter library based on the types and connection relationships of the component symbols in the electromagnetic transient simulation model;

[0058] Preferably, automatically matching the parameters in the preset parameter library based on the types and connection relationships of the component symbols in the electromagnetic transient simulation model includes:

[0059] Automatically match the rated voltage and short-circuit impedance of the transformer.

[0060] After the automatic layout of the present invention is completed, the system automatically matches the parameters in the preset parameter library according to the types and connection relationships of the components. For example, parameters such as the rated voltage and short-circuit impedance of the transformer can be automatically extracted and filled from the parameter library.

[0061] Step 105: Verify the electromagnetic transient simulation model after matching the parameters. When the electromagnetic transient simulation model passes the verification, perform electromagnetic transient simulation through the electromagnetic transient simulation model and output a simulation file in a standard format.

[0062] The present invention verifies the integrity and consistency of the model to ensure that there are no missing or incorrect connections; the present invention outputs the automatically constructed electromagnetic transient simulation model in a standard simulation file format and imports it into simulation software to generate a visual interface.

[0063] The present invention proposes an automatic construction method for an electromagnetic transient simulation model based on automatic layout, including the following steps:

[0064] (1) Divide the component symbols into regions according to the voltage levels of the nodes;

[0065] (2) Display the component symbols in each region in a tree structure;

[0066] (3) Automatically arrange and connect the component symbols;

[0067] (4) Match the component parameters in different regions and output them in a standard simulation file format.

[0068] The present invention divides the component symbols into regions according to the different voltage levels of the nodes.

[0069] In the present invention, the component icons in each region are displayed in a tree structure.

[0070] The present invention uses an automatic layout algorithm to automatically layout and connect the component icons in each region.

[0071] The present invention matches component parameters according to different regions and outputs them in a standard simulation file format.

[0072] Through automatic layout and parameter matching, the present invention significantly reduces the time of manual operation and improves the modeling efficiency;

[0073] The automatic layout and connection in the present invention reduce human errors and improve the accuracy of the model;

[0074] The hierarchical display and region division method of the tree structure in the present invention can effectively handle the modeling requirements of large-scale complex power systems;

[0075] The present invention will be further described below in conjunction with the accompanying drawings and examples.

[0076] As Figure 2 shown, a method for automatically constructing an electromagnetic transient simulation model based on automatic layout is taken as an example of the electromagnetic transient simulation of a provincial power system. The system includes multiple voltage levels (such as 500 kV, 220 kV, 110 kV, etc.) and hundreds of electrical equipment. The traditional manual modeling method takes several days and is prone to inaccurate models due to human errors. After adopting the automatic construction method of the present invention, the system completed the automatic layout, parameter matching and verification of the model within 15 minutes and generated a standard simulation file. The user views the overall structure of the model through the visualization interface and fine-tunes some parameters as needed. The finally generated simulation model accurately reflects the electrical characteristics of the power system and provides a reliable basis for subsequent transient analysis. The specific steps are as follows:

[0077] Step 1: Input the mechanical and electrical data of the model system;

[0078] Step 2: Execute the model automatic construction system to complete the automatic layout, parameter matching and verification of the model; As Figure 3 shown.

[0079] Step 3: Import the generated standard simulation file into the electromagnetic simulation software.

[0080] Figure 5 It is a structural diagram of an electromagnetic transient simulation system based on automatic layout according to a preferred embodiment of the present invention.

[0081] As Figure 5 shown, the present invention provides an electromagnetic transient simulation system based on automatic layout, and the system includes:

[0082] A dividing unit 501 for dividing the component symbols in the power system topology into regions based on the voltage levels of the nodes;

[0083] Preferably, the voltage levels include: 1100 kV, 800 kV, 500 kV, 220 kV, 110 kV, 35 kV, 10 kV, and below 10 kV.

[0084] A generating unit 502 for displaying the component symbols in each region after region division in a tree structure to generate a component symbol tree;

[0085] Preferably, the generating unit 502 is used for displaying the component symbols after region division in a tree structure to generate a component symbol tree, and is further used for:

[0086] Connecting the transformer components in the component symbols to the high-voltage region and the low-voltage region and using them as the parent nodes of the component symbol tree; using the component symbols in the high-voltage region and the low-voltage region as the child nodes.

[0087] A building unit 503 for connecting the component symbols in the component symbol tree based on a preset layout algorithm to build an electromagnetic transient simulation model;

[0088] Preferably, the building unit 503 is used for connecting the component symbols in the component symbol tree based on a preset layout algorithm to build an electromagnetic transient simulation model, and is further used for:

[0089] Based on the preset layout algorithm, setting the component symbols in the high-voltage region at the top layer of the component symbol tree, setting the component symbols in the low-voltage region at the bottom layer of the component symbol tree, and setting the transformer components in the middle layer;

[0090] The connection relationships of the top layer, the bottom layer, and the middle layer are automatically generated.

[0091] A matching unit 504 for automatically matching the parameters in a preset parameter library based on the types and connection relationships of the component symbols in the electromagnetic transient simulation model;

[0092] Preferably, the matching unit 504 is used for automatically matching the parameters in a preset parameter library based on the types and connection relationships of the component symbols in the electromagnetic transient simulation model, and is further used for:

[0093] Automatically matching the rated voltage and short-circuit impedance of the transformer.

[0094] A result unit 505 for verifying the electromagnetic transient simulation model after parameter matching, and when the electromagnetic transient simulation model passes the verification, performing electromagnetic transient simulation through the electromagnetic transient simulation model and outputting a simulation file in a standard format.

[0095] A electromagnetic transient simulation system based on automatic layout in a preferred embodiment of the present invention corresponds to a electromagnetic transient simulation method based on automatic layout in another preferred embodiment of the present invention, which will not be elaborated here.

[0096] Those skilled in the art should understand that the embodiments of the present invention can be provided as a method, a system, or a computer program product. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present invention can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code. The solutions in the embodiments of the present invention can be implemented in various computer languages. For example, object-oriented programming languages such as Java and interpreted scripting languages such as JavaScript.

[0097] The present invention is described with reference to the flowcharts and / or block diagrams of methods, apparatuses (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram can be implemented by computer program instructions, and the combination of processes and / or blocks in the flowchart and / or block diagram can also be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing devices generate a device for implementing the specified functions in Figure 1 one process or multiple processes and / or blocks Figure 1 one block or multiple blocks.

[0098] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory generate a manufactured article including an instruction device, and the instruction device implements the specified functions in Figure 1 one process or multiple processes and / or blocks Figure 1 one block or multiple blocks.

[0099] These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to generate a computer-implemented process, and thus the instructions executed on the computer or other programmable device provide steps for implementing the specified functions in Figure 1 one process or multiple processes and / or blocks Figure 1 one block or multiple blocks.

[0100] Although the preferred embodiments of the present invention have been described, additional changes and modifications can be made to these embodiments by those skilled in the art once they learn of the basic inventive concept. Therefore, the appended claims are intended to be construed to include the preferred embodiments as well as all changes and modifications that fall within the scope of the present invention.

[0101] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention is also intended to include these modifications and variations.

[0102] The present invention has been described by reference to a few embodiments. However, as is well known to those skilled in the art, other embodiments equivalent to those disclosed above of the present invention equally fall within the scope of the present invention as defined by the appended patent claims.

[0103] Generally, all terms used in the claims are to be interpreted according to their ordinary meaning in the technical field, unless otherwise explicitly defined therein. All references to "a / the [device, component, etc.]" are to be interpreted openly as at least one instance of the device, component, etc., unless otherwise explicitly stated. The steps of any method disclosed herein need not be performed in the exact order disclosed, unless explicitly stated.

Claims

1. An electromagnetic transient simulation method based on automatic layout, the method comprising: Dividing the component symbols in the power system topology into regions based on the voltage levels of the nodes; Displaying the component symbols in each region after region division in a tree structure to generate a component symbol tree; Connecting the component symbols in the component symbol tree based on a preset layout algorithm to establish an electromagnetic transient simulation model; Automatically matching the parameters in a preset parameter library based on the types and connection relationships of the component symbols in the electromagnetic transient simulation model; Verifying the electromagnetic transient simulation model after parameter matching, and when the electromagnetic transient simulation model passes the verification, performing electromagnetic transient simulation through the electromagnetic transient simulation model and outputting a simulation file in a standard format.

2. The method according to claim 1, wherein the voltage level includes: 1100 kV, 800 kV, 500 kV, 220 kV, 110 kV, 35 kV, 10 kV, and below 10 kV.

3. The method according to claim 1, wherein the displaying the component symbols in each region after region division in a tree structure to generate a component symbol tree comprises: Connecting the transformer components in the component symbols to the high-voltage region and the low-voltage region and using them as the parent nodes of the component symbol tree; Using the component symbols in the high-voltage region and the low-voltage region as child nodes.

4. The method according to claim 3, wherein the connecting the component symbols in the component symbol tree based on a preset layout algorithm to establish an electromagnetic transient simulation model comprises: Based on a preset layout algorithm, arranging the component symbols in the high-voltage region at the top layer of the component symbol tree, arranging the component symbols in the low-voltage region at the bottom layer of the component symbol tree, and arranging the transformer components in the middle layer; The connection relationships of the top layer, the bottom layer, and the middle layer are automatically generated.

5. The method according to claim 1, wherein the automatically matching the parameters in a preset parameter library based on the types and connection relationships of the component symbols in the electromagnetic transient simulation model comprises: Automatically matching the rated voltage and short-circuit impedance of the transformer.

6. An electromagnetic transient simulation system based on automatic layout, the system comprising: A dividing unit for dividing the component symbols in the power system topology into regions based on the voltage levels of the nodes; A generating unit for displaying the component symbols in each region after region division in a tree structure to generate a component symbol tree; A building unit for connecting the component symbols in the component symbol tree based on a preset layout algorithm to establish an electromagnetic transient simulation model; A matching unit for automatically matching the parameters in a preset parameter library based on the types and connection relationships of the component symbols in the electromagnetic transient simulation model; A result unit for verifying the electromagnetic transient simulation model after parameter matching, and when the electromagnetic transient simulation model passes the verification, performing electromagnetic transient simulation through the electromagnetic transient simulation model and outputting a simulation file in a standard format.

7. The system according to claim 6, wherein the voltage level includes: 1100 kV, 800 kV, 500 kV, 220 kV, 110 kV, 35 kV, 10 kV, and below 10 kV.

8. The generating unit in the system according to claim 6 is configured to display the component icons after area division in a tree structure to generate a component icon tree, and is further configured to: Connect the transformer component in the component icon to the high-voltage area and the low-voltage area and use it as the parent node of the component icon tree; use the component icons in the high-voltage area and the low-voltage area as child nodes.

9. The establishing unit in the system according to claim 8 is configured to connect the component icons in the component icon tree based on a preset layout algorithm to establish an electromagnetic transient simulation model, and is further configured to: Based on the preset layout algorithm, set the component icons in the high-voltage area at the top layer of the component icon tree, set the component icons in the low-voltage area at the bottom layer of the component icon tree, and set the transformer component at the middle layer; The connection relationships of the top layer, the bottom layer, and the middle layer are automatically generated.

10. The matching unit in the system according to claim 6 is configured to automatically match the parameters in a preset parameter library based on the types and connection relationships of the component icons in the electromagnetic transient simulation model, and is further configured to: Automatically match the rated voltage and short-circuit impedance of the transformer.