Parameterized model construction method, device and application system of power distribution line
By acquiring the ledger and topology information of power distribution lines, and progressively segmenting and constructing 3D models of point devices, the problem of complex power distribution line modeling algorithms is solved, achieving efficient and accurate visualization and data representation.
Patent Information
- Application Number
- CN202411427276.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-14
- Publication Date
- 2026-01-27
- Estimated Expiration
- 2044-10-14
AI Technical Summary
Existing technologies face challenges in constructing parametric models of power distribution lines, including the complexity of equipment types, topological relationships, and line branches, which leads to complex modeling algorithms and difficulties in visualization.
By acquiring the ledger, spatial and topological information of power distribution lines, the lines are segmented step by step, a three-dimensional model of point equipment is constructed, and the actual location information of conductor connection points is calculated, simplifying the model construction process and realizing parametric representation.
It reduces modeling difficulty, improves efficiency, and enables efficient and accurate visualization of power distribution lines, reducing network transmission time and improving the comprehensiveness and accuracy of data.
Smart Images

Figure CN118939748B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of power grid data processing technology, specifically to a method, apparatus, and application system for constructing a parametric model of a power distribution line. Background Technology
[0002] As a crucial infrastructure in modern society, the power grid plays a vital role in ensuring energy security and reliable power supply. With the continuous development of technology, power grid managers have begun to explore more advanced technological means to improve the efficiency and visibility of power grid management, among which 3D visualization technology has been widely applied and continues to develop.
[0003] The first challenge in 3D visualization of power grids is the 3D modeling of transmission and distribution lines. Currently, the most common modeling methods are threefold: 1) acquiring laser point cloud data of the line corridor using laser scanning technology; 2) generating digital surface models of the line corridor using oblique photogrammetry; and 3) batch generating 3D models of the line body using parametric modeling technology. The first two methods are surveying techniques, with long data acquisition and processing cycles and high modeling costs. Parametric modeling technology leverages the highly reusable nature of line equipment, batch arranging line equipment models in 3D space to construct the 3D model of the line body. It is low-cost and highly efficient, and relatively mature in the application of 3D modeling for transmission lines. However, in distribution lines, due to the diverse equipment types, complex topological relationships, numerous line branches, and various types of pole-mounted equipment, parametric modeling algorithms are extremely complex. Not only is the implementation itself difficult, but visualizing the massive amount of data generated after modeling is even more challenging.
[0004] Therefore, how to simplify the parametric modeling algorithm of complex tree-shaped power distribution lines, realize the parametric modeling of power distribution lines, and then realize the visualization of power distribution lines has become an urgent problem to be solved. Summary of the Invention
[0005] Based on the above situation, the main objective of this invention is to provide a method, device, and application system for constructing a parametric model of power distribution lines, so as to simplify the parametric modeling algorithm of power distribution lines, thereby realizing the parametric modeling of power distribution lines and the visualization of power distribution lines.
[0006] To achieve the above objectives, the technical solution adopted by the present invention is as follows:
[0007] In a first aspect, embodiments of the present invention disclose a method for constructing a parametric model of a power distribution line, applied to a data server. The data server and a front-end device form a communication system, enabling the front-end device to query parametric model information corresponding to the power distribution equipment in the power distribution line from the database in the data server and to visualize it. The method includes:
[0008] Step S100: Obtain the ledger information, spatial location information, and topology information of each power distribution device in the power distribution line; the power distribution devices include point devices and line devices; the ledger information is stored in the database;
[0009] Step S200: Extract the model information of each point device from the ledger information, construct a three-dimensional model of the corresponding point device based on 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.
[0010] Step S300: Based on the topology information, the power distribution line is divided into several 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 tower that forms the branch of the corresponding line segment. There are no other line branches in each line segment.
[0011] Step S400: Obtain the actual position information of each tower, and calculate the actual position information of the conductor connection point corresponding to each tower based on the actual position information of the tower and the connection point information.
[0012] Step S500: Calculate the position information of the conductor T-junction on the branch pole, and based on the position information of the conductor T-junction, the actual position information of the conductor splice, and the sequence number of the poles 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 poles and the actual position information of the conductors, and the parameterized model information is stored in the database.
[0013] Optionally, step S300 includes:
[0014] Using one tower in the branch queue as the base tower, and searching for target towers connected to the base tower based on topology information; the first tower in the distribution line can be obtained based on topology information and used as the initial branch queue.
[0015] If there are target towers that are connected to the base pole by cables, add them all to the branch queue and move the base pole into the segment queue;
[0016] If there are two or more target towers connected to the base pole by a conductor, then all of them are added to the segment queue, and the base pole is moved into the segment queue.
[0017] If there is no target tower or only one target tower connected to the base tower by a conductor, the base tower is directly moved into the segment queue;
[0018] Repeat the above steps until there are no poles in the branch queue, thus completing the step-by-step division of the power distribution line; each pole in the segment queue corresponds to a line segment, and each pole in the segment queue is the first pole of the corresponding line segment.
[0019] Generate segment registration information corresponding to each line segment.
[0020] Optionally, step S400 includes:
[0021] Extract the attachment point information from the 3D model corresponding to a tower to obtain the first attachment point information; the first attachment point information includes the relative coordinates of the tower attachment point relative to the tower.
[0022] Obtain the actual rotation angle of the tower, and calculate the actual position information of the tower's attachment point based on the actual rotation angle and the information of the first attachment point.
[0023] The actual position information of the pole is obtained, and the actual position information of the attachment equipment at the pole connection point is calculated based on the actual position information of the pole connection point, the actual position information of the pole, and the information of the first attachment point; the parameterized model information includes the actual position information of the attachment equipment.
[0024] Extract the attachment point information from the 3D 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.
[0025] Based on the information of the second connection point and the actual location information of the connection equipment, the actual location information of the wire connection point is calculated.
[0026] Repeat the above steps until the actual location information of the conductor splice points corresponding to all towers is calculated.
[0027] Optionally, the actual rotation angle of the tower is calculated based on the angle between the tower and its front and rear towers; the front and rear towers are located based on the sequential number of each tower within the line segment.
[0028] Optionally, the conductor T-connection location information in step S500 includes the conductor T-connection coordinates and the T-connection group conductor hanging point coordinates. The conductor T-connection coordinates are the coordinates of a point on the branch pole conductor that is at a preset distance from the branch pole, and the T-connection group conductor hanging point coordinates are extracted from the hanging point information of the three-dimensional model of the branch pole.
[0029] Secondly, embodiments of the present invention disclose a parametric model construction device for power distribution lines, applied to a data server. The data server and a front-end device form a communication system, enabling the front-end device to query parametric model information corresponding to power distribution equipment in the power distribution line from the database in the data server and to visualize it. The device includes:
[0030] The information acquisition module is used to acquire ledger information, spatial location information, and topology information of each power distribution device in the power distribution line; the power distribution devices include point devices and line devices; the ledger information is stored in the database;
[0031] The 3D model building module is used to extract the model information of each point device from the ledger information, build a 3D model of the corresponding point device based on the model information, and configure and generate the attachment point information of each 3D model; the attachment point information is stored in the database.
[0032] The line segmentation module is used to segment the power distribution line step by step based on topology information to obtain several 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 tower that forms the branch of the corresponding line segment. There are no other line branches in each line segment.
[0033] The location information calculation module is used to obtain the actual location information of each tower and calculate the actual location information of the conductor connection point corresponding to each tower based on the actual location information of the tower and the connection point information.
[0034] The conductor information calculation module is used to calculate the position information of the conductor T-junction on the branch pole, and based on the position information of the conductor T-junction, the actual position information of the conductor splice, and the sequence number of the poles and towers in each line segment, it obtains the actual position information of the conductor corresponding to each line segment; the parameterized model information includes the actual position information of the poles and towers and the actual position information of the conductors, and the parameterized model information is stored in the database.
[0035] Optionally, the line splitting module includes:
[0036] The tower search unit is used to take one tower in the branch queue as the base tower and search for target towers connected to the base tower based on topology information; it can also obtain the first tower in the distribution line based on topology information as the initial branch queue.
[0037] The first segmentation unit is used to add all target towers that are connected to the base pole by cables to the branch queue and move the base pole into the segmentation queue when there are target towers.
[0038] The second segmentation unit is used to add two or more target towers that are connected to the base pole as conductors to the segmentation queue, and to move the base pole into the segmentation queue.
[0039] The third segmentation unit is used to directly move the base pole into the segmentation queue when there is no target tower or only one target tower connected to the base pole by a conductor.
[0040] The information registration unit is used to generate segment registration information corresponding to each line segment.
[0041] Optionally, the location information calculation module includes:
[0042] The first information extraction unit is used to extract the attachment point information on the three-dimensional model corresponding to a pole, and obtain the first attachment point information; the first attachment point information includes the relative coordinates of the pole attachment point relative to the pole.
[0043] The first calculation unit is used to obtain the actual rotation angle of the tower and calculate the actual position information of the tower's attachment point based on the actual rotation angle of the tower and the information of the first attachment point.
[0044] The second calculation unit is used to obtain the actual position information of the tower, and calculate the actual position information of the attachment equipment at the tower attachment point based on the actual position information of the tower attachment point, the actual position information of the tower, and the first attachment point information; the parameterized model information includes the actual position information of the attachment equipment.
[0045] The second information extraction unit is used to extract 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.
[0046] The third calculation unit is used to calculate the actual position information of the wire connection point based on the second connection point information and the actual position information of the connection device.
[0047] Thirdly, embodiments of the present invention disclose an application system for a parametric model of a power distribution line, comprising:
[0048] A data server employs the method disclosed in the first aspect above, or includes the apparatus disclosed in the second aspect above;
[0049] The backend server is used to perform tiled queries on the parameterized model information in the database based on the data request when it receives a data request from the frontend device.
[0050] The front-end device is used to calculate the center tile based on the current view center coordinates, and then calculate the other eight surrounding tiles based on the center tile to form a nine-square grid of tiles; it is also used to acquire the nine-square grid of tile data and parse and decompress the tile data for visualization.
[0051] Optionally, the backend server has a REDIS backend 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 manage it using the LRU algorithm. Beneficial effects
[0052] According to the embodiments of the present invention, a parametric model construction method and apparatus for power distribution lines is disclosed. By storing all ledger information of point devices and line devices in a database within a data server, the completeness of basic information of all devices in the power distribution line is ensured, and basic information is not lost due to model simplification and line segmentation during the modeling process. When constructing 3D models of devices in the power distribution line, only 3D models of point devices (such as poles, insulator strings, pole-mounted transformers, etc.) are constructed. The connection relationships between poles and pole-mounted devices are represented by configuring corresponding connection point information. This simplifies both the number of 3D models required (line devices, such as cable heads, fittings, connecting wires, conductors, etc., do not need to be constructed) and the complexity of the required models (devices with complex wiring, such as pole-mounted transformers, whose wiring relationships do not need to be constructed). By progressively dividing the complex tree-like power distribution line into several unbranched segments for separate processing, and then calculating the actual position information of the conductor connection points at each tower within each segment, the actual position of the corresponding conductor (the conductor refers to the distribution wire between towers within the power distribution line, distinct from the connection wire at the equipment on the pole) is represented. This ultimately achieves a concise and accurate parametric representation of the entire power distribution line. Therefore, while ensuring the comprehensiveness and accuracy of the power distribution line data, a simplified approach is adopted to construct a 3D model and configure information. This not only reduces the modeling difficulty of the parametric model of the power distribution line and improves modeling efficiency, but also reduces the difficulty of querying and parsing parametric model information. This enables front-end equipment in the communication system with the data server to achieve efficient and accurate visualization of the power distribution line based on the parametric model information.
[0053] According to an embodiment of the present invention, an application system for a parametric model of power distribution lines is disclosed. Based on the ledger information and parametric model information built in the data server, the massive three-dimensional models of power distribution lines are organized into tiles using map tile technology, thereby achieving data compression and reducing network transmission time. Then, the tile data is dynamically scheduled using a nine-square grid algorithm on the front-end device to ensure the timeliness and efficiency of the front-end device in visualizing the power distribution lines, thus realizing the efficient application of the parametric model of power distribution lines.
[0054] Other beneficial effects of the present invention will be explained in detail through the introduction of specific technical features and technical solutions in specific embodiments. Those skilled in the art should be able to understand the beneficial technical effects brought about by these technical features and technical solutions through the introduction of these technical features and technical solutions. Attached Figure Description
[0055] The embodiments of the present invention will now be described with reference to the accompanying drawings. In the drawings:
[0056] Figure 1 This is a flowchart of a parametric model construction method for a power distribution line disclosed in this embodiment;
[0057] Figure 2 This is a schematic diagram illustrating an example of a T-connection relationship for a branch rod disclosed in this embodiment;
[0058] Figure 3 This is a schematic diagram of the parametric model building device for a power distribution line disclosed in this embodiment;
[0059] Figure 4 This is a schematic diagram of the application system structure of a parametric model of a power distribution line disclosed in this embodiment. Detailed Implementation
[0060] 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, but well-known methods, processes, procedures, and elements are not described in detail in order to avoid obscuring the essence of the present invention.
[0061] Furthermore, those skilled in the art should understand that the accompanying drawings provided herein are for illustrative purposes only and are not necessarily drawn to scale.
[0062] Unless the context explicitly requires it, the words "comprising," "including," and similar terms throughout the specification and claims should be interpreted as encompassing rather than being exclusive or exhaustive; that is, meaning "including but not limited to."
[0063] In the description of this invention, it should be understood that the terms "first," "second," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance. Furthermore, in the description of this invention, unless otherwise stated, "a plurality of" means two or more.
[0064] To simplify the algorithm for constructing parametric models of power distribution lines, this embodiment discloses a method for constructing parametric models of power distribution lines, applied to a front-end modeling server. The front-end modeling server and a data server form a communication system, and the data generated by the method in this embodiment is stored in a database within the data server. Please refer to... Figure 1 , Figure 1 This embodiment discloses a method for constructing a parametric model of a power distribution line, the method comprising:
[0065] Step S100: Obtain the ledger information, spatial information, and topology information of each power distribution device in the power distribution line. In this embodiment, the power distribution devices include point devices and line devices. In this embodiment, the ledger information is stored in a database within a data server.
[0066] In specific embodiments, point-like devices may include poles, pole-mounted switches, pole-mounted transformers, insulator strings, etc., while line-like devices may include conductors, cable segments, cable heads, connecting wires, etc.
[0067] In a specific embodiment, the ledger information may include line ID, line name, device ID, device type, device name, and the ID of the physical tower to which it belongs. Spatial location information may include latitude and longitude coordinates or a string of latitude and longitude coordinates. Topology information may be a node for point devices and a 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.
[0068] In a specific embodiment, the ledger information can be obtained from the two-dimensional GIS system of the self-distribution line or from the distribution line information table collected by the user.
[0069] Step S200: Extract the model information of each point device from the ledger information, construct a 3D model of the corresponding point device based on the model information, and configure and generate the attachment point information for each 3D model. In this embodiment, the attachment point information is stored in a database.
[0070] In a specific embodiment, the model numbers of point-like devices such as poles, insulator strings, pole-mounted switches, and pole-mounted transformers can be extracted, and design drawings can be collected according to model number and 3D models can be created for each. Specifically, modeling tools such as 3D Max or Blender can be used to create 3D models of the equipment entities based on the relevant parameters in the design drawings.
[0071] In a specific embodiment, in order to improve modeling efficiency, before modeling the 3D model of point-like devices, the device models are first counted, then 3D modeling is performed on typical devices, and then the models are reused in the algorithm.
[0072] In a specific embodiment, the connection point information may include the phase of the connection point (one of the three phases A, B, C, or none), the type of connected equipment, the relative position of the connection point, the connection sequence number, and the rotation angle of the connection point. Specifically, the equipment connected to the pole can be insulators, pole-mounted switches, pole-mounted transformers, etc., and conductors can be connected to insulators and pole-mounted switches. Therefore, for example, the connection point information of the three-dimensional model of the pole can indicate that an insulator will be connected at a certain position, and the connection information of the three-dimensional model of the insulator can indicate that a conductor will be connected at a certain position.
[0073] Step S300: Based on the topology information, the power distribution line is segmented level by level to obtain several line segments, and segment registration information corresponding to each line segment is generated. In this embodiment, there are no other line branches within each preset segment. In this embodiment, the segment registration information includes the sequence number of each tower within the line segment, and the equipment number of the branch pole that forms the branch of the corresponding line segment. A branch pole refers to a line segment that branches off from that tower.
[0074] In a specific embodiment, the poles connected to the cable can be used as the starting point for hierarchical segmentation, and the segmentation can be carried out step by step according to the connection relationship between the poles.
[0075] In a specific embodiment, in addition to the sequence number of each tower within the line segment and the equipment number of the branch pole, the segment registration information may also include the power distribution line ID, the line segment number, the ID of each tower within the line segment, and the tower name.
[0076] Step S400: Obtain the actual position information of each tower, and calculate the actual position information of the conductor connection point corresponding to each tower based on the actual position information of the tower and the connection point information.
[0077] In a specific embodiment, the conductor splice point is generally located on the pole-mounted equipment, which is located on the pole splice point. Therefore, the actual position information of the conductor splice point can be calculated based on the actual position information of the pole, the positional relationship of the pole-mounted equipment relative to the pole splice point (obtained from the splice point information of the configured three-dimensional model of the pole), and the positional relationship of the conductor splice point relative to the pole-mounted equipment (obtained from the splice point information of the configured three-dimensional model of the pole).
[0078] Step S500: Calculate the position information of the conductor T-junction on the branch pole, and based on the conductor T-junction position information, the actual position information of the conductor splice, and the sequence number of the towers within each line segment, obtain the actual position information of the conductors corresponding to each line segment. In this embodiment, the parametric model information includes the actual position information of the towers and the actual position information of the conductors, and the parametric model information is stored in a database.
[0079] In a specific embodiment, the conductor T-connection location information includes the conductor T-connection coordinates and the T-connection group conductor hanging point coordinates. The conductor T-connection coordinates are the coordinates of a point on the branch pole conductor that is at a preset distance from the branch pole, and the T-connection group conductor hanging point coordinates are extracted from the hanging point information of the three-dimensional model of the branch pole.
[0080] In a specific embodiment, the coordinates of the T-joint group conductor suspension points are extracted from the suspension point information of the three-dimensional model of the branch pole. Specifically, as follows: Figure 2As shown, the coordinates of the T-junction of the conductor corresponding to the line segment on the branch pole can be taken from a point 2 to 3 meters before or after the conductor on the branch pole.
[0081] In a specific embodiment, the T-connection group conductor suspension point is similar to other conductor suspension points, and is also located on the pole-mounted equipment. Therefore, similarly, the coordinates of the T-connection group conductor suspension point can be calculated based on the actual position information of the branch pole, the positional relationship of the pole-mounted equipment relative to the branch pole, and the positional relationship of the T-connection group conductor suspension point relative to the pole-mounted equipment.
[0082] In a specific embodiment, when the conductor includes three phases A, B, and C, the actual position information of the conductor connection point is calculated sequentially according to the phase, thereby obtaining the actual position information of phase A conductor, phase B conductor, and phase C conductor within the line segment.
[0083] In a specific embodiment, the actual location information of the conductor can be a coordinate string, in which each coordinate is, in order, the coordinate of the T-connection point, the T-connection group conductor hanging point, and the coordinate of the conductor hanging point at each tower in each line segment (the coordinate order is set according to the sequence number of each tower in the line segment).
[0084] In practice, the basic information of the tower (such as ID, name and type) and the actual location information of the tower can be output into a data table, and the basic information of the conductor (such as ID, name, type and phase) and the actual location information of the conductor can be output into another data table. These data tables are the parametric model information.
[0085] In an optional embodiment, step S400 may specifically include the following steps: extracting the attachment point information from the 3D model corresponding to a pole to obtain first attachment point information; the first attachment point information includes the relative coordinates of the pole attachment point relative to the pole; obtaining the actual rotation angle of the pole, and calculating the actual position information of the pole attachment point based on the actual rotation angle of the pole and the first attachment point information; obtaining the actual position information of the pole, and calculating the actual position information of the mounting device at the pole attachment point based on the actual position information of the pole attachment point, the actual position information of the pole, and the first attachment point information; extracting the attachment point information from the 3D model corresponding to the mounting device to obtain second attachment point information; the second attachment point information includes the relative coordinates of the conductor attachment point on the mounting device relative to the mounting device; calculating the actual position information of the conductor attachment point based on the second attachment point information and the actual position information of the mounting device; repeating the above steps until the calculation of the actual position information of the conductor attachment points corresponding to all poles is completed. In this embodiment, the actual position information of the mounting device is also stored in the database as parameterized model information.
[0086] Specifically, if the relative coordinates of the pole connection point in the first connection point information relative to the segmented pole are (X, Y), then the relative radius R and relative angle ∠A of the pole connection point relative to the segmented pole are:
[0087] ;
[0088] .
[0089] If the actual rotation angle of the tower is ∠P, then the coordinates (X1, Y1) of the tower's anchor point relative to the tower in its actual position (i.e., the actual position information of the tower's anchor point) are:
[0090] ∠B = ∠A + ∠P;
[0091] X1 = R * sin(∠B);
[0092] Y1 = R * cos(∠B).
[0093] If the projected coordinates of the actual position of the tower are obtained as P (that is, the actual position information of the tower), then the actual projected coordinates P1 of the mounting equipment at the tower's mounting point are:
[0094] P1 = (X1+PX, Y1+PY);
[0095] The latitude and longitude coordinates (Lon1 and Lat1) of the mounting equipment at its actual location (i.e., the actual location information of the mounting equipment) are as follows:
[0096] (Lon1,Lat1) = Back projection operation (P1).
[0097] If the relative coordinates of the wire connection point with respect to the connection device in the second connection point information are (DX, DY), then the latitude and longitude coordinates Lon2 and Lat2 of the wire connection point in its actual location (that is, the actual location information of the wire connection point) are:
[0098] P2 = (DX+P1.X, DY+P1.Y);
[0099] (Lon2,Lat2) = Back projection operation (P2).
[0100] In a specific embodiment, if the tower's ledger information obtained in step S100 includes the tower's actual rotation angle, then the aforementioned ∠P can be directly extracted from the tower's ledger information.
[0101] In a specific embodiment, if the tower ledger 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 and rear towers; the front and rear towers are located based on the sequential number of each tower within the line segment.
[0102] Specifically, if the projected coordinates of a tower are Pa, the projected coordinates of its preceding tower are Pb, and the projected coordinates of its following tower are Pc, then the angle between the tower and its preceding tower is ∠PaPb, and the angle between the tower and its following tower is ∠PaPc. Specifically, if both preceding and following towers exist, the average of the sums of the angles between the tower and its preceding and following towers is taken to obtain the tower's rotation angle ∠P, i.e., ∠P = (∠PaPb + ∠PaPc) / 2; if the preceding tower Pb does not exist, then ∠P = ∠PaPc is directly taken; if the following tower Pc does not exist, then ∠P = ∠PaPb is directly taken.
[0103] To accurately and quickly complete the segmentation of power distribution lines, in an optional embodiment, step S300 includes: taking one tower in the branch queue as the base tower, searching for target towers connected to the base tower according to the topology information; obtaining the first tower in the power distribution line based on the topology information as the initial branch queue; if there are target towers connected to the base tower by cables, adding them all to the branch queue and moving the base tower into the segmentation queue; if there are two or more target towers connected to the base tower by conductors... If there are no target towers, all of them are added to the segmentation queue, and the base pole is moved into the segmentation queue. If there are no target towers or only one target tower connected to the base pole by a conductor, the base pole is directly moved into the segmentation queue. The above steps are repeated until there are no towers in the segmentation queue, thus completing the step-by-step segmentation of the power distribution line. Each base pole in the segmentation queue corresponds to a line segment, and each base pole in the segmentation queue is the first tower of the corresponding line segment. Segmentation registration information corresponding to each line segment is generated.
[0104] In a specific embodiment, based on the topology information obtained in step S100, all towers within a line segment starting from the first tower can be determined, the basic information of these towers (such as ID and name) can be registered, and then they can be sequentially numbered to generate the segment registration information of the line segment.
[0105] This embodiment also discloses a parametric model construction device for power distribution lines, applied to a data server. The data server and front-end devices form a communication system, enabling the front-end devices to query the parametric model information corresponding to the power distribution equipment in the power distribution line from the database of the data server and perform visualization. Please refer to [reference needed]. Figure 3 , Figure 3This is a schematic diagram of a parametric model building device for power distribution lines disclosed in this embodiment. The device includes: an information acquisition module 100, a three-dimensional model building module 200, a line segmentation module 300, a location information calculation module 400, and a conductor information calculation module 500, wherein:
[0106] The information acquisition module 100 is used to acquire the ledger information, spatial location information and topology information of each power distribution device in the power distribution line; the power distribution devices include point devices and line devices; the ledger information is stored in the database;
[0107] The 3D model building module 200 is used to extract the model information of each point device from the ledger information, build a 3D model of the corresponding point device based on the model information, and configure and generate the attachment point information of each 3D model; the attachment point information is stored in the database.
[0108] The line segmentation module 300 is used to segment the power distribution line step by step based on topology information to obtain several 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 tower that forms the branch of the corresponding line segment. There are no other line branches in each line segment.
[0109] The location information calculation module 400 is used to obtain the actual location information of each tower and calculate the actual location information of the conductor connection point corresponding to each tower based on the actual location information of the tower and the connection point information.
[0110] The conductor information calculation module 500 is used to calculate the position information of the conductor T-connection on the branch pole, and based on the position information of the conductor T-connection, the actual position information of the conductor splice, and the sequence number of the poles and towers in each line segment, it obtains the actual position information of the conductor corresponding to each line segment; the parameterized model information includes the actual position information of the poles and towers and the actual position information of the conductors, and the parameterized model information is stored in the database.
[0111] In an optional embodiment, the line splitting module 300 includes:
[0112] The tower search unit is used to take one tower in the branch queue as the base tower and search for target towers connected to the base tower based on topology information; it can also obtain the first tower in the distribution line based on topology information as the initial branch queue.
[0113] The first segmentation unit is used to add all target towers that are connected to the base pole by cables to the branch queue and move the base pole into the segmentation queue when there are target towers.
[0114] The second segmentation unit is used to add two or more target towers that are connected to the base pole as conductors to the segmentation queue, and to move the base pole into the segmentation queue.
[0115] The third segmentation unit is used to directly move the base pole into the segmentation queue when there is no target tower or only one target tower connected to the base pole by a conductor.
[0116] The information registration unit is used to generate segment registration information corresponding to each line segment.
[0117] In an optional embodiment, the hook information calculation module includes:
[0118] The first information extraction unit is used to extract the attachment point information on the three-dimensional model corresponding to a pole, and obtain the first attachment point information; the first attachment point information includes the relative coordinates of the pole attachment point relative to the pole.
[0119] The first calculation unit is used to obtain the actual rotation angle of the tower and calculate the actual position information of the tower's attachment point based on the actual rotation angle of the tower and the information of the first attachment point.
[0120] The second calculation unit is used to obtain the actual position information of the tower, and calculate the actual position information of the attachment equipment at the tower attachment point based on the actual position information of the tower attachment point, the actual position information of the tower, and the first attachment point information; the parameterized model information includes the actual position information of the attachment equipment.
[0121] The second information extraction unit is used to extract 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.
[0122] The third calculation unit is used to calculate the actual position information of the wire connection point based on the second connection point information and the actual position information of the connection device.
[0123] The parametric model construction method and apparatus for power distribution lines disclosed in this invention ensures the completeness of basic information for all equipment in the power distribution line by storing all ledger information of point-like and line-like equipment in a database within a data server, guaranteeing that basic information is not lost due to model simplification and line segmentation during the modeling process. By constructing 3D models of equipment in the power distribution line only for point-like equipment (e.g., poles, insulator strings, pole-mounted transformers), and by configuring corresponding connection point information to characterize the connection relationships between poles and each pole-mounted equipment, simplification is achieved in both the number of 3D models required (line-like equipment, such as cable heads, fittings, connecting wires, conductors, etc., do not need to be constructed) and the complexity of the required models (equipment with complex wiring, such as pole-mounted transformers, whose wiring relationships do not need to be constructed). By progressively dividing the complex tree-like power distribution line into several unbranched segments for separate processing, and then calculating the actual position information of the conductor connection points at each tower within each segment, the actual position of the corresponding conductor (the conductor refers to the distribution wire between towers within the power distribution line, distinct from the connection wire at the equipment on the pole) is represented. This ultimately achieves a concise and accurate parametric representation of the entire power distribution line. Therefore, while ensuring the comprehensiveness and accuracy of the power distribution line data, a simplified approach is adopted to construct a 3D model and configure information. This not only reduces the modeling difficulty of the parametric model of the power distribution line and improves modeling efficiency, but also reduces the difficulty of querying and parsing parametric model information. This enables front-end equipment in the communication system with the data server to achieve efficient and accurate visualization of the power distribution line based on the parametric model information.
[0124] This embodiment also discloses an application system for a parametric model of a power distribution line, such as... Figure 4 As shown, it includes:
[0125] A data server employs the method disclosed in the above embodiments, or includes the apparatus disclosed in the above embodiments;
[0126] The backend server is used to perform tiled queries on the parameterized model information in the database based on the data request when it receives a data request from the frontend device.
[0127] The front-end device is used to calculate the center tile based on the current view center coordinates, and then calculate the other eight surrounding tiles based on the center tile to form a nine-square grid of tiles; it is also used to acquire the nine-square grid of tile data and parse and decompress the tile data for visualization.
[0128] In optional embodiments, such as Figure 4As shown, the backend server has a REDIS backend 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 uses the LRU algorithm for management.
[0129] Specifically, when querying parametric model information in the database within the data server, a composite index can be created on the database table corresponding to the parametric model information based on the longitude and latitude fields, so as to quickly retrieve records that meet the conditions from massive amounts of data.
[0130] Specifically, when implementing a tile query service for a parametric model using backend technology, the tile's row and column numbers are used as keys. First, the tile data is searched in the Redis cache; if not found, it is then queried from the database and simultaneously saved to Redis. The tile size is set to 0.02 degrees, with the origin at (0, -90). Tile rows are numbered sequentially from bottom to top, and tile columns are numbered sequentially from left to right. The tile's latitude and longitude range can be quickly calculated based on its row and column numbers. The calculation method is as follows, where ROW is the row number, COL is the column number, and Extent is the tile's latitude and longitude range:
[0131] X = COL * 50;
[0132] Y = ROW * 50 – 90;
[0133] Extent = (X, X+0.02, Y, Y+0.02).
[0134] Specifically, a custom MapboxGL layer can be implemented on the front-end server, using a nine-grid scheduling algorithm to acquire incremental tile data in real time and unload unnecessary tile data, achieving high-performance applications. Specifically, the center tile is calculated based on the current view's center coordinates, then the surrounding eight tiles are calculated, the tile data is acquired, and the data is decompressed and parsed. When the view is moved or zoomed, the center tile is recalculated. If the center tile changes, the nine tiles need to be reorganized, with some tiles being added and others being deleted.
[0135] Specifically, the front-end cache is used to cache requested tile data. When adding a new tile, it is first searched on the front-end; if it is not found there, it is then requested from the back-end. The front-end cache is managed using the LRU algorithm.
[0136] According to an embodiment of the present invention, an application system for a parametric model of power distribution lines is disclosed. Based on the ledger information and parametric model information built in the data server, the massive three-dimensional models of power distribution lines are organized into tiles using map tile technology, thereby achieving data compression and reducing network transmission time. Then, the tile data is dynamically scheduled using a nine-square grid algorithm on the front-end device to ensure the timeliness and efficiency of the front-end device in visualizing the power distribution lines, thus realizing the efficient application of the parametric model of power distribution lines.
[0137] In addition, the present invention provides a computer-readable storage medium, such as a chip, an optical disc, etc., on which an executable program is stored, which, when executed, implements the method described in any of the above-mentioned embodiments.
[0138] It should be noted that the computer-readable storage medium described in the embodiments of this disclosure is not limited to the embodiments given above. For example, it can also be an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In the embodiments of this disclosure, the computer-readable storage medium can be any tangible medium that contains or stores a program, which can be used by or in conjunction with an instruction execution system, apparatus, or device.
[0139] It will be understood by those skilled in the art that the above-described preferred solutions can be freely combined and superimposed without conflict. The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings; for example, two consecutively indicated blocks may actually be executed substantially in parallel, or sometimes in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions. The numbering of each step in this document is for ease of explanation and reference only and is not intended 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 permissible and reasonable orders based on the technology itself.
[0140] It should be noted that the use of step numbers (letters or numbers) to refer to certain specific method steps in this invention is merely for the purpose of convenience and brevity in description, and is by no means intended to restrict 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 unduly restricted by the existence of step numbers. Those skilled in the art can determine various permissible and reasonable orderings of steps based on the technology itself.
[0141] Those skilled in the art will understand that, without conflict, the above-mentioned preferred solutions can be freely combined and superimposed.
[0142] It should be understood that the above embodiments are merely exemplary and not restrictive. Various obvious or equivalent modifications or substitutions that can be made by those skilled in the art regarding the above details without departing from the basic principles of the present invention will be included within the scope of the claims of the present invention.
Claims
1. A method for constructing a parametric model of a power distribution line, applied to a data server, wherein 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 power distribution equipment in the power distribution line from the database of the data server and visualize it, characterized in that, The method includes: Step S100: Obtain 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 obtained from the two-dimensional GIS system of the power distribution line or from the power distribution line information table, and stored in the database; the topology information is the node value of the power distribution device, and when one power distribution device has the same node value as another power distribution device, the two are connected; Step S200: Extract the model information of each of the point devices from the ledger information, establish a three-dimensional model of the device entity according to the relevant parameters in the model design drawings of the point devices, and configure and generate 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 power distribution line is segmented step by step to obtain several line segments, and segment registration information corresponding to each line segment is generated; specifically, the poles connected to the cables are used as the starting point for step-by-step segmentation, and the segmentation is carried out step by step according to the connection relationship between the poles; the segment registration information includes the sequence number of each pole in the line segment, and the equipment number of the branch pole that forms the branch of the corresponding line segment; there are no other line branches in each line segment; Step S400: Obtain the actual position information of each of the poles and towers, and calculate the actual position information of the conductor connection points corresponding to each of the poles and towers based on the actual position information of the poles and towers and the connection point information; Step S500: Calculate the conductor T-junction position information on the branch pole, and based on the conductor T-junction position information, the actual position information of the conductor splice point, and the sequence number of the towers in each line segment, obtain the actual position information of the conductors corresponding to each line segment; the parameterized model information includes the actual position information of the towers and the actual position information of the conductors, and the parameterized model information is stored in the database; Step S300 includes: Using one tower in the branch queue as the base tower, and searching for target towers connected to the base tower based on the topology information; obtaining the first tower in the distribution line based on the topology information, as the initial branch queue; If there are target towers that are connected to the base pole by cables, then 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 towers connected to the base pole by a conductor, then all of them are added to the segment queue, and the base pole is moved into the segment queue; If there is no target tower or only one target tower connected to the base tower by a conductor, then the base tower is directly moved into the segment queue; Repeat the above steps until there are no poles in the branch queue, thus completing the step-by-step division of the power distribution line; each base pole in the segment queue corresponds to a line segment, and each base pole in the segment queue is the first pole of the corresponding line segment. Generate the segment registration information corresponding to each of the aforementioned line segments.
2. The method for constructing a parametric model of a power distribution line according to claim 1, characterized in that, Step S400 includes: Extract the attachment point information from the three-dimensional model corresponding to the pole to obtain the first attachment point information; the first attachment point information includes the relative coordinates of the pole attachment point relative to the pole. The actual rotation angle of the tower is obtained, and the actual position information of the tower's attachment point is calculated based on the actual rotation angle of the tower and the first attachment point information. The actual position information of the pole is obtained, and the actual position information of the attachment device at the pole attachment point is calculated based on the actual position information of the pole attachment point, the actual position information of the pole, and the first attachment point information; the parameterized model information includes the actual position information of the attachment device. Extract the attachment point information from the 3D 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. The actual position information of the wire connection point is calculated based on the second connection point information and the actual position information of the connection device. Repeat the above steps until the actual location information of the conductor splice points corresponding to all the towers is calculated.
3. The method for constructing a parametric model of a power distribution line according to claim 2, characterized in that, The actual rotation angle of the tower is calculated based on the angle between the tower and its front and rear towers; the front and rear towers are located based on the sequence number of each tower within the line segment.
4. The method for constructing a parametric model of a power distribution line according to claim 1, characterized in that, The conductor T-connection location information in step S500 includes the conductor T-connection coordinates and the T-connection group conductor hanging point coordinates. The conductor T-connection coordinates are the coordinates of a point on the branch pole conductor that is at a preset distance from the branch pole. The T-connection group conductor hanging point coordinates are extracted from the hanging point information of the three-dimensional model of the branch pole.
5. A parametric model construction device for a power distribution line, applied to a data server, wherein 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 power distribution equipment in the power distribution line from the database of the data server and perform visualization presentation, characterized in that, The device includes: The information acquisition module (100) is used to acquire 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 acquired from the two-dimensional GIS system of the power distribution line or from the power distribution line information table, and stored in the database; the topology information is the node value of the power distribution device, and when one power distribution device has the same node value as another power distribution device, the two are connected; The three-dimensional model construction module (200) is used to extract the model information of each point device from the ledger information, establish a three-dimensional model of the device entity according to the relevant parameters in the model design drawings of the point device, 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 power distribution line step by step based on the topology information to obtain several line segments, and generate segment registration information corresponding to each line segment; specifically, the poles connected to the cables are used as the starting point for step-by-step segmentation, and the line is segmented step by step according to the connection relationship between the poles; the segment registration information includes the sequence number of each pole in the line segment, and the equipment number of the branch pole that forms the branch of the corresponding line segment; there are no other line branches in each line segment; The location information calculation module (400) is used to obtain the actual location information of each of the poles and towers, and to calculate the actual location information of the conductor connection point corresponding to each of the poles and towers based on the actual location information of the poles and towers and the connection point information. The conductor information calculation module (500) is used to calculate the position information of the conductor T-junction on the branch pole, and based on the position information of the conductor T-junction, the actual position information of the conductor splice, and the sequence number of the poles 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 poles and the actual position information of the conductor, and the parameterized model information is stored in the database; The line splitting module (300) includes: The pole search unit is used to take one pole in the branch queue as the base pole, and search for target poles connected to the base pole according to the topology information; and obtain the first pole in the distribution line based on the topology information as the initial branch queue. The first segmentation unit is used to add all target towers that are connected to the base pole by cables to the branch queue and move the base pole into the segmentation queue when there are target towers connected to the base pole by cables. The second segmentation unit is used to add two or more target towers that are connected to the base pole by a conductor to the segmentation queue, and to 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 tower or only one target tower connected to the base pole by a conductor. The information registration unit is used to generate the segment registration information corresponding to each of the line segments.
6. The parametric model construction device for power distribution lines according to claim 5, characterized in that, The location information calculation module (400) includes: The 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; The first calculation unit is used to obtain the actual rotation angle of the tower and calculate the actual position information of the tower's attachment point based on the actual rotation angle of the tower and the first attachment point information. The second calculation unit is used to obtain the actual position information of the tower, and calculate the actual position information of the attachment device at the tower attachment point based on the actual position information of the tower attachment point, the actual position information of the tower, and the first attachment point information; the parameterized model information includes the actual position information of the attachment device. The second information extraction unit is used to extract 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. The third calculation unit is used to calculate the actual position information of the wire connection point based on the second connection point information and the actual position information of the connection device.
7. An application system for a parametric model of a power distribution line, characterized in that, include: The data server includes the apparatus as described in any one of claims 5-6; The backend server is used to perform tiled queries on the parameterized model information in the database based on the data request when it receives a data request from the frontend device. The front-end device is used to calculate the center tile based on the current view center coordinates, and then calculate the other eight surrounding tiles based on the center tile to form a nine-square grid of tiles. It is also used to acquire nine-square grid tile data and parse and decompress the tile data for visualization.
8. The application system of the parameterized model of the power distribution line according to claim 7, characterized in that, The backend server has a REDIS backend 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 manages it using the LRU algorithm.
Citation Information
Patent Citations
Power transmission branch line design method and device, equipment and storage medium
CN112749460A
Method for displaying and interacting three-dimensional BIM model in two-dimensional view
CN113538708A
Method for constructing digital twinborn scene of power line
CN115841547A
Power transmission line simulation modeling method, device and system
CN116186949A