Statistical method and device of line change relation, electronic equipment and storage medium
By constructing a network topology diagram and associating transformer and distribution line markings, the problem of low statistical efficiency and accuracy of line variation relationship in the existing technology is solved, and efficient and accurate results of line loss analysis in the power grid are achieved.
Patent Information
- Application Number
- CN202411148926.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-21
- Publication Date
- 2024-12-13
AI Technical Summary
The prior art has low statistical efficiency and low accuracy when calculating line-change relationships, and inconsistent line hunting strategies, resulting in low efficiency in the analysis of power grid power loss.
By constructing a network topology diagram, the line change information between the transformer and the substation are identified, and the transformer identification is associated with the distribution line identification is automatically determined, so as to improve statistical efficiency and accuracy.
It realizes efficient and accurate statistics on the line-change relationship between transformers and substations in the power grid, and improves the accuracy and efficiency of line-loss analysis.
Smart Images

Figure CN119134287A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a statistical method, device, electronic device and storage medium for linear variable relationships. Background Art
[0002] Line loss is the abbreviation of power loss in the power grid, which refers to the power loss and loss in the transmission, transformation, distribution and marketing process of power from power plants to power users. In the production planning of the power industry, calculating line loss is of great research significance for analyzing the structure of the power grid and obtaining an economical operation mode, as well as identifying the components with excessive loss in the power grid system and the reasons for the high loss, so as to obtain a better distribution method.
[0003] Before calculating line loss, it is necessary to count the line-to-transformer relationship (referring to the power supply affiliation relationship between transformers and each feeder of substations) in the distribution system, so as to perform line loss analysis based on each line-to-transformer relationship obtained by statistics. The existing method of statistical line-to-transformer relationship is generally to obtain it manually based on a certain subjective line search strategy for the distribution single line diagram of the power grid system.
[0004] The existing statistical line-change relationship method has problems such as low statistical efficiency, low accuracy, and inconsistent line-finding strategies. Summary of the invention
[0005] The present application provides a statistical method, device, electronic device and storage medium for line-variable relationship, which can improve the statistical efficiency and statistical accuracy of line-variable relationship.
[0006] In a first aspect, the present application provides a statistical method for line-transformer relationship, comprising: constructing a network topology diagram based on equipment information in a distribution network single-line diagram, the equipment information at least including a substation, at least one transformer and at least one distribution line; the network topology diagram includes a substation node corresponding to the substation, a transformer node corresponding to at least one transformer and a line node corresponding to at least one distribution line; obtaining line-transformer information between a current transformer node and the substation node from the network topology diagram, the line-transformer information including a current transformer identifier and a line identifier corresponding to at least one target distribution line; associating the current transformer identifier with a line identifier corresponding to at least one target distribution line to obtain the line-transformer relationship between the current transformer and the substation, and after each transformer in the distribution network single-line diagram is counted, obtaining the statistical results of the line-transformer relationship between each transformer and the substation.
[0007] Optionally, constructing a network topology diagram based on the device information in the distribution network single-line diagram includes: determining the target device information based on the field identifier in the distribution network single-line diagram, one target device information is a topology node; obtaining the node number of each topology node, the node number including the head end number and the terminal end number; when the terminal number of the current topology node is the same as the head end number of the target topology node, determining that the current topology node and the target topology node have a connection relationship, and connecting the current topology node and the target topology node; after traversing each target device information in the distribution network single-line diagram, obtaining the network topology diagram according to the connection relationship between the topology nodes corresponding to each target device information.
[0008] Optionally, determining the target device information based on the field identifier in the distribution network single-line diagram includes: for the current field identifier in the distribution network single-line diagram, determining whether the field type corresponding to the current field identifier is a preset type; if the field type corresponding to the current field identifier is not the preset type, eliminating the device information corresponding to the current field identifier; if the field type corresponding to the current field identifier is the preset type, determining that the device information corresponding to the current field identifier is the target device information.
[0009] Optionally, the network topology map includes at least one root node; before obtaining the line transformer information between the current transformer node and the substation node from the network topology map, it also includes: for each root node, judging whether the node information corresponding to the current root node includes a preset field; if the node information corresponding to the current root node includes the preset field, determining that the current root node is the transformer node, and performing an operation of obtaining the line transformer information between the current transformer node and the substation node from the network topology map; if the node information corresponding to the current root node does not include the preset field, determining that the current root node is the distribution line node, obtaining the next node, and judging whether the node information corresponding to the next node contains the preset field.
[0010] Optionally, obtaining the line-transformation information between the current transformer node and the substation node from the network topology map includes: identifying the node information of each topology node in the network topology map, and determining the substation node according to the node information; performing reverse topology from the current transformer node to the substation node to obtain a topology line, wherein the topology line includes a line identifier corresponding to a target distribution line; obtaining the line-transformation information between the current transformer and the substation according to the line identifiers corresponding to the current transformer node, the substation node and the target distribution line.
[0011] Optionally, associating the current transformer identifier with the line identifier corresponding to at least one of the target distribution lines includes: classifying and extracting the transformer information and line information in the distribution network single-line diagram to obtain a transformer information table and a line information table, respectively; the transformer information table includes at least a transformer identifier corresponding to each transformer and a transformer code corresponding to each of the transformer identifiers, and the line information table includes at least a line identifier corresponding to each distribution line and a line code corresponding to each of the line identifiers; determining the target transformer code corresponding to the current transformer identifier from the transformer information table; determining the target line code corresponding to the line identifier corresponding to at least one of the target distribution lines from the line information table; associating the target transformer code with at least one of the target line codes to obtain a line-transformer relationship between the transformer and the substation.
[0012] Optionally, the transformer information and line information in the distribution network single-line diagram are classified and extracted to obtain a transformer information table and a line information table respectively, including: determining the substation according to the field identifier in the distribution network single-line diagram, and obtaining each device information in sequence based on the principle of being closest to the substation; for each of the transformers, determining the transformer code corresponding to each transformer according to the order of identification, and obtaining the transformer information table according to the transformer identifier and the transformer code corresponding to each transformer; for each of the distribution lines, determining the line code corresponding to each of the distribution lines according to the order of identification, and obtaining the line information table according to the line identifier and the line code corresponding to each of the distribution lines.
[0013] In a second aspect, the present application provides a statistical device for linear variation relationship, the device comprising:
[0014] A topology diagram construction module is used to construct a network topology diagram according to the equipment information in the distribution network single-line diagram, wherein the equipment information at least includes a substation, at least one transformer and at least one distribution line; the network topology diagram includes a substation node corresponding to the substation, a transformer node corresponding to at least one transformer and a line node corresponding to at least one distribution line;
[0015] An information acquisition module, for acquiring, for a current transformer, line transformer information between a current transformer node and the substation node from the network topology diagram; the line transformer information includes a current transformer identifier and a line identifier corresponding to at least one target distribution line;
[0016] An identification association module is used to associate the current transformer identification with the line identification corresponding to at least one of the target distribution lines, obtain the line-transformer relationship between the current transformer and the substation, and after each transformer in the distribution network single-line diagram is counted, obtain the statistical results of the line-transformer relationship between each transformer and the substation.
[0017] In a third aspect, the present application further provides an electronic device, the electronic device comprising:
[0018] at least one processor; and
[0019] a memory communicatively connected to the at least one processor; wherein,
[0020] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the statistical method of line-variation relationship described in any embodiment of the present application.
[0021] In a fourth aspect, the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the statistical method of line-variant relationship described in any embodiment of the present application when executed.
[0022] In a fifth aspect, the present application further provides a computer program product, including a computer program, which, when executed by a processor, implements the statistical method of line-variant relationship described in any embodiment of the present application.
[0023] The statistical scheme of line-to-substation relationship provided by the embodiment of the present application first constructs a complex distribution network single-line diagram into a network topology diagram that is convenient for analyzing the association relationship between each device. The network topology diagram provided in this embodiment includes a substation node corresponding to the substation, a transformer node corresponding to at least one transformer, and a line node corresponding to at least one distribution line; then, each node in the network topology diagram is identified. For the transformer node, the line-to-substation information between the current transformer node and the substation node is obtained from the network topology diagram. In this embodiment, the line-to-substation information includes the current transformer identifier and the line identifier corresponding to at least one target distribution line; thereby, the current transformer identifier is associated with the line identifier corresponding to at least one target distribution line, and the line-to-substation relationship between the current transformer and the substation is obtained. After each transformer in the distribution network single-line diagram is counted, the statistical results of the line-to-substation relationship between each transformer and the substation are obtained. This embodiment can automatically obtain the line-to-substation relationship between each transformer and the substation in the distribution network single-line diagram by reversely searching from the transformer node to the substation node to determine the search strategy. By formulating standard search rules, the statistical efficiency of the line-to-substation relationship and the statistical accuracy of the line-to-substation relationship are improved.
[0024] It should be noted that the above-mentioned computer instructions may be stored in whole or in part on a computer-readable storage medium. The computer-readable storage medium may be packaged together with the processor of the statistical device of the line-variable relationship, or may be packaged separately from the processor of the statistical device of the line-variable relationship, and this application does not limit this.
[0025] The descriptions of the second, third, fourth and fifth aspects of the present application can refer to the detailed description of the first aspect; and the beneficial effects of the descriptions of the second, third, fourth and fifth aspects can refer to the beneficial effect analysis of the first aspect, which will not be repeated here.
[0026] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description.
[0027] It is understandable that before using the technical solutions disclosed in the embodiments of this application, the type, scope of use, and usage scenarios of the personal information involved in this application should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0029] Figure 1 It is a flow chart of a statistical method of line-variation relationship provided in an embodiment of the present application;
[0030] Figure 2 It is a structural schematic diagram of a network topology diagram provided in an embodiment of the present application;
[0031] Figure 3 is another flow chart of the statistical method of line-variation relationship provided in the embodiment of the present application;
[0032] Figure 4 It is a structural schematic diagram of a statistical device for linear variation relationship provided in an embodiment of the present application;
[0033] Figure 5 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0034] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the present application will be clearly and completely described below in conjunction with the drawings in the present embodiment. Obviously, the described embodiment is only a part of the embodiment of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work should fall within the scope of protection of the present application.
[0035] It should be noted that the terms "first", "second", etc. in the specification and claims 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 be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0036] The present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for ease of description, only the parts related to the present application, rather than all structures, are shown in the accompanying drawings.
[0037] Figure 1 A flow chart of a statistical method for line-variation relationship provided in an embodiment of the present application. This embodiment can be applied to statistically analyze line-variation relationship to accurately calculate theoretical line loss. This method can be executed by a statistical device for line-variation relationship, which can be implemented in the form of hardware and / or software and integrated in an electronic device that executes this method. Preferably, the electronic device in the embodiment of the present application can be a server, or a computer device, etc.
[0038] refer to Figure 1 The statistical method of the linear variation relationship of this embodiment includes but is not limited to the following steps:
[0039] S110. Construct a network topology diagram according to the equipment information in the distribution network single-line diagram.
[0040] In the dispatching and operation management of the distribution network, the distribution network single-line diagram can clearly display the structure of the distribution network and the equipment connection relationship, helping dispatchers to quickly understand and handle various situations in the distribution network. The distribution network single-line diagram contains equipment information, which includes at least a substation, at least one transformer and at least one distribution line; it can also include cables, transformers, phase transformers, distribution rooms, ring network cabinets, branch boxes and pole racks, etc. Among them, there is only one substation. In addition to the actual connection relationship between the above-mentioned equipment, the distribution network single-line diagram also contains equipment information corresponding to each device, such as the equipment model, equipment name, and / or equipment identification corresponding to each device. For distribution lines, it should also include the line length corresponding to this section of the line, etc. The specific equipment information contained in the distribution network single-line diagram for each device is not limited here.
[0041] In this embodiment, a corresponding network topology diagram can be constructed according to the device information in the distribution network single line diagram. In this embodiment, the association relationship between devices is simplified and clarified by constructing a network topology diagram, which is helpful for the subsequent sorting out of the line-to-line relationship between transformers and substations.
[0042] Among them, the above-mentioned method of constructing a network topology diagram based on the device information in the distribution network single-line diagram can be to identify the device information corresponding to each device in the distribution network single-line diagram, determine a device as a topological node, and connect each topological node according to the connection relationship between the devices in the distribution network single-line diagram, so as to obtain an equivalent network topology diagram of the distribution network single-line diagram.
[0043] Optionally, when calculating line loss, the impact of low-power equipment can be ignored. Therefore, in order to further simplify the network topology diagram, the equipment with less impact in the distribution network single-line diagram can be eliminated in advance, such as distribution rooms, ring network cabinets, and branch boxes, etc., and only the target equipment in the distribution network single-line diagram is identified to construct a network topology diagram containing the target equipment. In this embodiment, the target equipment includes substations, transformers, and distribution lines connecting the transformers and substations.
[0044] The purpose of this embodiment is to analyze the connection relationship between each transformer and the substation and at least one distribution line from a complex distribution network single-line diagram. Therefore, the network topology diagram in this embodiment includes a substation node corresponding to the substation, a transformer node corresponding to at least one transformer, and a line node corresponding to at least one distribution line, so as to obtain the line-transformer relationship between the current transformer and the substation by analyzing the connection relationship between the simplified transformer node and the distribution line between the substation node.
[0045] S120. Obtain line transformer information between the current transformer node and the substation node from the network topology diagram.
[0046] In the network topology diagram, each transformer is connected to the substation through a distribution line. Then, for the identified current transformer node, reverse line search is performed to the substation node based on the network topology diagram. In the process of line search from the current transformer node to the substation node, the target distribution line can be obtained. The target distribution line indicates the distribution line connecting the current transformer node to the substation node. After finding the substation node from the current transformer node, the line identifier corresponding to the current transformer identifier and at least one target distribution line can be obtained.
[0047] Since there is only one substation in the power distribution system, the obtained substation identification does not need to be recorded. The focus of this embodiment is to obtain the line-to-line relationship between the current transformer and the distribution line when the current transformer reaches the substation. Then, the relationship between the current transformer and the corresponding target distribution line can be clarified through the current transformer identification in the line-to-line relationship and the line identification corresponding to at least one target distribution line. In this embodiment, the distribution line generally indicates a 10 kV line.
[0048] For example, Figure 2 For example, Figure 2 It is a schematic diagram of the structure of the network topology diagram provided in the embodiment of the present application. Figure 2 In the diagram, A, B, C, D, E, F, G, and H can represent a piece of equipment information in the distribution network single-line diagram. Assume that A is a substation, E, F, and H are transformers, and B, C, D, and G are distribution lines. Figure 2When the constructed network topology diagram is used in the theoretical line loss calculation, it is represented as the transformers carried by distribution line B are E, F, and H, the transformers carried by distribution line D are F and H, the transformer carried by distribution line C is E, and the transformer carried by distribution line G is H.
[0049] Optionally, before obtaining the line transformer information between the current transformer node and the substation node from the network topology diagram, the relationship between the parent node and the child node in the network topology diagram can be established by first using the alphabetical order in the topology diagram as the node order. For example, based on Figure 2 The established relationship between the parent node and the child node is shown in Table 1 below:
[0050] Parent Node A B B C D D G Child Nodes B C D E F G H
[0051] Then the line-finding strategy for the current transformer F is: FDBA, and the length of the distribution line from transformer F to substation A is B+D; the line-finding strategy for the current transformer H is: HGDBA, and the length of the distribution line from transformer H to substation A is G+D+B; the line-finding strategy for the current transformer E is: ECBA, and the length of the distribution line from transformer E to substation A is C+B, and so on.
[0052] Based on the above description, taking substation F as an example, the line transformer information between the current transformer node and the substation node includes the substation F identifier, the distribution line B identifier, and the distribution line D identifier.
[0053] S130. Associate the current transformer identifier with the line identifier corresponding to at least one target distribution line to obtain the line-to-line relationship between the current transformer and the substation. After each transformer in the distribution network single-line diagram is counted, obtain the statistical results of the line-to-line relationship between each transformer and the substation.
[0054] In order to clearly indicate the line-transformation relationship between the current transformer and the substation, generally, a transformer information table and a line information table may be included, so that the current transformer identification can be obtained from the transformer information table, and the current transformer identification in the line information table is associated with the line identification corresponding to the target distribution line; optionally, the line identification corresponding to the target distribution line can also be obtained, and the line identification corresponding to the target distribution line can be associated with the current transformer identification in the transformer information table; optionally, the current transformer identification can also be extracted from the transformer information table, and the line identification corresponding to the target distribution line can be extracted from the line information table, so that the extracted current transformer identification and the line identification corresponding to the target distribution line are associated in a newly created table. The current newly created table can be a line-transformation information statistics table, etc. The specific method of associating the current transformer identification with the line identification corresponding to at least one target distribution line is not limited here.
[0055] In the current example, the current transformer identification is obtained from the transformer information table, and the current transformer identification is associated with the line identification corresponding to the target distribution line in the line information table as an example for relevant explanation. Taking the above step S120 as an example, the transformer information table contains transformer information corresponding to E, F, and H respectively, and the transformer identification corresponding to each transformer is e, f, and h respectively; the line information table contains distribution line information corresponding to B, C, D, and G respectively, and the line identification corresponding to each distribution line is b, c, d, and g respectively. For example, the current transformer F is associated with the target distribution line B and the target distribution line D. First, obtain the current transformer identification f corresponding to the current transformer F from the transformer information table; then obtain the row where the line identification b corresponding to the target distribution line B is located, and obtain the row where the line identification d corresponding to the target distribution line D is located from the line information table; further fill in the column where the preset field name to be filled in is located from the line information table, and the current preset field name can be "distribution transformer number where the section is located"; and then the current transformer identification f can be filled in the line identification b and the line identification d in the "distribution transformer number where the section is located" respectively, so as to complete the association between the transformer F and the distribution line B and the distribution line D respectively, and obtain the line-transformer relationship between the transformer F and the substation A.
[0056] In this embodiment, the operation of obtaining the line-transformer information between the current transformer node and the substation node is performed in turn on each transformer in the network topology diagram, associating the current transformer identifier with the line identifier corresponding to at least one target distribution line, and obtaining the line-transformer relationship between the current transformer and the substation is performed. After each transformer in the network topology diagram has executed the line-finding strategy once, the statistical results of the line-transformer relationship between each transformer and the substation can be obtained.
[0057] The statistical method of line-to-substation relationship provided in this embodiment first constructs a complex distribution network single-line diagram into a network topology diagram that is convenient for analyzing the association relationship between each device. The network topology diagram provided in this embodiment includes a substation node corresponding to the substation, a transformer node corresponding to at least one transformer, and a line node corresponding to at least one distribution line; then, each node in the network topology diagram is identified. For the transformer node, the line-to-substation information between the current transformer node and the substation node is obtained from the network topology diagram. In this embodiment, the line-to-substation information includes the current transformer identifier and the line identifier corresponding to at least one target distribution line; thereby, the current transformer identifier is associated with the line identifier corresponding to at least one target distribution line, and the line-to-substation relationship between the current transformer and the substation is obtained. After each transformer in the distribution network single-line diagram is counted, the statistical results of the line-to-substation relationship between each transformer and the substation are obtained. This embodiment can automatically obtain the line-to-substation relationship between each transformer and the substation in the distribution network single-line diagram by performing reverse line search from the transformer node to the substation node to determine the line search strategy. By formulating a unified line search rule, the beneficial effects of improving the statistical efficiency of the line-to-substation relationship and improving the statistical accuracy of the line-to-substation relationship are achieved.
[0058] Figure 3 It is another flow chart of the statistical method of line-transformer relationship provided by an embodiment of the present application. The embodiment of the present application is optimized on the basis of the above-mentioned embodiments, and the specific optimization is as follows: this embodiment explains in detail the relevant implementation process of "constructing a network topology diagram according to the equipment information in the distribution network single-line diagram" in the above-mentioned embodiment, the relevant implementation process of "obtaining the line-transformer information between the current transformer node and the substation node from the network topology diagram", and the relevant implementation process of "associating the current transformer identifier with the line identifier corresponding to at least one target distribution line to obtain the line-transformer relationship between the current transformer and the substation".
[0059] See also Figure 3 The statistical method of the linear variation relationship of this embodiment includes but is not limited to the following steps:
[0060] S210. Determine target device information according to field identifiers in the distribution network single-line diagram.
[0061] The distribution network one-line diagram contains all the equipment information of the actual power grid system structure. When constructing a network topology diagram based on the distribution network one-line diagram, it is not necessary to construct each piece of equipment information. Therefore, the target equipment information can be identified according to the field identifier in the distribution network one-line diagram. When it is determined that the current field identifier is the equipment for constructing the network topology diagram, the current target equipment information is determined as a topological node.
[0062] Preferably, in this embodiment, the above step S210 can be implemented in the following manner:
[0063] For the current field identifier in the distribution network single-line diagram, determine whether the field type corresponding to the current field identifier is the preset type; if the field type corresponding to the current field identifier is not the preset type, then remove the device information corresponding to the current field identifier; if the field type corresponding to the current field identifier is the preset type, then determine that the device information corresponding to the current field identifier is the target device information.
[0064] In this embodiment, the target devices for constructing the network topology diagram include substations, transformers and distribution lines. Therefore, when determining the target device information based on the field identifiers in the distribution network single-line diagram, one target device corresponds to one field identifier, so that the corresponding target device information can be identified based on multiple field identifiers respectively.
[0065] The above preset types may be types corresponding to the substation field identifier, the transformer field identifier, and the distribution line field identifier, respectively; optionally, in addition to determining the target device information based on whether the field type corresponding to the field identifier is a preset type, this embodiment may also determine the target device information by identifying whether the device name corresponding to each device is a preset name. Among them, the current preset names are the names corresponding to the substation, transformer, and distribution line, respectively.
[0066] In this embodiment, the purpose of eliminating the device information corresponding to the field identifier that is not of the preset type is to eliminate low-power devices such as lightning arresters, cable nodes, voltage transformers, etc., whose line losses can be ignored, so as to simplify the structural composition of the network topology diagram and make the relationship between the target devices clear.
[0067] S211. Obtain the node number of each topological node.
[0068] When the current device information is identified as the target device information according to the field identifier, the connection relationship between the topological nodes corresponding to each target device information is not clear, that is, it is not clear which topological node the current topological node is connected to. In this embodiment, the target device information in the distribution network single-line diagram includes a node number, and the node number of each topological node includes a head end number and a terminal number. Therefore, the connection relationship between each topological node can be obtained according to the head end number and the terminal number.
[0069] Optionally, after determining the target device information according to the field identifier in the distribution network single-line diagram in the above step S210, the elimination optimized distribution network single-line diagram can be constructed according to the target device information, and a node number is generated for each target device information. In the optimized distribution network point-line diagram, one target device information corresponds to one topological node, and the node number of each topological node includes a head end number and a terminal end number, etc. The specific method of generating the node number is not limited here.
[0070] Specifically, the head end number can be understood as the number corresponding to the current topological node as the parent node in the topological network, and the end number can be understood as the code corresponding to the current topological node as the child node in the topological network. When the topological node is a parent node, such as the node where the transformer is located, it only contains the head end number, and the end number can be a default value, such as 0000; when the topological node is a root node, such as the node where the substation is located, it only contains the end number, and the head end number can be a default value, such as 0000.
[0071] S212: When the end number of the current topology node is the same as the beginning number of the target topology node, determine that there is a connection relationship between the current topology node and the target topology node, and connect the current topology node and the target topology node.
[0072] For example, please refer to Figure 2 ,by Figure 2 Taking the current topological node in as node D as an example, the end number of node D is the head number of G and F, which indicates that node D and node F are target topological nodes respectively. Then node D and node F have connection relationships with node D respectively, and can be connected based on connection lines.
[0073] S213. After traversing each target device information in the distribution network single-line diagram, a network topology diagram is obtained according to the connection relationship between the topological nodes corresponding to each target device information.
[0074] S220: For each root node, determine whether the node information corresponding to the current root node includes a preset field.
[0075] The network topology diagram may include a parent node and a root node. The parent node may be a substation node, and there is only one such node. Figure 2 A in the example; the root node is the last topological node in a topological line in the network topology diagram, that is, there is no other association relationship under the current topological node.
[0076] The network topology diagram provided in this embodiment includes at least one root node. Figure 2 For example, there are three root nodes E, F, and H. In practical applications, transformer nodes are generally located at the root node position, but not every root node is necessarily a transformer node. Therefore, in the current step, it is necessary to identify whether each root node is a transformer node.
[0077] In the current step, whether the node information corresponding to the current root node includes a preset field indicates whether the node information corresponding to the current root node contains a field related to the transformer. Exemplarily, the current preset field is implemented by "transformer" or "PowerTransformer". The implementation method of the specific preset field is not limited here, as long as it is used to describe the transformer.
[0078] If the node information corresponding to the current root node does not include the preset field, that is, no, it is determined that the current root node is not a transformer node, but generally a distribution line node, and step S221 is executed. If the node information corresponding to the current root node includes the preset field, that is, yes, it indicates that the current root node is a transformer node, and step S222 is executed.
[0079] S221. Determine that the current root node is a distribution line node, obtain the next node, and use the next node as the current root node.
[0080] When it is determined that the current root node is a distribution line node, this embodiment does not further analyze the device information that the root node is a distribution line node, but obtains the next node, and performs an operation to determine whether the node information corresponding to the next node contains a preset field, that is, takes the next node as the current root node, and repeats the above step S220.
[0081] S222. Determine that the current root node is a transformer node.
[0082] After identifying that the current root node is a transformer node, step S230 needs to be further performed.
[0083] S230, identifying the node information of each topological node in the network topological diagram, and determining the substation node according to the node information.
[0084] When a transformer node is identified, it is necessary to further obtain the line-to-line relationship between the previous transformer node and the substation node based on a certain line-finding strategy for the current transformer node. Then, in the current step, the node information of each topological node in the network topology diagram is identified to determine the substation node based on the node information.
[0085] Optionally, since there is one substation node in the power distribution system and it is the parent node in the network topology diagram, in order to improve the efficiency of identifying the substation node, the node information corresponding to the parent node in the network topology diagram can be directly identified to obtain the substation node. Among them, the node information corresponding to the substation node can be implemented by "substation" or "transformersubstation", and the implementation method of the node information corresponding to the specific substation node is not limited here.
[0086] S231. Perform reverse topology from the current transformer node to the substation node to obtain a topology line.
[0087] After the current transformer node and substation node are determined, it is necessary to further search for a line from the current transformer node to the substation node to determine a target distribution line associated with the current transformer node and substation node.
[0088] Specifically, the method of searching for lines from the current transformer node to the substation node can be, based on the connection relationship in the network topology diagram, to perform reverse topology from the current transformer node to the substation node to obtain the topological line according to the reverse topological path. In this embodiment, the topological line includes the line identifier corresponding to the target distribution line, that is, in the process of searching for lines from the current transformer node to the substation node, the distribution line passed through is called the target distribution line, and the line identifier corresponding to each target distribution line is recorded.
[0089] S232. Obtain the line transformer information between the current transformer and the substation according to the line identifiers corresponding to the current transformer node, the substation node and the target distribution line.
[0090] S240, classify and extract the transformer information and line information in the distribution network single-line diagram, and obtain a transformer information table and a line information table respectively.
[0091] Since the distribution network single-line diagram contains a large number of transformers and the connection relationship of the distribution lines is complex, the transformer information and line information contained in the distribution network single-line diagram can be extracted in advance to obtain a transformer information table containing transformer information and a line information table containing only line information.
[0092] The transformer information table in this embodiment at least includes a transformer identification corresponding to each transformer and a transformer code corresponding to each transformer identification. Among them, the transformer identification corresponding to each transformer can be the transformer name corresponding to each transformer, and the transformer code corresponding to each transformer identification indicates the sequential coding of each transformer in the transformer information table. Optionally, the transformer information table may also include information such as the power supply station corresponding to each transformer, the name of the distribution network, the model capacity of the distribution transformer, and the equipment type, etc., and the information content contained in the specific transformer information table is not limited here.
[0093] The line information table in this embodiment at least includes a line identifier corresponding to each distribution line and a line code corresponding to each line identifier. The line identifier corresponding to each distribution line can be a line name corresponding to each distribution line, and the line code corresponding to each line identifier indicates the sequence code of each distribution line in the line information table. Optionally, the line information table may also include information such as a power supply station, a distribution network name, a conductor model, and a line length.
[0094] In a preferred implementation, the above step S240 can be implemented through the following steps a) to c):
[0095] a) Determine the substation based on the equipment information in the distribution network single-line diagram, and obtain the information of each device in turn based on the principle of being closest to the substation.
[0096] After identifying the substation in the distribution network single-line diagram, the remaining equipment information in the distribution network single-line diagram is identified in sequence based on the principle of being closest to the substation, with the substation as the core, so as to obtain the transformer information and distribution line information in the distribution network single-line diagram. In this embodiment, the advantage of obtaining each equipment information in sequence based on the principle of being closest to the substation is that the transformer and the distribution line can be encoded based on certain rules, so as to prevent the problem of missing statistics or wrong statistics when performing statistics on the line-transformer relationship in subsequent steps.
[0097] b) For each transformer, determine the transformer code corresponding to each transformer according to the order of identification, and obtain the transformer information table according to the transformer identification and transformer code corresponding to each transformer.
[0098] by Figure 2 For example, when the transformer information table is obtained according to transformers E, F, and H, when the transformer code corresponding to each transformer is determined in order based on the principle of being closest to the substation, there is a situation where E and F are at the same distance. Therefore, transformers E and F can be coded continuously, with transformer E as 1, transformer F as 2, transformer H as 3, etc.; transformer F's transformer code can also be marked as 1, transformer E's transformer code as 2, etc. The specific encoding method of transformer codes for transformers at the same distance from the substation is not limited here. The current transformer code is used to indicate the number of transformers in the distribution network single-line diagram, and the total number of transformers contained in the current distribution network single-line diagram can also be directly known based on the transformer code.
[0099] c) For each distribution line, the line code corresponding to each distribution line is determined according to the order of identification, and the line information table is obtained according to the line identification and line code corresponding to each distribution line.
[0100] by Figure 2 For example, based on the principle of being closest to the substation, when determining the line code corresponding to each distribution line according to the order of identification, it can be determined that B is 1, D is 2, C is 3, and G is 4. For D and C at the same distance from the substation, they can be coded sequentially, and the line code of D is also marked as 3, the line code of C is 2, etc. The specific coding method for the line code of the distribution lines at the same distance from the substation is not limited here. The current line code is used to indicate the number of distribution lines in the distribution network single-line diagram, and the total number of distribution lines contained in the current distribution network single-line diagram can also be directly known based on the line code.
[0101] S241. Determine the target transformer code corresponding to the current transformer identification from the transformer information table.
[0102] In this embodiment, when the current transformer identifier is associated with the line identifier corresponding to at least one target distribution line, the target transformer code corresponding to the current transformer identifier is first determined from the transformer information table. In this embodiment, the current transformer identifier is F, and the target transformer code corresponding to the current transformer identifier in the transformer information table is 2 as an example for relevant description.
[0103] S242. Determine, from the line information table, target line codes corresponding to line identifiers corresponding to at least one target distribution line.
[0104] Taking the example that the line identifiers corresponding to the target distribution line from transformer F to substation A are line identifier B and line identifier D respectively, then the target line codes corresponding to line identifier B and line identifier D in the line information table are 1 and 2 respectively, for relevant explanation.
[0105] S243. Associate the target transformer code with at least one target line code to obtain a line-to-line relationship between the transformer and the substation.
[0106] The target transformer code can be associated with at least one target line code by creating a new column in the line information table where the preset field name to be filled in is located. The current preset field name can be "distribution transformer number where the section is located"; and then the target transformer code 2 can be filled in the "distribution transformer number where the section is located" in the row where the target line code 1 and the target line code 2 are located in the line information table, so as to complete the association between transformer F and distribution line B and distribution line D, and obtain the line-transformer relationship between transformer F and substation A.
[0107] S250. After statistics are completed for each transformer in the distribution network single-line diagram, statistical results of the line-to-line relationship between each transformer and the substation are obtained.
[0108] The statistical method of line-to-substation relationship provided in this embodiment first constructs a complex distribution network single-line diagram into a network topology diagram that is convenient for analyzing the association relationship between each device. The network topology diagram provided in this embodiment includes a substation node corresponding to the substation, a transformer node corresponding to at least one transformer, and a line node corresponding to at least one distribution line; then, each node in the network topology diagram is identified. For the transformer node, the line-to-substation information between the current transformer node and the substation node is obtained from the network topology diagram. In this embodiment, the line-to-substation information includes the current transformer identifier and the line identifier corresponding to at least one target distribution line; thereby, the current transformer identifier is associated with the line identifier corresponding to at least one target distribution line, and the line-to-substation relationship between the current transformer and the substation is obtained. After each transformer in the distribution network single-line diagram is counted, the statistical results of the line-to-substation relationship between each transformer and the substation are obtained. This embodiment can automatically obtain the line-to-substation relationship between each transformer and the substation in the distribution network single-line diagram by performing reverse line search from the transformer node to the substation node to determine the line search strategy. By formulating standard line search rules, the beneficial effects of improving the statistical efficiency of the line-to-substation relationship and improving the statistical accuracy of the line-to-substation relationship are achieved.
[0109] Figure 4 1 is a schematic diagram of a structure of a statistical device for linear variation relationship provided in an embodiment of the present application, and the device is suitable for executing a statistical method for linear variation relationship provided in an embodiment of the present application. Figure 4 As shown, the device may specifically include: a topology map construction module 410, an information acquisition module 420 and an identification association module 430, wherein:
[0110] A topology diagram construction module 410 is used to construct a network topology diagram according to the equipment information in the distribution network single-line diagram, wherein the equipment information at least includes a substation, at least one transformer and at least one distribution line; the network topology diagram includes a substation node corresponding to the substation, a transformer node corresponding to at least one transformer and a line node corresponding to at least one distribution line;
[0111] The information acquisition module 420 is used to acquire, for the current transformer, line transformer information between the current transformer node and the substation node from the network topology diagram; the line transformer information includes the current transformer identifier and the line identifier corresponding to at least one target distribution line;
[0112] The identification association module 430 is used to associate the current transformer identification with the line identification corresponding to at least one of the target distribution lines to obtain the line-transformer relationship between the current transformer and the substation. After each transformer in the distribution network single-line diagram is counted, the statistical results of the line-transformer relationship between each transformer and the substation are obtained.
[0113] The statistical device for line-to-substation relationship provided in this embodiment first constructs a complex distribution network single-line diagram into a network topology diagram that is convenient for analyzing the association relationship between each device. The network topology diagram provided in this embodiment includes a substation node corresponding to the substation, a transformer node corresponding to at least one transformer, and a line node corresponding to at least one distribution line; then, each node in the network topology diagram is identified. For the transformer node, the line-to-substation information between the current transformer node and the substation node is obtained from the network topology diagram. In this embodiment, the line-to-substation information includes the current transformer identifier and the line identifier corresponding to at least one target distribution line; thereby, the current transformer identifier is associated with the line identifier corresponding to at least one target distribution line, and the line-to-substation relationship between the current transformer and the substation is obtained. After each transformer in the distribution network single-line diagram is counted, the statistical results of the line-to-substation relationship between each transformer and the substation are obtained. This embodiment can automatically obtain the line-to-substation relationship between each transformer and the substation in the distribution network single-line diagram by performing reverse line search from the transformer node to the substation node to determine the line search strategy. By formulating standard line search rules, the statistical efficiency of the line-to-substation relationship and the statistical accuracy of the line-to-substation relationship are improved.
[0114] In one embodiment, the topology map construction module 410 includes an information determination unit, a number acquisition unit, a node connection unit and a topology map construction unit, wherein:
[0115] An information determination unit, used to determine target device information according to a field identifier in the distribution network single-line diagram, wherein one piece of target device information is a topological node;
[0116] A number acquisition unit, used to acquire a node number of each of the topological nodes, wherein the node number includes a head end number and an end end number;
[0117] A node connection unit, used for determining that a connection relationship exists between the current topology node and the target topology node when the end number of the current topology node and the head end number of the target topology node are the same, and connecting the current topology node and the target topology node;
[0118] The topology diagram construction unit is used to obtain the network topology diagram according to the connection relationship between the topology nodes corresponding to each target device information after traversing each target device information in the distribution network single-line diagram.
[0119] In one embodiment, the information determination unit is specifically used to determine whether the field type corresponding to the current field identifier in the distribution network single-line diagram is a preset type; if the field type corresponding to the current field identifier is not the preset type, then the device information corresponding to the current field identifier is eliminated; if the field type corresponding to the current field identifier is the preset type, then the device information corresponding to the current field identifier is determined to be the target device information.
[0120] In one embodiment, the network topology graph includes at least one root node; the device further includes a node determination module, wherein:
[0121] The node determination module is used to determine, for each root node, whether the node information corresponding to the current root node includes a preset field; if the node information corresponding to the current root node includes the preset field, determine that the current root node is the transformer node, and execute the operation of obtaining the line transformer information between the current transformer node and the substation node from the network topology diagram; if the node information corresponding to the current root node does not include the preset field, determine that the current root node is the distribution line node, execute the operation of obtaining the next node, and determine whether the node information corresponding to the next node includes the preset field.
[0122] In one embodiment, the information acquisition module 420 includes a node determination unit, a reverse topology unit, and an information acquisition unit, wherein:
[0123] A node determination unit, used to identify node information of each topological node in the network topological diagram, and determine the substation node according to the node information;
[0124] A reverse topology unit, configured to perform reverse topology from the current transformer node to the substation node to obtain a topology line, wherein the topology line includes a line identifier corresponding to a target distribution line;
[0125] The information acquisition unit is used to obtain the line transformer information between the current transformer and the substation according to the line identifiers corresponding to the current transformer node, the substation node and the target distribution line.
[0126] In one embodiment, the identification association module 430 includes: an information extraction unit, a code determination unit and an identification association unit, wherein:
[0127] An information extraction unit is used to classify and extract the transformer information and line information in the distribution network single-line diagram, and obtain a transformer information table and a line information table respectively; the transformer information table at least includes a transformer identification corresponding to each transformer and a transformer code corresponding to each transformer identification, and the line information table at least includes a line identification corresponding to each distribution line and a line code corresponding to each line identification;
[0128] A code determination unit, used to determine a target transformer code corresponding to the current transformer identification from the transformer information table;
[0129] A code determination unit, configured to determine, from the line information table, target line codes corresponding to line identifiers corresponding to at least one of the target distribution lines;
[0130] The identification association unit is used to associate the target transformer code with at least one of the target line codes to obtain the line-to-line relationship between the transformer and the substation.
[0131] In one embodiment, the information extraction unit is specifically used to determine the substation according to the equipment information in the distribution network single-line diagram, and obtain each equipment information in sequence based on the principle of being closest to the substation; for each of the transformers, determine the transformer code corresponding to each of the transformers according to the order of identification, and obtain the transformer information table according to the transformer identification and the transformer code corresponding to each of the transformers; for each of the distribution lines, determine the line code corresponding to each of the distribution lines according to the order of identification, and obtain the line information table according to the line identification and the line code corresponding to each of the distribution lines.
[0132] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example for illustration. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the functional modules described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0133] An embodiment of the present application also provides an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the statistical method of line-variant relationship described in any embodiment of the present application.
[0134] An embodiment of the present application further provides a computer-readable medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the statistical method of line-variant relationship described in any embodiment of the present application when executed.
[0135] Reference below Figure 5 , Figure 5 1 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application, and shows a schematic diagram of the structure of a computer system 500 suitable for implementing the electronic device in an embodiment of the present application. Figure 5 The electronic device shown is only an example and should not limit the functions and scope of use of the embodiments of the present application. Figure 5 As shown, the computer system 500 includes a central processing unit (CPU) 501, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 502 or the program loaded from the storage part 508 to the random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the system 500 are also stored. The CPU 501, the ROM 502 and the RAM 503 are connected to each other through the bus 504. The input / output (I / O) interface 505 is also connected to the bus 504. The following components are connected to the I / O interface 505: an input part 506 including a keyboard, a mouse, etc.; an output part 507 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc. and a speaker, etc.; a storage part 508 including a hard disk, etc.; and a communication part 509 including a network interface card such as a LAN card, a modem, etc. The communication part 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to the I / O interface 505 as needed. A removable medium 511, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like, is mounted on the drive 510 as needed, so that a computer program read therefrom is installed into the storage section 508 as needed.
[0136] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 509, and / or installed from the removable medium 511. When the computer program is executed by the central processing unit (CPU) 501, the above-mentioned functions defined in the system of the present application are executed.
[0137] It should be noted that the computer-readable medium shown in the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, etc., or any suitable combination of the above.
[0138] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the above-mentioned module, program segment or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0139] The modules and / or units involved in the embodiments described in the present application may be implemented by software or hardware. The modules and / or units described may also be arranged in a processor, for example, it may be described as follows: a processor includes a topology map construction module, an information acquisition module, and an identification association module. The names of these modules do not, in some cases, constitute limitations on the modules themselves.
[0140] As another aspect, the present application also provides a computer-readable medium, which may be included in the device described in the above embodiment; or it may exist independently and not be assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by one of the devices, the device includes: constructing a network topology diagram according to the device information in the distribution network single line diagram, the network topology diagram includes the substation node corresponding to the substation, the transformer node corresponding to at least one transformer, and the line node corresponding to at least one distribution line; obtaining the line-transformation information between the current transformer node and the substation node from the network topology diagram, the line-transformation information includes the current transformer identifier and the line identifier corresponding to at least one target distribution line; associating the current transformer identifier with the line identifier corresponding to at least one target distribution line, obtaining the line-transformation relationship between the current transformer and the substation, and obtaining the statistical results of the line-transformation relationship between each transformer and the substation after each transformer in the distribution network single line diagram is counted.
[0141] According to the technical solution of this embodiment, by performing reverse line tracing from the transformer node to the substation node to determine the line tracing strategy, the line-transformer relationship of each transformer and substation in the distribution network single-line diagram can be automatically obtained, and by formulating standard line tracing rules, the beneficial effects of improving the statistical efficiency of the line-transformer relationship and improving the statistical accuracy of the line-transformer relationship are achieved.
[0142] The above specific implementations do not constitute a limitation on the protection scope of this application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the protection scope of this application.
Claims
1. A statistical method for linear variation relationship, characterized in that: include: Constructing a network topology diagram according to the equipment information in the distribution network single-line diagram, wherein the equipment information at least includes a substation, at least one transformer and at least one distribution line, and the network topology diagram includes a substation node corresponding to the substation, a transformer node corresponding to at least one transformer and a line node corresponding to at least one distribution line; Acquire line transformer information between the current transformer node and the substation node from the network topology diagram, wherein the line transformer information includes a current transformer identifier and a line identifier corresponding to at least one target distribution line; The current transformer identifier is associated with the line identifier corresponding to at least one of the target distribution lines to obtain the line-to-line relationship between the current transformer and the substation. After each transformer in the distribution network single-line diagram is counted, the statistical results of the line-to-line relationship between each transformer and the substation are obtained.
2. The statistical method of linear variation relationship according to claim 1, characterized in that: The construction of a network topology diagram according to the device information in the distribution network single-line diagram includes: Determine the target device information according to the field identifier in the distribution network single-line diagram, where one piece of the target device information is a topological node; Obtaining a node number of each of the topological nodes, wherein the node number includes a head end number and an end end number; When the end number of the current topology node is the same as the head number of the target topology node, determining that the current topology node and the target topology node have a connection relationship, and connecting the current topology node and the target topology node; After traversing each target device information in the distribution network single-line diagram, the network topology diagram is obtained according to the connection relationship between the topology nodes corresponding to each target device information.
3. The statistical method of linear variation relationship according to claim 2, characterized in that: The determining the target device information according to the field identifier in the distribution network single-line diagram includes: For the current field identifier in the distribution network single-line diagram, determining whether the field type corresponding to the current field identifier is a preset type; If the field type corresponding to the current field identifier is not the preset type, then the device information corresponding to the current field identifier is deleted; If the field type corresponding to the current field identifier is the preset type, it is determined that the device information corresponding to the current field identifier is the target device information.
4. The statistical method of linear variation relationship according to claim 1, characterized in that: The network topology diagram includes at least one root node; Before acquiring the line transformer information between the current transformer node and the substation node from the network topology diagram, the method further includes: For each root node, determine whether the node information corresponding to the current root node includes a preset field; If the node information corresponding to the current root node includes the preset field, the current root node is determined to be the transformer node, and an operation of acquiring line transformer information between the current transformer node and the substation node from the network topology diagram is performed; If the node information corresponding to the current root node does not include the preset field, the current root node is determined to be the distribution line node, the next node is obtained, and the node information corresponding to the next node is determined to include the preset field.
5. The statistical method of linear variation relationship according to claim 1, characterized in that: The acquiring the line transformer information between the current transformer node and the substation node from the network topology diagram includes: Identify node information of each topological node in the network topological diagram, and determine the substation node according to the node information; Based on the current transformer node, reverse topology is performed to the substation node to obtain a topology line, where the topology line includes a line identifier corresponding to a target distribution line; According to the current transformer node, the substation node and the line identifier corresponding to the target distribution line, the line transformer information between the current transformer and the substation is obtained.
6. The statistical method of linear variation relationship according to claim 1, characterized in that: The associating the current transformer identifier with a line identifier corresponding to at least one of the target distribution lines includes: Classify and extract the transformer information and line information in the distribution network single-line diagram to obtain a transformer information table and a line information table respectively; the transformer information table at least includes a transformer identification corresponding to each transformer and a transformer code corresponding to each transformer identification; the line information table at least includes a line identification corresponding to each distribution line and a line code corresponding to each line identification; Determine the target transformer code corresponding to the current transformer identification from the transformer information table; Determine, from the line information table, target line codes corresponding to line identifiers corresponding to at least one target power distribution line; The target transformer code is associated with at least one of the target line codes respectively to obtain a line-to-line relationship between the transformer and the substation.
7. The statistical method of linear variation relationship according to claim 6, characterized in that: The step of classifying and extracting the transformer information and the line information in the distribution network single-line diagram to obtain a transformer information table and a line information table respectively includes: Determine the substation according to the equipment information in the distribution network single-line diagram, and obtain each equipment information in sequence based on the principle of being closest to the substation; For each of the transformers, determine the transformer code corresponding to each of the transformers according to the order of identification, and obtain the transformer information table according to the transformer identification and the transformer code corresponding to each of the transformers; For each of the distribution lines, the line code corresponding to each of the distribution lines is determined according to the order of identification, and the line information table is obtained according to the line identifier and the line code corresponding to each of the distribution lines.
8. A statistical device for linear variable relationship, characterized in that: include: A topology diagram construction module, used to construct a network topology diagram according to the equipment information in the distribution network single-line diagram, wherein the equipment information at least includes a substation, at least one transformer and at least one distribution line; The network topology diagram includes a substation node corresponding to the substation, a transformer node corresponding to at least one transformer, and a line node corresponding to at least one distribution line; An information acquisition module, for acquiring, for a current transformer, line transformer information between a current transformer node and the substation node from the network topology diagram; The line transformer information includes a current transformer identifier and a line identifier corresponding to at least one target distribution line; An identification association module is used to associate the current transformer identification with the line identification corresponding to at least one of the target distribution lines, obtain the line-transformer relationship between the current transformer and the substation, and after each transformer in the distribution network single-line diagram is counted, obtain the statistical results of the line-transformer relationship between each transformer and the substation.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the statistical method of line-variation relationship according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the statistical method of line-variation relationship as described in any one of claims 1 to 7 is implemented.
