A large power grid test system construction method and device

By reading and processing power grid data, constructing and splicing sub-test systems, it solves the problem of low expansion and construction efficiency of existing simulation test systems, realizes larger-scale test system construction, and meets the computing needs of new power systems.

CN115544781BActive Publication Date: 2024-09-24ELECTRIC POWER RES INST CHINA SOUTHERN POWER GRID CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211274772.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-18
Publication Date
2024-09-24
Estimated Expiration
2042-10-18

AI Technical Summary

Technical Problem

The existing simulation test system is inefficient when expanding its structure and cannot meet the computing needs of future new power system scales, especially with the high proportion of new energy access and the increase in the application of power electronic devices.

Method used

By reading the original power grid data, we construct a set of basic elements of the power grid, determine the maximum name length and original number of various elements, calculate the multiple relationship between the required test system scale and the original power grid scale, establish the mapping relationship of sub-test systems, and construct multiple sub-test systems and perform data classification and splicing to form a larger test system.

Benefits of technology

It realizes the efficient automatic construction of a larger-scale test system based on the existing actual power grid data, solves the problem of low expansion and construction efficiency of the existing simulation test system, and meets the computing scale needs of future power systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115544781B
    Figure CN115544781B
Patent Text Reader

Abstract

The present application discloses a method and device for constructing a large power grid test system. The scheme provided by the present application is based on a constructed power grid basic element set. According to the power grid basic elements in the power grid basic element set, the maximum name length and the original number of various power grid basic elements are determined, the multiple relationship between the required test system scale and the original power grid scale is calculated, and the magnification factor is obtained. A mapping relationship is established between the elements of the power grid basic element set and the image set of the sub-test system. According to the mapping relationship, the basic elements in the original power grid data are replaced with the corresponding image set, and multiple sub-test systems of equal scale to the original power grid data are constructed in turn. Finally, all the sub-test systems are classified and spliced ​​to achieve the construction of a larger-scale test system based on the existing actual power grid data, thereby solving the technical problem of low expansion construction efficiency of the existing simulation test system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of software technology, and in particular to a method and device for constructing a large power grid test system. Background Art

[0002] In order to achieve the national strategic goal of "carbon peak and carbon neutrality", vigorously developing new energy has become an inevitable trend in building a clean and low-carbon new power system. In the future, with the access of a high proportion of new energy and the application of a high proportion of power electronic devices, the scale of the new power system will expand dramatically, and the computing scale of the existing simulation test system will be difficult to meet the requirements. It is urgent to expand the computing scale of the simulation test system. The simulation software after the expansion of the computing scale needs to be verified by the test system simulation. The computing scale of the new power system in the future may be several times, or even tens or hundreds of times, the computing scale of the actual power grid at this stage. The engineering workload is huge and the construction efficiency is low. Summary of the invention

[0003] The present application provides a method and device for constructing a large power grid test system, which are used to solve the technical problem of low expansion construction efficiency of existing simulation test systems.

[0004] In order to solve the above technical problems, the first aspect of the present application provides a method for constructing a large power grid test system, comprising:

[0005] Read the original power grid data and construct a set of basic elements of the power grid;

[0006] According to the power grid basic elements in the power grid basic element set, determining the maximum value of the name length and the original number of each type of power grid basic elements;

[0007] According to the original number, the multiple relationship between the required test system scale and the original power grid scale is calculated to obtain the magnification factor;

[0008] Establishing a mapping relationship between the elements of the basic element set of the power grid and the image set of the sub-test system, replacing the basic elements in the original power grid data with the corresponding image set according to the mapping relationship, and sequentially constructing a plurality of sub-test systems of equal scale to the original power grid data, wherein the number of the sub-test systems corresponds to the magnification;

[0009] Classify and connect the data of all sub-test systems to obtain a complete test system.

[0010] Preferably, before establishing a mapping relationship between the elements of the power grid basic element set and the image set of the sub-test system, the method further includes:

[0011] According to the maximum name length, the maximum number of names of the maximum name length in hexadecimal is calculated; if the maximum number of names is not less than the product of the magnification factor and the original number, a mapping relationship is established between the elements of the basic element set of the power grid and the image set of the sub-test system; if the maximum number of names is less than the product of the magnification factor and the original number, the test system construction is terminated.

[0012] Preferably, the basic elements of the power grid specifically include: regions, zones, nodes, transmission lines and transformers.

[0013] Preferably, the calculation formula of the magnification is specifically:

[0014]

[0015] Wherein, k is the magnification factor, n_bus is the original number of node elements, n_line is the original number of transmission lines, n_tran is the original number of transformer elements, n_bus_need is the required number of node elements in the test system, n_line_need is the required number of transmission line elements in the test system, and n_tran_need is the required number of transformer elements in the test system.

[0016] Preferably, the data classification and splicing specifically includes: mode data classification and splicing and electromechanical transient data classification and splicing.

[0017] A second aspect of the present application provides a large power grid test system construction device, comprising:

[0018] A raw data reading unit, used to read raw power grid data and construct a set of basic elements of the power grid;

[0019] An element attribute determination unit, used to determine the maximum value of the name length and the original number of various types of power grid basic elements according to the power grid basic elements in the power grid basic element set;

[0020] An amplification factor calculation unit, used to calculate the multiple relationship between the required test system scale and the original power grid scale according to the original number, to obtain the amplification factor;

[0021] A subsystem construction unit, used to establish a mapping relationship between the elements of the basic element set of the power grid and the image set of the sub-test system, replace the basic elements in the original power grid data with the corresponding image set according to the mapping relationship, and sequentially construct a plurality of sub-test systems of equal scale to the original power grid data, wherein the number of the sub-test systems corresponds to the magnification;

[0022] The subsystem data splicing unit is used to classify and splice the data of all sub-test systems to obtain a complete test system.

[0023] Preferably, it also includes:

[0024] The size rationality judgment unit is used to calculate the maximum number of names of the maximum name length in hexadecimal based on the maximum name length. If the maximum number of names is not less than the product of the magnification factor and the original number, a mapping relationship is established between the elements of the basic element set of the power grid and the image set of the sub-test system. If the maximum number of names is less than the product of the magnification factor and the original number, the test system construction is terminated.

[0025] Preferably, the basic elements of the power grid specifically include: regions, zones, nodes, transmission lines and transformers.

[0026] Preferably, the calculation formula of the magnification is specifically:

[0027]

[0028] Wherein, k is the magnification factor, n_bus is the original number of node elements, n_line is the original number of transmission lines, n_tran is the original number of transformer elements, n_bus_need is the required number of node elements in the test system, n_line_need is the required number of transmission line elements in the test system, and n_tran_need is the required number of transformer elements in the test system.

[0029] Preferably, the data classification and splicing specifically includes: mode data classification and splicing and electromechanical transient data classification and splicing.

[0030] It can be seen from the above technical solutions that this application has the following advantages:

[0031] The solution provided in the present application is based on a constructed set of basic elements of a power grid. According to the basic elements of the power grid in the set of basic elements of the power grid, the maximum name length and the original number of each type of basic elements of the power grid are determined, the multiple relationship between the required test system scale and the original power grid scale is calculated, and the magnification factor is obtained. A mapping relationship is established between the elements of the set of basic elements of the power grid and the image set of the sub-test system. According to the mapping relationship, the basic elements in the original power grid data are replaced with the corresponding image set, and multiple sub-test systems of equal scale to the original power grid data are constructed in turn. Finally, data of all sub-test systems are classified and spliced ​​to achieve the construction of a larger-scale test system based on the existing actual power grid data, thereby solving the technical problem of low expansion efficiency of the existing simulation test system. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0033] Figure 1 A flowchart of an embodiment of a method for constructing a large power grid test system provided in the present application.

[0034] Figure 2 A flowchart of another embodiment of a large power grid test system construction method provided in the present application.

[0035] Figure 3 A logic block diagram of the complete process of a large power grid test system construction method provided in this application.

[0036] Figure 4 A schematic structural diagram of an embodiment of a large power grid test system construction device provided in the present application. DETAILED DESCRIPTION

[0037] The simulation software needs to be verified by the test system simulation after the calculation scale is expanded. The calculation scale of the new power system in the future may be several times, or even tens or hundreds of times, of the actual power grid calculation scale at this stage. The simulation scale cannot be tested and verified through the existing actual power grid data. It is necessary to construct a larger test system based on the existing actual power grid data. The conventional method is to multiply it, but it is necessary to ensure that the names of power grid equipment cannot be repeated. The data format of common power system simulation software such as BPA stipulates the character length of node names, partition names, and regional names. In addition, when compiling power grid data, the names may have been fully filled with all characters, leaving no expansion bits. It is not possible to simply add identifiers after the names to expand and distinguish them. Therefore, it is necessary to propose a construction method to achieve efficient and automatic construction of large power grid test systems.

[0038] In view of this, an embodiment of the present application provides a method and device for constructing a large power grid test system, which is used to solve the technical problem of low efficiency in the expansion construction of existing simulation test systems.

[0039] In order to make the purpose, features, and advantages of the invention of this application more obvious and easy to understand, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the embodiments described below are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0040] See also Figure 1 The first embodiment of the present application provides a method for constructing a large power grid test system, including:

[0041] Step 101: read original power grid data and construct a set of basic elements of the power grid.

[0042] First, by reading the original power grid data, extracting the basic elements of the power grid, and constructing a set of basic elements of the power grid, including a set of basic elements such as area, partition, node, transmission line and transformer, such as area_list_0, zone_list_0, bus_list_0, line_list_0, and tran_list_0.

[0043] Step 102: Determine the maximum name length and original number of each type of power grid basic element according to the power grid basic elements in the power grid basic element set.

[0044] It should be noted that in the above-mentioned power grid basic element sets, the elements in each basic element set are represented in the form of name strings. The allowed string lengths of element names such as area names, partition names, and node names are obtained, which are recorded as nstr_area, nstr_zone, nstr_bus, etc., respectively, and the original power grid scale, including the original number of elements such as areas, partitions, nodes, transmission lines, and transformers, are recorded as n_area, n_zone, n_bus, n_line, and n_tran, respectively.

[0045] Step 103: Calculate the multiple relationship between the required test system scale and the original power grid scale based on the original number to obtain the magnification factor.

[0046] It should be noted that the magnification factor k is obtained by calculating the multiple relationship between the required test system scale and the original power grid scale.

[0047] Step 104: Establish a mapping relationship between the elements of the basic element set of the power grid and the image set of the sub-test system, replace the basic elements in the original power grid data with the corresponding image set according to the mapping relationship, and sequentially construct multiple sub-test systems with the same scale as the original power grid data.

[0048] The number of sub-test systems corresponds to the magnification.

[0049] Next, the image set of all elements in the basic element set XXX_list_0 in the sub-test system n is XXX_list_n. When 36^(nstr_XXX-1)>=n_XXX, the elements in XXX_list_n are represented by the string combination of the sub-test system number n and the element number m in hexadecimal. Otherwise, they are represented by the string form of the value of "sub-test system number n*original number of elements n_XXX+element number m" in hexadecimal. For example, the BPA simulation software stipulates that the partition name string length is nstr_zone=2. If the original power grid is divided If the number of zones is n_zone=9, it needs to be enlarged by k=20 times, because 36^(2-1)>=9, then the name of the 8th zone of subtest system 11 is represented by the string combination of subtest system number 11 and element number 8, which is represented as "B8" in hexadecimal; if the number of zones of the original power grid is n_zone=40, it needs to be enlarged by k=20 times, because 36^(2-1)<40, then the name of the 8th zone of subtest system 11 is represented by the string of "subtest system number 11*original number of elements 40+element number 8", which is represented as "CG" in hexadecimal. Then, according to the mapping of node element set, zone element set and region element set, all basic elements such as nodes, zones and regions in the original power grid data are replaced with corresponding images, including the node names of each end of power grid equipment such as transmission lines and transformers, to construct a subtest system of the same scale as the original power grid data, and then construct k subtest systems according to the same process.

[0050] Step 105: Classify and connect the data of all sub-test systems to obtain a complete test system.

[0051] Finally, based on the k sub-test systems obtained in the above steps, the k sub-test systems are classified and spliced ​​to generate a complete test system.

[0052] This embodiment is based on a constructed grid basic element set. According to the grid basic elements in the grid basic element set, the maximum name length and the original number of each type of grid basic elements are determined, the multiple relationship between the required test system scale and the original grid scale is calculated, and the magnification factor is obtained. A mapping relationship is established between the elements of the grid basic element set and the image set of the sub-test system. According to the mapping relationship, the basic elements in the original grid data are replaced with the corresponding image sets, and multiple sub-test systems of equal scale to the original grid data are constructed in turn. Finally, all the sub-test systems are classified and spliced ​​to obtain a complete test system with expanded computing scale, which solves the technical problem of low expansion construction efficiency of existing simulation test systems.

[0053] The above content is a detailed description of a first embodiment of a large power grid test system construction method provided by the present application. The following is a detailed description of another embodiment of a large power grid test system construction method provided by the present application.

[0054] See also Figure 2 and Figure 3 The second embodiment of the present application further provides a method for constructing a large power grid test system based on the content of the previous embodiment.

[0055] Furthermore, before establishing a mapping relationship between the elements of the basic element set of the power grid and the image set of the sub-test system, the method further includes:

[0056] Step 1001, based on the maximum name length, calculate the maximum number of names in hexadecimal. If the maximum number of names is not less than the product of the magnification factor and the original number, jump to step 104. If the maximum number of names is less than the product of the magnification factor and the original number, jump to step 106 to terminate the test system construction.

[0057] It should be noted that, before executing the step of establishing a mapping relationship between the elements of the power grid basic element set and the image set of the sub-test system, this embodiment can also perform a size rationality judgment, that is, judge whether the maximum number that can be represented by the string length allowed by the basic elements composed of 0 to 9 and A to Z in hexadecimal is greater than or equal to k times the original number of basic elements. If so, element mapping construction is performed, otherwise the test system construction is terminated (assuming that the allowed string length is 2, and the maximum number that can be represented by 2-bit characters in hexadecimal is 36^2=1296). The basic elements such as area, partition, node, etc. are judged separately.

[0058] Furthermore, the basic elements of the power grid specifically include: regions, zones, nodes, transmission lines and transformers.

[0059] Furthermore, the calculation formula of the magnification is specifically:

[0060]

[0061] Where k is the magnification factor, n_bus is the original number of node elements, n_line is the original number of transmission lines, n_tran is the original number of transformer elements, n_bus_need is the required number of node elements in the test system, n_line_need is the required number of transmission line elements in the test system, and n_tran_need is the required number of transformer elements in the test system.

[0062] The purpose of this calculation formula is to calculate the number of test system nodes, transmission lines, and transformers required, divide them by the rounded-up multiple of the original number, and then take the maximum value of the three as the magnification factor.

[0063] Furthermore, data classification and splicing specifically include: mode data classification and splicing and electromechanical transient data classification and splicing.

[0064] Among them, the classification and splicing of mode data specifically includes: regional partition definition data, network data, etc., while the classification and splicing of electromechanical transient data specifically includes: fault data, model data, output data, etc.

[0065] The above content is a detailed description of the second embodiment of a large power grid test system construction method provided by the present application. The following is a detailed description of an embodiment of a large power grid test system construction device provided by the present application.

[0066] See also Figure 4 The third embodiment of the present application provides a large power grid test system construction device, including:

[0067] The original data reading unit 201 is used to read the original power grid data and construct a set of basic elements of the power grid;

[0068] An element attribute determination unit 202, configured to determine the maximum name length and the original number of various types of power grid basic elements according to the power grid basic elements in the power grid basic element set;

[0069] The magnification factor calculation unit 203 is used to calculate the multiple relationship between the required test system scale and the original power grid scale according to the original number to obtain the magnification factor;

[0070] The subsystem construction unit 204 is used to establish a mapping relationship between the elements of the power grid basic element set and the image set of the sub-test system, replace the basic elements in the original power grid data with the corresponding image set according to the mapping relationship, and sequentially construct a plurality of sub-test systems of equal scale to the original power grid data, wherein the number of sub-test systems corresponds to the magnification;

[0071] The subsystem data splicing unit 205 is used to classify and splice the data of all sub-test systems to obtain a complete test system.

[0072] Furthermore, it also includes:

[0073] The size rationality judgment unit 2001 is used to calculate the maximum number of names of the maximum name length in hexadecimal based on the maximum name length. If the maximum number of names is not less than the product of the magnification factor and the original number, a mapping relationship is established between the elements of the basic element set of the power grid and the image set of the sub-test system. If the maximum number of names is less than the product of the magnification factor and the original number, the test system construction is terminated.

[0074] Furthermore, the basic elements of the power grid specifically include: regions, zones, nodes, transmission lines and transformers.

[0075] Furthermore, the calculation formula of the magnification is specifically:

[0076]

[0077] Where k is the magnification factor, n_bus is the original number of node elements, n_line is the original number of transmission lines, n_tran is the original number of transformer elements, n_bus_need is the required number of node elements in the test system, n_line_need is the required number of transmission line elements in the test system, and n_tran_need is the required number of transformer elements in the test system.

[0078] Furthermore, data classification and splicing specifically include: mode data classification and splicing and electromechanical transient data classification and splicing.

[0079] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the terminals, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0080] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0081] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can, for example, be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0082] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0083] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0084] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0085] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for constructing a large power grid test system, characterized in that: include: Read the original power grid data and construct a set of basic elements of the power grid; According to the power grid basic elements in the power grid basic element set, determining the maximum value of the name length and the original number of each type of power grid basic element; According to the original number, the multiple relationship between the required test system scale and the original power grid scale is calculated to obtain the magnification factor; According to the maximum value of the name length, the maximum number of names of the maximum value of the name length in hexadecimal is calculated; if the maximum number of names is not less than the product of the magnification factor and the original number, a mapping relationship is established between the elements of the basic element set of the power grid and the image set of the sub-test system; if the maximum number of names is less than the product of the magnification factor and the original number, the test system construction is terminated; Establishing a mapping relationship between the elements of the basic element set of the power grid and the image set of the sub-test system, replacing the basic elements in the original power grid data with the corresponding image set according to the mapping relationship, and sequentially constructing a plurality of sub-test systems of equal scale to the original power grid data, wherein the number of the sub-test systems corresponds to the magnification; Classify and connect the data of all sub-test systems to obtain a complete test system.

2. A large power grid test system construction method according to claim 1, characterized in that: The basic elements of the power grid specifically include: regions, zones, nodes, transmission lines and transformers.

3. A large power grid test system construction method according to claim 2, characterized in that: The calculation formula of the magnification is specifically: Wherein, k is the magnification factor, n_bus is the original number of node elements, n_line is the original number of transmission lines, n_tran is the original number of transformer elements, n_bus_need is the required number of node elements in the test system, n_line_need is the required number of transmission line elements in the test system, and n_tran_need is the required number of transformer elements in the test system.

4. A large power grid test system construction method according to claim 2, characterized in that: The data classification and splicing specifically include: mode data classification and splicing and electromechanical transient data classification and splicing.

5. A large power grid test system construction device, characterized in that: include: A raw data reading unit, used to read raw power grid data and construct a set of basic elements of the power grid; An element attribute determination unit, used to determine the maximum value of the name length and the original number of various types of power grid basic elements according to the power grid basic elements in the power grid basic element set; An amplification factor calculation unit, used to calculate the multiple relationship between the required test system scale and the original power grid scale according to the original number, to obtain the amplification factor; A size rationality judgment unit, used for calculating the maximum number of names of the maximum name length in hexadecimal according to the maximum name length, and if the maximum number of names is not less than the product of the magnification factor and the original number, establishing a mapping relationship between the elements of the power grid basic element set and the image set of the sub-test system, and if the maximum number of names is less than the product of the magnification factor and the original number, terminating the test system construction; A subsystem construction unit, used to establish a mapping relationship between the elements of the basic element set of the power grid and the image set of the sub-test system, replace the basic elements in the original power grid data with the corresponding image set according to the mapping relationship, and sequentially construct a plurality of sub-test systems of equal scale to the original power grid data, wherein the number of the sub-test systems corresponds to the magnification; The subsystem data splicing unit is used to classify and splice the data of all sub-test systems to obtain a complete test system.

6. A large power grid test system construction device according to claim 5, characterized in that: The basic elements of the power grid specifically include: regions, zones, nodes, transmission lines and transformers.

7. A large power grid test system construction device according to claim 6, characterized in that: The calculation formula of the magnification is specifically: Wherein, k is the magnification factor, n_bus is the original number of node elements, n_line is the original number of transmission lines, n_tran is the original number of transformer elements, n_bus_need is the required number of node elements in the test system, n_line_need is the required number of transmission line elements in the test system, and n_tran_need is the required number of transformer elements in the test system.

8. A large power grid test system construction device according to claim 6, characterized in that: The data classification and splicing specifically include: mode data classification and splicing and electromechanical transient data classification and splicing.