Parameterized model construction method and device of distribution line and application system

By obtaining and processing the ledger, spatial location and topological information of the distribution line, building a three-dimensional model and dividing the lines step by step, the complexity of parameterized modeling of distribution lines is solved, and efficient and accurate visualization of distribution lines is achieved. Present.

CN118939748AActive Publication Date: 2024-11-12BEIJING GUOKE HENGTONG TECH CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202411427276.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-14
Publication Date
2024-11-12
Estimated Expiration
2044-10-14

AI Technical Summary

Technical Problem

The prior art is difficult to simplify the parametric modeling algorithm of complex tree distribution lines, making it difficult to parametric modeling and visual presentation of distribution lines.

Method used

By obtaining the ledger information, spatial position information and topological information of the distribution line, a three-dimensional model of point-shaped equipment is constructed, and the lines are divided step by step based on the topological information, the actual position information of the pole tower and wire are calculated, and parameterized model information is generated to simplify Model the process and realize visual presentation.

Benefits of technology

It reduces the difficulty of modeling and query analysis of the parameterized distribution line model, improves the modeling efficiency, and realizes efficient and accurate visual presentation of the distribution line.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118939748A_ABST
    Figure CN118939748A_ABST
Patent Text Reader

Abstract

The invention discloses a power distribution line parameterized model construction method and device and an application system, and the method comprises the steps: obtaining the standing book information, spatial position information and topological information of each power distribution device in a power distribution line; extracting model information of each point-like device from the machine account information, and constructing a three-dimensional model of the corresponding point-like device according to the model information; performing step-by-step segmentation on the distribution line based on the topological information to obtain a plurality of line segments, and generating segment registration information corresponding to each line segment; obtaining the actual position information of each tower, and calculating the actual position information of the lead hanging point corresponding to each tower according to the actual position information of the tower and the hanging point information; and calculating the position information of the wire T contact on the branch rod, and obtaining the actual position information of the wire corresponding to each line segment. Parametric modeling of the power distribution line and visual presentation of the power distribution line based on the parametric modeling are realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power grid data processing, and in particular to a method, device and application system for constructing a parameterized model of a distribution line. Background Art

[0002] As one of the important infrastructures in modern society, the power grid plays a vital role in ensuring energy security and reliable power supply. With the continuous development of science and technology, power grid managers have begun to explore more advanced technical means to improve the efficiency and visualization of power grid management, among which 3D visualization technology has been widely used and continuously developed.

[0003] The three-dimensional visualization of power grids must first solve the three-dimensional modeling problem of transmission and distribution lines. There are three main common modeling methods: 1) using laser scanning technology to obtain line corridor laser point cloud data; 2) using oblique photography modeling technology to generate line corridor digital surface models; 3) using parametric modeling technology to batch generate three-dimensional models of the line body. The first two methods belong to surveying and mapping technology, with long data acquisition and processing cycles and high modeling costs. Parametric modeling technology uses the highly reusable characteristics of line equipment to batch place line equipment models in three-dimensional space to construct a three-dimensional model of the line body. It is low-cost and high-efficiency, and is relatively mature in the application of three-dimensional modeling of transmission lines. However, on distribution lines, due to the characteristics of distribution lines with many types of equipment, complex topological relationships, many line branches, and many types of pole-mounted equipment, the parametric modeling algorithm is extremely complex. Not only is it difficult to implement itself, but it is even more difficult to visualize the complex data after modeling.

[0004] Therefore, how to simplify the parametric modeling algorithm of complex tree-like distribution lines, realize the parametric modeling of distribution lines and then realize the visualization of distribution lines has become an urgent problem to be solved. Summary of the invention

[0005] Based on the above situation, the main purpose of the present invention is to provide a method, device and application system for constructing a parametric model of a distribution line, so as to simplify the parametric modeling algorithm of the distribution line and realize the parametric modeling of the distribution line and realize the visualization presentation of the distribution line.

[0006] To achieve the above purpose, the technical solution adopted by the present invention is as follows: In a first aspect, an embodiment of the present invention discloses a method for constructing a parameterized model of a distribution line, which is applied to a data server, and the data server and a front-end device form a communication system, so that the front-end device can query the parameterized model information corresponding to the distribution equipment in the distribution line from the database in the data server and present it visually, and the method includes: Step S100, obtaining the ledger information, spatial location information and topological information of each distribution device in the distribution line; the distribution equipment includes point equipment and line equipment; the ledger information is stored in the database; Step S200, extracting the model information of each point-shaped device from the ledger information, constructing a three-dimensional model of the corresponding point-shaped device according to the model information, and configuring and generating the attachment point information of each three-dimensional model; the attachment point information is stored in the database; Step S300, based on the topology information, the distribution line is segmented step by step to obtain a number of line segments, and segment registration information corresponding to each line segment is generated; the segment registration information includes the sequence number of each tower in the line segment, and the equipment number of the branch pole forming the branch where the corresponding line segment is located; there is no other line branch in each line segment; Step S400, obtaining the actual position information of each tower, and calculating the actual position information of the wire attachment point corresponding to each tower according to the actual position information of the tower and the attachment point information; Step S500, calculate the conductor T-point position information on the branch pole, and based on the conductor T-point position information, the actual position information of the conductor hanging point, and the sequence number of the tower in each line segment, obtain the actual position information of the conductor corresponding to each line segment; the parameterized model information includes the actual position information of the tower and the actual position information of the conductor, and the parameterized model information is stored in the database.

[0007] Optionally, step S300 includes: A pole tower in the branch queue is used as a base pole, and a target pole tower connected to the base pole is searched according to the topology information; the first pole tower in the distribution line can be obtained based on the topology information as the initial branch queue; If there are target pole towers connected to the base pole by cables, they will all be added to the branch queue, and the base pole will be moved to the segment queue; If there are two or more target towers connected to the base pole by wires, all of them are added to the segment queue, and the base pole is moved into the segment queue; If there is no target pole or there is only one target pole connected to the base pole by a conductor, the base pole is directly moved into the segment queue; Repeat the above steps until there is no pole tower in the branch queue, and the step-by-step segmentation of the distribution line is completed; each base pole in the segment queue corresponds to a line segment, and each base pole in the segment queue is the first pole tower of the corresponding line segment; Generate segment registration information corresponding to each line segment.

[0008] Optionally, step S400 includes: Extracting the attachment point information on the three-dimensional model corresponding to a pole tower to obtain first attachment point information; the first attachment point information includes the relative coordinates of the pole tower attachment point relative to the pole tower; Obtaining the actual rotation angle of the pole tower, and calculating the actual position information of the pole tower attachment point according to the actual rotation angle of the pole tower and the first attachment point information; Acquire the actual position information of the pole tower, and calculate the actual position information of the hanging device at the pole tower hanging point according to the actual position information of the pole tower hanging point, the actual position information of the pole tower and the first hanging point information; the parameterized model information includes the actual position information of the hanging device; Extracting the attachment point information on the three-dimensional model corresponding to the attachment device to obtain the second attachment point information; the second attachment point information includes the relative coordinates of the wire attachment point on the attachment device relative to the attachment device; Calculate the actual position information of the wire attachment point according to the second attachment point information and the actual position information of the attachment device; Repeat the above steps until the calculation of the actual position information of the wire attachment points corresponding to all towers is completed.

[0009] Optionally, the actual rotation angle of the tower is calculated based on the angle between the tower and its front tower and rear tower; the front tower and rear tower are located based on the sequence numbers of each tower in the line segment.

[0010] Optionally, the conductor T-junction position information in step S500 includes the conductor T-junction coordinates and the T-junction grouped conductor hanging point coordinates, the conductor T-junction coordinates are the coordinates of a point on the branch rod conductor that has a preset distance from the branch rod, and the T-junction grouped conductor hanging point coordinates are extracted from the hanging point information of the three-dimensional model of the branch rod.

[0011] In a second aspect, an embodiment of the present invention discloses a device for constructing a parametric model of a distribution line, which is applied to a data server, and the data server and a front-end device form a communication system, so that the front-end device can query the parametric model information corresponding to the distribution equipment in the distribution line from the database in the data server and present it visually, and the device includes: The information acquisition module is used to obtain the ledger information, spatial location information and topological information of each distribution equipment in the distribution line; the distribution equipment includes point equipment and line equipment; the ledger information is stored in the database; The three-dimensional model building module is used to extract the model information of each point-shaped device from the ledger information, build the three-dimensional model of the corresponding point-shaped device according to the model information, and configure and generate the attachment point information of each three-dimensional model; the attachment point information is stored in the database; The line segmentation module is used to segment the distribution line step by step based on the topology information to obtain a number of line segments, and generate segment registration information corresponding to each line segment; the segment registration information includes the sequence number of each tower in the line segment, and the equipment number of the branch pole forming the branch where the corresponding line segment is located; there are no other line branches in each line segment; The position information calculation module is used to obtain the actual position information of each tower, and calculate the actual position information of the wire attachment point corresponding to each tower according to the actual position information of the tower and the attachment point information; The conductor information calculation module is used to calculate the conductor T-connection position information on the branch pole, and based on the conductor T-connection position information, the actual position information of the conductor hanging point, and the sequence number of the pole tower in each line segment, obtain the actual position information of the conductor corresponding to each line segment; the parameterized model information includes the actual position information of the pole tower and the actual position information of the conductor, and the parameterized model information is stored in the database.

[0012] Optionally, the line segmentation module includes: A pole tower search unit is used to use a pole tower in the branch queue as a base pole, and search for a target pole tower connected to the base pole according to topology information; the first pole tower in the distribution line can be obtained based on the topology information as an initial branch queue; The first segmentation unit is used to add all target pole towers connected to the base pole by cables to the branch queue and move the base pole into the segmentation queue; The second segmentation unit is used to add two or more target poles to the segmentation queue when there are two or more target poles connected to the base pole by wires, and move the base pole into the segmentation queue; The third segmentation unit is used to directly move the base pole into the segmentation queue when there is no target pole tower or there is only one target pole tower connected to the base pole by a wire; The information registration unit is used to generate segment registration information corresponding to each line segment.

[0013] Optionally, the location information calculation module includes: A first information extraction unit is used to extract the attachment point information on the three-dimensional model corresponding to a pole tower to obtain first attachment point information; the first attachment point information includes the relative coordinates of the pole tower attachment point relative to the pole tower; A first calculation unit is used to obtain an actual rotation angle of the pole tower, and calculate the actual position information of the pole tower attachment point according to the actual rotation angle of the pole tower and the first attachment point information; The second calculation unit is used to obtain the actual position information of the pole tower, and calculate the actual position information of the hanging device at the pole tower hanging point according to the actual position information of the pole tower hanging point, the actual position information of the pole tower and the first hanging point information; the parameterized model information includes the actual position information of the hanging device; A second information extraction unit is used to extract the attachment point information on the three-dimensional model corresponding to the attachment device to obtain second attachment point information; the second attachment point information includes the relative coordinates of the wire attachment point on the attachment device relative to the attachment device; The third calculation unit is used to calculate the actual position information of the wire hanging point according to the second hanging point information and the actual position information of the hanging device.

[0014] In a third aspect, an embodiment of the present invention discloses an application system of a parameterized model of a power distribution line, including: A data server, using the method disclosed in the first aspect above, or including the device disclosed in the second aspect above; The back-end server is used to perform tile query on the parameterized model information in the database based on the data request when receiving the data request from the front-end device; The front-end device is used to calculate the center tile according to the center coordinates of the current view, and then calculate the other eight tiles around it based on the center tile to form a nine-square grid tile; it is also used to obtain the nine-square grid tile data and parse and decompress the tile data for visualization.

[0015] Optionally, the backend server has a REDIS background cache module to cache tile data queried by the backend server; the front-end device has a front-end cache module to cache tile data requested by the front-end device, and adopts an LRU algorithm for management. Beneficial Effects

[0016] According to a method and device for constructing a parametric model of a distribution line disclosed in an embodiment of the present invention, by storing all ledger information of point-like devices and line devices in a database in a data server, the completeness of basic information of all devices in the distribution line is ensured, and basic information is guaranteed not to be lost due to model simplification and line segmentation in the modeling process. By constructing a three-dimensional model of the equipment in the distribution line, only the three-dimensional model of point-like devices (such as poles, insulator strings, pole-mounted transformers, etc.) is constructed, and the connection relationship between the poles and each pole-mounted device is characterized by configuring corresponding attachment point information, simplification is achieved in terms of the number of three-dimensional models required to be constructed (line devices, such as cable heads, hardware, connecting wires, conductors, etc., do not need to be constructed) and the complexity of the model required to be constructed (equipment with complex wiring, such as pole-mounted transformers, does not need to have its wiring relationship constructed). By segmenting the complex tree-like distribution line step by step, it can be accurately decomposed into several line segments without branches for separate processing, and then the actual position information of the wire attachment points at each tower in the line segment is calculated to achieve the representation of the actual position of the corresponding wire (the wire refers to the distribution line between the towers in the distribution line, which is different from the connection line at the equipment on the pole), and finally achieve a concise and accurate parametric representation of the entire distribution line. Therefore, under the premise of ensuring the comprehensiveness and accuracy of the distribution line data, the three-dimensional model is constructed and the information is configured in a simplified manner, which not only reduces the modeling difficulty of the parametric model of the distribution line, improves the modeling efficiency, but also reduces the difficulty of querying and parsing the parametric model information, so that the front-end equipment in the communication system with the data server can realize efficient and accurate visualization of the distribution line based on the parametric model information.

[0017] According to an application system of a parametric model of a distribution line disclosed in an embodiment of the present invention, based on the ledger information and parametric model information constructed in a data server, massive three-dimensional models of distribution lines are tiled and organized through map tile technology, thereby achieving data compression and reducing network transmission time; then the nine-square grid algorithm is used in the front-end device to dynamically schedule the tile data, ensuring the timeliness and efficiency of the front-end device in visualizing the distribution lines, thereby achieving efficient application of the parametric model of the distribution lines.

[0018] Other beneficial effects of the present invention will be explained in the specific implementation manner through the introduction of specific technical features and technical solutions. Through the introduction of these technical features and technical solutions, those skilled in the art should be able to understand the beneficial technical effects brought about by the technical features and technical solutions. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The embodiments of the present invention will be described below with reference to the accompanying drawings. Figure 1A flow chart of a method for constructing a parameterized model of a power distribution line disclosed in this embodiment; Figure 2 This is a schematic diagram showing an example of a T-connection relationship of a branch rod disclosed in this embodiment; Figure 3 A schematic diagram of the structure of a parameterized model building device for a power distribution line disclosed in this embodiment; Figure 4 This is a schematic diagram of the application system structure of a parameterized model of a power distribution line disclosed in this embodiment. DETAILED DESCRIPTION

[0020] The present invention is described below based on embodiments, but the present invention is not limited to these embodiments. In the following detailed description of the present invention, some specific details are described in detail. In order to avoid confusing the essence of the present invention, known methods, processes, procedures, and components are not described in detail.

[0021] In addition, persons of ordinary skill in the art will appreciate that the drawings provided herein are for illustration purposes and are not necessarily drawn to scale.

[0022] Unless the context clearly requires otherwise, throughout the specification and claims, the words "include", "comprising" and similar words should be interpreted in an inclusive sense rather than an exclusive or exhaustive sense; that is, in the sense of "including but not limited to".

[0023] In the description of the present invention, it should be understood that the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of the present invention, unless otherwise specified, "plurality" means two or more.

[0024] In order to simplify the construction algorithm of the parametric model of the distribution line, this embodiment discloses a method for constructing a parametric model of the distribution line, which is applied to a front-end modeling server. The front-end modeling server and the data server form a communication system. The data generated by the method in this embodiment is stored in a database in the data server. Please refer to Figure 1 , Figure 1 A method for constructing a parameterized model of a power distribution line disclosed in this embodiment includes: Step S100, obtaining the ledger information, spatial information and topological information of each distribution device in the distribution line. In this embodiment, the distribution equipment includes point equipment and line equipment. In this embodiment, the ledger information is stored in a database in a data server.

[0025] In a specific embodiment, the point equipment may include pole towers, pole switches, pole transformers, insulator strings, etc., and the line equipment may include conductors, cable segments, cable heads, connecting wires, etc.

[0026] In a specific embodiment, the ledger information may include line ID, line name, device ID, device type, device name, physical tower ID, etc. The spatial location information may include longitude and latitude coordinates or longitude and latitude coordinate strings. The topology information may be node for point devices and head_node and tail_node for line devices. Topology information is used to describe the connection relationship between devices. If a node of one device has the same value as a node of another device, it means that the two devices are connected.

[0027] In a specific embodiment, the ledger information can be obtained from a two-dimensional GIS system of a power distribution line, or can be obtained from a power distribution line information table collected from users.

[0028] Step S200, extract the model information of each point-shaped device from the ledger information, construct a three-dimensional model of the corresponding point-shaped device according to the model information, and configure and generate the attachment point information of each three-dimensional model. In this embodiment, the attachment point information is stored in a database.

[0029] In a specific embodiment, the models of point-shaped equipment such as pole towers, insulator strings, pole switches and pole transformers can be extracted, and design drawings can be collected according to the models and three-dimensional modeling can be performed respectively. Specifically, a modeling tool such as 3D Max or Blender can be used to build a three-dimensional model of the equipment entity according to the relevant parameters in the design drawings.

[0030] In a specific embodiment, in order to improve modeling efficiency, before performing three-dimensional modeling of point-like devices, device model statistics are first performed, and then three-dimensional modeling is performed for typical devices, which are then reused in the algorithm.

[0031] In a specific embodiment, the connection point information may include the connection point phase (one of the three phases ABC or none), the connection device type, the connection point relative position, the connection point connection sequence number, the connection point rotation angle, etc. Specifically, the equipment connected to the pole tower may be an insulator, a pole switch, a pole transformer, etc., and the insulator and the pole switch may be connected to the wire. Therefore, for example, the connection point information of the three-dimensional model of the pole tower may be that an insulator may be connected to a certain position of the pole tower, and the connection information of the three-dimensional model of the insulator may be that a wire may be connected to a certain position of the pole tower.

[0032] Step S300, based on the topology information, the distribution line is segmented step by step to obtain a number of line segments, and segment registration information corresponding to each line segment is generated. In this embodiment, there are no other line branches in each preset segment. In this embodiment, the segment registration information includes the sequence number of each tower in the line segment, and the device number of the branch pole that forms the branch where the corresponding line segment is located. The branch pole refers to the tower from which the corresponding line segment branches out.

[0033] In a specific embodiment, the pole tower connected to the cable can be used as a starting point for step-by-step segmentation, and the segmentation can be performed step-by-step according to the connection relationship between the pole towers.

[0034] In a specific embodiment, in addition to the serial number of each tower in the above-mentioned line segment and the equipment number of the branch pole, the segment registration information may also include the distribution line ID, line segment number, ID of each tower in the line segment, and tower name.

[0035] Step S400, obtaining the actual position information of each pole tower, and calculating the actual position information of the wire attachment point corresponding to each pole tower according to the actual position information of the pole tower and the attachment point information.

[0036] In a specific embodiment, the wire hanging point is generally located on the pole-mounted equipment, and the pole-mounted equipment is located on the pole tower hanging point. Therefore, the actual position information of the wire hanging point can be calculated based on the actual position information of the pole tower, the positional relationship of the pole-mounted equipment relative to the pole tower hanging point (obtained according to the hanging point information of the configured three-dimensional model of the pole tower), and the positional relationship of the wire hanging point relative to the pole-mounted equipment (obtained according to the hanging point information of the configured three-dimensional model of the pole tower).

[0037] Step S500, calculate the T-point location information of the conductor on the branch pole, and obtain the actual location information of the conductor corresponding to each line segment based on the T-point location information of the conductor, the actual location information of the conductor attachment point, and the sequence number of the tower in each line segment. In this embodiment, the parameterized model information includes the actual location information of the tower and the actual location information of the conductor, and the parameterized model information is stored in the database.

[0038] In a specific embodiment, the wire T-junction position information includes the wire T-junction coordinates and the T-junction grouped wire hanging point coordinates. The wire T-junction coordinates are the coordinates of a point on the branch rod wire that has a preset distance from the branch rod. The T-junction grouped wire hanging point coordinates are extracted from the hanging point information of the three-dimensional model of the branch rod.

[0039] In a specific embodiment, the coordinates of the T-connected grouped conductor hanging points are extracted from the hanging point information of the three-dimensional model of the branch rod. Figure 2 As shown in the figure, the coordinates of the T-junction of the conductor on the branch pole corresponding to the line segment can be taken as a point 2 to 3 meters before and after the conductor on the branch pole.

[0040] In a specific embodiment, the T-connected grouped conductor hanging point is similar to other conductor hanging points and is also located on the pole-mounted device. Therefore, similarly, the coordinates of the T-connected grouped conductor hanging point can also be calculated based on the actual position information of the branch pole, the position relationship of the pole-mounted device relative to the branch pole, and the position relationship of the T-connected grouped conductor hanging point relative to the pole-mounted device.

[0041] In a specific embodiment, when the conductor includes three phases A, B, and C, the actual position information of the conductor attachment point is calculated in sequence according to the phases, thereby obtaining the actual position information of the A-phase conductor, the actual position information of the B-phase conductor, and the actual position information of the C-phase conductor in the line segment in sequence.

[0042] In a specific embodiment, the actual position information of the conductor may be a coordinate string, wherein each coordinate in the coordinate string is sequentially the coordinate of the T-junction point, the T-junction grouped conductor hanging point, and the coordinate of the conductor hanging point at each tower in each line segment (the coordinate sequence is set according to the sequence number of each tower in the line segment).

[0043] During specific implementation, the basic inventory information of the pole tower (such as ID, name and type, etc.) and the actual location information of the pole tower can be output into a data table, and the basic inventory information of the conductor (such as ID, name, type and phase difference, etc.) and the actual location information of the conductor can be output into another data table. These data tables are parameterized model information.

[0044] In an optional embodiment, step S400 may specifically include the following steps: extracting the attachment point information on the three-dimensional model corresponding to a pole tower to obtain the first attachment point information; the first attachment point information includes the relative coordinates of the pole tower attachment point relative to the pole tower; obtaining the actual rotation angle of the pole tower, and calculating the actual position information of the pole tower attachment point according to the actual rotation angle of the pole tower and the first attachment point information; obtaining the actual position information of the pole tower, and calculating the actual position information of the attachment device at the pole tower attachment point according to the actual position information of the pole tower attachment point, the actual position information of the pole tower and the first attachment point information; extracting the attachment point information on the three-dimensional model corresponding to the attachment device to obtain the second attachment point information; the second attachment point information includes the relative coordinates of the wire attachment point on the attachment device relative to the attachment device; calculating the actual position information of the wire attachment point according to the second attachment point information and the actual position information of the attachment device; repeating the above steps until the calculation of the actual position information of the wire attachment points corresponding to all pole towers is completed. In this embodiment, the actual position information of the attachment device is also stored in the database as parameterized model information.

[0045] Specifically, if the relative coordinates of the pole tower attachment point in the first attachment point information relative to the segmented pole tower are (X, Y), then the relative radius R and relative angle ∠A of the pole tower attachment point relative to the segmented pole tower are: ; .

[0046] If the actual rotation angle of the tower is ∠P, the coordinates (X1, Y1) of the tower attachment point relative to the tower in the actual position (that is, the actual position information of the tower attachment point) are: ∠B = ∠A + ∠P; X1 = R * sin(∠B); Y1 = R * cos(∠B).

[0047] If the projection coordinates of the actual position of the tower are obtained as P (that is, the actual position information of the tower), the actual projection coordinates P1 of the mounting equipment at the tower mounting point are: P1 = (X1+PX, Y1+PY); The latitude and longitude coordinates Lon1 and Lat1 of the mounted device at the actual position (that is, the actual position information of the mounted device) are: (Lon1,Lat1) = Back Projection(P1).

[0048] If the relative coordinates of the wire attachment point in the second attachment point information relative to the attachment device are (DX, DY), then the latitude and longitude coordinates Lon2 and Lat2 of the wire attachment point at the actual position (that is, the actual position information of the wire attachment point) are: P2 = (DX+P1.X, DY+P1.Y); (Lon2,Lat2) = back-projection operation (P2).

[0049] In a specific embodiment, if the tower inventory information obtained in step S100 includes the actual rotation angle of the tower, the above ∠P can be directly extracted from the tower inventory information.

[0050] In a specific embodiment, if the tower inventory information obtained in step S100 does not include the actual rotation angle of the tower, it can be calculated based on the angles of the front tower and the rear tower of the tower; the front tower and the rear tower are located based on the sequence numbers of each tower in the line segment.

[0051] Specifically, if the projection coordinate of a tower is Pa, the projection coordinate of the tower in front of it is Pb, and the projection coordinate of the tower behind it is Pc, then the angle between the tower and the tower in front of it is ∠PaPb, and the angle between the tower and the tower behind it is ∠PaPc. Specifically, if the towers in front and behind it exist, the average value of the sum of the angles between the tower and the towers in front and behind it is taken to obtain the rotation angle ∠P of the tower, that is, ∠P=(∠PaPb+∠PaPc) / 2; if the tower in front of it Pb does not exist, then the value ∠P=∠PaPc is directly taken; if the tower behind it Pc does not exist, then the value ∠P=∠PaPb is directly taken.

[0052] In order to accurately and quickly complete the segmentation of the distribution line, in an optional embodiment, step S300 includes: taking a pole tower in the branch queue as a base pole, searching for a target pole tower connected to the base pole according to the topology information; obtaining the first pole tower in the distribution line based on the topology information as the initial branch queue; if there are target pole towers connected to the base pole by cables, adding them to the branch queue and moving the base pole into the segment queue; if there are two or more target pole towers connected to the base pole by wires, If there is a target pole tower, all of them are added to the segment queue, and the base pole is moved into the segment queue; if there is no target pole tower or there is only one target pole tower connected to the base pole by a wire, the base pole is directly moved into the segment queue; repeat the above steps until there is no pole tower in the branch queue, and the step-by-step segmentation of the distribution line is completed; each base pole in the segment queue corresponds to a line segment, and each base pole in the segment queue is the head pole tower of the corresponding line segment; generate the segment registration information corresponding to each line segment.

[0053] In a specific embodiment, according to the topological information obtained in step S100, all towers in a line segment starting from a first tower can be determined, basic information (such as ID and name, etc.) of these towers can be registered, and then they can be numbered sequentially to generate segment registration information of the line segment.

[0054] This embodiment also discloses a parametric model construction device for a distribution line, which is applied to a data server. The data server and the front-end device form a communication system so that the front-end device can query the parametric model information corresponding to the distribution equipment in the distribution line from the database in the data server and present it visually. Please refer to Figure 3 , Figure 3 The present invention is a schematic diagram of a device for constructing a parameterized model of a power distribution line disclosed in this embodiment. The device includes: an information acquisition module 100, a three-dimensional model construction module 200, a line segmentation module 300, a position information calculation module 400 and a conductor information calculation module 500, wherein: The information acquisition module 100 is used to obtain the ledger information, spatial location information and topological information of each distribution device in the distribution line; the distribution equipment includes point equipment and line equipment; the ledger information is stored in the database; The three-dimensional model building module 200 is used to extract the model information of each point-shaped device from the ledger information, build a three-dimensional model of the corresponding point-shaped device according to the model information, and configure and generate the attachment point information of each three-dimensional model; the attachment point information is stored in the database; The line segmentation module 300 is used to segment the distribution line step by step based on the topology information to obtain a number of line segments, and generate segment registration information corresponding to each line segment; the segment registration information includes the sequence number of each tower in the line segment, and the equipment number of the branch pole forming the branch where the corresponding line segment is located; there are no other line branches in each line segment; The position information calculation module 400 is used to obtain the actual position information of each tower, and calculate the actual position information of the wire attachment point corresponding to each tower according to the actual position information of the tower and the attachment point information; The conductor information calculation module 500 is used to calculate the conductor T-contact position information on the branch pole, and based on the conductor T-contact position information, the actual position information of the conductor hanging point, and the sequence number of the pole tower in each line segment, obtain the actual position information of the conductor corresponding to each line segment; the parameterized model information includes the actual position information of the pole tower and the actual position information of the conductor, and the parameterized model information is stored in the database.

[0055] In an optional embodiment, the line segmentation module 300 includes: A pole tower search unit is used to use a pole tower in the branch queue as a base pole, and search for a target pole tower connected to the base pole according to topology information; the first pole tower in the distribution line can be obtained based on the topology information as an initial branch queue; The first segmentation unit is used to add all target pole towers connected to the base pole by cables to the branch queue and move the base pole into the segmentation queue; The second segmentation unit is used to add two or more target poles to the segmentation queue when there are two or more target poles connected to the base pole by wires, and move the base pole into the segmentation queue; The third segmentation unit is used to directly move the base pole into the segmentation queue when there is no target pole tower or there is only one target pole tower connected to the base pole by a wire; The information registration unit is used to generate segment registration information corresponding to each line segment.

[0056] In an optional embodiment, the attachment information calculation module includes: A first information extraction unit is used to extract the attachment point information on the three-dimensional model corresponding to a pole tower to obtain first attachment point information; the first attachment point information includes the relative coordinates of the pole tower attachment point relative to the pole tower; A first calculation unit is used to obtain an actual rotation angle of the pole tower, and calculate the actual position information of the pole tower attachment point according to the actual rotation angle of the pole tower and the first attachment point information; The second calculation unit is used to obtain the actual position information of the pole tower, and calculate the actual position information of the hanging device at the pole tower hanging point according to the actual position information of the pole tower hanging point, the actual position information of the pole tower and the first hanging point information; the parameterized model information includes the actual position information of the hanging device; A second information extraction unit is used to extract the attachment point information on the three-dimensional model corresponding to the attachment device to obtain second attachment point information; the second attachment point information includes the relative coordinates of the wire attachment point on the attachment device relative to the attachment device; The third calculation unit is used to calculate the actual position information of the wire hanging point according to the second hanging point information and the actual position information of the hanging device.

[0057] According to the method and device for constructing a parametric model of a distribution line disclosed in the embodiment of the present invention, by storing all the ledger information of point-like devices and line devices in a database in a data server, the completeness of the basic information of all devices in the distribution line is ensured, and the basic information is guaranteed not to be lost due to model simplification and line segmentation in the modeling process. By constructing a three-dimensional model of the equipment in the distribution line, only the three-dimensional model of the point-like equipment (such as pole towers, insulator strings, pole-mounted transformers, etc.) is constructed, and the connection relationship between the pole tower and each pole-mounted equipment is characterized by configuring the corresponding hanging point information, simplification is achieved in terms of the number of three-dimensional models required to be constructed (line equipment, such as cable heads, hardware, connecting wires, conductors, etc., do not need to be constructed) and the complexity of the model required to be constructed (equipment with complex wiring, such as pole-mounted transformers, does not need to construct its wiring relationship). By segmenting the complex tree-like distribution line step by step, it can be accurately decomposed into several line segments without branches for separate processing, and then the actual position information of the wire attachment points at each tower in the line segment is calculated to achieve the representation of the actual position of the corresponding wire (the wire refers to the distribution line between the towers in the distribution line, which is different from the connection line at the equipment on the pole), and finally achieve a concise and accurate parametric representation of the entire distribution line. Therefore, under the premise of ensuring the comprehensiveness and accuracy of the distribution line data, the three-dimensional model is constructed and the information is configured in a simplified manner, which not only reduces the modeling difficulty of the parametric model of the distribution line, improves the modeling efficiency, but also reduces the difficulty of querying and parsing the parametric model information, so that the front-end equipment in the communication system with the data server can realize efficient and accurate visualization of the distribution line based on the parametric model information.

[0058] This embodiment also discloses an application system of a parameterized model of a power distribution line, such as Figure 4 As shown, including: A data server adopts the method disclosed in the above embodiment, or includes the device disclosed in the above embodiment; The back-end server is used to perform tile query on the parameterized model information in the database based on the data request when receiving the data request from the front-end device; The front-end device is used to calculate the center tile according to the center coordinates of the current view, and then calculate the other eight tiles around it based on the center tile to form a nine-square grid tile; it is also used to obtain the nine-square grid tile data and parse and decompress the tile data for visualization.

[0059] In an optional embodiment, if Figure 4 As shown, the backend server has a REDIS background cache module to cache tile data queried by the backend server; the front-end device has a front-end cache module to cache tile data requested by the front-end device, and adopts an LRU algorithm for management.

[0060] Specifically, when querying the parameterized model information in the database of the data server, a composite index can be created for the database table corresponding to the parameterized model information based on the two fields of longitude and latitude, so as to quickly retrieve records that meet the conditions from massive data.

[0061] Specifically, when using backend technology to implement tile query services for parameterized models, the row and column numbers of the tiles are used as keywords to first search for tile data in the REDIS cache, and then save it in REDIS without querying the database. The tile size is set to 0.02 degrees, the origin is located at (0, -90), the tile rows are numbered from bottom to top, and the tile columns are numbered from left to right. The longitude and latitude range of the tile can be quickly calculated based on the row and column numbers of the tile. The calculation method is as follows, where ROW is the row number, COL is the column number, and Extent is the longitude and latitude range of the tile: X = COL * 50; Y = ROW * 50 – 90; Extent = (X, X+0.02, Y, Y+0.02).

[0062] Specifically, you can implement a MapboxGL custom layer on the front-end server, use the nine-grid scheduling algorithm to obtain incremental tile data in real time, unload unnecessary tile data, and achieve high-performance applications. Specifically, calculate the center tile according to the center coordinates of the current view, and then calculate the other eight surrounding tiles, obtain tile data, decompress and parse the tile data. Calculate the center tile according to the center coordinates of the current view, and then calculate the other eight surrounding tiles, obtain tile data, decompress and parse the tile data. When moving or zooming the view, recalculate the center tile. If the center tile changes, the nine tiles need to be reorganized, some of which are newly added and some need to be deleted.

[0063] Specifically, the front-end cache is used to cache the tile data that has been requested. New tiles are first searched from the front-end without being requested from the back-end. The front-end cache is managed using the LRU algorithm.

[0064] According to an application system of a parametric model of a distribution line disclosed in an embodiment of the present invention, based on the ledger information and parametric model information constructed in a data server, massive three-dimensional models of distribution lines are tiled and organized through map tile technology, thereby achieving data compression and reducing network transmission time; then the nine-square grid algorithm is used in the front-end device to dynamically schedule the tile data, ensuring the timeliness and efficiency of the front-end device in visualizing the distribution lines, thereby achieving efficient application of the parametric model of the distribution lines.

[0065] In addition, the present invention also provides a computer-readable storage medium, such as a chip, a CD, etc., on which an execution program is stored, and when the execution program is executed, any of the methods described above is implemented.

[0066] It should be noted that the computer-readable storage medium described in the embodiments of the present disclosure is not limited to the above-mentioned embodiments, and may also be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the embodiments of the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, device, or device.

[0067] It will be appreciated by those skilled in the art that, under the premise of no conflict, the above-mentioned preferred solutions can be freely combined and superimposed. Among them, the flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment, or a part of a code, and the module, program segment, or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings, for example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions. The numbering of each step in this article is only for the convenience of explanation and reference, and is not used to limit the order of execution. The specific execution order is determined by the technology itself, and those skilled in the art can determine various allowable and reasonable orders based on the technology itself.

[0068] It should be noted that the use of step numbers (letters or numbers) to refer to certain specific method steps in the present invention is only for the purpose of convenience and simplicity of description, and is by no means intended to limit the order of these method steps. Those skilled in the art will understand that the order of the relevant method steps should be determined by the technology itself and should not be inappropriately limited by the existence of step numbers. Those skilled in the art can determine various permissible and reasonable step orders based on the technology itself.

[0069] Those skilled in the art will appreciate that, without conflict, the above-mentioned preferred solutions can be freely combined and superimposed.

[0070] It should be understood that the above-mentioned embodiments are merely illustrative and not restrictive. Without departing from the basic principles of the present invention, various obvious or equivalent modifications or substitutions that can be made by those skilled in the art to the above-mentioned details will be included in the scope of the claims of the present invention.

Claims

1. A method for constructing a parametric model of a distribution line, applied to a data server, wherein the data server forms a communication system with a front-end device, so that the front-end device can query the parametric model information corresponding to the distribution equipment in the distribution line from the database in the data server and present it visually, characterized in that: The method comprises: Step S100, obtaining the ledger information, spatial location information and topology information of each power distribution device in the power distribution line; the power distribution device includes point devices and line devices; the ledger information is stored in the database; Step S200, extracting the model information of each of the point-shaped devices from the ledger information, constructing a three-dimensional model of the corresponding point-shaped device according to the model information, and configuring and generating the attachment point information of each of the three-dimensional models; the attachment point information is stored in the database; Step S300, based on the topology information, the distribution line is segmented step by step to obtain a plurality of line segments, and segment registration information corresponding to each of the line segments is generated; the segment registration information includes the sequence number of each tower in the line segment, and the equipment number of the branch pole forming the branch where the corresponding line segment is located; each of the line segments has no other line branches; Step S400, obtaining the actual position information of each of the pole towers, and calculating the actual position information of the wire attachment points corresponding to each of the pole towers according to the actual position information of the pole towers and the attachment point information; Step S500, calculating the conductor T-contact position information on the branch pole, and based on the conductor T-contact position information, the actual position information of the conductor hanging point, and the sequence number of the tower in each of the line segments, obtaining the actual position information of the conductor corresponding to each of the line segments; the parameterized model information includes the actual position information of the tower and the actual position information of the conductor, and the parameterized model information is stored in the database.

2. The method for constructing a parameterized model of a power distribution line according to claim 1, characterized in that: The step S300 includes: A pole tower in the branch queue is used as a base pole, and a target pole tower connected to the base pole is searched according to the topology information; the first pole tower in the distribution line can be obtained based on the topology information as the initial branch queue; If there are target pole towers connected to the base pole by cables, all of them are added to the branch queue, and the base pole is moved into the segment queue; If there are two or more target poles connected to the base pole by wires, all of them are added to the segment queue, and the base pole is moved into the segment queue; If there is no target pole or there is only one target pole connected to the base pole by a wire, the base pole is directly moved into the segment queue; Repeat the above steps until there is no pole tower in the branch queue, and the step-by-step segmentation of the distribution line is completed; each base pole in the segment queue corresponds to a line segment, and each base pole in the segment queue is the first pole tower of the corresponding line segment; The segment registration information corresponding to each of the route segments is generated.

3. The method for constructing a parameterized model of a power distribution line according to claim 1, characterized in that: The step S400 includes: Extracting the attachment point information on the three-dimensional model corresponding to the pole tower to obtain the first attachment point information; the first attachment point information includes the relative coordinates of the pole tower attachment point relative to the pole tower; Acquire the actual rotation angle of the pole tower, and calculate the actual position information of the pole tower attachment point according to the actual rotation angle of the pole tower and the first attachment point information; Acquire the actual position information of the pole tower, and calculate the actual position information of the mounting device at the pole tower mounting point according to the actual position information of the pole tower mounting point, the actual position information of the pole tower and the first mounting point information; the parameterized model information includes the actual position information of the mounting device; Extracting the attachment point information on the three-dimensional model corresponding to the attachment device to obtain second attachment point information; the second attachment point information includes the relative coordinates of the wire attachment point on the attachment device relative to the attachment device; Calculate the actual position information of the wire hanging point according to the second hanging point information and the actual position information of the hanging device; Repeat the above steps until the calculation of the actual position information of the wire attachment points corresponding to all the towers is completed.

4. The method for constructing a parameterized model of a power distribution line according to claim 3, characterized in that: The actual rotation angle of the pole tower is calculated based on the angle between the pole tower and the front pole tower and the rear pole tower; the front pole tower and the rear pole tower are located based on the sequence numbers of the pole towers in the line segment.

5. The method for constructing a parameterized model of a power distribution line according to claim 1, characterized in that: The conductor T-junction position information in step S500 includes the conductor T-junction coordinates and the T-junction grouped conductor hanging point coordinates, the conductor T-junction coordinates being the coordinates of a point on the branch rod conductor that is at a preset distance from the branch rod, and the T-junction grouped conductor hanging point coordinates being extracted from the hanging point information of the three-dimensional model of the branch rod.

6. A device for constructing a parametric model of a distribution line, applied to a data server, wherein the data server forms a communication system with a front-end device, so that the front-end device can query the parametric model information corresponding to the distribution equipment in the distribution line from the database in the data server and present it visually, characterized in that: The device comprises: An information acquisition module (100) is used to acquire the inventory information, spatial location information and topological information of each power distribution device in the power distribution line; the power distribution device includes point devices and line devices; the inventory information is stored in the database; A three-dimensional model building module (200) is used to extract the model information of each point-shaped device from the ledger information, build a three-dimensional model of the corresponding point-shaped device according to the model information, and configure and generate the attachment point information of each three-dimensional model; the attachment point information is stored in the database; A line segmentation module (300) is used to segment the distribution line step by step based on the topology information to obtain a plurality of line segments, and generate segment registration information corresponding to each of the line segments; the segment registration information includes the sequence number of each tower in the line segment, and the equipment number of the branch pole that forms the branch where the corresponding line segment is located; each of the line segments has no other line branches. A position information calculation module (400) is used to obtain the actual position information of each of the pole towers, and calculate the actual position information of the wire attachment point corresponding to each of the pole towers according to the actual position information of the pole towers and the attachment point information; A conductor information calculation module (500) is used to calculate the conductor T-joint position information on the branch pole, and based on the conductor T-joint position information, the actual position information of the conductor hanging point, and the sequence number of the pole tower in each of the line segments, obtain the actual position information of the conductor corresponding to each of the line segments; the parameterized model information includes the actual position information of the pole tower and the actual position information of the conductor, and the parameterized model information is stored in the database.

7. The device for constructing a parameterized model of a power distribution line according to claim 6, characterized in that: The line segmentation module (300) comprises: A pole tower search unit, used to use a pole tower in the branch queue as a base pole, and search for a target pole tower connected to the base pole according to the topology information; the first pole tower in the distribution line can be obtained based on the topology information as the initial branch queue; A first segmentation unit is used for adding the target pole tower connected to the base pole by a cable to the branch queue and moving the base pole into the segmentation queue when there is one; A second segmentation unit is used for adding two or more target poles to the segmentation queue when there are two or more target poles connected to the base pole by wires, and moving the base pole into the segmentation queue; A third segmentation unit is used for directly moving the base pole into a segmentation queue when there is no target pole tower or there is only one target pole tower connected to the base pole by a wire; The information registration unit is used to generate the segment registration information corresponding to each of the line segments.

8. The device for constructing a parameterized model of a power distribution line according to claim 6, characterized in that: The position information calculation module (400) comprises: A first information extraction unit is used to extract the attachment point information on the three-dimensional model corresponding to the pole tower to obtain the first attachment point information; the first attachment point information includes the relative coordinates of the pole tower attachment point relative to the pole tower; A first calculation unit, used to obtain an actual rotation angle of the pole tower, and calculate actual position information of the pole tower attachment point according to the actual rotation angle of the pole tower and the first attachment point information; a second calculation unit, configured to obtain actual position information of the pole tower, and calculate actual position information of the mounting device at the pole tower mounting point according to the actual position information of the pole tower mounting point, the actual position information of the pole tower and the first mounting point information; the parameterized model information includes the actual position information of the mounting device; A second information extraction unit is used to extract the attachment point information on the three-dimensional model corresponding to the attachment device to obtain second attachment point information; the second attachment point information includes the relative coordinates of the wire attachment point on the attachment device relative to the attachment device; The third calculation unit is used to calculate the actual position information of the wire hanging point according to the second hanging point information and the actual position information of the hanging device.

9. An application system for a parameterized model of a power distribution line, characterized in that: include: A data server, using the method according to any one of claims 1 to 5, or comprising the device according to any one of claims 6 to 8; The back-end server is configured to perform tile query on the parameterized model information in the database based on the data request when receiving the data request from the front-end device; The front-end device is used to calculate the center tile according to the center coordinates of the current view and then calculate the other eight surrounding tiles based on the center tile to form a nine-square grid tile; It is also used to obtain the nine-grid tile data and parse and decompress the tile data for visual presentation.

10. The application system of the parameterized model of the power distribution line according to claim 9, characterized in that: The backend server has a REDIS background cache module to cache tile data queried by the backend server; the frontend device has a frontend cache module to cache tile data requested by the frontend device, and adopts an LRU algorithm for management.

Citation Information

Patent Citations

  • Multi-loop multi-splitting ground wire three-dimensional model real-time construction method for 500kV tower

    CN104834788A

  • Power transmission branch line design method and device, equipment and storage medium

    CN112749460A

  • Online identification method for multi-end line topological structure

    CN113253042A

  • Power distribution network CIM model-based grid structure analysis method, device and equipment

    CN113312518A

  • Method for displaying and interacting three-dimensional BIM model in two-dimensional view

    CN113538708A