Node mapping method for power grid measurement model and simulation model
Through the methods of device mapping and splitting serial numbers, the time complexity and accuracy issues in the node mapping between the power grid measurement model and the simulation model are solved, more accurate node alignment is achieved, and real-time analysis and diagnosis of the power system are supported.
Patent Information
- Application Number
- CN202510770740.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-10
- Publication Date
- 2025-09-12
AI Technical Summary
The existing technology has problems such as high time complexity, low matching accuracy and insufficient engineering adaptability in the node mapping between the power grid measurement model and the simulation model, which makes it difficult to ensure data consistency and topological equivalence.
By establishing device mapping relationships, using the connection relationships of devices to deduce the connection relationships between nodes, and marking the alignment status with the help of split serial numbers, the node mapping of the measurement model and the simulation model is achieved.
It improves the accuracy and efficiency of node mapping, ensures data consistency and topology equivalence, and supports real-time analysis and diagnosis of power systems.
Smart Images

Figure CN120633200A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a power grid topology modeling technology, and in particular to a node mapping method for a power grid measurement model and a simulation model. Background Art
[0002] The safe, stable and efficient operation of power systems increasingly relies on the deep integration of digital and intelligent means. In the construction of modern smart grids and digital twin power systems, two types of core grid models are common:
[0003] The first type is the power grid simulation model, which is usually constructed by the dispatching center and power grid design unit based on primary equipment drawings, operating procedures, and historical parameters. It has the advantages of complete structure and comprehensive parameters and is widely used in offline or semi-online simulation scenarios such as power flow analysis, transient simulation, and voltage stability analysis.
[0004] The other type is the measurement grid model, which is a model dynamically constructed based on real-time operating data collected by measurement equipment through state estimation, data fusion and other methods. It can reflect the actual operating status and topology of the power grid in real time.
[0005] The nodes in the two grid models described above are essentially different representations of the same entity in different models. The difference lies in the fact that the number of topological nodes and the connected devices in the measurement model are dynamically determined by real-time topological analysis of switch states; whereas the nodes in the simulation model are fixed, manually set by the model developer based on pre-set simulation calculation requirements. Changes in the number of nodes and the connected devices result in a new simulation model.
[0006] In practical applications such as power grid operation analysis, state estimation, model validation, anomaly diagnosis, and digital twin synchronization, it is often necessary to fuse and align these two types of models to ensure data consistency, topological equivalence, and analytical accuracy. Conventional methods directly generate simulation models from measurement models, but measurement models are less accurate than simulation models in mapping simulation parameters, making it difficult to obtain accurate simulation results through direct application of the conversion. Furthermore, existing algorithms for large-scale grid systems have significant shortcomings in terms of time complexity, matching accuracy, and engineering adaptability. Summary of the Invention
[0007] Based on this, the present invention aims to propose a node mapping method for the power grid measurement model and the simulation model. By establishing a mapping relationship between the edges, the connection relationship between the nodes is deduced using the connection relationship of the equipment when the switch state changes, and the alignment status is marked by means of split serial numbers.
[0008] In a first aspect, the present invention provides a method for mapping nodes between a power grid measurement model and a simulation model, comprising:
[0009] Acquire device mapping information of the same power device in the measurement model and the simulation model, the device mapping information including a correspondence between first device data of the same device in the measurement model and second device data in the simulation model;
[0010] Recording nodes in the measurement model as measurement nodes and nodes in the simulation model as simulation nodes, determining a correspondence between measurement nodes and simulation nodes of the same device based on device mapping information and device type, and generating first node mapping information, the first node mapping information including mapping sets corresponding to the measurement nodes and simulation nodes respectively;
[0011] The simulation node is split according to the mapping set of the simulation node to generate second node mapping information, where the second node mapping information includes a correspondence between the measurement node and the split simulation node.
[0012] Furthermore, when the device is a transformer, the corresponding relationship between the measurement node and the simulation node of the same device is determined according to the device mapping information and the device type, and the first node mapping information is generated, including:
[0013] Determine a measurement node and a simulation node of the transformer according to the first device data and the second device data;
[0014] Determine a measurement node voltage corresponding to the measurement node and a simulation node voltage corresponding to the simulation node;
[0015] When the measurement node voltage and the simulation node voltage meet a preset mapping condition, a corresponding relationship between the measurement node and the simulation node of the transformer is determined to generate first node mapping information.
[0016] Furthermore, when the device is an AC line, determining the correspondence between the measurement node and the simulation node of the same device according to the device mapping information and the device type, and generating the first node mapping information includes:
[0017] determining a measurement node and a simulation node at a line endpoint of the AC line according to the first device data and the second device data;
[0018] Determine a first plant station to which the measurement node belongs and a second plant station to which the simulation node belongs;
[0019] Determine the mapping plant station corresponding to the first plant station in the device mapping information;
[0020] Compare the mapped plant station with the second plant station to obtain a comparison result;
[0021] Generate first node mapping information according to the comparison result.
[0022] Furthermore, when the device is a generator, the corresponding relationship between the measurement node and the simulation node of the same device is determined according to the device mapping information and the device type, and the first node mapping information is generated, including:
[0023] Determine a measurement node and a simulation node of the transformer according to the first device data and the second device data;
[0024] The measurement nodes and simulation nodes of the transformer are directly mapped to generate first node mapping information.
[0025] Furthermore, generating the first node mapping information includes:
[0026] Establish a mapping set of each node, including measurement nodes and simulation nodes;
[0027] Write the nodes that have a corresponding relationship with the current node into the mapping set of the current node.
[0028] Furthermore, splitting the simulation node according to the mapping set of the simulation node to generate the second node mapping information includes:
[0029] Determine the measurement nodes that meet the preset validity conditions in the mapping set of the current simulation node and record them as valid measurement nodes;
[0030] When the mapping set of valid measurement nodes meets the preset splitting condition, a splitting sequence number is assigned to the current simulation node, and the current simulation node with the splitting sequence number is recorded as a split node;
[0031] Second node mapping information is generated according to the correspondence between the split nodes and the valid measurement nodes.
[0032] Furthermore, the preset validity conditions include:
[0033] The island number of the measurement node that has a mapping relationship with the current simulation node meets the preset node power-on condition.
[0034] Furthermore, the preset splitting conditions include:
[0035] The number of valid measurement nodes that have a mapping relationship with the current simulation node is more than one, and the mapping set of valid measurement nodes only includes the current simulation node.
[0036] In a second aspect, the present invention provides a node mapping device for a power grid measurement model and a simulation model, comprising:
[0037] A device mapping module is used to obtain device mapping information of the same power device in the measurement model and the simulation model, wherein the device mapping information includes a correspondence between first device data of the same device in the measurement model and second device data in the simulation model;
[0038] a first node mapping module, configured to record nodes in the measurement model as measurement nodes and nodes in the simulation model as simulation nodes, determine a correspondence between measurement nodes and simulation nodes of the same device based on the device mapping information and the device type, and generate first node mapping information, the first node mapping information including a mapping set corresponding to the measurement nodes and the simulation nodes, respectively;
[0039] The second node mapping module is used to split the simulation node according to the mapping set of the simulation node and generate second node mapping information. The second node mapping information includes the correspondence between the measurement node and the split simulation node.
[0040] In a third aspect, the present invention provides an electronic device comprising a memory storing computer-executable instructions and a processor, wherein when the computer-executable instructions are executed by the processor, the device executes the various steps of the node mapping method of the power grid measurement model and the simulation model provided in the first aspect.
[0041] In a fourth aspect, the present invention provides a readable storage medium storing a computer executable program, which, when executed, can implement the various steps of the node mapping method of the power grid measurement model and the simulation model provided in the first aspect.
[0042] Compared with the prior art, the present invention has the following beneficial effects:
[0043] The present invention proposes a node mapping method for a power grid measurement model and a simulation model. First, the device mapping information of the device in both the measurement model and the simulation model is determined based on the device entity information. Then, the correspondence between the measurement node and the simulation node of the same device is determined based on the device type and the device mapping information, thereby generating first node mapping information. The purpose of this step is to use the mapping relationship of the device data to determine the mapping of the device node in the two models, that is, to align the expressions of the same device in different models; finally, the simulation node is split according to the mapping set of the simulation node to generate second node mapping information. The purpose of this step is to deduce the alignment relationship between the nodes through the connection relationship of the devices in the case where the simulation node corresponds to multiple measurement nodes due to the change of the measurement switch state, and reflect the mapping state of the node through splitting, so as to obtain a more accurate simulation model corresponding to it in combination with the measurement state value of the measurement model. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are merely embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0045] Figure 1 This is a flowchart of a method for implementing node mapping between a power grid measurement model and a simulation model provided by an embodiment of the present invention;
[0046] Figure 2 Schematic diagram of the structure of a node mapping device for a power grid measurement model and a simulation model provided by an embodiment of the present invention;
[0047] Figure 3 This is a diagram of the electronic device architecture provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0048] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.
[0049] The measurement model of the power grid is often used in systems such as power system dispatching and monitoring, and its model interaction data files are usually named QS state estimation files. QS files are a standard format file used for the external exchange of real-time monitoring and analysis data for power grids and are widely used for power grid analysis and detection records. QS files organize the parameters and measurement status information of primary equipment in the power system in the form of text blocks, including topological nodes, power plants, circuit breakers, disconnectors, AC lines, transformers, generators, etc. Each type of primary equipment in the power system records the topological node information to which it is connected, and each topological node records the voltage level, phase angle, and electrical island information. Among them, the electrical island is a concept unique to the QS file interaction process. Its essence is the connected component in graph theory analysis. When the island number of a topological node is -1, it means that the current topological node is in a non-energized state.
[0050] Grid simulation models are often used to simulate and analyze power systems, guiding actual power production. The model interaction format is often highly dependent on the specific simulation software. While grid simulation models may differ depending on the software, their content can be categorized into two types of topological models: nodes and edges. In circuit topology analysis, nodes abstractly describe electrical connection points with equal potentials and serve as the dimensional standard for forming calculation scales and matrices. Edges abstractly describe the electrical distances and electrical connection parameters between equal potential points and serve as the source of calculation parameters and elements within the calculation matrix. In real-world power systems, edges typically correspond to AC lines and transformers, while nodes typically correspond to generators and equivalent loads.
[0051] The nodes in the measurement model and the simulation model are different expressions of the same device entity. The difference is that the number of measurement nodes and the connected devices are dynamically determined by real-time switch state topology analysis; while the simulation nodes are fixed and are manually set by the model compiler according to the preset simulation calculation requirements. When the number of measurement nodes and the connected devices change, a new grid simulation model will be formed.
[0052] See Figure 1 One embodiment of the present invention provides a method for mapping nodes between a power grid measurement model and a simulation model, comprising the following steps:
[0053] Step S110 : Obtain device mapping information of the same power device in the measurement model and the simulation model, where the device mapping information includes a correspondence between first device data of the same device in the measurement model and second device data in the simulation model.
[0054] This step is to obtain basic device mapping information through name fuzzy matching and manual verification, that is, for the same device entity, align its device data in the measurement model and simulation model.
[0055] Specifically, the measurement model's first device data often includes measurement points, measurement data, device type, and node identifiers; the simulation model's second device data includes device parameters, topology, node number, and device information (e.g., transformers, circuit breakers, etc.). Device mapping information obtains device ID, name, type, installation location, measurement data, simulation parameters, and other information from both models. Based on features such as device name, device type (e.g., transformer, circuit breaker, busbar, etc.), and installation location, a preliminary match is made between the measurement and simulation models. The correspondence between device names and corresponding measurement and simulation models is recorded. A preferred embodiment can store this information as a device mapping table, with the storage format being: measurement model line Q → simulation model line P.
[0056] Furthermore, the device mapping information may include node information corresponding to each device or node information to which the device is connected.
[0057] For example, the device mapping information may be in the form of:
[0058] (1) Measurement model transformer Q1 → simulation model transformer P1. This information indicates that for the same real transformer entity, its expression in the measurement model is Q1 and its expression in the simulation model is P1.
[0059] (2) Measurement model line Q2 → simulation model line P2. If stored in list form, the left column can record the AC line information in the measurement model (including the connection node information of the line), and the right column can record the AC line information in the simulation model (including the connection node information of the line). These two line information correspond to the same AC line entity.
[0060] Step S120. Record the nodes in the measurement model as measurement nodes, and the nodes in the simulation model as simulation nodes. Determine the correspondence between the measurement nodes and simulation nodes of the same device based on the device mapping information and the device type, and generate first node mapping information. The first node mapping information includes a mapping set corresponding to the measurement nodes and the simulation nodes respectively.
[0061] In this step, the measurement nodes in the measurement model and the simulation nodes in the simulation model of the same device are first identified based on the device mapping information, and the types of the measurement nodes and simulation nodes are compared to ensure that nodes of the same device type can be mapped correctly, the measurement node type is the same as the simulation node type, and the positions and functions match.
[0062] Furthermore, when the device is a transformer, step S120 includes the following steps:
[0063] Determine a measurement node and a simulation node of the transformer according to the first device data and the second device data;
[0064] Determine a measurement node voltage corresponding to the measurement node and a simulation node voltage corresponding to the simulation node;
[0065] When the measurement node voltage and the simulation node voltage meet a preset mapping condition, a corresponding relationship between the measurement node and the simulation node of the transformer is determined to generate first node mapping information.
[0066] Specifically, when the device is a transformer, potential mapping pairs of nodes on the high, low, and middle sides (limited to three-winding transformers) are formed. Based on the device mapping information and aligned device data, the node data associated with the transformer is determined and assigned an initial node mapping relationship. This is a one-to-one alignment. For example, high-voltage measurement node 532 in the measurement model is aligned with high-voltage simulation node ID 01001 in the simulation model. Based on the voltage characteristics and requirements of the transformer nodes, some mapping conditions are preset, such as a voltage error threshold. The measured and simulated node voltages are considered to correspond only when the difference between them is within this error range.
[0067] For example, when the difference between the measurement node voltage and the simulation node voltage is within 20%, they are considered to be at the same voltage level. Then, the measurement node and the simulation node can be mapped, and the mapping relationship is recorded as the first node mapping information.
[0068] Furthermore, when the device is an AC line, step S120 includes the following steps:
[0069] determining a measurement node and a simulation node at a line endpoint of the AC line according to the first device data and the second device data;
[0070] Determine a first plant station to which the measurement node belongs and a second plant station to which the simulation node belongs;
[0071] Determine the mapping plant station corresponding to the first plant station in the device mapping information;
[0072] Compare the mapped plant station with the second plant station to obtain a comparison result;
[0073] Generate first node mapping information according to the comparison result.
[0074] Specifically, when the device is a line, it is impossible to directly obtain the initial node mapping sequence as in the case of the high, medium, and low voltage sides of the transformer. Instead, it is necessary to determine the corresponding relationship of the nodes based on the plant and station information of the nodes.
[0075] The device mapping information in step S110 determines the device matching relationship between the AC line in the measurement model and the simulation model. The two endpoints of the AC line (typically the busbars, transformers, or switchgear at each end of the line) are mapped to measurement nodes and simulation nodes. In the measurement model, each measurement node belongs to a specific plant. The plant (the first plant) to which the node belongs is determined using the measurement node's identifier, device ID, and other information. Similarly, the simulation node belongs to a simulated plant (the second plant). The mapping relationship between the first plant (the plant to which the measurement node belongs) and the second plant (the plant to which the simulation node belongs) is found using the device mapping information. This step ensures that the correspondence between the plant in the measurement model and the simulation model is accurate, especially when there are multiple plants in the same power system. The first plant (the plant in the measurement model) and the second plant (the plant in the simulation model) are compared to ensure they match. If the mapped plant matches the second plant, the plant mapping relationship between the measurement node and the simulation node is accurate. If not, further adjustment is required. According to the comparison results, the final first node mapping information is generated, and the plant station mapping information between the measurement node and the simulation node, as well as the device mapping relationship between the measurement node and the simulation node are recorded.
[0076] Furthermore, the plant comparison can be based on plant ID, location, equipment type and other conditions.
[0077] For example, assuming that the mapping nodes of an AC line in the measurement model are A1 and A2, and the mapping nodes in the simulation model are B1 and B2, the following preliminary mapping relationship can be established based on the device mapping information: and . Determine the plant station to which each node belongs, for example, measurement node A1 belongs to plant station SA1, and measurement node B1 belongs to plant station SB1. Determine the mapping plant station of the first plant station in the device mapping information, that is, the device mapping relationship of the plant station. For example, plant station SA1 is aligned with plant station SB1. If the mapped plant station and the second plant station are equal, then the preliminary mapping relationship is considered to be established. If the plant stations are in reverse order, for example, the plant station SA1 in the device mapping information is actually aligned with plant station SB2, then the preliminary mapping relationship of the nodes at both ends of the line is recorded in reverse order, that is, and If none of the above relationships are satisfied, the AC line cannot be legally mapped in either model and is recorded as incorrect mapping information for verification.
[0078] Furthermore, when the device is a generator, step S120 includes the following steps:
[0079] Determine a measurement node and a simulation node of the transformer according to the first device data and the second device data;
[0080] The measurement nodes and simulation nodes of the transformer are directly mapped to generate first node mapping information.
[0081] Specifically, since the generator has only one node, a node mapping relationship can be directly formed, and the mapping relationship between the measurement node and the simulation node is recorded as the first node mapping information.
[0082] Furthermore, the first node mapping information of the embodiment of the present invention is not stored in the form of data pairs. Instead, a mapping set is independently constructed for each node, whether it is a measurement node or a simulation node, and each mapping set stores nodes that have a mapping relationship with the node.
[0083] Exemplarily, for a measurement node M, the simulation node N that has a mapping relationship with it is written into the mapping set, and at the same time, for a simulation node N, the measurement node M that has a mapping relationship with it is written into the mapping set.
[0084] Step S130: Split the simulation node according to the mapping set of the simulation node to generate second node mapping information, where the second node mapping information includes a correspondence between the measurement node and the split simulation node.
[0085] In this step, ideally, the mapping set of each node has only one node element, forming a one-to-one data pair. However, in actual measurement, a large number of nodes are split. Therefore, according to the topological structure of the simulation nodes, some nodes (such as transformers, busbars, etc.) may be split into multiple simulation nodes. The splitting needs to be based on the details of the network topology and the specific granularity of the measurement data.
[0086] Specifically, for a measurement node M in the first mapping information, one or more simulation nodes N may correspond to it in its mapping set. This means that a topological node in the measurement model may correspond to multiple simulation nodes in the simulation model. Because the topological nodes in the measurement model are derived from switch topology analysis, while the nodes in the analysis model are manually established based on equipotential points, when multiple simulation nodes N correspond to a single measurement node M, this indicates that these multiple nodes N in the simulation model must be connected by a branch with extremely low impedance (theoretically, the impedance should be zero) to accurately reflect the corresponding topological state of the measurement.
[0087] Similarly, for a simulation node N in the first mapping information, one or more measurement nodes M may correspond to it in its mapping set. That is, a single node in the simulation model may correspond to multiple topological nodes in the measurement model. This typically indicates that a simulation node has split into multiple topological nodes due to a change in the measured switch state. In this case, a split sequence number needs to be assigned to this simulation node.
[0088] In addition, there may be multiple measurement nodes M in the mapping set of a simulation node N, and the simulation nodes in the mapping sets of these measurement nodes M include more than one current simulation node N. This will form a closure situation where several nodes N correspond to several nodes M, which needs to be recorded and verified.
[0089] Furthermore, the splitting process of step S130 includes:
[0090] Step S131: Determine the measurement nodes that meet the preset validity conditions in the mapping set of the current simulation node and record them as valid measurement nodes.
[0091] Specifically, for the current simulation node, all measurement nodes in its mapping set are first searched, and measurement nodes in the mapping set that meet preset validity conditions are screened out.
[0092] Furthermore, the preset validity condition is that the island number of the measurement node meets the preset node power-on condition, that is, the island number of the measurement node is not -1.
[0093] Step S132: When the mapping set of valid measurement nodes meets the preset splitting condition, a splitting sequence number is assigned to the current simulation node, and the current simulation node with the splitting sequence number is recorded as a split node.
[0094] Once the mapping set of a valid measurement node meets the preset splitting condition, the simulation node will be assigned a new splitting sequence number, which identifies the split of the simulation node and generates a new child node (split node). For example, if there is a simulation node B1 and its mapping set includes two valid measurement nodes, the simulation node B1 may be split into two nodes B1-1 and B1-2, and the two new nodes will be assigned splitting sequences respectively.
[0095] Furthermore, the preset splitting conditions include:
[0096] The number of valid measurement nodes that have a mapping relationship with the current simulation node is more than one, and the mapping set of valid measurement nodes only includes the current simulation node.
[0097] Specifically, if the mapping set of all valid measurement nodes MV only includes the current simulation node N, that is, the aforementioned closure situation does not exist for the current analysis model node, then the current simulation node N is considered to be a valid splittable node.
[0098] Step S133: Generate second node mapping information according to the correspondence between the split nodes and the valid measurement nodes.
[0099] Specifically, after the node split is completed, the data format can be The second node mapping information is stored, where M represents the measurement node, N represents the simulation node, and I represents the split sequence number of the simulation node.
[0100] For example, in the simulation model, there are five lines ABCDE connected to node N. However, after actual measurement and estimation, line ABC is connected to node M1 and line DE is connected to node M2, while M1 and M2 are not connected in the measurement model. In this case, the first mapping information includes: 、 、 , then node N can be split into two nodes, and the second mapping information finally generated includes: 、 .
[0101] The above embodiments propose a node mapping method for a power grid measurement model and a simulation model. First, the device mapping information of the device in both the measurement model and the simulation model is determined based on the device entity information. Then, the correspondence between the measurement node and the simulation node of the same device is determined based on the device type and the device mapping information, thereby generating the first node mapping information. The purpose of this step is to use the mapping relationship of the device data to determine the mapping of the device node in the two models, that is, to align the expressions of the same device in different models; finally, the simulation node is split according to the mapping set of the simulation node to generate the second node mapping information. The purpose of this step is to deduce the alignment relationship between the nodes through the connection relationship of the devices in the case where the simulation node corresponds to multiple measurement nodes due to the change of the measurement switch state, and to reflect the mapping state through node splitting, so as to obtain a more accurate simulation model corresponding to it in combination with the measurement state value of the measurement model.
[0102] The disclosed method can be implemented using various devices. Therefore, the present invention also discloses a node mapping device corresponding to the method. Specific embodiments are given below for detailed description.
[0103] like Figure 2 As shown, one embodiment of the present invention provides a node mapping device for a power grid measurement model and a simulation model, comprising:
[0104] The device mapping module 202 is configured to obtain device mapping information of the same power device in the measurement model and the simulation model, wherein the device mapping information includes a correspondence between first device data of the same device in the measurement model and second device data in the simulation model;
[0105] A first node mapping module 204 is configured to record nodes in the measurement model as measurement nodes and nodes in the simulation model as simulation nodes, determine a correspondence between measurement nodes and simulation nodes of the same device based on the device mapping information and the device type, and generate first node mapping information, the first node mapping information including a mapping set corresponding to the measurement nodes and the simulation nodes, respectively;
[0106] The second node mapping module 206 is configured to split the simulation node according to the mapping set of the simulation node and generate second node mapping information. The second node mapping information includes a correspondence between the measurement node and the split simulation node.
[0107] The device provided in the embodiment of the present application has the same implementation principle and technical effects as those in the aforementioned method embodiment. For the sake of brief description, for matters not mentioned in the device embodiment, reference can be made to the corresponding content in the aforementioned method embodiment.
[0108] The methods and related devices mentioned in the above embodiments are described with reference to the method flow charts and / or structural diagrams provided in the embodiments of the present application. Specifically, each process and / or block in the method flow charts and / or structural diagrams, as well as the combination of processes and / or blocks in the flow charts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the steps in the process. Figure 1 Schematic diagram of one or more processes and / or structures Figure 1 These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific way, so that the instructions stored in the computer-readable memory produce a product including the instruction device, which implements the function specified in the process. Figure 1Schematic diagram of one or more processes and / or structures Figure 1 These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the process. Figure 1 The flow or flows and / or structures illustrate the steps of the functions specified in one block or multiple blocks.
[0109] The following embodiments illustrate this method using a computer device as an example. It is understood that the computer device may be any device with computing and processing capabilities, including, but not limited to, a server or a personal laptop. In one embodiment, the computer device may be an application server, which may be a server for running the application under test.
[0110] See Figure 3 , which shows a hardware block diagram of an electronic device, which is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or claimed herein.
[0111] like Figure 3 As shown, the electronic device includes: at least one processor 1, at least one communication interface 2, at least one memory 3 and at least one communication bus 4;
[0112] In the embodiment of the present application, the number of the processor 1, the communication interface 2, the memory 3, and the communication bus 4 is at least one, and the processor 1, the communication interface 2, and the memory 3 communicate with each other through the communication bus 4;
[0113] The processor 1 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention;
[0114] The memory 3 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory;
[0115] The memory stores a program, and the processor can call the program stored in the memory, wherein the program is used to implement various processing flows of the node mapping solution of the aforementioned power grid measurement model and simulation model.
[0116] An embodiment of the present invention also provides a readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, it implements the various processing flows of the node mapping scheme of the power grid measurement model and the simulation model provided in the above embodiment and / or any possible implementation method in combination with the embodiment.
[0117] The above embodiments have described the invention in particular detail with respect to possible scenarios, and those skilled in the art will recognize that the invention can be practiced through other embodiments. The specific naming of components, capitalization of terms, attributes, data structures, or any other programming or structural aspects are not mandatory or important, and the mechanisms or features of the invention may have different names, forms, or procedures. The system may be implemented through a combination of hardware and software (as described), entirely through hardware elements, or entirely through software elements. The specific division of functions between the various system components described herein is exemplary only and not mandatory; rather, the functions performed by a single system component may be performed by multiple components, or the functions performed by multiple components may be performed by a single component.
[0118] Those skilled in the art will appreciate that the various steps of the method disclosed above can be implemented by a general-purpose computing device. They can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they can be implemented using program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, or they can be fabricated into separate integrated circuit modules, or multiple modules or steps can be fabricated into a single integrated circuit module for implementation. Thus, the embodiments disclosed herein are not limited to any specific combination of hardware and software.
[0119] The programs executable by these computing devices (also referred to as programs, software, software applications, or code) include machine instructions for programmable processors and can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and / or device (e.g., a magnetic disk, an optical disk, a memory, a programmable logic device (PLD)) for providing machine instructions and / or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal for providing machine instructions and / or data to a programmable processor.
[0120] Certain aspects of the present invention include the process steps and instructions described herein in the form of algorithms. It should be noted that the process steps and instructions of the present invention can be implemented in software, firmware and / or hardware, and when implemented in software, they can be downloaded, stored on different platforms used by various operating systems, and operated from the platforms.
[0121] Those skilled in the art will understand that the structures shown in the accompanying drawings are merely block diagrams of partial structures related to the scheme of the present application, and do not constitute a limitation on the terminal device to which the scheme of the present application is applied. The specific terminal device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0122] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "possible design" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification and features of different embodiments or examples, unless they are mutually inconsistent.
[0123] Finally, it should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or device comprising the element.
[0124] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features thereof can be replaced by equivalents. 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 invention.
Claims
1. A node mapping method for a power grid measurement model and a simulation model, characterized in that: include: Acquire device mapping information of the same power device in the measurement model and the simulation model, wherein the device mapping information includes a correspondence between first device data of the same device in the measurement model and second device data in the simulation model; Recording nodes in the measurement model as measurement nodes and nodes in the simulation model as simulation nodes, determining a correspondence between measurement nodes and simulation nodes of the same device based on the device mapping information and device type, and generating first node mapping information, the first node mapping information including mapping sets corresponding to measurement nodes and simulation nodes, respectively; The simulation node is split according to the mapping set of the simulation node to generate second node mapping information, where the second node mapping information includes a correspondence between the measurement node and the split simulation node.
2. The method according to claim 1, characterized in that When the device is a transformer, determining the correspondence between the measurement node and the simulation node of the same device according to the device mapping information and the device type, and generating the first node mapping information includes: Determine a measurement node and a simulation node of a transformer according to the first device data and the second device data; Determine a measurement node voltage corresponding to the measurement node and a simulation node voltage corresponding to the simulation node; When the measurement node voltage and the simulation node voltage meet a preset mapping condition, a corresponding relationship between the measurement node and the simulation node of the transformer is determined to generate first node mapping information.
3. The method according to claim 1, characterized in that When the device is an AC line, determining the correspondence between the measurement node and the simulation node of the same device according to the device mapping information and the device type, and generating the first node mapping information includes: determining a measurement node and a simulation node at a line endpoint of the AC line according to the first device data and the second device data; Determine a first plant station to which the measurement node belongs and a second plant station to which the simulation node belongs; Determining a mapping plant station corresponding to the first plant station in the device mapping information; Comparing the mapped plant station with the second plant station to obtain a comparison result; First node mapping information is generated according to the comparison result.
4. The method according to claim 1, wherein When the device is a generator, determining the correspondence between the measurement node and the simulation node of the same device according to the device mapping information and the device type, and generating the first node mapping information includes: Determining a measurement node and a simulation node of the transformer according to the first device data and the second device data; The measurement nodes and simulation nodes of the transformer are directly mapped to generate first node mapping information.
5. The method according to claim 1, wherein Generating the first node mapping information includes: Establishing a mapping set of nodes, wherein the nodes include measurement nodes and simulation nodes; Write the nodes that have a corresponding relationship with the current node into the mapping set of the current node.
6. The method according to claim 1, characterized in that The step of splitting the simulation node according to the mapping set of the simulation node to generate second node mapping information includes: Determine the measurement nodes that meet the preset validity conditions in the mapping set of the current simulation node and record them as valid measurement nodes; When the mapping set of the valid measurement nodes meets the preset splitting condition, a splitting sequence number is assigned to the current simulation node, and the current simulation node with the splitting sequence number is recorded as a split node; Second node mapping information is generated according to the correspondence between the split nodes and the valid measurement nodes.
7. The method according to claim 6, characterized in that The preset splitting conditions include: The number of valid measurement nodes that have a mapping relationship with the current simulation node is more than one, and the mapping set of valid measurement nodes only includes the current simulation node.
8. A node mapping device for a power grid measurement model and a simulation model, characterized in that: include: A device mapping module, configured to obtain device mapping information of the same power device in the measurement model and the simulation model, wherein the device mapping information includes a correspondence between first device data of the same device in the measurement model and second device data in the simulation model; a first node mapping module, configured to record nodes in the measurement model as measurement nodes and nodes in the simulation model as simulation nodes, determine a correspondence between measurement nodes and simulation nodes of the same device based on the device mapping information and device type, and generate first node mapping information, wherein the first node mapping information includes a mapping set corresponding to the measurement nodes and the simulation nodes, respectively; The second node mapping module is used to split the simulation node according to the mapping set of the simulation node to generate second node mapping information, wherein the second node mapping information includes a correspondence between the measurement node and the split simulation node.
9. An electronic device, characterized in that: The device comprises a memory storing computer-executable instructions and a processor, and when the computer-executable instructions are executed by the processor, the device executes the node mapping method of the power grid measurement model and the simulation model as described in any one of claims 1 to 7.
10. A readable storage medium, characterized in that: A computer executable program is stored, and when the program is executed, the node mapping method of the power grid measurement model and the simulation model as described in any one of claims 1 to 7 can be implemented.