Power distribution network digital twin space automatic layout method and device and storage medium
By constructing a three-dimensional model catalog and offset rule base, the automatic layout of the digital twin of the distribution network is realized, which solves the problems of high cost and error, meets the needs of complex business analysis, and provides a fast and economical spatial modeling solution.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GLOBAL ENERGY INTERCONNECTION RES INST CO LTD
- Filing Date
- 2023-03-16
- Publication Date
- 2026-07-03
AI Technical Summary
Existing technologies for digital twin spatial modeling of power distribution networks suffer from the problem that two-dimensional equipment data cannot meet the needs of complex business analysis, and manual point cloud scanning is costly and contains errors.
By constructing a catalog of typical substation 3D models and a 3D model offset rule library, automatic layout is achieved using equipment file information, matching the equipment information of the substation to be laid out, thus realizing automatic spatial layout of the substation.
It significantly reduces the cost of 3D spatial scanning of equipment, meets the needs of power distribution network operation status perception, equipment fault analysis and status evaluation, and provides a fast and automatic digital twin spatial model foundation.
Smart Images

Figure CN116595686B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of power information technology, specifically to a method, apparatus, and storage medium for automatic spatial layout of a digital twin of a power distribution network. Background Technology
[0002] A distribution network digital twin is a digital organizational description of the physical and logical entities within the distribution network. Physical entities include various types and levels of distribution network equipment, while logical entities describe the operational methods and interactions of each physical entity. However, with the development of power services, the spatial model of the digital twin needs to describe the geographical coordinates of all equipment, as well as its spatial information. Currently, distribution network equipment management systems typically only provide two-dimensional information such as latitude and longitude coordinates and topological connections between equipment, lacking spatial information. This presents a bottleneck problem for the spatial modeling of distribution network digital twins.
[0003] In summary, the current problems with digital twin spatial modeling of power distribution substations are as follows: 1) Substation equipment only has two-dimensional geographic information data to reflect the relative positional relationships between equipment, and the two-dimensional data model cannot meet the increasingly complex business analysis needs; 2) Relying entirely on point cloud scanning equipment to obtain detailed three-dimensional data of equipment within the station is time-consuming, labor-intensive, and costly; 3) Due to the complexity of the equipment spatial three-dimensional model, manual point cloud scanning results in certain errors. Summary of the Invention
[0004] In view of this, embodiments of the present invention provide a method, apparatus and storage medium for automatic spatial layout of digital twins in power distribution networks, in order to solve the technical problems of high cost and certain errors in the scanning results of manual point cloud scanning in the prior art.
[0005] The technical solution proposed in this invention is as follows:
[0006] The first aspect of this invention provides a method for automatic spatial layout of a digital twin in a distribution network, comprising: acquiring three-dimensional spatial data and equipment file information of all equipment in a typical substation; constructing a three-dimensional solid model catalog of the typical substation based on the three-dimensional spatial data and equipment file information; constructing a three-dimensional solid model offset rule library of the typical substation based on stacking information determined by the equipment file information; and matching the equipment file information of the substation to be laid out with the three-dimensional solid model catalog and the three-dimensional solid model offset rule library to perform automatic spatial layout of the substation to be laid out.
[0007] Optionally, constructing a three-dimensional model catalog of typical substations based on the three-dimensional spatial data and equipment file information includes: matching the three-dimensional spatial data and equipment file information to obtain matching results; and constructing a three-dimensional model catalog of typical substations based on the substation and the model and voltage level of all equipment, combined with the matching results.
[0008] Optionally, acquiring three-dimensional spatial data and equipment file information of all equipment in a typical substation includes: selecting a typical substation, acquiring equipment file information of all equipment in the typical substation, the equipment file information including the name, number, and latitude and longitude of the equipment; performing point cloud scanning on the typical substation to acquire three-dimensional spatial data of all equipment in the typical substation, the three-dimensional spatial data including three-dimensional shape, size, and physical center coordinates.
[0009] Optionally, a three-dimensional model offset rule library for a typical substation is constructed based on the stacking information determined by the equipment file information, including: determining whether there are stacked devices in the typical substation based on the latitude and longitude coordinates of the equipment in the equipment file information; when there are stacked devices, calculating the spatial offset between the stacked devices based on the physical center coordinates of the stacked devices; and constructing a three-dimensional model offset rule library for a typical substation based on the stacked devices and the spatial offset.
[0010] Optionally, the equipment file information of the substation to be laid out is matched with the three-dimensional model catalog and the three-dimensional model offset rule library to perform automatic spatial layout of the substation to be laid out, including: matching the equipment file information of the substation to be laid out with the three-dimensional model catalog to determine the three-dimensional spatial data of the equipment in the substation to be laid out; matching the equipment file information of the substation to be laid out and the three-dimensional spatial data with the three-dimensional model offset rule library, and performing automatic spatial layout of the substation to be laid out based on the matching result and the three-dimensional spatial data.
[0011] Optionally, the automatic spatial layout of the substation to be laid out is performed based on the equipment file information of the substation to be laid out and the three-dimensional spatial data, matched with the three-dimensional model offset rule library, including: determining the stacked equipment in the substation to be laid out according to the latitude and longitude coordinates of the equipment in the equipment file information of the substation to be laid out; determining the spatial offset of the stacked equipment according to the matching of the stacked equipment and the three-dimensional spatial data with the three-dimensional model offset rule library; and performing the automatic spatial layout of the substation to be laid out according to the spatial offset and the three-dimensional spatial data.
[0012] Optionally, determining the offset of the stacked devices by matching the three-dimensional spatial data of the stacked devices with the three-dimensional model offset rule library includes: determining whether there is a matching stacked device in any typical substation three-dimensional model offset rule library based on the three-dimensional spatial data of the stacked devices; if not, changing to another typical substation three-dimensional model offset rule library to determine the matching stacked devices until a matching stacked device is found; and determining the spatial offset of the stacked devices in the substation to be laid out based on the spatial offset of the matching matching stacked devices.
[0013] A second aspect of this invention provides an automatic spatial layout device for a digital twin of a power distribution network, comprising: a data acquisition module for acquiring three-dimensional spatial data and equipment file information of all equipment in a typical substation; a catalog construction module for constructing a three-dimensional solid model catalog of the typical substation based on the three-dimensional spatial data and equipment file information; a rule base construction module for constructing a three-dimensional solid model offset rule base of the typical substation based on stacking information determined by the equipment file information; and a layout module for matching the equipment file information of the substation to be laid out with the three-dimensional solid model catalog and the three-dimensional solid model offset rule base to perform automatic spatial layout of the substation to be laid out.
[0014] Optionally, the catalog building module is specifically used to: match the three-dimensional spatial data and equipment file information to obtain matching results; and based on the model and voltage level of the substation and all equipment, combined with the matching results, construct a three-dimensional model catalog of a typical substation.
[0015] Optionally, the data acquisition module is specifically used for: selecting a typical substation, acquiring equipment file information for all equipment in the typical substation, the equipment file information including the name, number, and latitude and longitude of the equipment; performing point cloud scanning on the typical substation, acquiring three-dimensional spatial data for all equipment in the typical substation, the three-dimensional spatial data including three-dimensional shape, size, and physical center coordinates.
[0016] Optionally, the rule base construction module is specifically used to: determine whether there are stacked devices in the typical substation based on the latitude and longitude coordinates of the devices in the device file information; when there are stacked devices, calculate the spatial offset between the stacked devices based on the physical center coordinates of the stacked devices; and construct a three-dimensional model offset rule base for the typical substation based on the stacked devices and the spatial offset.
[0017] Optionally, the layout module includes: a first matching module, used to match the equipment file information of the substation to be laid out with the three-dimensional model catalog to determine the three-dimensional spatial data of the equipment in the substation to be laid out; and a second matching module, used to match the equipment file information of the substation to be laid out and the three-dimensional spatial data with the three-dimensional model offset rule library, and to automatically lay out the space of the substation to be laid out based on the matching result and the three-dimensional spatial data.
[0018] Optionally, the second matching module includes: a stacking determination module, used to determine the stacked equipment in the substation to be laid out based on the latitude and longitude coordinates of the equipment in the equipment file information of the substation to be laid out; a matching submodule, used to determine the spatial offset of the stacked equipment based on the matching of the stacked equipment and the three-dimensional spatial data with the three-dimensional solid model offset rule library; and a layout submodule, used to automatically lay out the space of the substation to be laid out based on the spatial offset and the three-dimensional spatial data.
[0019] Optionally, the matching submodule is specifically used to: determine whether there is a similar stacked device in the offset rule library of any typical substation three-dimensional model based on the three-dimensional spatial data of the stacked device; if not, replace the three-dimensional offset rule library of other typical substations to determine the similar stacked device until the same stacked device is matched; and determine the spatial offset of the stacked device in the substation to be laid out based on the spatial offset of the matched similar stacked device.
[0020] A third aspect of the present invention provides a computer-readable storage medium storing computer instructions for causing the computer to perform the automatic spatial layout method for a digital twin of a power distribution network as described in the first aspect and any one of the first aspects of the present invention.
[0021] A fourth aspect of the present invention provides an electronic device, including: a memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the computer instructions to perform the automatic spatial layout method of digital twin of distribution network as described in the first aspect and any one of the first aspects of the present invention.
[0022] The technical solution provided by this invention has the following effects:
[0023] The automatic spatial layout method, device, and storage medium for digital twins of distribution networks provided in this invention achieve automatic spatial layout of substations by constructing a catalog of three-dimensional models of typical substations and a three-dimensional model offset rule library, and matching the substations to be laid out with them. This automatic layout method not only significantly reduces the cost of three-dimensional spatial scanning of equipment, but also meets the needs of digital twin spatial models for distribution network operation status awareness, equipment fault diagnosis, and condition evaluation.
[0024] The automatic spatial layout method for digital twins of distribution networks provided in this invention parses equipment archive data in the power grid, then uses point cloud scanning equipment to perform a full-site scan of typical multi-type substations to obtain complete three-dimensional spatial information of the equipment within the substation. This three-dimensional spatial information is mapped to the equipment archive data to construct a three-dimensional spatial catalog of the equipment. For instances of equipment stacking, the spatial offset is analyzed based on the physical center coordinates of the equipment, and a three-dimensional model offset rule library for the equipment is constructed. Based on the three-dimensional model catalog and the equipment three-dimensional model offset rule library, automatic spatial layout of equipment within the substation can be achieved. Since using point cloud scanning 3D measurement equipment for spatial layout scanning is extremely costly and time-consuming, this automatic spatial layout method for digital twins of distribution networks, based on the three-dimensional model catalog and the equipment three-dimensional model offset rule library, not only significantly reduces the cost of three-dimensional spatial scanning of equipment but also enables rapid and automatic spatial layout of digital twin models of equipment within the substation based on the substation's basic archive information, solving the problem of difficult 3D modeling of substations. This meets the needs of distribution network operation status awareness, equipment fault analysis, and condition evaluation for digital twin spatial models. This provides a model foundation for the subsequent business analysis and application of digital twin models of substations. Attached Figure Description
[0025] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0026] Figure 1 This is a flowchart of an automatic spatial layout method for a digital twin of a power distribution network according to an embodiment of the present invention;
[0027] Figure 2 This is a schematic diagram of a three-dimensional model catalog constructed by the automatic spatial layout method of digital twin of distribution network according to an embodiment of the present invention.
[0028] Figure 3This is a spatial offset diagram of the automatic spatial layout method for digital twins of distribution networks according to an embodiment of the present invention;
[0029] Figure 4 This is a flowchart of a method for automatic spatial layout of a digital twin of a power distribution network according to another embodiment of the present invention;
[0030] Figure 5 This is a structural block diagram of a digital twin spatial automatic layout device for power distribution networks according to an embodiment of the present invention;
[0031] Figure 6 This is a schematic diagram of the structure of a computer-readable storage medium provided according to an embodiment of the present invention;
[0032] Figure 7 This is a schematic diagram of the structure of an electronic device provided according to an embodiment of the present invention. Detailed Implementation
[0033] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0034] The terms "first," "second," "third," "fourth," etc., used in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0035] As described in the background section, the current method for constructing digital twins of substations typically involves manual point cloud scanning to obtain their spatial models. However, relying solely on point cloud scanning equipment to acquire detailed 3D data of the equipment within the substation is extremely time-consuming, labor-intensive, and costly. Furthermore, due to the complexity of the equipment's spatial 3D model, manual point cloud scanning results are prone to errors. Taking distribution network substations as an example, the equipment within them is diverse, and the relative positions of the equipment vary significantly. The spatial layout of equipment in the power grid has strict requirements, and its names correspond to these spatial relationships. For example, substations of the same level adhere to strict wiring and racking rules for their equipment layout. Even if equipment is updated or replaced during operation, it still follows naming directory rules, and there is a strong correlation between equipment names and their corresponding spatial locations. Therefore, utilizing intelligent algorithms and technologies to perform 3D spatial layout of equipment in distribution network substations presents a certain possibility.
[0036] In view of this, embodiments of the present invention provide an automatic spatial layout method for digital twins of distribution networks. By constructing a catalog of three-dimensional models of typical substations and a three-dimensional model offset rule library, the method matches the substations to be laid out with these models, thereby achieving automatic spatial layout of substations. This automatic layout method not only significantly reduces the cost of three-dimensional spatial scanning of equipment, but also meets the requirements of digital twin spatial models for distribution network operation status awareness, equipment fault analysis, and condition evaluation.
[0037] According to an embodiment of the present invention, an automatic spatial layout method for a digital twin of a power distribution network is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0038] This embodiment provides a method for automatic spatial layout of a digital twin of a power distribution network, which can be used in electronic devices such as computers, mobile phones, and tablets. Figure 1 This is a flowchart of the automatic spatial layout method for digital twins of distribution networks according to an embodiment of the present invention, such as... Figure 1 As shown, the method includes the following steps:
[0039] Step S101: Obtain the three-dimensional spatial data and equipment file information of all equipment in a typical substation; specifically, the data and information acquisition methods include: selecting a typical substation, obtaining the equipment file information of all equipment in the typical substation, the equipment file information including the name, number, and latitude and longitude of the equipment; performing point cloud scanning on the typical substation to obtain the three-dimensional spatial data of all equipment in the typical substation, the three-dimensional spatial data including the three-dimensional shape, size, and physical center coordinates.
[0040] When selecting typical substations, they can be chosen according to voltage level, such as selecting a 110kV typical substation, a 220kV typical substation, etc. Alternatively, they can be selected based on the types of equipment within the substation, such as choosing a substation containing a wider variety of equipment types. The selection of typical substations can be implemented with reference to existing technologies, and this application does not impose any limitations on this. Specifically, there can be multiple typical substations, and each typical substation can serve as a spatial model sample library.
[0041] For each typical substation, relevant equipment data, such as equipment file information, is typically stored in an equipment database. Therefore, equipment file information can be extracted from the database. This equipment file information specifically includes equipment model, name, serial number, and latitude and longitude information. Simultaneously, point cloud scanning is used to acquire three-dimensional spatial data of all equipment in the substation. This three-dimensional spatial data specifically refers to the data of the three-dimensional model corresponding to each piece of equipment in the typical substation, including the equipment's three-dimensional dimensions, shape, and physical center coordinates. Furthermore, based on the scanning results, the relative ground height of each piece of equipment can be determined. When calculating the physical center coordinates, the three-dimensional dimensions and shape information obtained from the scan can be used. For example, the coordinates of each vertex of the equipment can be determined using the three-dimensional dimensions and their relative ground height values. If the coordinates of the vertices form a cuboid, the center of the cuboid can be calculated using geometric operations as the physical center coordinates; if the coordinates of the vertices form an irregular shape, the center of the irregular shape can be calculated as the physical center coordinates.
[0042] In addition, it should be noted that the physical center coordinates of all equipment in a typical substation can be calculated, or only the physical center coordinates of the stacked equipment can be calculated after the stacked equipment is determined.
[0043] Step S102: Construct a three-dimensional model catalog of a typical substation based on the three-dimensional spatial data and equipment file information; specifically, when constructing the three-dimensional model catalog, the acquired equipment file information and three-dimensional spatial data can be matched to form a three-dimensional model catalog. For example, a typical substation includes n pieces of equipment, TD... i Let be the 3D model of the i-th device, where Name, ID, Longitude, and Latitude represent the name, number, latitude, and longitude of the device corresponding to this 3D model, respectively. The result of matching these two values can be represented as follows:
[0044]
[0045] Step S103: Construct a three-dimensional model offset rule library for a typical substation based on the stacking information determined by the equipment file information; specifically, after determining the three-dimensional spatial data of the equipment, if multiple equipment (TD1, TD2, TD3) have the same latitude and longitude coordinates [Longitude, Latitude], i.e., Longitude1 = Longitude2 = Longitude3, Latitude1 = Latitude2 = Latitude3, it means that these equipment are stacked in three-dimensional space, and the stacked equipment needs to be offset. Based on the specific offset situation, a three-dimensional model offset rule library for a typical substation can be established.
[0046] It should be noted that the latitude and longitude coordinates are obtained from the equipment file information in the saved equipment database. When the equipment is relatively close in actual space, the saved latitude and longitude coordinates may be identical. Directly using these coordinates cannot achieve the correct layout of the equipment in three-dimensional space; the equipment needs to be offset. Furthermore, when constructing the three-dimensional model offset rule library, each typical substation can be analyzed separately, and a corresponding three-dimensional model offset rule library can be established for each typical substation.
[0047] Step S104: Match the equipment file information of the substation to be laid out with the 3D model directory and the 3D model offset rule library to perform automatic spatial layout of the substation. Specifically, the constructed 3D model directory and 3D model offset rule library can serve as a spatial model sample library for the substation. When it is necessary to construct a digital twin of a substation, equipment file information can be extracted from the equipment database of the substation, and the equipment file information can be matched with the 3D model directory and the 3D model offset rule library to determine the 3D model of the equipment in the substation and the offset rules of the stacked equipment, thereby enabling automatic spatial layout of the substation.
[0048] The automatic spatial layout method for digital twins of distribution networks provided in this invention achieves automatic spatial layout of substations by constructing a catalog of three-dimensional models of typical substations and a three-dimensional model offset rule library, and matching the substations to be laid out with them. This automatic layout method not only significantly reduces the cost of three-dimensional spatial scanning of equipment, but also meets the needs of digital twin spatial models for distribution network operation status awareness, equipment fault analysis, and condition evaluation.
[0049] In one embodiment, constructing a three-dimensional model catalog of a typical substation based on the three-dimensional spatial data and equipment file information includes: matching the three-dimensional spatial data and equipment file information to obtain a matching result; and constructing a three-dimensional model catalog of a typical substation based on the model and voltage level of the substation and all equipment, combined with the matching result.
[0050] Specifically, for various equipment in a typical substation, even switches or main transformers, different models and voltage levels will result in different 3D models. Similarly, different substation types and voltage levels will have different 3D dimensions. Therefore, after matching the 3D spatial data with the equipment file information, it is necessary to determine the substation model and voltage level, as well as the models and voltage levels of all equipment within the substation. For each model and voltage level, a corresponding 3D model is then determined, thus constructing a 3D model catalog. This constructed 3D model catalog is as follows: Figure 2 As shown.
[0051] In one embodiment, constructing a three-dimensional model offset rule library for a typical substation based on the stacking information determined by the equipment file information includes: determining whether there are stacked devices in the typical substation based on the latitude and longitude coordinates of the equipment in the equipment file information; when there are stacked devices, calculating the spatial offset between the stacked devices based on the physical center coordinates of the stacked devices; and constructing a three-dimensional model offset rule library for the typical substation based on the stacked devices and the spatial offset.
[0052] Specifically, after determining that devices are stacked based on their identical latitude and longitude coordinates, these devices need to be moved; otherwise, they would partially or completely overlap in three-dimensional space, making proper layout impossible. During movement, the spatial offset can be calculated using the difference between the physical center coordinates of the stacked devices. For example, ... Figure 3 As shown, there are three stacked devices TD1, TD2, and TD3. The physical center coordinates of TD1 are [x1, y1, z1], the physical center coordinates of TD2 are [x2, y2, z2], and the physical center coordinates of TD3 are [x3, y3, z3]. That is, the spatial offset of the physical center of TD2 relative to the physical center of TD1 is [x1, y1, z1]. 2-1 y 2-1 , z 2-1 ], where x 2-1 =|x1-x2|, y2-1=|y1-y2|, z2-1=|z1-z2|, x2-1 represents the physical center of TD2 shifted eastward relative to the physical center of TD1 by x in the west-to-east direction. 2-1 m, y 2-1This indicates that the physical center of TD2 is offset southward relative to the physical center of TD1 in the north-to-south direction by y. 2-1 Rice, z 2-1 This indicates that the physical center of TD2 is offset upwards relative to the physical center of TD1 by z. 2-1 Meters. Spatial offset of the physical center of TD3 relative to the physical center of TD1 [x] 3-1 y 3-1 , z 3-1 Similarly, x 3-1 y 3-1 , z 3-1 These represent the spatial offsets in three directions. The specific spatial offsets between stacked devices in a typical substation are stored in the offset rule library of the corresponding typical substation's 3D model.
[0053] In one embodiment, the equipment file information of the substation to be laid out is matched with the three-dimensional model catalog and the three-dimensional model offset rule base to perform automatic spatial layout of the substation to be laid out, including the following steps:
[0054] Step S201: Match the equipment file information of the substation to be laid out with the three-dimensional model directory to determine the three-dimensional spatial data of the equipment in the substation to be laid out; specifically, after determining the three-dimensional model directory and the three-dimensional model offset rule library, for the substation that needs to build a digital twin, first obtain the equipment file information of the substation, match the equipment name and other information in the equipment file information with the three-dimensional model directory, and find the three-dimensional model of the same equipment and the corresponding three-dimensional spatial data from the three-dimensional model directory.
[0055] Step S201: Match the equipment file information and 3D spatial data of the substation to be laid out with the 3D model offset rule library, and automatically lay out the substation based on the matching result and the 3D spatial data. This spatial layout process specifically includes: determining the stacked equipment within the substation to be laid out based on the latitude and longitude coordinates of the equipment in the equipment file information; determining the spatial offset of the stacked equipment based on the matching of the stacked equipment and 3D spatial data with the 3D model offset rule library; and automatically laying out the substation based on the spatial offset and the 3D spatial data.
[0056] Specifically, the equipment file information includes the latitude and longitude coordinates of all equipment in the substation to be laid out. First, the stacked equipment is determined based on whether the latitude and longitude coordinates are the same. Then, the obtained stacked equipment and the physical center coordinates of the stacked equipment in the three-dimensional spatial data are matched with the three-dimensional model offset rule library to determine whether there are identical stacked equipment in the three-dimensional model offset rule library. When identical stacked equipment exists and the physical center coordinates are also the same, the spatial position of the stacked equipment is adjusted according to the corresponding spatial offset. Then, the three-dimensional spatial layout of the substation is carried out by combining the adjusted spatial position and the three-dimensional model of each equipment.
[0057] In one embodiment, determining the offset of the stacked devices by matching the stacked devices and three-dimensional spatial data with the three-dimensional model offset rule library includes: determining whether the same stacked devices exist in any typical substation three-dimensional model offset rule library based on the stacked devices and three-dimensional spatial data; if not, changing to another typical substation three-dimensional model offset rule library to determine the same stacked devices until the same stacked devices are matched; and determining the spatial offset of the stacked devices in the substation to be laid out based on the spatial offset of the matched same stacked devices.
[0058] Specifically, since each typical substation has established its corresponding three-dimensional model offset rule library, during matching, the three-dimensional model offset rule library of any typical substation is first selected for matching. If the matching fails, the three-dimensional model offset rule library of other typical substations is used for matching until a matching is successful with the three-dimensional model offset rule library of a certain typical substation.
[0059] In one implementation, such as Figure 4 As shown, the automatic spatial layout method for the digital twin of the power distribution network is implemented according to the following process:
[0060] Step 1: Select certain typical substations as a spatial model sample library, perform point cloud scanning on the selected typical substations, and obtain the three-dimensional spatial data of all equipment in the typical substations.
[0061] Step 2: Extract equipment file information from the equipment database corresponding to typical substations, and associate the point cloud scan results of the equipment with the equipment name and number, that is, mark all spatial objects with the equipment name, number, type and other file information:
[0062]
[0063] Assume the substation has a total of n devices, TD iThis is a three-dimensional model of the equipment. Name, ID, Longitude, and Latitude represent the name, number, latitude, and longitude of the equipment corresponding to this three-dimensional model.
[0064] Step 3: Even with main transformers and switches, their 3D models differ due to variations in model and voltage level. Therefore, it's necessary to compile a substation equipment catalog by organizing information on all equipment types and voltage levels. The substation type and voltage level are two determining factors for its 3D dimensions; similarly, the brand, specifications, and voltage level of the main transformer determine its size. The same applies to other equipment. A 3D model catalog of all equipment within a typical substation should be created.
[0065] Step 4: The shape and size of any type of equipment in a typical substation can be found in the equipment 3D model catalog built in Step 3. After determining the 3D shape and size, if multiple devices (TD1, TD2, TD3) have the same latitude and longitude coordinates [Longitude, Latitude] (Longitude1 = Longitude2 = Longitude3, Latitude1 = Latitude2 = Latitude3), proceed to Step 5.
[0066] Step 5: These devices are stacked in three-dimensional space. First, mark these three devices with the stacking symbol: Overlap. Then, obtain the physical center coordinates of these devices from the three-dimensional space data. The physical center coordinates of TD1 are: [x1, y1, z1], the physical center coordinates of TD2 are: [x2, y2, z2], and the physical center coordinates of TD3 are: [x3, y3, z3]. Then proceed to step 6.
[0067] Step 6: Calculate and record the spatial offset between the stacked devices, in meters, i.e., the spatial offset of the physical center of TD2 relative to the physical center of TD1 [x]. 2-1 y 2-1 , z 2-1 ], x 2-1 The physical center of TD2 is offset eastward by x relative to the physical center of TD1 in the west-to-east direction. 2-1 Meters represent the distance y from the physical center of TD2 relative to the physical center of TD1, shifted southward in a north-to-south direction. 2-1 Meters, where the physical center of TD2 is offset upwards relative to the physical center of TD1 by z. 2-1 Meters. Spatial offset of the physical center of TD3 relative to the physical center of TD1 [x] 3-1 y 3-1 , z 3-1Similarly, x 3-1 y 3-1 , z 3-1 The offset distances in the three directions are respectively, and the three-dimensional spatial offset information is stored in the three-dimensional solid model offset rule library.
[0068] Step 7: To ensure the diversity of the model library, point cloud scanning is performed on the equipment in various typical substations, and steps 2-6 are repeated to enrich the model library.
[0069] Step 8: After determining the 3D model catalog and model offset rule base, input the new substation equipment file information, including equipment name, equipment nameplate, equipment type, voltage level, and latitude and longitude information.
[0070] Step 9: First, compare the equipment type, equipment nameplate, and equipment voltage level with the 3D model catalog to find the corresponding 3D shape and size of all newly input substation equipment, i.e., the 3D model.
[0071] Step 10: Next, if multiple devices have the same latitude and longitude coordinates, match the same stacked device group according to the stacked device relative offset rule library. If the match is successful, lay out the 3D model in space according to its offset rule. Otherwise, proceed to Step 11.
[0072] Step 11: If the matching fails, proceed to step 7 and continue to access the new substation 3D model offset rule library as the sample library until the matching is successful.
[0073] Step 12: Arrange all devices according to the predetermined three-dimensional spatial layout data.
[0074] Step 13: End.
[0075] The automatic spatial layout method for digital twins of distribution networks provided in this invention parses equipment archive data in the power grid, then uses point cloud scanning equipment to perform a full-site scan of typical multi-type substations to obtain complete three-dimensional spatial information of the equipment within the substation. This three-dimensional spatial information is mapped to the equipment archive data to construct a three-dimensional spatial catalog of the equipment. For instances of equipment stacking, the spatial offset is analyzed based on the physical center coordinates of the equipment, and a three-dimensional model offset rule library for the equipment is constructed. Based on the three-dimensional model catalog and the equipment three-dimensional model offset rule library, automatic spatial layout of equipment within the substation can be achieved. Since using point cloud scanning 3D measurement equipment for spatial layout scanning is extremely costly and time-consuming, this automatic spatial layout method for digital twins of distribution networks, based on the three-dimensional model catalog and the equipment three-dimensional model offset rule library, not only significantly reduces the cost of three-dimensional spatial scanning of equipment but also enables rapid and automatic spatial layout of digital twin models of equipment within the substation based on the substation's basic archive information, solving the problem of difficult 3D modeling of substations. This meets the needs of distribution network operation status awareness, equipment fault analysis, and condition evaluation for digital twin spatial models. This provides a model foundation for the subsequent business analysis and application of digital twin models of substations.
[0076] This invention also provides an automatic spatial layout device for a digital twin of a power distribution network, such as... Figure 5 As shown, it includes:
[0077] The data acquisition module is used to acquire the three-dimensional spatial data and equipment file information of all equipment in a typical substation; for details, please refer to the corresponding part of the above method embodiment, which will not be repeated here.
[0078] The catalog building module is used to construct a three-dimensional model catalog of a typical substation based on the three-dimensional spatial data and equipment file information; for details, please refer to the corresponding part of the above method embodiment, which will not be repeated here.
[0079] The rule base construction module is used to construct a three-dimensional model offset rule base for a typical substation based on the stacking information determined by the three-dimensional spatial data and equipment file information; for details, please refer to the corresponding part of the above method embodiment, which will not be repeated here.
[0080] The layout module is used to match the equipment file information of the substation to be laid out with the 3D model directory and the 3D model offset rule base to automatically lay out the substation in space. For details, please refer to the corresponding sections of the above method embodiments, which will not be repeated here.
[0081] The automatic spatial layout device for digital twins of power distribution networks provided in this invention automatically lays out substations by matching them with a catalog of typical substation 3D models and a 3D model offset rule library. This not only significantly reduces the cost of 3D spatial scanning of equipment but also meets the requirements of digital twin spatial models for power distribution network operation status awareness, equipment fault analysis, and condition evaluation.
[0082] For a detailed description of the functions of the automatic spatial layout device for digital twins of distribution networks provided in this embodiment of the invention, please refer to the description of the automatic spatial layout method for digital twins of distribution networks in the above embodiments.
[0083] Optionally, the catalog building module is specifically used to: match the three-dimensional spatial data and equipment file information to obtain matching results; and based on the model and voltage level of the substation and all equipment, combined with the matching results, construct a three-dimensional model catalog of a typical substation.
[0084] Optionally, the data acquisition module is specifically used for: selecting a typical substation, acquiring equipment file information for all equipment in the typical substation, the equipment file information including the name, number, and latitude and longitude of the equipment; performing point cloud scanning on the typical substation, acquiring three-dimensional spatial data for all equipment in the typical substation, the three-dimensional spatial data including three-dimensional shape, size, and physical center coordinates.
[0085] Optionally, the rule base construction module is specifically used to: determine whether there are stacked devices in the typical substation based on the latitude and longitude coordinates of the devices in the device file information; when there are stacked devices, calculate the spatial offset between the stacked devices based on the physical center coordinates of the stacked devices; and construct a three-dimensional model offset rule base for the typical substation based on the stacked devices and the spatial offset.
[0086] Optionally, the layout module includes: a first matching module, used to match the equipment file information of the substation to be laid out with the three-dimensional model catalog to determine the three-dimensional spatial data of the equipment in the substation to be laid out; and a second matching module, used to match the equipment file information of the substation to be laid out and the three-dimensional spatial data with the three-dimensional model offset rule library, and to automatically lay out the space of the substation to be laid out based on the matching result and the three-dimensional spatial data.
[0087] Optionally, the second matching module includes: a stacking determination module, used to determine the stacked equipment in the substation to be laid out based on the latitude and longitude coordinates of the equipment in the equipment file information of the substation to be laid out; a matching submodule, used to determine the spatial offset of the stacked equipment based on the matching of the stacked equipment and the three-dimensional spatial data with the three-dimensional solid model offset rule library; and a layout submodule, used to automatically lay out the space of the substation to be laid out based on the spatial offset and the three-dimensional spatial data.
[0088] Optionally, the matching submodule is specifically used to: determine whether there is a similar stacked device in the offset rule library of any typical substation three-dimensional model based on the three-dimensional spatial data of the stacked device; if not, replace the three-dimensional offset rule library of other typical substations to determine the similar stacked device until the same stacked device is matched; and determine the spatial offset of the stacked device in the substation to be laid out based on the spatial offset of the matched similar stacked device.
[0089] This invention also provides a storage medium, such as... Figure 6 As shown, a computer program 601 is stored on it. When executed by a processor, this program implements the steps of the automatic spatial layout method for the digital twin of the power distribution network in the above embodiments. The storage medium also stores audio and video stream data, feature frame data, interactive request signaling, encrypted data, and preset data sizes. The storage medium can be a magnetic disk, optical disk, read-only memory (ROM), random access memory (RAM), flash memory, hard disk drive (HDD), or solid-state drive (SSD), etc.; the storage medium may also include combinations of the above types of memory.
[0090] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. The storage medium can be a magnetic disk, optical disk, read-only memory (ROM), random access memory (RAM), flash memory, hard disk drive (HDD), or solid-state drive (SSD), etc.; the storage medium can also include combinations of the above types of memory.
[0091] This invention also provides an electronic device, such as... Figure 7 As shown, the electronic device may include a processor 51 and a memory 52, wherein the processor 51 and the memory 52 may be connected via a bus or other means. Figure 7 Taking the example of a connection between China and Israel via a bus.
[0092] Processor 51 can be a central processing unit (CPU). Processor 51 can also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or combinations of the above types of chips.
[0093] The memory 52, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as the corresponding program instructions / modules in the embodiments of the present invention. The processor 51 executes various functional applications and data processing by running the non-transitory software programs, instructions, and modules stored in the memory 52, thereby realizing the automatic spatial layout method of the digital twin of the distribution network in the above method embodiments.
[0094] The memory 52 may include a program storage area and a data storage area. The program storage area may store applications required for operating the device and at least one function; the data storage area may store data created by the processor 51, etc. Furthermore, the memory 52 may include high-speed random access memory and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, the memory 52 may optionally include memory remotely located relative to the processor 51, and these remote memories may be connected to the processor 51 via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0095] The one or more modules are stored in the memory 52, and when executed by the processor 51, they perform the following: Figure 1 -4 shows the automatic spatial layout method of digital twin of distribution network.
[0096] For specific details regarding the aforementioned electronic devices, please refer to the relevant documentation. Figures 1 to 4 The relevant descriptions and effects in the illustrated embodiments are for understanding purposes only and will not be repeated here.
[0097] Although embodiments of the invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations all fall within the scope defined by the appended claims.
Claims
1. A power distribution network digital twin space automatic layout method, characterized in that, include: Acquire three-dimensional spatial data and equipment file information for all equipment in a typical substation; A catalog of three-dimensional models of typical substations is constructed based on the aforementioned three-dimensional spatial data and equipment file information; Based on the stacking information determined from the equipment file information, a three-dimensional model offset rule library for a typical substation is constructed. The equipment file information of the substation to be laid out is matched with the three-dimensional model catalog and the three-dimensional model offset rule library to perform automatic spatial layout of the substation to be laid out. Obtain 3D spatial data and equipment file information for all equipment in a typical substation, including: Select a typical substation and obtain the equipment file information of all equipment in the typical substation. The equipment file information includes the name, number and latitude and longitude of the equipment. A point cloud scan is performed on a typical substation to obtain three-dimensional spatial data of all equipment in the typical substation. The three-dimensional spatial data includes three-dimensional shape, size and physical center coordinates. Based on the stacking information determined from the equipment file information, a three-dimensional model offset rule library for a typical substation is constructed, including: Determine whether there are stacked devices within the typical substation based on the latitude and longitude coordinates of the equipment in the equipment file information; When stacked devices exist, the spatial offset between the stacked devices is calculated based on the physical center coordinates of the stacked devices. Based on the stacked devices and spatial offsets, a three-dimensional model offset rule library for a typical substation is constructed.
2. The power distribution grid digital twin space auto-layout method of claim 1, wherein, Based on the aforementioned three-dimensional spatial data and equipment file information, a catalog of typical substation three-dimensional models is constructed, including: The three-dimensional spatial data and equipment file information are matched to obtain the matching result; Based on the model and voltage level of the substation and all equipment, and combined with the matching results, a catalog of three-dimensional models of typical substations is constructed.
3. The power distribution grid digital twin space auto-layout method of claim 1, wherein, The equipment file information of the substation to be laid out is matched with the 3D model catalog and the 3D model offset rule base to perform automatic spatial layout of the substation to be laid out, including: Match the equipment file information of the substation to be laid out with the three-dimensional model catalog to determine the three-dimensional spatial data of the equipment in the substation to be laid out. Based on the equipment file information of the substation to be laid out and the three-dimensional spatial data, the three-dimensional model offset rule library is matched, and the spatial layout of the substation to be laid out is automatically performed based on the matching results and the three-dimensional spatial data.
4. The power distribution grid digital twin space auto-layout method of claim 3, wherein, Based on the equipment file information of the substation to be laid out and the 3D spatial data, the substation to be laid out is matched with the 3D model offset rule library. The automatic spatial layout of the substation to be laid out is then performed based on the matching results and the 3D spatial data, including: The stacked equipment within the substation to be laid out is determined based on the latitude and longitude coordinates of the equipment in the equipment file information of the substation to be laid out. The spatial offset of the stacking device is determined by matching the stacking device and the three-dimensional spatial data with the three-dimensional solid model offset rule library. The spatial layout of the substation to be laid out is automatically performed based on the spatial offset and the three-dimensional spatial data.
5. The power distribution grid digital twin space auto-layout method of claim 4, wherein, The offset of the stacking device is determined by matching the three-dimensional spatial data of the stacking device with the offset rule base of the three-dimensional solid model, including: Based on the three-dimensional spatial data of the stacked equipment, determine whether the same stacked equipment exists in the offset rule library of any typical substation three-dimensional model. If not, replace the offset rule library of other typical substation 3D model to judge the same stacked devices until the same stacked devices are matched. The spatial offset of the stacked devices within the substation to be laid out is determined based on the spatial offset of the matched identical stacked devices.
6. An apparatus for automatic layout of power distribution network digital twin space, characterized in that, include: The data acquisition module is used to acquire three-dimensional spatial data and equipment file information of all equipment in a typical substation; Acquiring three-dimensional spatial data and equipment file information of all equipment in a typical substation includes: selecting a typical substation, acquiring equipment file information of all equipment in the typical substation, the equipment file information including the name, number, and latitude and longitude of the equipment; performing point cloud scanning on the typical substation to acquire three-dimensional spatial data of all equipment in the typical substation, the three-dimensional spatial data including three-dimensional shape, size, and physical center coordinates; The catalog building module is used to build a three-dimensional model catalog of a typical substation based on the three-dimensional spatial data and equipment file information. The rule base construction module is used to construct a three-dimensional model offset rule base for a typical substation based on the stacking information determined by the equipment file information. This includes: determining whether stacked equipment exists within the typical substation based on the latitude and longitude coordinates of the equipment in the equipment file information; calculating the spatial offset between stacked equipment based on the physical center coordinates of the stacked equipment when stacked equipment exists; and constructing the three-dimensional model offset rule base for the typical substation based on the stacked equipment and the spatial offset. The layout module is used to match the equipment file information of the substation to be laid out with the three-dimensional model directory and the three-dimensional model offset rule library to automatically lay out the space of the substation to be laid out.
7. The power distribution grid digital twin space auto- layout apparatus of claim 6, wherein, The catalog building module is specifically used to: match the three-dimensional spatial data and equipment file information to obtain matching results; and, based on the model and voltage level of the substation and all equipment, and in conjunction with the matching results, construct a three-dimensional model catalog of a typical substation.
8. The automatic spatial layout device for digital twin of power distribution network according to claim 6, characterized in that, The data acquisition module is specifically used for: selecting a typical substation, acquiring equipment file information for all equipment in the typical substation, the equipment file information including the name, number, and latitude and longitude of the equipment; performing point cloud scanning on the typical substation to acquire three-dimensional spatial data for all equipment in the typical substation, the three-dimensional spatial data including three-dimensional shape, size, and physical center coordinates.
9. The power distribution grid digital twin space auto- layout apparatus of claim 8, wherein, The rule base construction module is specifically used to: determine whether there are stacked devices in the typical substation based on the latitude and longitude coordinates of the devices in the device file information; when there are stacked devices, calculate the spatial offset between the stacked devices based on the physical center coordinates of the stacked devices; Based on the stacked devices and spatial offsets, a three-dimensional model offset rule library for a typical substation is constructed.
10. The power distribution grid digital twin space auto- layout apparatus of claim 9, wherein, The layout module includes: The first matching module is used to match the equipment file information of the substation to be laid out with the three-dimensional model catalog to determine the three-dimensional spatial data of the equipment in the substation to be laid out. The second matching module is used to match the equipment file information of the substation to be laid out and the three-dimensional spatial data with the three-dimensional solid model offset rule library, and to automatically lay out the space of the substation to be laid out based on the matching result and the three-dimensional spatial data.
11. The power distribution grid digital twin space auto- layout apparatus of claim 10, wherein, The second matching module includes: The stacking determination module is used to determine the stacking equipment in the substation to be laid out based on the latitude and longitude coordinates of the equipment in the equipment file information of the substation to be laid out. The matching submodule is used to determine the spatial offset of the stacking device by matching the stacking device and the three-dimensional spatial data with the three-dimensional solid model offset rule library; The layout submodule is used to automatically lay out the substation to be laid out based on the spatial offset and the three-dimensional spatial data.
12. The automatic spatial layout device for a digital twin of a power distribution network according to claim 11, characterized in that, The matching submodule is specifically used to: determine whether there is a similar stacked device in the offset rule library of any typical substation three-dimensional model based on the three-dimensional spatial data of the stacked device; if not, replace the three-dimensional offset rule library of other typical substations to determine the same stacked device until the same stacked device is matched; and determine the spatial offset of the stacked device in the substation to be laid out based on the spatial offset of the matched same stacked device.
13. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing the computer to execute the automatic spatial layout method for digital twins of a distribution network as described in any one of claims 1-5.
14. An electronic device, comprising: include: The system includes a memory and a processor, which are interconnected. The memory stores computer instructions, and the processor executes the computer instructions to perform the automatic spatial layout method for digital twins of a power distribution network as described in any one of claims 1-5.