CN115759338B - Power line edge distribution method based on power grid GIS map and storage medium - Google Patents

Power line edge distribution method based on power grid GIS map and storage medium Download PDF

Info

Publication number
CN115759338B
CN115759338B CN202211276929.8A CN202211276929A CN115759338B CN 115759338 B CN115759338 B CN 115759338B CN 202211276929 A CN202211276929 A CN 202211276929A CN 115759338 B CN115759338 B CN 115759338B
Authority
CN
China
Prior art keywords
path
point
power grid
wiring
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211276929.8A
Other languages
Chinese (zh)
Other versions
CN115759338A (en
Inventor
臧志斌
吴霞
张聪伟
李静发
庄俊龙
周培强
蔡国添
杨凌逸
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Siji Location Service Co ltd
XIAMEN GREAT POWER GEO INFORMATION TECHNOLOGY CO LTD
State Grid Information and Telecommunication Co Ltd
Original Assignee
State Grid Siji Location Service Co ltd
XIAMEN GREAT POWER GEO INFORMATION TECHNOLOGY CO LTD
State Grid Information and Telecommunication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by State Grid Siji Location Service Co ltd, XIAMEN GREAT POWER GEO INFORMATION TECHNOLOGY CO LTD, State Grid Information and Telecommunication Co Ltd filed Critical State Grid Siji Location Service Co ltd
Priority to CN202211276929.8A priority Critical patent/CN115759338B/en
Publication of CN115759338A publication Critical patent/CN115759338A/en
Application granted granted Critical
Publication of CN115759338B publication Critical patent/CN115759338B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a power line edge distribution method and a storage medium based on a power grid GIS map, wherein the method comprises the following steps: selecting starting point power grid equipment and ending point power grid equipment from a power grid GIS map; generating at least one wiring path according to the starting point power grid equipment, the ending point power grid equipment, the roads in the power grid GIS map and the preset geographical elements needing to be avoided; determining an optimal wiring path among the wiring paths; and if the preset adsorbable geographic elements exist in the preset range of the optimal wiring path, adjusting the optimal wiring path according to the adsorbable geographic elements closest to the optimal wiring path to obtain a line edge distribution result. The invention can solve the problems of low line cloth-following efficiency, easy error and low reusability.

Description

Power line edge distribution method based on power grid GIS map and storage medium
Technical Field
The invention relates to the technical field of power line planning, in particular to a power line edge distribution method based on a power grid GIS map and a storage medium.
Background
The traditional power line edge distribution method is usually manually drawn, a planner manually judges whether the line passes through elements such as scenic spots, protection areas, rivers, railways and the like and avoids the elements, and the line is drawn according to the information such as the road trend on a map by manually capturing the road and the like. The method for manually drawing the power distribution network is obviously unable to adapt to the development requirement of the intelligent power grid, and has the problems of large workload, complex work, low efficiency, high error rate, non-optimal circuit and the like.
Disclosure of Invention
The technical problems to be solved by the invention are as follows: the utility model provides a power line edge distribution method based on a power grid GIS map and a storage medium, which can realize automatic edge distribution of power lines and improve the efficiency of power grid planning work.
In order to solve the technical problems, the invention adopts the following technical scheme: a power line edge distribution method based on a power grid GIS map comprises the following steps:
selecting starting point power grid equipment and ending point power grid equipment from a power grid GIS map;
generating at least one wiring path according to the starting point power grid equipment, the ending point power grid equipment, the roads in the power grid GIS map and the preset geographical elements needing to be avoided;
Determining an optimal wiring path among the wiring paths;
and if the preset adsorbable geographic elements exist in the preset range of the optimal wiring path, adjusting the optimal wiring path according to the adsorbable geographic elements closest to the optimal wiring path to obtain a line edge distribution result.
The invention also proposes a computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, implements a method as described above.
The invention has the beneficial effects that: selecting a starting point and an ending point of a line, and generating a plurality of wiring paths by considering the roads in the map and preset geographical elements needing to be avoided; and selecting an optimal wiring path from the plurality of wiring paths, and further adjusting the optimal wiring path to enable the optimal wiring path to be wired along the preset adsorbable geographic elements as far as possible, so that wiring cost is saved in the subsequent line construction. The invention can realize automatic line distribution, improves the efficiency of power grid planning work, and reduces the manual error rate and the work cost.
Drawings
FIG. 1 is a flow chart of a power line edge distribution method based on a power grid GIS map of the present invention;
Fig. 2 is a schematic diagram of setting a customized avoidance rule according to a first embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating an adsorption rule setting according to a first embodiment of the present invention;
FIG. 4 is a flow chart of a method according to a first embodiment of the invention;
FIG. 5 is a schematic diagram of an initial path according to a first embodiment of the present invention;
FIG. 6 is a schematic diagram of a wiring path according to a first embodiment of the present invention;
Fig. 7 is a schematic diagram of a result of line-tracing according to the first embodiment of the present invention.
Detailed Description
In order to describe the technical contents, the achieved objects and effects of the present invention in detail, the following description will be made with reference to the embodiments in conjunction with the accompanying drawings.
Referring to fig. 1, a power line edge distribution method based on a power grid GIS map includes:
selecting starting point power grid equipment and ending point power grid equipment from a power grid GIS map;
generating at least one wiring path according to the starting point power grid equipment, the ending point power grid equipment, the roads in the power grid GIS map and the preset geographical elements needing to be avoided;
Determining an optimal wiring path among the wiring paths;
and if the preset adsorbable geographic elements exist in the preset range of the optimal wiring path, adjusting the optimal wiring path according to the adsorbable geographic elements closest to the optimal wiring path to obtain a line edge distribution result.
From the above description, the beneficial effects of the invention are as follows: the problems of low line cloth-following efficiency, easy error and low reusability can be solved.
Further, the generating at least one routing path according to the starting point power grid device, the ending point power grid device, the road in the power grid GIS map and the preset geographical elements needing to be avoided includes:
The starting point power grid equipment and the ending point power grid equipment are connected in a straight line to obtain an initial path, and an initial path area is determined according to a preset safety distance;
If the initial path area is intersected with a preset geographical element to be avoided, a path section which is intersected with the preset geographical element to be avoided in the initial path area is obtained, the path section is adjusted, the adjusted path section is routed along a boundary line which is intersected with the path section and is not intersected with the geographical element to be avoided;
generating at least one wiring path according to the initial path and the adjusted path section;
if the starting point power grid equipment and the ending point power grid equipment are both positioned on the road, at least one wiring path is generated through traffic road topology analysis
Further, the generating at least one routing path according to the starting point power grid device, the ending point power grid device, the road in the power grid GIS map and the preset geographical elements needing to be avoided further includes:
if the distance between the starting point power grid equipment and the ending point power grid equipment and the nearest road is smaller than a preset first distance threshold value, taking the nearest point on the road to the starting point power grid equipment as a starting point road point, taking the nearest point on the road to the ending point power grid equipment as an ending point road point, generating a first path between the starting point power grid equipment and the starting point road point and a third path between the ending point road point and the ending point power grid equipment, and generating at least one second path between the starting point road point and the ending point road point through traffic road topology analysis;
determining a first path area and a third path area according to the first path, the third path and a preset safety distance;
if the first path area is intersected with a preset geographical element to be avoided, a first path section which is intersected with the preset geographical element to be avoided in the first path area is obtained, and the first path section is adjusted;
If the third path area is intersected with the preset geographical elements needing to be avoided, a third path section which is intersected with the preset geographical elements needing to be avoided in the third path area is obtained, and the third path section is adjusted;
And generating at least one wiring path according to the first path, the second path and the third path and the adjusted first path section and the third path section.
From the above description, it can be seen that by combining a plurality of different situations of avoiding the geographical elements to be avoided, not avoiding the geographical elements to be avoided, wiring along the road, and the like, the wiring paths are generated as much as possible, and a basis is provided for selecting the optimal wiring paths subsequently.
Further, the determining the optimal wiring path among the wiring paths specifically includes:
calculating the distance score of each wiring path according to the length of each wiring path;
Respectively calculating the bending scores of the wiring paths according to the bending times in the wiring paths;
calculating the burying scores of the wiring paths according to the burying difficulties corresponding to the geographic elements passed by the wiring paths;
Weighting calculation is carried out on the distance score, the bending score and the embedded score of the same wiring path to obtain the total score of the same wiring path;
The wiring path with the smallest total score is taken as the optimal wiring path.
As can be seen from the above description, the wiring paths are comprehensively scored according to the length, the bending times and the embedding difficulty of the passed geographic elements, and then the optimal wiring paths are selected according to the scores.
Further, the calculating the distance score of each wiring path according to the length of each wiring path specifically includes:
Calculating a distance score of a wiring path according to a first formula, wherein the first formula is distance score= (L i/Lmax) ×100, L i is the length of the wiring path, and L max is the maximum value of the lengths of the wiring paths.
Further, the calculating the bending score of each wiring path according to the bending times in each wiring path specifically includes:
Respectively counting the bending times of each wiring path, wherein the bending angle of each wiring path is larger than a preset angle;
And calculating a bending score of the wiring path according to a second formula, wherein the second formula is bending score= (W i/Wmax) multiplied by 100, W i is the bending number of the wiring path, and W max is the maximum value of the bending numbers of the wiring paths.
Further, the calculating the embedding score of each wiring path according to the embedding difficulty corresponding to the geographic element through which each wiring path passes specifically includes:
and carrying out weighted summation on the embedded difficulty scores corresponding to the geographic elements passed by the wiring paths to obtain the embedded scores of the wiring paths, wherein the weight of the embedded difficulty scores corresponding to the geographic elements is the proportion of the path length passing by the geographic elements in the wiring paths to the total path length of the wiring paths.
Further, if a preset adsorbable geographic element exists in the preset range of the optimal routing path, the optimal routing path is adjusted according to the adsorbable geographic element closest to the optimal routing path, and a route edge routing result is obtained specifically as follows:
determining path points on the optimal wiring path according to a preset step length to obtain a path point set;
Traversing the path point set, and sequentially acquiring a path point as a current path point;
judging whether a preset adsorbable geographic element exists in a range taking a current path point as a center point and a preset second distance threshold as a radius;
if so, taking the adsorbable geographic element closest to the current path point as the nearest adsorbable geographic element corresponding to the current path point, and updating the position of the current path point according to the position of the point closest to the current path point on the corresponding nearest adsorbable geographic element;
If the current path point is not the first path point in the path point set, judging whether the nearest adsorbable geographic element corresponding to the current path point and the nearest adsorbable geographic element corresponding to the last path point are the same geographic element or not;
If yes, generating a connecting line between the current path point and the last path point along the boundary line of the same geographic element;
If not, the current path point and the last path point are connected in a straight line, and a connecting line between the current path point and the last path point is generated;
and after traversing the path point set, obtaining a line edge distribution result.
As is clear from the above description, by adsorbing the optimum wiring path to the nearest adsorbable geographic elements, it is possible to route the optimum wiring path along these adsorbable geographic elements, and the construction cost can be saved when the actual line construction is to be laid in the subsequent stage.
Further, if a preset adsorbable geographic element exists in the preset range of the optimal routing path, adjusting the optimal routing path according to the adsorbable geographic element closest to the optimal routing path, and after obtaining a routing result, further including:
performing fine adjustment on the line edge fabric result, wherein the fine adjustment comprises at least one of a first fine adjustment operation, a second fine adjustment operation and a third fine adjustment operation;
the first fine adjustment operation is to adjust the position of a path point in the line follow-up result;
The second fine adjustment operation is to delete a path point in the line edge distribution result and a connecting line connected with the path point, connect two path points adjacent to the path point and generate a connecting line between the two adjacent path points;
and the third fine adjustment operation is to add a cable segment on a path point in the line follow-up result according to the preset direction of the newly added cable segment.
From the above description, the line edge fabric result is fine-tuned, so that the line edge fabric result meets the requirements of users and has high flexibility.
The invention also proposes a computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, implements a method as described above.
Example 1
Referring to fig. 1-7, a first embodiment of the present invention is as follows: a power line edge distribution method based on a power grid GIS map carries out line edge distribution through automatic analysis and planning rules. The planning rule refers to various influencing factors to be considered in the line drawing process. The common avoidance rule can be defined on the rule definition function according to the need, the rule is followed, intelligent definition is supported, and the requirement of modifying rule details is met through parameter configuration. The rule is used for guiding the line drawing through the definition of the rule, and the efficiency of the line edge cloth can be improved through automatic program analysis and rule application.
Before the method, an automatic cloth spreading rule is preset, wherein the automatic cloth spreading rule comprises a basic preset rule and a custom rule. The basis for the establishment of the rules is the burying rules of the map geographic elements and the power grid cable equipment. The map geographic elements are the most basic geographic content on the map, are geographic entities with position, distribution characteristics and interrelation, are basic elements on the common map, and comprise natural elements and social economic elements, wherein the natural elements comprise water bodies, landforms, soil properties, vegetation and the like, and the social economic elements comprise residential lands, traffic networks, political administration boundaries, industrial and agricultural facilities, cultural remains and the like. The electric network cable equipment burying rules are that the burying places cannot be waded, the burying places cannot be a strong corrosion environment, and the burying places cannot be mountain bodies and the like, and the burying cost is ultrahigh.
In this embodiment, the basic predetermined rule includes a basic avoidance rule and a wiring rule.
Basic avoidance rules: the basic avoidance points comprise all water bodies (including rivers, lakes, seas and the like) on a geographic map, landforms unsuitable for follow-up (including mountains, deep valleys, deserts, marshes and the like), residential lands (including various buildings) and basic traffic networks (including auxiliary buildings such as airports, stations, ports and the like)
Wiring rule: the power grid cable equipment is wired in sections.
Further, a user-defined rule function is provided, and rule customization can be realized through the function. The function may provide parameter changes to modify custom rule details. In this embodiment, the custom rule includes a custom avoidance rule and an adsorption rule.
Custom avoidance rules: the avoidance custom avoidance points may include stadiums, parks, protection areas, tourist attractions, etc. In a specific application, a user-defined avoidance point may be provided for a user to select, as shown in fig. 2, when the user creates a rule, the user sets a rule type according to needs, and detailed information contained in each rule may be defined according to field requirements.
Adsorption rule: when the lines are automatically distributed, the lines can be adsorbed on certain map geographic elements, the cables can be conveniently and regularly distributed, and the adsorbable geographic elements can comprise roads, water lines, mountain lines, railways and the like. In a specific application, as shown in fig. 3, a user may set a distance threshold to which a route may be attached when the distance between the route and the adsorbable map geographic element does not exceed the distance threshold.
As shown in fig. 4, the method comprises the steps of:
S1: and selecting starting point power grid equipment and ending point power grid equipment on the power grid GIS map.
S2: and generating at least one wiring path according to the starting point power grid equipment, the ending point power grid equipment, the roads in the power grid GIS map and the preset geographical elements needing to be avoided.
Specifically, first, the starting point power grid equipment and the ending point power grid equipment are connected in a straight line to obtain an initial path, and an initial path area is determined according to a preset safety distance. The method comprises the steps of obtaining geographic coordinates of starting point power grid equipment and destination power grid equipment, connecting two points in a straight line, taking a line segment obtained by connection as an initial path, calculating a line segment equation of the initial path according to the geographic coordinates of the starting point power grid equipment and the destination power grid equipment, obtaining an initial path area according to a preset safety distance, wherein the central line of the initial path area is the initial path, and calculating a coordinate range of the initial path area according to the line equation and the safety distance of the initial path.
If the initial path area is intersected with the preset geographical elements to be avoided, path sections which are intersected with the preset geographical elements to be avoided in the initial path area are obtained, the path sections are adjusted, the adjusted path sections are routed along boundary lines which are intersected with the path sections and are not intersected with the geographical elements to be avoided.
That is, if the initial path passes through the geographical elements to be avoided, the geographical elements to be avoided are bypassed, and when the initial path is bypassed, different path segments after adjustment can be generated due to different bypassing directions. For example, assuming the initial path passes through a lake, one can bypass from both sides of the lake, where two different adjusted path segments can be created.
The preset geographical elements to be avoided comprise the preset basic avoidance points and the preset avoidance points.
And finally, generating at least one wiring path according to the initial path and the adjusted path segment. The generated wiring path also includes the initial path.
Further, if both the starting and the ending grid devices are located on the road, it is also possible to generate at least one wiring path using the traffic road topology analysis function in the grid GIS map, i.e. the wiring path generated in this case is wired along the road. That is, if both the start grid device and the end grid device are located on the road, the generated wiring path includes a wiring path generated based on the initial path, and also includes a wiring path generated based on the road.
If the starting point power grid equipment and the ending point power grid equipment are not located on the road but are located nearby the road, namely, the distance between the starting point power grid equipment and the ending point power grid equipment and the road closest to the starting point power grid equipment is smaller than a preset first distance threshold value, at the moment, the point closest to the starting point power grid equipment on the road is taken as a starting point road point, the point closest to the ending point power grid equipment on the road is taken as an ending point road point, and then a first path between the starting point power grid equipment and the starting point road point, a second path between the starting point road point and the ending point road point and a third path between the ending point road point and the ending point power grid equipment are respectively generated.
The second path is also generated by using a traffic road topology analysis function in the power grid GIS map, and at least one second path can be generated at the moment. The first path and the third path may be straight lines, and when the first path or the third path has a path segment crossing the geographic element to be avoided, the path segment crossing the geographic element to be avoided is also required to be adjusted. Specifically, a first path area and a third path area are determined according to the first path, the third path and a preset safety distance; if the first path area is intersected with the preset geographic element to be avoided, a first path section which is intersected with the preset geographic element to be avoided in the first path area is obtained, the first path section is adjusted, the adjusted first path section is routed along a boundary line which is intersected with the first path section and is not intersected with the geographic element to be avoided. Similarly, if the third path area is intersected with the preset geographical element to be avoided, a third path section in the third path area which is intersected with the preset geographical element to be avoided is obtained, and the third path section is adjusted.
And finally, generating at least one wiring path according to the first path, the second path and the third path and the adjusted first path section and the third path section. That is, a plurality of different cases are combined to generate a plurality of wiring paths.
S3: an optimal wiring path is determined among the wiring paths.
In this embodiment, after a plurality of wiring paths are obtained, an optimal wiring path is calculated according to the distance factor, the bending factor, and the embedding factor.
Specifically, the method comprises the following steps:
S301: and calculating the distance score of each wiring path according to the length of each wiring path.
In this embodiment, the length of the routing path is taken as the scoring basis of the distance score, the distance score of the routing path with the longest length is set to be 100, and the distance scores of other routing paths are calculated according to the ratio of the length to the longest length, and the specific calculation formula is as follows:
A first formula: distance score = (L i/Lmax) x 100
Where L i is the length of the wiring path (in meters), and L max is the maximum value of the lengths of the wiring paths (in meters).
S302: and calculating the bending scores of the wiring paths according to the bending times of the wiring paths.
Firstly, the number of times of bending the wiring paths with a bending angle greater than a preset angle (30) is counted, and in this embodiment, the preset angle is 30 °, that is, the bending with the bending angle greater than 30 ° is regarded as 1 bending. Then, the bending times in the wiring paths are used as the scoring basis, the bending score of the wiring path with the largest bending times is set as 100, the bending scores of other wiring paths are calculated according to the ratio of the bending times to the largest bending times, and the specific calculation formula is as follows:
A second formula: bending score = (W i/Wmax) x 100
Where W i is the number of times the wiring path is bent, and W max is the maximum value of the number of times each wiring path is bent.
S303: and calculating the burying scores of the wiring paths according to the burying difficulties corresponding to the geographical elements passed by the wiring paths.
In this embodiment, the difficulty of burying the geographic element through which the wiring path passes is used as the scoring basis of burying scores. If one wiring path passes through a plurality of geographic elements with different embedding difficulties, calculating scores in a segmented mode, and then calculating the embedding scores of the whole wiring path according to the ratio of the length of each segment to the total length. The method comprises the steps of carrying out weighted summation on the embedded difficulty scores corresponding to the geographic elements passed by a wiring path to obtain the embedded score of the wiring path, wherein the weight of the embedded difficulty score corresponding to the geographic element is the proportion of the path length passing by the geographic element in the wiring path to the total path length of the wiring path.
In this embodiment, the embedding difficulty and the embedding difficulty score corresponding to the common geographic elements are shown in table 1.
Table 1:
for example, assuming a wiring path with one quarter of its length passing through the road, one half of its length passing through other geographic elements, and one quarter of its length passing through the body of water, the burial score=0.25×20+0.5×60+0.25×100=60.
S304: and respectively carrying out weighted calculation on the distance score, the bending score and the embedded score of each wiring path to obtain the total score of each wiring path. And performing weighted calculation on the distance score, the bending score and the embedded score of the same wiring path to obtain the total score of the same wiring path.
In this embodiment, the weights of the distance score, the bending score and the embedded score are respectively 0.6, 0.2 and 0.2, that is, the total score calculation formula is:
Total score = 0.6 x distance score +0.2 x bend score +0.2 x burial score.
S305: the wiring path with the smallest total score is taken as the optimal wiring path.
S4: and adjusting the optimal wiring path according to the adsorbable geographic elements closest to the optimal wiring path in the preset range, so as to obtain a line edge distribution result.
I.e., the optimal routing path is attached to the nearest adsorbable geographic elements to route it along these adsorbable geographic elements as much as possible. Wherein the adsorbable geographic elements may include roads, rivers, and the like.
Specifically, the method comprises the following steps:
S401: determining path points on the optimal wiring path according to a preset step length to obtain a path point set; i.e. a plurality of points are equidistantly taken on the optimal wiring path, and the distance (i.e. the step length) for taking the points is determined according to the fineness requirement, and in this embodiment, the step length is 1 km. The set of path points includes a start point and an end point of the optimal routing path.
S402: and acquiring an ith path point from the path point set as a current path point, wherein the initial value of i is 1.
S403: judging whether a preset adsorbable geographic element exists in a range taking the current path point as a center point and taking a preset second distance threshold as a radius, if so, executing step S404, and if not, keeping the position of the current path point unchanged, and then executing step S408.
In this embodiment, the second distance threshold is 100 meters.
S404: and taking the adsorbable geographic element closest to the current path point as the nearest adsorbable geographic element corresponding to the current path point, and updating the position of the current path point according to the position of the point closest to the current path point on the corresponding nearest adsorbable geographic element.
I.e., the location of the current path point is changed to the nearest point on the nearest adsorbable geographic element.
S405: judging whether the nearest adsorbable geographic element corresponding to the current route point and the nearest adsorbable geographic element corresponding to the last route point are the same geographic element, if so, executing the step S406, and if not, executing the step S407.
Further, if the current path point is the first path point in the set of path points, step S409 is directly performed.
S406: and generating a connecting line between the current path point and the last path point along the boundary line of the same geographic element. Step S408 is then performed.
S407: and linearly connecting the current path point and the last path point to generate a connecting line between the current path point and the last path point. Step S408 is then performed.
S408: whether the path point set is traversed is judged, i.e. whether i=n is satisfied, N is the total number of path points in the path point set, if yes, a line edge distribution result can be obtained, and if no, step S409 is executed.
S409: the next path point is acquired, i.e., let i=i+1, and then step S401 is performed.
As shown in fig. 5-7, it is assumed that an initial path is shown in fig. 5, a middle section passes through a lake, one of the wiring paths generated after the middle section is avoided from the lake is shown in fig. 6, and the wiring path adsorbs a road and is shown in fig. 7.
S5: and carrying out fine adjustment on the line edge distribution result. The user can check the automatic line follow-up result on the map, and fine-adjust the line follow-up result to the result required by the user. In the present embodiment, the fine adjustment includes at least one of the following fine adjustment operations.
(1) Adjusting the position of a path point in the line follow-up result; and the intermediate cable section node can be selected, and the node position is adjusted.
(2) Deleting a path point in the line edge distribution result and a connecting line connected with the path point, connecting two path points adjacent to the path point, and generating a connecting line between the two adjacent path points; and selecting intermediate cable segment nodes for deleting, wherein adjacent nodes can be automatically connected after deleting.
(3) According to the preset direction of the newly added cable section, the cable section is newly added on a path point in the line follow-up result; namely, selecting a middle cable section node, and selecting the direction of the newly added cable section to realize the newly added cable section at the node.
The method and the device can solve the problem that line planning efficiency is low due to the fact that line drawing operation is inconvenient on a map when a power grid line is planned. By refining the planning rules and converting the planning rules into specific logic rules, the rules are applied in the process of generating the line, and the function of automatically distributing the line is realized.
In the actual power grid line planning process, after planning personnel draw power grid equipment, automatic cloth-following operation is selected, the system automatically generates the line trend according to the prefabricated rule, the planning cost is reduced, the working efficiency is improved, and the problems faced by the traditional manual drawing are avoided.
Example two
The present embodiment is a computer readable storage medium corresponding to the above embodiment, and a computer program is stored thereon, where the computer program when executed by a processor implements each process in the power line edge distribution method embodiment based on the power grid GIS map, and the process can achieve the same technical effect, so that repetition is avoided and no further description is given here.
In summary, the power line edge distribution method and the storage medium based on the power grid GIS map provided by the invention can solve the problem of low line planning efficiency caused by inconvenient line drawing operation on the map when planning a power grid line. By refining the planning rules and converting the planning rules into specific logic rules, the rules are applied in the process of generating the line, and the function of automatically distributing the line is realized. The invention can realize automatic line distribution, improves the efficiency of power grid planning work, and reduces the manual error rate and the work cost.
The foregoing description is only illustrative of the present invention and is not intended to limit the scope of the invention, and all equivalent changes made by the specification and drawings of the present invention, or direct or indirect application in the relevant art, are included in the scope of the present invention.

Claims (9)

1. The utility model provides a power line is along cloth method based on electric wire netting GIS map which characterized in that includes:
selecting starting point power grid equipment and ending point power grid equipment from a power grid GIS map;
generating at least one wiring path according to the starting point power grid equipment, the ending point power grid equipment, the roads in the power grid GIS map and the preset geographical elements needing to be avoided;
Determining an optimal wiring path among the wiring paths;
if the preset adsorbable geographic elements exist in the preset range of the optimal wiring path, the optimal wiring path is adjusted according to the adsorbable geographic elements closest to the optimal wiring path, and a line edge distribution result is obtained;
If a preset adsorbable geographic element exists in the preset range of the optimal wiring path, the optimal wiring path is adjusted according to the adsorbable geographic element closest to the optimal wiring path, and a line edge distribution result is obtained specifically as follows:
determining path points on the optimal wiring path according to a preset step length to obtain a path point set;
Traversing the path point set, and sequentially acquiring a path point as a current path point;
judging whether a preset adsorbable geographic element exists in a range taking a current path point as a center point and a preset second distance threshold as a radius;
if so, taking the adsorbable geographic element closest to the current path point as the nearest adsorbable geographic element corresponding to the current path point, and updating the position of the current path point according to the position of the point closest to the current path point on the corresponding nearest adsorbable geographic element;
If the current path point is not the first path point in the path point set, judging whether the nearest adsorbable geographic element corresponding to the current path point and the nearest adsorbable geographic element corresponding to the last path point are the same geographic element or not;
If yes, generating a connecting line between the current path point and the last path point along the boundary line of the same geographic element;
If not, the current path point and the last path point are connected in a straight line, and a connecting line between the current path point and the last path point is generated;
and after traversing the path point set, obtaining a line edge distribution result.
2. The method for power line edge distribution based on a power grid GIS map according to claim 1, wherein the generating at least one routing path according to the start power grid device, the end power grid device, the road in the power grid GIS map and the preset geographic elements to be avoided includes:
The starting point power grid equipment and the ending point power grid equipment are connected in a straight line to obtain an initial path, and an initial path area is determined according to a preset safety distance;
If the initial path area is intersected with a preset geographical element to be avoided, a path section which is intersected with the preset geographical element to be avoided in the initial path area is obtained, the path section is adjusted, the adjusted path section is routed along a boundary line which is intersected with the path section and is not intersected with the geographical element to be avoided;
generating at least one wiring path according to the initial path and the adjusted path section;
And if the starting point power grid equipment and the ending point power grid equipment are both positioned on the road, generating at least one wiring path through traffic road topology analysis.
3. The method for power line edge distribution based on a power grid GIS map according to claim 2, wherein the generating at least one routing path according to the start power grid device, the end power grid device, the road in the power grid GIS map and the preset geographic elements to be avoided further comprises:
if the distance between the starting point power grid equipment and the ending point power grid equipment and the nearest road is smaller than a preset first distance threshold value, taking the nearest point on the road to the starting point power grid equipment as a starting point road point, taking the nearest point on the road to the ending point power grid equipment as an ending point road point, generating a first path between the starting point power grid equipment and the starting point road point and a third path between the ending point road point and the ending point power grid equipment, and generating at least one second path between the starting point road point and the ending point road point through traffic road topology analysis;
determining a first path area and a third path area according to the first path, the third path and a preset safety distance;
if the first path area is intersected with a preset geographical element to be avoided, a first path section which is intersected with the preset geographical element to be avoided in the first path area is obtained, and the first path section is adjusted;
If the third path area is intersected with the preset geographical elements needing to be avoided, a third path section which is intersected with the preset geographical elements needing to be avoided in the third path area is obtained, and the third path section is adjusted;
And generating at least one wiring path according to the first path, the second path and the third path and the adjusted first path section and the third path section.
4. The power line routing method based on the power grid GIS map according to claim 1, wherein the determining an optimal routing path among the routing paths is specifically:
calculating the distance score of each wiring path according to the length of each wiring path;
Respectively calculating the bending scores of the wiring paths according to the bending times in the wiring paths;
calculating the burying scores of the wiring paths according to the burying difficulties corresponding to the geographic elements passed by the wiring paths;
Weighting calculation is carried out on the distance score, the bending score and the embedded score of the same wiring path to obtain the total score of the same wiring path;
The wiring path with the smallest total score is taken as the optimal wiring path.
5. The method for power line routing based on the power grid GIS map according to claim 4, wherein the calculating the distance score of each routing path according to the length of each routing path specifically comprises:
Calculating a distance score of a wiring path according to a first formula, wherein the first formula is distance score= (Li/Lmax) ×100, wherein Li is the length of the wiring path, and Lmax is the maximum value of the lengths of the wiring paths.
6. The method for power line edge distribution based on the power grid GIS map according to claim 4, wherein the calculating the bending score of each wiring path according to the bending times in each wiring path specifically includes:
Respectively counting the bending times of each wiring path, wherein the bending angle of each wiring path is larger than a preset angle;
and calculating a bending score of the wiring path according to a second formula, wherein the second formula is bending score= (Wi/Wmax) ×100, wherein Wi is the bending number of the wiring path, and Wmax is the maximum value of the bending numbers of the wiring paths.
7. The method for power line edge distribution based on the power grid GIS map according to claim 4, wherein the calculating the embedded score of each wiring path according to the embedded difficulty corresponding to the geographic element through which each wiring path passes specifically comprises:
and carrying out weighted summation on the embedded difficulty scores corresponding to the geographic elements passed by the wiring paths to obtain the embedded scores of the wiring paths, wherein the weight of the embedded difficulty scores corresponding to the geographic elements is the proportion of the path length passing by the geographic elements in the wiring paths to the total path length of the wiring paths.
8. The method for power line edge distribution based on a power grid GIS map according to claim 1, wherein if a preset adsorbable geographic element exists in a preset range of the optimal wiring path, adjusting the optimal wiring path according to the adsorbable geographic element closest to the optimal wiring path, and obtaining a line edge distribution result, further comprising:
performing fine adjustment on the line edge fabric result, wherein the fine adjustment comprises at least one of a first fine adjustment operation, a second fine adjustment operation and a third fine adjustment operation;
the first fine adjustment operation is to adjust the position of a path point in the line follow-up result;
The second fine adjustment operation is to delete a path point in the line edge distribution result and a connecting line connected with the path point, connect two path points adjacent to the path point and generate a connecting line between the two adjacent path points;
and the third fine adjustment operation is to add a cable segment on a path point in the line follow-up result according to the preset direction of the newly added cable segment.
9. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method according to any of claims 1-8.
CN202211276929.8A 2022-10-18 2022-10-18 Power line edge distribution method based on power grid GIS map and storage medium Active CN115759338B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211276929.8A CN115759338B (en) 2022-10-18 2022-10-18 Power line edge distribution method based on power grid GIS map and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211276929.8A CN115759338B (en) 2022-10-18 2022-10-18 Power line edge distribution method based on power grid GIS map and storage medium

Publications (2)

Publication Number Publication Date
CN115759338A CN115759338A (en) 2023-03-07
CN115759338B true CN115759338B (en) 2024-04-16

Family

ID=85353774

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211276929.8A Active CN115759338B (en) 2022-10-18 2022-10-18 Power line edge distribution method based on power grid GIS map and storage medium

Country Status (1)

Country Link
CN (1) CN115759338B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103971184A (en) * 2014-05-29 2014-08-06 国家电网公司 Power transmission line path generation method based on spatial GIS (Geographic Information System)
CN103996089A (en) * 2014-06-12 2014-08-20 国家电网公司 Electric transmission line optimal path generation method based on GIS
CN104462685A (en) * 2014-12-03 2015-03-25 江苏省电力公司淮安供电公司 Transmission line design method based on GIS (grid) and Floyd algorithm
CN112085280A (en) * 2020-09-11 2020-12-15 东南大学 Power transmission channel path optimization method considering geographic factors
CN113658295A (en) * 2021-08-12 2021-11-16 南方电网数字电网研究院有限公司 Geographic information-based power grid edge layout mapping method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103971184A (en) * 2014-05-29 2014-08-06 国家电网公司 Power transmission line path generation method based on spatial GIS (Geographic Information System)
CN103996089A (en) * 2014-06-12 2014-08-20 国家电网公司 Electric transmission line optimal path generation method based on GIS
CN104462685A (en) * 2014-12-03 2015-03-25 江苏省电力公司淮安供电公司 Transmission line design method based on GIS (grid) and Floyd algorithm
CN112085280A (en) * 2020-09-11 2020-12-15 东南大学 Power transmission channel path optimization method considering geographic factors
CN113658295A (en) * 2021-08-12 2021-11-16 南方电网数字电网研究院有限公司 Geographic information-based power grid edge layout mapping method and device

Also Published As

Publication number Publication date
CN115759338A (en) 2023-03-07

Similar Documents

Publication Publication Date Title
CN103996089B (en) Based on the transmission line of electricity optimal path generation method of GIS
Stucky On applying viewshed analysis for determining least-cost paths on digital elevation models
CN107045656B (en) Intelligent scenic spot tour route planning method based on improved ant colony algorithm
CN109059926A (en) Across floor paths planning method and system
CN109840452A (en) A kind of grid covering scene automatic identifying method and device
DE112011101766T5 (en) navigation device
CN112033428A (en) Path planning method for power distribution first-aid repair
CN105352506B (en) Indoor railway network planning method and device
CN109146360A (en) Grid method for building up and device and allocator and device
CN115239905A (en) Electronic fence and virtual wall generation method
CN115759338B (en) Power line edge distribution method based on power grid GIS map and storage medium
CN112185149B (en) Path planning method and system based on urban road network data
CN108120444A (en) A kind of electronic map data processing method and device
CN108538185A (en) A kind of Electric Power Network Planning geographical information platform and preparation method thereof
CN103177650B (en) Simple digital map manufacturing method based on aerial photo
West et al. Terrain based routing of distribution cables
CN107816991A (en) Guidance path computational methods and device
Luchmaya et al. Using terrain information in an electrification planning tool
Das et al. GIS Based Multi-Criteria Land Suitability Assessment for Future Urban Development in The Country Park Peripheries of Hong Kong
CN117132009B (en) Adjacent ring network line planning method based on intelligent operation and maintenance of distribution network
Vilela et al. A holistic methodology to identify cost-effective smooth routes for power transmission lines
CN103186979B (en) Description method and device for traffic state
Yamamoto et al. Partitioning vertical evacuation areas in Umeda underground mall to minimize the evacuation completion time
CN105427581A (en) Traffic simulation method and traffic simulation system based on floating car data
CN110514207A (en) A kind of rail polling robot map describes method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant