Digital twinborn generation method, device and equipment based on electrical topology and medium

By obtaining and updating the electrical topological information of the substation, high-quality digital twins are generated, and the problem of high cost and high workload of building digital twins is solved, and rapid and efficient digital twin generation is achieved.

CN119203491APending Publication Date: 2024-12-27STATE GRID JIANGSU ELECTRIC POWER CO XUZHOU POWER SUPPLY CO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411189725.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-28
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

In the digitalization process of substations, there are problems of high cost and high workload in building digital twins, and it is difficult for the existing technology to quickly and efficiently generate high-quality digital twins.

Method used

By obtaining the electrical topology information of the substation, including the relative coordinate information and connection relationship information of the electrical equipment, the scanning coordinates and generation line models in the initial digital twin are updated, and the digital twin generation based on the electrical topology is realized.

Benefits of technology

It accelerates the generation speed of digital twins, improves the generation quality, reduces costs and workload, and realizes the rapid construction of high-quality substation digital twins.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119203491A_ABST
    Figure CN119203491A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a digital twin generation method and device based on electrical topology, equipment and a medium. The method comprises the following steps: acquiring electrical topology information of a transformer substation; the electrical topology information comprises relative coordinate information of the electrical equipment and connection relation information between the electrical equipment; based on the relative coordinate information of the electrical equipment, scanning coordinates of the electrical equipment in the initial digital twin are updated, and an updated digital twin is obtained; and generating a line model between the electrical devices in the updated digital twin based on the connection relationship information between the electrical devices to obtain a final digital twin. According to the technical scheme, the final digital twinborn body is generated in the initial digital twinborn body based on the topological information of the electrical equipment, the generation speed of the digital twinborn body is increased, and the generation quality of the digital twinborn body is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of digital twins, and in particular to a method, device, equipment and medium for generating digital twins based on electrical topology. Background Art

[0002] In the digitalization process of substations, three-dimensional visualization is one of the development directions of human-computer interaction in digital power grids. It conforms to the trend of human-computer interaction from 2D interaction to 3D interaction, and may be widely used in various fields of power grids in the future.

[0003] The construction of a digital twin of a substation is a very important part, but if the digital twin of a substation is built from scratch, there will be problems of high cost and heavy workload. Summary of the invention

[0004] The present invention provides a method, device, equipment and medium for generating a digital twin based on electrical topology, which can quickly establish a digital twin of a substation based on electrical topology.

[0005] According to one aspect of the present invention, a method for generating a digital twin based on electrical topology is provided, the method comprising:

[0006] Acquire electrical topology information of the substation; the electrical topology information includes relative coordinate information of electrical equipment and connection relationship information between electrical equipment;

[0007] Based on the relative coordinate information of the electrical equipment, the scanning coordinates of the electrical equipment in the initial digital twin are updated to obtain an updated digital twin;

[0008] Based on the connection relationship information between the electrical devices, a line model between the electrical devices is generated in the updated digital twin to obtain the final digital twin.

[0009] According to another aspect of the present invention, a digital twin generation device based on electrical topology is provided, comprising:

[0010] An electrical topology information acquisition module is used to acquire electrical topology information of the substation; the electrical topology information includes relative coordinate information of electrical equipment and connection relationship information between electrical equipment;

[0011] An updated digital twin determination module is used to update the scanning coordinates of the electrical equipment in the initial digital twin based on the relative coordinate information of the electrical equipment to obtain an updated digital twin;

[0012] The final digital twin determination module is used to generate a line model between electrical devices in the updated digital twin based on the connection relationship information between the electrical devices to obtain the final digital twin.

[0013] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0014] at least one processor; and

[0015] a memory communicatively connected to the at least one processor; wherein,

[0016] 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 digital twin generation method based on electrical topology described in any embodiment of the present invention.

[0017] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for generating a digital twin based on electrical topology as described in any embodiment of the present invention when executed.

[0018] The technical solution of the embodiment of the present application includes: obtaining the electrical topology information of the substation; the electrical topology information includes the relative coordinate information of the electrical equipment and the connection relationship information between the electrical equipment; updating the scanning coordinates of the electrical equipment in the initial digital twin based on the relative coordinate information of the electrical equipment to obtain an updated digital twin; generating the line model between the electrical equipment in the updated digital twin based on the connection relationship information between the electrical equipment to obtain the final digital twin. This technical solution generates the final digital twin in the initial digital twin based on the topology information of the electrical equipment, which accelerates the generation speed of the digital twin and improves the generation quality of the digital twin.

[0019] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0021] Figure 1 It is a flowchart of a method for generating a digital twin based on electrical topology according to the first embodiment of the present application;

[0022] Figure 2It is a flowchart of a method for generating a digital twin based on electrical topology according to the second embodiment of the present application;

[0023] Figure 3 It is a structural schematic diagram of a digital twin generation device based on electrical topology provided according to the third embodiment of the present application;

[0024] Figure 4 It is a structural schematic diagram of an electronic device that implements a digital twin generation method based on electrical topology according to an embodiment of the present application. DETAILED DESCRIPTION

[0025] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only embodiments of a part of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0026] It should be noted that the terms "first", "second", "target", etc. in the specification and claims of the present invention 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 interchanged where appropriate, so that the embodiments of the present invention 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 that includes 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.

[0027] Embodiment 1

[0028] Figure 1 A flowchart of a method for generating a digital twin based on electrical topology is provided for the first embodiment of the present application. The embodiment of the present application can be applied to the construction of a digital twin for a substation. The method can be executed by a digital twin generating device based on electrical topology. The digital twin generating device based on electrical topology can be implemented in the form of hardware and / or software. The digital twin generating device based on electrical topology can be configured in an electronic device with data processing capabilities. Figure 1 As shown, the method includes:

[0029] S110, obtaining electrical topology information of the substation.

[0030] The electrical topology information includes relative coordinate information of electrical devices and connection relationship information between electrical devices; the relative coordinate information of electrical devices reflects the relative position between at least two electrical devices, for example, electrical device A is located at a certain position of electrical device B. In a specific example, the relative coordinate information of the electrical devices can be reflected in a spatial coordinate system. The connection relationship information between electrical devices reflects the path of the connection line between the electrical devices and the type of the connection line.

[0031] Specifically, in a specific example, the electrical equipment information is read from the electrical topology diagram of the substation, and then the connection relationship information between the electrical equipment is read. In another feasible solution, the electrical network topology node data is read from the PMS (power management system), the equipment data of each node of the substation electrical topology is obtained, and then the connection relationship information between the electrical equipment is read.

[0032] S120, updating the scanning coordinates of the electrical equipment in the initial digital twin based on the relative coordinate information of the electrical equipment to obtain an updated digital twin.

[0033] Among them, the initial digital twin includes electrical equipment in the substation. The position of each electrical equipment is determined according to the scanning coordinates. The scanning coordinates reflect the coordinates of the electrical equipment obtained by scanning. The scanning coordinates can be obtained by calculating and recording the coordinate positions of the scanning points in real time through a scanner or measuring instrument through its built-in sensors and positioning system; due to the problem of low accuracy of the scanning coordinates in the initial digital twin, the scanning coordinates of the electrical equipment in the initial digital twin can be updated based on the relative coordinate information of the electrical equipment to obtain a more accurate updated digital twin of the position coordinates of each electrical equipment.

[0034] Specifically, in the initial digital twin, the scanning coordinates of at least two electrical devices are obtained; if the scanning coordinates of at least two electrical devices do not match the relative coordinate information of the at least two electrical devices, the scanning coordinates of the electrical devices in the initial digital twin are adjusted based on the relative coordinate information of the electrical devices to obtain an updated digital twin with updated coordinates.

[0035] Exemplarily, taking two electrical devices as an example, the position of one electrical device relative to the other electrical device can be calculated based on the scanning coordinates of the two electrical devices. If there is a difference between the position and the relative coordinate information of the two electrical devices, the scanning coordinates of the electrical devices in the initial digital twin are adjusted based on the relative coordinate information of the electrical devices.

[0036] S130, generating a line model between the electrical devices in the updated digital twin based on the connection relationship information between the electrical devices to obtain a final digital twin.

[0037] The connection relationship information between the electrical devices reflects the path of the connection line between the electrical devices and the type of the connection line.

[0038] Specifically, in updating the digital twin, the electrical equipment is traversed, and if the currently traversed electrical equipment is connected to other electrical equipment, the path of the connection line and the type of the connection line are determined, and the model of the support body that needs to be generated on the path of the connection line is determined according to the type of the connection line, and after the support body is generated, the line model is generated on the support body. The support body can be an object such as a pole tower used to support the line.

[0039] The technical solution of the embodiment of the present application includes: obtaining the electrical topology information of the substation; the electrical topology information includes the relative coordinate information of the electrical equipment and the connection relationship information between the electrical equipment; updating the scanning coordinates of the electrical equipment in the initial digital twin based on the relative coordinate information of the electrical equipment to obtain an updated digital twin; generating the line model between the electrical equipment in the updated digital twin based on the connection relationship information between the electrical equipment to obtain the final digital twin. This technical solution generates the final digital twin in the initial digital twin based on the topology information of the electrical equipment, which accelerates the generation speed of the digital twin and improves the generation quality of the digital twin.

[0040] Embodiment 2

[0041] Figure 2 A flowchart of a digital twin generation method based on electrical topology is provided in Example 2 of the present application. The embodiment of the present application is optimized based on the above embodiment.

[0042] like Figure 2 As shown, the method of the embodiment of the present application specifically includes the following steps:

[0043] S210, acquiring electrical topology information of the substation; the electrical topology information includes relative coordinate information of electrical equipment and connection relationship information between electrical equipment.

[0044] In an embodiment of the present application, optionally, obtaining electrical topology information of the substation includes: reading the nodes and branches of the electrical network topology; determining the coordinates of the node as the coordinate information of the electrical equipment; determining the relative coordinate information of the electrical equipment corresponding to the at least two nodes based on the coordinate information of at least two nodes connected to the branch; and determining the connection relationship information between the electrical equipment based on the nodes connected to the branch.

[0045] Specifically, in a feasible solution, nodes and branches are read from the electrical network topology information, electrical equipment information is determined based on the node information, and the coordinates of the node are determined as the coordinate information of the electrical equipment. If there is a branch connected between the nodes, the electrical equipment corresponding to the node is the electrical equipment with a connection relationship. If the branch is connected to at least two nodes, the coordinates of the connected nodes are subtracted to obtain the relative coordinate information of the electrical equipment corresponding to the at least two nodes.

[0046] S220, updating the scanning coordinates of the electrical equipment in the initial digital twin based on the relative coordinate information of the electrical equipment to obtain an updated digital twin.

[0047] In an embodiment of the present application, optionally, the relative coordinate information of the electrical device includes: relative position data of the first electrical device with respect to the second electrical device; accordingly, the scanning coordinates of the electrical device in the initial digital twin are updated based on the relative coordinate information of the electrical device to obtain an updated digital twin, including: obtaining the position coordinate data of the first electrical device in the initial digital twin compared to the second electrical device; if the position coordinate data does not match the relative position data, adjusting the position of the first electrical device in the initial digital twin based on the relative position data to obtain an updated digital twin.

[0048] Exemplarily, taking two electrical devices as an example, the two electrical devices are the first electrical device and the second electrical device, and the relative coordinate information of the electrical devices is: the relative position data of the first electrical device with respect to the second electrical device (for example, the first electrical device is located 3 units in the positive direction of the x-axis of the second electrical device, and 2 units in the positive direction of the y-axis). The position coordinate data of the first electrical device and the position coordinate data of the second electrical device in the initial digital twin can be obtained, and the two position coordinate data are subtracted to obtain the position coordinate data of the first electrical device compared to the second electrical device; if the position coordinate data is inconsistent with the relative position data, the position of the first electrical device in the initial digital twin is adjusted based on the relative position data to obtain an updated digital twin.

[0049] This scheme is set up in such a way that the position of each electrical device in the updated digital twin can be adjusted and the position coordinates are more accurate.

[0050] In an embodiment of the present application, optionally, the method also includes: obtaining an electrical topology constraint file, and reading the constraints of each electrical device and the constraints of the line from the electrical topology constraint file; traversing and updating the electrical equipment in the digital twin, if the current electrical equipment does not meet the constraints of the current electrical equipment, or the connection line of the current electrical equipment does not meet the constraints of the line, then adjusting the current electrical equipment and / or the connection line of the current electrical equipment based on the constraints of the current electrical equipment and / or the constraints of the line.

[0051] Among them, the constraint conditions of the electrical equipment include the distance conditions between the electrical equipment; the constraint conditions of the line include the line height conditions.

[0052] Specifically, read the electrical topology constraint file, read the constraint conditions of each electrical device from the electrical topology constraint file, and obtain the distance conditions between the electrical devices; and read the line constraint conditions from the electrical topology constraint file to obtain the line height conditions. Traverse and update the electrical devices in the digital twin. If the distance between the current electrical device and other electrical devices does not meet the distance conditions between the electrical devices; or the connection line of the current electrical device does not meet the line height conditions, adjust the current electrical device and / or the connection line of the current electrical device based on the constraint conditions of the current electrical device and / or the constraint conditions of the line.

[0053] Exemplarily, read the electrical topology constraint file in the substation, and obtain the constraint of the node based on the electrical equipment ID. The constraint mainly includes: island, no power supply, connectivity, inconsistent voltage level under the same feeder, lack of belonging interval of the equipment in the station, null value constraint, duplication constraint, inclusion constraint, non-inclusion constraint, threshold constraint, time series data anomaly constraint, Chinese character compliance constraint, ledger address integrity constraint, non-compliant character mixing constraint and floating point compliance constraint and other constraint rules. Query the substation digital twin data model according to the node equipment ID, and request the organizational structure, component information, bounding box, attributes and other information of the model corresponding to the ID through the index file, data file and attribute file. Carry out the spatial layout of the substation digital twin, first obtain the precise positioning coordinate value (x2, y2, z2) of the substation, and calculate the precise absolute coordinate value (x1+x2, y1+y2, z1+z2) of the equipment according to the relative coordinate offset of the equipment. The 3D model data of the corresponding node equipment is loaded on the 3D visualization engine, and the rendered 3D model is moved to the calculated absolute coordinate value of the equipment. At the same time, the corresponding equipment attribute information (including equipment ledger, inspection records, real-time operation status and other data) is superimposed. At the same time, according to the equipment electrical topology constraint rules, the equipment that does not meet the safety interval and line height is automatically fine-tuned, and the corresponding coordinate values ​​are increased or decreased to meet the constraint rules. The equipment models of different voltage levels and the energized status are marked with colors to realize the spatial layout and rapid construction of the digital twin of the substation based on the electrical topology, and support the linkage and interaction between the substation equipment and the topological network.

[0054] The electrical topology constraint rule base of the station equipment mainly includes two types: business rules and data rules. The business rules include: island, no power supply, connectivity, inconsistent voltage levels under the same feeder, lack of bays for station equipment, etc.; the data rules include: null value constraints, duplication constraints, inclusion constraints, non-inclusion constraints, threshold constraints, time series data anomaly constraints, Chinese character compliance constraints, ledger address integrity constraints, non-compliant character mixing constraints, and floating point compliance constraints.

[0055] S230: Determine a type of a support body for supporting a line according to a line type in a connection relationship between the electrical devices.

[0056] Specifically, if the line type is an overhead line, the supporting body type is a pole tower, etc.; if the line type is a busbar, the supporting body type is a busbar bridge, etc.; if the line type is a cable, the supporting body type is a cable bridge, etc. Further, after determining the supporting body type of the supporting line, the supporting body model is determined based on the supporting body type.

[0057] S240, determining the position coordinates of the support body in the updated digital twin based on the line trajectory in the connection relationship between the electrical devices.

[0058] In an embodiment of the present application, optionally, after determining the position coordinates of the support body in the updated digital twin based on the line trajectory in the connection relationship between the electrical equipment, the method also includes: generating a support body model according to the support body type at the position coordinates of the updated digital twin; the support body model includes: a tower model, a crossarm model, an insulator string model, a gantry model and / or a pillar insulator model.

[0059] S250, generating a line model based on the line type on the support model located at the position coordinates to obtain a final digital twin.

[0060] The technical solution of the embodiment of the present application further adjusts the electrical equipment and / or lines in the digital twin through constraint rules to make them more reasonable and compliant; and generates a support body model based on the line type, and then generates a line model on the support body model, so as to quickly obtain the final digital twin.

[0061] Embodiment 3

[0062] Figure 3 This is a schematic diagram of the structure of a digital twin generation device based on electrical topology provided in the third embodiment of the present application. The device can execute the digital twin generation method based on electrical topology provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method. Figure 3 As shown, the device comprises:

[0063] The electrical topology information acquisition module 310 is used to acquire the electrical topology information of the substation; the electrical topology information includes the relative coordinate information of the electrical equipment and the connection relationship information between the electrical equipment;

[0064] An updated digital twin determination module 320 is used to update the scanning coordinates of the electrical device in the initial digital twin based on the relative coordinate information of the electrical device to obtain an updated digital twin;

[0065] The final digital twin determination module 330 is used to generate a line model between the electrical devices in the updated digital twin based on the connection relationship information between the electrical devices to obtain the final digital twin.

[0066] The technical solution of the embodiment of the present application includes: an electrical topology information acquisition module 310, which is used to acquire the electrical topology information of the substation; the electrical topology information includes the relative coordinate information of the electrical equipment and the connection relationship information between the electrical equipment; an updated digital twin determination module 320, which is used to update the scanning coordinates of the electrical equipment in the initial digital twin based on the relative coordinate information of the electrical equipment to obtain an updated digital twin; a final digital twin determination module 330, which is used to generate a line model between the electrical equipment in the updated digital twin based on the connection relationship information between the electrical equipment to obtain a final digital twin. This technical solution generates a final digital twin in the initial digital twin based on the topology information of the electrical equipment, which accelerates the generation speed of the digital twin and improves the generation quality of the digital twin.

[0067] In the embodiment of the present application, optionally, the final digital twin determination module 330 includes:

[0068] A support type determination unit, used to determine the type of support used to support the line according to the line type in the connection relationship between the electrical devices;

[0069] a position coordinate determination unit, configured to determine the position coordinates of the support body in the updated digital twin based on the line traces in the connection relationship between the electrical devices;

[0070] The final digital twin determination unit is used to generate a line model based on the line type on the support model located at the position coordinates to obtain the final digital twin.

[0071] In the embodiment of the present application, optionally, the device further includes:

[0072] A support body model generation module is used to generate a support body model according to the support body type at the position coordinates of the updated digital twin; the support body model includes: a tower model, a crossarm model, an insulator string model, a gantry model and / or a pillar insulator model.

[0073] In the embodiment of the present application, optionally, the relative coordinate information of the electrical device includes: relative position data of the first electrical device with respect to the second electrical device;

[0074] Accordingly, the digital twin determination module 320 is updated, including:

[0075] A position coordinate data acquisition unit, used to acquire position coordinate data of the first electrical device compared to the second electrical device in the initial digital twin;

[0076] The updated digital twin determination unit is used to adjust the position of the first electrical device in the initial digital twin based on the relative position data if the position coordinate data does not match the relative position data, so as to obtain an updated digital twin.

[0077] In the embodiment of the present application, optionally, the device further includes:

[0078] An electrical topology constraint condition file acquisition module is used to acquire an electrical topology constraint condition file and read the constraint conditions of each electrical device and the constraint conditions of the line from the electrical topology constraint condition file;

[0079] An adjustment module is used to traverse and update the electrical equipment in the digital twin. If the current electrical equipment does not meet the constraints of the current electrical equipment, or the connection line of the current electrical equipment does not meet the constraints of the line, the current electrical equipment and / or the connection line of the current electrical equipment are adjusted based on the constraints of the current electrical equipment and / or the constraints of the line.

[0080] In the embodiment of the present application, optionally, the constraint conditions of the electrical equipment include distance conditions between the electrical equipment; and the constraint conditions of the line include line height conditions.

[0081] In the embodiment of the present application, optionally, the electrical topology information acquisition module 310 includes:

[0082] A node and branch reading unit, used for reading nodes and branches of electrical network topology;

[0083] A coordinate information determination unit, used to determine the coordinates of the node as the coordinate information of the electrical device;

[0084] A relative coordinate information determining unit, used to determine the relative coordinate information of the electrical devices corresponding to the at least two nodes connected to the branch according to the coordinate information of the at least two nodes;

[0085] The connection relationship information determining unit is used to determine the connection relationship information between the electrical devices according to the nodes connected to the branches.

[0086] An electrical topology-based digital twin generation device provided in an embodiment of the present application can execute an electrical topology-based digital twin generation method provided in any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method.

[0087] Embodiment 4

[0088] Figure 4A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device 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 can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) 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 invention described and / or required herein.

[0089] like Figure 4 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0090] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0091] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The processor 11 executes the various methods and processes described above, such as a digital twin generation method based on electrical topology.

[0092] In some embodiments, the digital twin generation method based on electrical topology can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the digital twin generation method based on electrical topology described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to execute the digital twin generation method based on electrical topology in any other appropriate manner (for example, by means of firmware).

[0093] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0094] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0095] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, 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 foregoing.

[0096] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0097] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0098] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0099] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0100] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for generating a digital twin based on electrical topology, characterized in that: include: Acquire electrical topology information of the substation; the electrical topology information includes relative coordinate information of electrical equipment and connection relationship information between electrical equipment; Based on the relative coordinate information of the electrical equipment, the scanning coordinates of the electrical equipment in the initial digital twin are updated to obtain an updated digital twin; Based on the connection relationship information between the electrical devices, a line model between the electrical devices is generated in the updated digital twin to obtain the final digital twin.

2. The method according to claim 1, characterized in that Based on the connection relationship information between the electrical devices, the line model between the electrical devices is generated in the updated digital twin to obtain the final digital twin, including: Determining the type of support body used to support the line according to the line type in the connection relationship between the electrical devices; Determining the position coordinates of the support body in the updated digital twin based on the line trajectory in the connection relationship between the electrical devices; A line model is generated based on the line type on the support model located at the position coordinates to obtain a final digital twin.

3. The method according to claim 2, characterized in that After determining the position coordinates of the support body in the updated digital twin based on the line track in the connection relationship between the electrical devices, the method further includes: A support body model is generated according to the support body type at the position coordinates of the updated digital twin; the support body model includes: a tower model, a crossarm model, an insulator string model, a gantry model and / or a pillar insulator model.

4. The method according to claim 1, characterized in that: The relative coordinate information of the electrical equipment includes: relative position data of the first electrical equipment with respect to the second electrical equipment; Accordingly, the scanning coordinates of the electrical equipment in the initial digital twin are updated based on the relative coordinate information of the electrical equipment to obtain an updated digital twin, including: Obtaining position coordinate data of the first electrical device compared to the second electrical device in the initial digital twin; If the position coordinate data does not match the relative position data, the position of the first electrical device in the initial digital twin is adjusted based on the relative position data to obtain an updated digital twin.

5. The method according to claim 4, characterized in that The method further comprises: Obtaining an electrical topology constraint condition file, and reading the constraint conditions of each electrical device and the constraint conditions of the line from the electrical topology constraint condition file; The electrical equipment in the digital twin is traversed and updated. If the current electrical equipment does not meet the constraints of the current electrical equipment, or the connection line of the current electrical equipment does not meet the constraints of the line, the current electrical equipment and / or the connection line of the current electrical equipment are adjusted based on the constraints of the current electrical equipment and / or the constraints of the line.

6. The method according to claim 5, characterized in that The constraint conditions of the electrical equipment include distance conditions between the electrical equipment; the constraint conditions of the line include line height conditions.

7. The method according to claim 1, characterized in that Obtain electrical topology information of the substation, including: Read nodes and branches of electrical network topology; Determine the coordinates of the node as the coordinate information of the electrical equipment; Determine relative coordinate information of electrical devices corresponding to the at least two nodes according to coordinate information of at least two nodes connected to the branch; The connection relationship information between the electrical devices is determined based on the nodes to which the branches are connected.

8. A digital twin generation device based on electrical topology, characterized in that: include: An electrical topology information acquisition module is used to acquire electrical topology information of the substation; the electrical topology information includes relative coordinate information of electrical equipment and connection relationship information between electrical equipment; An updated digital twin determination module is used to update the scanning coordinates of the electrical equipment in the initial digital twin based on the relative coordinate information of the electrical equipment to obtain an updated digital twin; The final digital twin determination module is used to generate a line model between electrical devices in the updated digital twin based on the connection relationship information between the electrical devices to obtain the final digital twin.

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 electrical topology-based digital twin generation method described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the electrical topology-based digital twin generation method described in any one of claims 1 to 7 when executed.