CN117272557A - Box transformer road planning method, device, electronic equipment and storage medium - Google Patents

Box transformer road planning method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN117272557A
CN117272557A CN202311079025.0A CN202311079025A CN117272557A CN 117272557 A CN117272557 A CN 117272557A CN 202311079025 A CN202311079025 A CN 202311079025A CN 117272557 A CN117272557 A CN 117272557A
Authority
CN
China
Prior art keywords
road
box
area
arrangeable
section
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.)
Pending
Application number
CN202311079025.0A
Other languages
Chinese (zh)
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.)
Sungrow Renewables Development Co Ltd
Original Assignee
Sungrow Renewables Development 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 Sungrow Renewables Development Co Ltd filed Critical Sungrow Renewables Development Co Ltd
Priority to CN202311079025.0A priority Critical patent/CN117272557A/en
Publication of CN117272557A publication Critical patent/CN117272557A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/18Network design, e.g. design based on topological or interconnect aspects of utility systems, piping, heating ventilation air conditioning [HVAC] or cabling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/13Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2113/00Details relating to the application field
    • G06F2113/04Power grid distribution networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Architecture (AREA)
  • Civil Engineering (AREA)
  • Structural Engineering (AREA)
  • Road Paving Structures (AREA)

Abstract

The application discloses a case becomes road planning method, device, electronic equipment and storage medium relates to power station road design technical field, case becomes road planning method includes: obtaining topographic information of an area to be planned; wherein the area to be planned comprises a main road; determining an arrangeable area of the box-section road in the area to be planned based on the terrain information; and determining the box transformer substation road of the box transformer substation to be laid from the layout area according to the terrain information in the layout area, the road position information of the main road and the box transformer substation position information of the box transformer substation to be laid. The optimal scheme of the road planning of the box transformer substation is determined.

Description

Box transformer road planning method, device, electronic equipment and storage medium
Technical Field
The application relates to the technical field of power station road design, in particular to a box transformer road planning method, a device, electronic equipment and a storage medium.
Background
Along with the rapid development of the photovoltaic power station, the road design requirements of users on the photovoltaic power station are higher and higher, the optimal road planning of the box transformer substation is ensured while the normal use of the photovoltaic power station is expected to be met, and the requirements on the road planning of the box transformer substation are higher.
The traditional box transformer road planning method is based on randomly determined box transformer points, and a box transformer road planning scheme between two box transformer points is determined through manual experience. The box transformer road planning method has great defects and has the problem of determining the box transformer road planning scheme between two box transformer points only by means of manual experience. Namely, the box transformer substation road planning method only relies on manual experience to determine the box transformer substation road planning scheme, and further cannot determine the optimal scheme of the box transformer substation road planning.
Disclosure of Invention
The main purpose of the application is to provide a box transformer substation road planning method, a device, electronic equipment and a storage medium, and aims to solve the technical problem of how to determine an optimal scheme of box transformer substation road planning.
In order to achieve the above object, the present application provides a box-section road planning method, including the steps of:
obtaining topographic information of an area to be planned; wherein the area to be planned comprises a main road;
determining an arrangeable area of the box-section road in the area to be planned based on the terrain information;
and determining the box transformer substation road of the box transformer substation to be laid from the layout area according to the terrain information in the layout area, the road position information of the main road and the box transformer substation position information of the box transformer substation to be laid.
Optionally, the step of determining the box-section road of the box-section to be laid from the layout area according to the topographic information in the layout area, the road position information of the main road, and the box-section position information of the box-section to be laid, includes:
determining a box transformer point distance set from the arrangeable area according to the topographic information in the arrangeable area and the box transformer position information of the box transformer to be laid; wherein the box-section variable-point distance set includes a connectable-line distance value in the arrangeable area between box-section variable-point coordinates in the box-section variable-point position information;
constructing a main road distance set according to the topographic information in the arrangeable area, the road position information of the main road and the box position information; the main road distance set comprises nearest connectable line distance values from the coordinates of the box transformer points to each main road in the road position information;
and determining the box transformer road on which the box transformer is to be laid according to the box transformer point distance set and the main road distance set.
Optionally, the terrain information in the arrangeable area includes a gradient value, and the step of determining a box-section point distance set from the arrangeable area according to the terrain information in the arrangeable area and box-section position information of the box section to be laid includes:
Determining box transformer point coordinates from the arrangeable area according to the arrangeable area and box transformer position information of the box transformer to be laid;
dividing the arrangeable area based on a preset gradient step size dividing rule and gradient values in the arrangeable area to obtain a partition area; the preset step length dividing rule refers to area division based on a preset gradient step length;
determining a connectable distance value between each box-section point coordinate and other box-section point coordinates as a first starting point coordinate based on the partition area; wherein the other box-section point coordinates refer to box-section point coordinates other than the first starting point coordinates;
a box-section distance set is constructed based on the link distance values determined for each of the first start point coordinates.
Optionally, the box-section position information includes box-section mounting point coordinates, and the step of determining box-section point coordinates from the arrangeable area according to the arrangeable area and box-section position information of the box section to be laid includes:
in the case where the box-section mounting point coordinates are in the arrangeable area, then the box-section mounting point coordinates are regarded as box-section point coordinates;
Determining a nearest region coordinate point of the box-section mounting point coordinate and taking the nearest region coordinate point as a box-section point coordinate under the condition that the box-section mounting point coordinate is outside the arrangeable region; wherein the nearest region coordinate point includes coordinates in the arrangeable region nearest to the box-section mounting point coordinates.
Optionally, the step of determining, based on the partitioned area, a value of a connectable distance from each box-section point coordinate as a first point coordinate to other box-section point coordinates includes:
determining connection line information between each box transformer point coordinate and other box transformer point coordinates as a first starting point coordinate based on the partition area; the connection information refers to information of linear connection between two points;
if the connection information is matched with a preset connection-enabled condition, sequentially determining the partition area through which the connection information passes as a target partition area; the preset connectable condition refers to that straight lines connected in a straight line completely pass through the subarea area;
determining a two-dimensional distance value of the connection information in the target partition area, and determining a height difference value between the target partition area and a next target partition area based on the gradient value;
Sequentially determining three-dimensional distance values of the height difference value and the two-dimensional distance value based on the connection information, and taking the sum of the three-dimensional distance values as a connectable distance value; wherein the three-dimensional distance value refers to a value of a power of half of a sum of squares of the height difference value and the two-dimensional distance value;
if the connection information is not matched with the preset connection-possible condition, updating the connection information based on a preset connection mode, and executing the step of sequentially determining the partition area through which the connection information passes as a target partition area; the preset connection mode refers to a connection mode based on characteristic points on boundary lines of the partition area.
Optionally, the road position information includes a road coordinate point of each main road of the area to be planned, and the step of constructing a main road distance set according to the topographic information in the arrangeable area, the road position information of the main road, and the box position information includes:
determining the subarea area based on the topographic information in the arrangeable area, and determining a minimum link distance value between the subarea area and a road coordinate point of each main road for each box-change point coordinate as a second starting point coordinate;
Constructing a main road distance set according to the minimum connecting line distance value determined by each second starting point coordinate and the starting point coordinates of the connectable line segments of the minimum connecting line distance value; the starting point coordinates comprise starting point coordinates and end point coordinates of the connectable line segments.
Optionally, the step of determining the box transformer road on which the box transformer is to be laid according to the box transformer point distance set and the main road distance set includes:
determining a first distance value in the box-section variable point distance set by taking each box-section variable point coordinate as a point coordinate to be planned; the first distance value refers to the minimum connectable distance value of the coordinates of the points to be planned in the box-section variable point distance set;
determining a second distance value of the coordinates of the point to be planned in the main road distance set; the second distance value refers to the minimum nearest connectable line distance value of the coordinates of the point to be planned in the main road distance set;
determining a smaller value of the second distance value and the first distance value as a road distance value of the point coordinates to be planned, and determining a target connecting line corresponding to the road distance value;
and taking the target connecting line determined according to the coordinates of each point to be planned as the box transformer road of the box transformer to be laid.
Optionally, the terrain information includes a plurality of grids including slope direction values, and the step of determining an arrangeable area of the box-section road within the area to be planned based on the terrain information includes:
detecting whether the gradient slope direction value of each grid meets a preset road arrangement condition or not; the road arrangement conditions are preset, wherein the road arrangement conditions comprise that gradient values are smaller than preset angle values under different gradient values;
if the gradient slope value of the grid meets a preset road arrangement condition, the grid is used as an arrangeable road grid;
if the gradient slope value of the grid does not meet the preset road arrangement condition, the grid is used as an undeployable road grid;
and determining the arrangeable area of the arrangeable box-change road according to the arrangeable road grid.
Optionally, the step of determining the arrangeable area of the arrangeable box-section road according to the arrangeable road grid includes:
merging the arrangeable road grids based on a preset grid merging rule to obtain an arrangeable road grid set; the preset grid merging rules refer to merging adjacent arrangeable road grids;
if one of the arrangeable road grid sets exists, the arrangeable road grid set is used as an arrangeable area of the arrangeable box-change road;
If a plurality of the arrangeable road grid sets exist, combining the arrangeable road grid sets based on a preset grid set and rules to obtain an arrangeable area capable of arranging the box-section road; the preset grid set and rule means that the arrangeable road grid sets with the distance between the arrangeable road grid sets smaller than a preset distance threshold value are combined.
In addition, in order to achieve the above object, the present invention also provides a box-section road planning apparatus, including:
the terrain acquisition module is used for acquiring the terrain information of the area to be planned;
the terrain acquisition module is used for acquiring the terrain information of the area to be planned; wherein the area to be planned comprises a main road;
the area determining module is used for determining an arrangeable area of the box-section road in the area to be planned based on the terrain information;
and the road planning module is used for determining the box transformer substation road to be laid out from the layout area according to the topographic information in the layout area, the road position information of the main road and the box transformer substation position information of the box transformer substation to be laid out.
The application also provides a case becomes road planning equipment, electronic equipment includes:
At least one processor;
a memory communicatively coupled to the at least one processor;
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the steps of the case change road planning method described above.
The present application also provides a storage medium having stored thereon a program for implementing the case-change road planning method, the program for implementing the case-change road planning method being executed by a processor to implement the steps of the case-change road planning method as described above.
According to the technical scheme, the topographic information of the area to be planned is obtained; wherein the area to be planned comprises a main road; determining an arrangeable area of the box-section road in the area to be planned based on the terrain information; and determining the box transformer substation road of the box transformer substation to be laid from the layout area according to the terrain information in the layout area, the road position information of the main road and the box transformer substation position information of the box transformer substation to be laid. The method for planning the box-section road comprises the steps of determining the layout area of a box-section road through the topographic information of the area to be planned, further determining the box-section road of the box-section to be laid from the layout area according to the topographic information of the layout area, the road position information of a main road and the box-section position information of the box-section to be laid, so as to carry out box-section road planning, further avoiding the phenomenon of determining a box-section road planning scheme between two box-section points by means of manual experience.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the description of the embodiments or the prior art will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a schematic diagram of a box-type substation road planning device in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a first embodiment of a road planning method for a box transformer substation according to the present application;
FIG. 3 is a schematic diagram of a road planning device module for a box transformer of the present application;
fig. 4 is a schematic flow chart of a technical scheme of the case-change road planning method of the application;
FIG. 5 is a schematic view of a scenario of an arrangeable area of the case-change road planning method of the present application;
FIG. 6 is a schematic diagram of a scenario of distance calculation for the case-variant road planning method of the present application;
fig. 7 is a schematic diagram of a scenario of the case-variant road planning method of the present application.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a box-type substation road planning device in a hardware operation environment according to an embodiment of the present invention.
As shown in fig. 1, the case-change road planning apparatus may include: processor 0003, such as central processing unit (CentralProcessingUnit, CPU), communication bus 0001, fetch interface 0002, processing interface 0004, memory 0005. Wherein a communication bus 0001 is used to enable connected communication between these components. The acquisition interface 0002 may comprise an information acquisition device, an acquisition unit such as a computer, and the optional acquisition interface 0002 may also comprise a standard wired interface, a wireless interface. Processing interface 0004 may optionally comprise a standard wired interface, a wireless interface. The memory 0005 may be a high-speed random access memory (RandomAccessMemory, RAM) or a stable nonvolatile memory (Non-VolatileMemory, NVM), such as a disk memory. The memory 0005 may alternatively be a storage device separate from the aforementioned processor 0003.
It will be appreciated by those skilled in the art that the structure shown in fig. 1 does not constitute a limitation of the case change road planning apparatus, and may include more or fewer components than shown, or may combine certain components, or may have a different arrangement of components.
As shown in fig. 1, an operation device, an acquisition interface module, an execution interface module, and a box-change road planning program may be included in the memory 0005 as one type of storage medium.
In the case-change road planning apparatus shown in fig. 1, the communication bus 0001 is mainly used to realize connection communication between components; the acquisition interface 0002 is mainly used for connecting a background server and carrying out data communication with the background server; the processing interface 0004 is mainly used for connecting a deployment end (user end) and carrying out data communication with the deployment end; the processor 0003 and the memory 0005 in the box transformer substation road planning device can be arranged in the box transformer substation road planning device, and the box transformer substation road planning device calls the box transformer substation road planning program stored in the memory 0005 through the processor 0003 and executes the box transformer substation road planning method provided by the embodiment of the invention.
For clarity and conciseness in the description of the following embodiments, a brief description of the implementation of a road planning method for a box transformer is first given:
The photovoltaic power station road is mainly used for facilitating transportation equipment such as box transformer, inverters and components, the current box transformer road planning of the photovoltaic power station is mainly carried out by relying on manual experience, the optimization of a system is not formed, the photovoltaic power station road has great influence on line routing, medium-voltage cables need to travel along the road, and the cost of the medium-voltage cables, a bridge frame and cable pit is influenced due to the advantages and disadvantages of road design. Therefore, the planning of the photovoltaic power station road influences the power station construction, the box transformer road planning is poor, and the machine cannot enter the field or bypass to increase the construction cost. The existing box transformer substation road planning is directly determined through personal experience, the cable length is determined through the planned road, the distance between two points is measured through a two-dimensional drawing, and then a coefficient k is multiplied, so that the actual length of the cable cannot be accurately calculated due to the fact that the height difference exists, and a certain challenge is brought to a cable engineering quantity list. Therefore, the technical scheme of the application is provided based on the case change road planning due to the defect of manual experience planning, so that the optimal scheme of the case change road planning can be ensured to be determined.
According to the method, terrain information of an area to be planned is acquired through a box transformer road planning method; wherein the area to be planned comprises a main road; determining an arrangeable area of the box-section road in the area to be planned based on the terrain information; and determining the box transformer substation road of the box transformer substation to be laid from the layout area according to the terrain information in the layout area, the road position information of the main road and the box transformer substation position information of the box transformer substation to be laid. The method for planning the box-section road comprises the steps of determining the layout area of a box-section road through the topographic information of the area to be planned, further determining the box-section road of the box-section to be laid from the layout area according to the topographic information of the layout area, the road position information of a main road and the box-section position information of the box-section to be laid, so as to carry out box-section road planning, further avoiding the phenomenon of determining a box-section road planning scheme between two box-section points by means of manual experience.
Based on the hardware structure, the embodiment of the box transformer road planning method is provided.
The embodiment of the invention provides a box transformer substation road planning method, and referring to fig. 2, fig. 2 is a flow chart of a first embodiment of the box transformer substation road planning method.
In this embodiment, the box transformer substation road planning method includes:
step S10, obtaining the topographic information of the area to be planned; wherein the area to be planned comprises a main road;
in this embodiment, by acquiring the topographic information of the area to be planned, the box-type transformer substation road planning scheme of the area to be planned is determined according to the topographic information, rather than directly planning according to manual experience. The terrain information refers to gradient slope direction and other information in an area to be planned, the area to be planned refers to an area of a box-type road to be planned, and the area to be planned can also be used for road planning of other devices. And further provides a basis for subsequent planning.
Step S20, determining an arrangeable area capable of arranging a box-change road in the area to be planned based on the terrain information;
in this embodiment, after the topographic information of the area to be planned is determined, an arrangeable area where the box-section road can be laid out is determined in the area to be planned based on the topographic information, wherein the arrangeable area refers to an area where the box-section road can be planned. If the slope direction is north, the slope direction is less than 30 degrees and is the arrangeable point, the slope direction is south, the slope direction is less than 20 degrees and is the arrangeable point, the slope direction is east, the slope direction is less than 35 degrees and is the arrangeable point, the slope direction is west, the slope direction is less than 35 degrees and is the arrangeable point in the area to be planned, and then all the arrangeable points can be combined into the area to obtain the arrangeable area of the arrangeable box-change road. The corresponding merge has corresponding merge rules, such as how much less than the distance to merge. Referring to fig. 5, fig. 5 is a schematic view of a scenario of an arrangeable area of a road planning method for a box transformer substation, based on the determination of topographic information, an arrangeable area composed of an undeployable area of an undeployable box transformer substation road and other grids as shown in the figure can be obtained, and then the road planning for the box transformer substation can be performed in the arrangeable area, so that the accuracy of the road planning for the box transformer substation can be ensured.
And step S30, determining the box transformer substation road of the box transformer substation to be laid from the arrangeable area according to the topographic information in the arrangeable area, the road position information of the main road and the box transformer substation position information of the box transformer substation to be laid.
In this embodiment, by determining the terrain information in the arrangeable area and the road position information of the main road and the box-change position information of the box-change to be laid, the box-change road of the box-change to be laid can be determined in the arrangeable area, and road planning can be performed on the box-change to be laid based on the box-change road, the box-change road refers to a planned road of the box-change to be laid in the arrangeable area, the road position information refers to an existing road near or in the arrangeable area, the road can be a road of the existing box-change road, and the box-change position information refers to the box-change coordinates of the box-change to be laid. That is, the road of the photovoltaic square matrix is not required to be planned based on manual experience, the road can be planned further based on the terrain information, the road planning accuracy of the box transformer substation is guaranteed, the optimal road planning scheme of the box transformer substation can be determined, the current collecting circuit path is mapped into the road, and the planning cost of the cable and the box transformer substation road can be reduced.
Further, the present embodiment further provides a technical scheme flow chart of a road planning method for a box transformer substation, referring to fig. 4, in this embodiment, by calculating slope directions of each point in a station area, that is, a station area (that is, an area to be planned), and further finding out a point set that each slope downward satisfies a preset slope, a road arrangeable point set is formed, for example, a point with a slope smaller than 30 ° downward toward north is used as the road arrangeable point set, where the road arrangeable refers to the arrangeable area. And then after the road-arrangeable point sets are determined, forming a road-arrangeable area based on the road-arrangeable point set combination density adjacent method, wherein if the point sets with the distance smaller than a certain value between the point sets are connected into one area, if the distance between the two point sets is smaller than A, the two point sets are connected into one road-arrangeable area. By mapping box-section points (to determine coordinate points) into the arrangeable area, if box-section points in the arrangeable area are not processed, the nearest arrangeable area is determined at box-section points outside the arrangeable area and mapped to the nearest arrangeable area, wherein the box-section points can also be the arrangement points of other instruments. And then, the distance matrix between the box transformer points (which can be actual box transformer points or map box transformer points) can be calculated based on the distance matrix between the determined areas, namely, the distance between the box transformer points can be determined, and then, the box transformer-road connected domain is generated based on the distance matrix between the box transformer points and the matrix between the box transformer and the main road, and then, the actual road in the station is generated based on the box transformer-road connected domain, so that the box transformer road planning in the area to be planned is realized, and the optimal scheme of the box transformer road planning is ensured to be determined.
The method comprises the steps of obtaining terrain information of an area to be planned; wherein the area to be planned comprises a main road; determining an arrangeable area of the box-section road in the area to be planned based on the terrain information; and determining the box transformer substation road of the box transformer substation to be laid from the layout area according to the terrain information in the layout area, the road position information of the main road and the box transformer substation position information of the box transformer substation to be laid. The method for planning the box-section road comprises the steps of determining the layout area of a box-section road through the topographic information of the area to be planned, further determining the box-section road of the box-section to be laid from the layout area according to the topographic information of the layout area, the road position information of a main road and the box-section position information of the box-section to be laid, so as to carry out box-section road planning, further avoiding the phenomenon of determining a box-section road planning scheme between two box-section points by means of manual experience.
Further, based on the first embodiment of the road planning method for the box transformer substation, a second embodiment of the road planning method for the box transformer substation is provided, and the step of determining the box transformer substation road for the box transformer substation to be laid from the layout area according to the topographic information in the layout area, the road position information of the main road and the box transformer substation position information for the box transformer substation to be laid comprises the following steps:
Step S31, determining a box transformer point distance set from the arrangeable area according to the topographic information in the arrangeable area and the box transformer position information of the box transformer to be laid; wherein the box-section variable-point distance set includes a connectable-line distance value in the arrangeable area between box-section variable-point coordinates in the box-section variable-point position information;
step S32, constructing a main road distance set according to the topographic information in the arrangeable area, the road position information of the main road and the box position information; the main road distance set comprises nearest connectable line distance values from the coordinates of the box transformer points to each main road in the road position information;
in this embodiment, after determining the arrangeable area, a box-section distance set is determined from the arrangeable area based on the topographic information in the arrangeable area and the box-section position information of the box-section to be laid out, wherein the box-section distance set includes a connectable line distance value in the arrangeable area between the box-section point coordinates in the box-section position information, and the box-section position information of the box-section to be laid out includes the box-section point coordinates. That is, the link distance between the coordinates of each box transformer substation point is determined based on the topographic information in the arrangeable area, wherein the link distance is the link distance in the arrangeable area, and the box transformer substation point cannot pass through the non-arrangeable area, so that the accuracy of the road planning of the box transformer substation can be ensured, and meanwhile, the optimal box transformer substation planning scheme can be ensured by arranging according to the arrangeable area. The method comprises the steps that a box transformer point distance set is determined, a main road distance set is also determined at the same time, the main road distance set is constructed through terrain information in an arrangeable area, road position information of a main road and box position information, wherein the main road distance set comprises nearest connectable distance values from box transformer point coordinates to each main road in the main road position information, namely, the box transformer point distance set refers to the distance between every two box transformer point coordinates in the box transformer position information, the main road distance set refers to the nearest connectable distance values from each box transformer point coordinate to each main road, the nearest connectable distance values refer to the connecting distance from the box transformer point coordinates to the main road passing through the arrangeable area, a basis is finally provided for whether each box transformer is connected to other box transformer or the main road, and therefore the optimal planning of the box transformer road is ensured.
And step S33, determining the box transformer substation road on which the box transformer substation is to be laid according to the box transformer substation point distance set and the main road distance set.
In this embodiment, after the box transformer point distance set and the main road distance set are determined, the box transformer roads of each box transformer point are determined based on the box transformer point distance set and the main road distance set, and then the road planning schemes of all the box transformer points are summarized to obtain all the box transformer roads of the box transformer to be laid. For example, taking the box transformer point A as an example, assuming that the closest distance between the box transformer point A and the box transformer point B in the box transformer point distance concentration is A1, the closest distance between the box transformer point A and the main road C in the main road distance concentration is A2, and then the distance value of A2 and A1 can be compared, so that the planning of the box transformer point A can be determined, and the situation that the road planning is carried out by the existing direct artificial subjective judgment is avoided. And the road planning scheme of each box transformer substation point can be determined through the box transformer substation point distance set and the main road distance set, the accuracy of box transformer substation road planning can be ensured, and the optimal planning scheme of the box transformer substation can be determined.
Further, the step of determining the box transformer road on which the box transformer is to be laid according to the box transformer point distance set and the main road distance set includes:
step a, determining a first distance value by taking each box transformer point coordinate as a point coordinate to be planned in the box transformer point distance set; the first distance value refers to the minimum connectable distance value of the coordinates of the points to be planned in the box-section variable point distance set;
step b, determining a second distance value of the coordinates of the point to be planned in the main road distance set; the second distance value refers to the minimum nearest connectable line distance value of the coordinates of the point to be planned in the main road distance set;
step c, determining the smaller value of the second distance value and the first distance value as a road distance value of the point coordinates to be planned, and determining a target connecting line corresponding to the road distance value;
and d, taking the target connecting line determined for each point coordinate to be planned as the box transformer road of the box transformer to be laid.
In the embodiment, when a box transformer road on which box transformer is to be laid is determined according to a box transformer point distance set and a main road distance set, a first distance value is determined by taking each box transformer point coordinate in the box transformer point distance set as a point coordinate to be planned; the first distance value refers to the minimum connectable distance value of the coordinates of the points to be planned in the box-change point distance set, namely the shortest distance value from the coordinates of the points to be planned to the coordinates of other box-change points. Simultaneously determining a second distance value of the coordinates of the point to be planned in the main road distance set; the second distance value refers to the minimum nearest connectable distance value of the coordinates of the point to be planned in the main road distance set, that is, the nearest distance of the coordinates of the point to be planned from the main road. If the box-variable point distance set comprises box-variable point coordinates C1, C2 and C3, taking the box-variable point coordinate C1 as a point coordinate to be planned as an example, determining a distance C12 between the point coordinate C1 to be planned and the box-variable point coordinate C2 and a distance C13 between the point coordinate C1 to be planned and the box-variable point coordinate C3, and further comparing the sizes of the C12 and the C13 to serve as a first distance value, wherein the first distance value is C13; the main road distance set comprises main roads B1 and B2, further, the distance B12 between the point coordinate C1 to be planned and the main road B1 and the distance B13 between the point coordinate C1 to be planned and the main road B2 are determined, the sizes of the B12 and the B13 are compared, and the B13 with smaller value is used as a second distance value. Further, a road planning scheme of the road gauge of the point coordinate C1 to be planned can be determined by determining the magnitude relation between the second distance value B13 and the first distance value C13. The smaller value of the second distance value and the first distance value is used as a road distance value of the coordinates of the points to be planned, a target connecting line corresponding to the road distance value is determined, and finally the target connecting line determined for each coordinate of the points to be planned is used as a box transformer road of the box transformer substation to be planned. The road distance value refers to a smaller value of the second distance value and the first distance value, and the target connecting line refers to a road connecting line corresponding to the road distance value, if the second distance value B13 is selected as the road distance value, the target connecting line corresponding to the road distance value is a connecting line between the point coordinate C1 to be planned and the main road B1, and the connecting line may be a straight line or may be formed by a plurality of line segments. Referring to fig. 7, fig. 7 is a schematic diagram of a scenario of a case-change road planning method, when determining a case-change road planning scheme for a case-change point coordinate XB1, by finding a nearest distance X1 from a main road 2 to the case-change point coordinate XB1, finding a case-change point coordinate XB2 nearest to the case-change point coordinate, if the distance X1 from XB1 to the main road 2 is smaller than the distance X2 from XB1 to XB2, the XB1 is connected to the nearest road 2, i.e., the case-change road planning scheme for XB1 is connected to the main road 2; if the distance X1 from the XB1 to the main road 2 is greater than the distance X2 from the XB1 to the XB2, the XB1 is communicated to the XB2, namely the box-variable road planning scheme of the XB1 is the box-variable point coordinate XB2; according to the method, all the connected domains between the box transformer points and the road are generated. Furthermore, the box transformer substation planning road in the arrangeable area in the area to be planned can be generated based on the distance between each box transformer substation point on the connected area and the nearest road distance from each main road, and it is worth noting that the connection between the XB1 and the XB2 is not necessarily a straight line, and the box transformer substation road to be laid can be determined based on the above mode according to the adaptive connection of the arrangeable area, such as a curve connection mode, and the optimal planning scheme can be determined while the box transformer substation road planning accuracy is ensured by carrying out the box transformer substation road planning based on the box transformer substation road to be laid.
Further, based on the first embodiment and/or the second embodiment of the box-section road planning method, a third embodiment of the box-section road planning method is provided, the terrain information includes a plurality of grids including gradient slope values, and the step of determining an arrangeable area of the box-section road within the area to be planned based on the terrain information includes:
step e, detecting whether the gradient and slope direction value of each grid meets the preset road arrangement condition; the road arrangement conditions are preset, wherein the road arrangement conditions comprise that gradient values are smaller than preset angle values under different gradient values;
f, if the gradient and slope direction value of the grid meets a preset road arrangement condition, taking the grid as an arrangeable road grid;
step g, if the gradient and slope direction value of the grid does not meet the preset road arrangement condition, the grid is used as an undeployable road grid;
and h, determining the arrangeable area of the arrangeable box-change road according to the arrangeable road grid.
In this embodiment, the terrain information includes a plurality of grids including slope gradient values, that is, the grid data in the image of the area to be planned is processed. Determining gradient slope information of all grids based on the terrain information, and sequentially detecting whether the gradient slope information of the grids meets preset road arrangement conditions or not; the road arrangement conditions are preset, wherein the gradient value is smaller than a preset angle under different gradient values, and the gradient information refers to the gradient value and the gradient of the grid. The gradient value Alpha of each point of the station area is calculated as shown in the following formula 1 based on the topographic information:
The slope value belta_buff of each point of the station area is calculated as shown in the following formula 2:
and then the following conditions of slope direction Belta can be obtained:
(1) If belta_buff is less than 0, belta=90.0-belta_buff;
(2) If belta_buff is greater than 90, belta=270-belta_buff;
(3) If belta_buff is greater than 0 and less than 90, belta=90-belta_buff;
wherein:
the rate of change of grid e in the x-direction will be calculated by the following algorithm:
[dz/dx]=((c+2f+i)-(a+2d+g))/8*Xcell
the rate of change of grid e in the y-direction will be calculated by the following algorithm:
[dz/dy]=((g+2h+i)-(a+2b+c))/8*Ycell
wherein: the letters (a, b, c, d, f, g, h, i) in the grids are elevation coordinates, the grids are divided into nine equal parts, the middle elevation coordinates are removed, xcell is the actual distance in the X direction of the matrix grid, and Ycell is the actual distance in the Y direction of the matrix grid, so that gradient slope information corresponding to each grid is obtained based on the formula. Under different slope values determined by a user or an actual situation, the slope value is smaller than a preset angle to serve as a condition for arranging the road grids, for example, the north slope is smaller than an angle of 30 degrees, the grids meeting the preset arrangement condition can be finally used as the arrangeable road grids, and the grids not meeting the preset arrangement condition cannot be arranged. The arrangeable road grids are grids meeting preset arrangement conditions, and the non-arrangeable road grids are grids not meeting preset arrangement conditions. And finally, determining all the arrangeable road grids in the area to be planned as the arrangeable areas of the arrangeable box-section roads. And the layout area can be determined based on the topographic information of the area to be planned, so that a basis is provided for the subsequent road planning, and meanwhile, the layout area can be used for ensuring the accuracy of the road planning.
Further, the step of determining the arrangeable area of the arrangeable box-section road according to the arrangeable road grid includes:
step i, merging the arrangeable road grids based on a preset grid merging rule to obtain an arrangeable road grid set; the preset grid merging rules refer to merging adjacent arrangeable road grids;
step j, if one of the arrangeable road grid sets exists, taking the arrangeable road grid set as an arrangeable area of the arrangeable box-change road;
step k, if a plurality of the arrangeable road grid sets exist, combining the arrangeable road grid sets based on a preset grid set and rules to obtain an arrangeable area of the arrangeable box-change road; the preset grid set and rule means that the arrangeable road grid sets with the distance between the arrangeable road grid sets smaller than a preset distance threshold value are combined.
In this embodiment, after determining the arrangeable road grids, the arrangeable road grids are combined based on a preset grid combining rule to obtain an arrangeable road grid set; the preset grid merging rule refers to merging adjacent road grids which can be arranged, and the road grid set which can be arranged refers to a grid set obtained by merging a plurality of road grids which can be arranged. When one arrangeable road grid set exists, the arrangeable road grid set is directly used as an arrangeable area of the arrangeable box-change road, otherwise, the arrangeable road grid sets are combined based on a preset grid set and rules to obtain the arrangeable area of the arrangeable box-change road; the preset grid set and the rule mean that the arrangeable road grid sets with the distance between the arrangeable road grid sets smaller than a preset distance threshold value are combined. The method comprises the steps of generating a arrangeable road grid set based on the arrangeable road grid by using a density connection method, and further determining an arrangeable area based on the arrangeable road grid set: if adjacent arrangeable road grids are found out and combined, a new arrangeable road grid set is generated, the connection relation of the arrangeable road grid sets is found, and if the distance between the point sets is smaller than a threshold Dist, the point sets are put together to form an arrangeable area, namely DIS (i-j) < Dist. The actual preset distance threshold value can be set in a self-defined mode, and further a basis can be provided for actual box-type substation road planning by determining the arrangeable area.
Further, based on the first embodiment, the second embodiment and/or the third embodiment of the box-section road planning method of the present invention, a fourth embodiment of the box-section road planning method of the present invention is provided, wherein the terrain information in the arrangeable area includes a gradient value, and the step of determining a box-section point distance set from the arrangeable area according to the terrain information in the arrangeable area and the box-section position information of the box-section to be laid includes:
step S311, determining box transformer point coordinates from the arrangeable area according to the arrangeable area and box transformer position information of the box transformer to be laid;
in this embodiment, when determining the box-section point distance set, the box-section point coordinates are determined from the arrangeable area based on the arrangeable area and the preset box-section position information, that is, each box-section coordinate in the preset box-section position information is mapped to the arrangeable area, so that road planning is facilitated.
Step S312, dividing the arrangeable area based on a preset gradient step size dividing rule and gradient values in the arrangeable area to obtain a partition area; the preset step length dividing rule refers to area division based on a preset gradient step length;
Step S313, determining, for each box-section point coordinate, a value of a connectable distance from other box-section point coordinates as a first start point coordinate based on the partitioned area; wherein the other box-section point coordinates refer to box-section point coordinates other than the first starting point coordinates;
step S314, constructing a box-section point distance set based on the link distance values determined for each first start point coordinate.
In the present embodiment, the partition area is obtained by dividing the arrangeable area based on a preset gradient step division rule and gradient values in the arrangeable area. The preset step length dividing rule refers to an area dividing method based on a preset gradient step length, and the area dividing method is used for dividing the area based on the step length. If the preset gradient step size dividing rule is that the gradient of the arrangeable area is divided by taking the gradient S as the step size, T divisions are obtained;
slope partition 1: [0,S);
gradient partition 2: [ S,2*S ]
……
Gradient partition T: [ (T-1) ×S, alpha ]
Finally, the distance calculation can be performed on the arrangeable area after the whole subarea, so that the height difference value of the same subarea area can be reduced, the accuracy of calculating the distance on a two-dimensional plane is ensured, and the accuracy of road planning of the box-type transformer substation in the subsequent area is further improved. The gradient values in the subarea area are not greatly different, so that the actual gradient values are not greatly different from the two-dimensional calculation. After the determination of the sub-area, a value of the connectable distance to other box-section point coordinates is determined for each box-section point coordinate as a first point coordinate based on the sub-area, wherein the other box-section point coordinates refer to box-section point coordinates other than the first point coordinate. That is, based on the zone areas, the length through each zone and the height difference between the two zones are determined, and thus the distance value can be determined. And further, the accuracy of road distance determination and calculation efficiency can be ensured through gradient partition.
Further, the box-section position information includes box-section mounting point coordinates, and the step of determining box-section point coordinates from the arrangeable area according to the arrangeable area and the box-section position information of the box section to be laid includes:
step S3131 of taking the box-section mounting point coordinates as box-section point coordinates in the case where the box-section mounting point coordinates are in the arrangeable area;
step S3132, in the case where the box-section installation point coordinates are outside the arrangeable area, determining a nearest area coordinate point of the box-section installation point coordinates, and taking the nearest area coordinate point as box-section point coordinates; wherein the nearest region coordinate point includes coordinates in the arrangeable region nearest to the box-section mounting point coordinates.
In the present embodiment, in determining the road planning scheme of each box-section coordinate, by detecting whether the box-section mounting point coordinate is in the arrangeable area, when in the arrangeable area, the box-section mounting point coordinate is determined as the box-section point coordinate; if the box-type variable-point coordinate system is not in the arrangeable area, determining a nearest area coordinate point of the box-type variable-point coordinate system, and taking the nearest area coordinate point as the box-type variable-point coordinate system; wherein the nearest region coordinate point includes coordinates in the arrangeable region nearest to the box-section mounting point coordinates. The box transformer substation installation point coordinates refer to installation coordinates of box transformer substation points, and can be moved to nearest region coordinate points at the moment, or calculated only by nearest region coordinate points, and the actual box transformer substation installation point coordinates are unchanged. That is, referring to fig. 5, taking the box-section mounting point coordinate F as an example, if the point F may be a white non-arrangeable area, the box-section point coordinate is obtained by moving it out of the white non-arrangeable area. When the box transformer substation installation point coordinates are in the arrangeable area, the coordinates are unchanged and are [ x, y, z ]; if the box transformer substation installation point coordinates are in the undeployable area, finding out the coordinate point of the nearest area in the undeployable area from the box transformer substation installation point coordinates, forcing the box transformer substation point coordinates to be [ xr, yr, zr ], further guaranteeing the accuracy of subsequent planning and the use effect of devices, providing planning basis for subsequent box transformer substation road planning, and guaranteeing the planning accuracy.
Further, based on the first embodiment, the second embodiment, the third embodiment and/or the fourth embodiment of the box-section road planning method of the present invention, a fifth embodiment of the box-section road planning method of the present invention is provided, and the step of determining, based on the partition area, a value of a connectable distance with other box-section point coordinates as a first point coordinate for each box-section point coordinate includes:
step l, determining connection line information between each box transformer point coordinate and other box transformer point coordinates as a first starting point coordinate based on the partition area; the connection information refers to information of linear connection between two points;
m, if the connection information is matched with a preset connection-enabled condition, sequentially determining the partition area through which the connection information passes as a target partition area; the preset connectable condition refers to that straight lines connected in a straight line completely pass through the subarea area;
in this embodiment, after determining the partition area, the connection information between each box-section point coordinate and other box-section point coordinates is further determined as the first point coordinate, where the connection information refers to the information of the straight line connection between the two points. I.e., the distance of each bin-change point coordinate to the other bin-change point coordinates is determined based on the following manner. Taking the box-change point coordinate XB1 and the box-change point coordinate XB2 as examples, determining connection information between other box-change point coordinates by taking the box-change point coordinate XB1 as a first start point coordinate, if the other box-change point coordinate is the box-change point coordinate XB2, determining whether the connection information of the box-change point coordinate XB1 and the box-change point coordinate XB2 is matched with a preset connectable condition, and when the connection information is matched, sequentially determining a partition area through which the connection information passes as a target partition area. The preset connectable line condition means that a straight line connected with the straight line passes through the partition area, that is, the box-change point coordinate XB1 and the box-change point coordinate XB2 can be connected with the straight line and do not pass through the inexorable area, the distance connected with the straight line can be directly calculated, the target partition area means that the straight line passes through the partition area, for example, the straight line connected with the box-change point coordinate XB1 and the box-change point coordinate XB2 passes through the road partition areas 1 and 2, and the distance can be calculated based on the partition areas 1 and 2.
By way of example, a user may select a region with a smaller gradient to perform road planning for the box transformer substation according to the requirement, rather than pursuing the nearest road, so that the selectivity of road planning for the box transformer substation may be improved. I.e., the optimizing manner, as described in determining the bin variable point coordinates XB1 to the bin variable point coordinates XB2, the bin variable point coordinates XB1 are put into the list 1. Table 1 functions to store adjacent partitioned areas of box-section point coordinates XB1 (partitioned areas adjacent to the partitioned area where box-section point coordinates XB1 are located). Further, in table 1 of box transformer point coordinates XB1, a partition area P1 satisfying the requirement (box transformer point coordinates XB1 to box transformer point coordinates XB2 are minimum estimated distances) is determined, and further, box transformer point coordinates XB1 are updated to the center coordinates of partition area P1, and the step of determining table 1 is continued. Finally, until the partition area P1 contains the partition area where the box-change point coordinate XB2 is located, taking the previous path as the box-change point coordinate XB1 to the box-change point coordinate XB2, and the minimum estimated distance (distance cost function) is as follows:
the distance cost function R (n) from the bin variable point coordinate XB1 and the center coordinate of each adjacent partitioned area and the bin variable point coordinate XB1 is calculated as: r (n) =k (n) +b (n);
Where K (n) represents the distance from the box-section point coordinate XB1 to the center coordinate of the adjacent partitioned area, and B (n) represents the estimated distance (non-actual distance) from the center coordinate of the adjacent partitioned area to the box-section point coordinate XB2, and its corresponding calculation formula is as follows:
K(n)=Sqrt((Xm-Xn)^2+(Ym-Yn)^2+(Zm-Zn)^2);
B(n)=Sqrt((Xn-Xf)^2+(Yn-Yf)^2+(Zn-Zf)^2);
wherein, xm, ym, zm are three-dimensional coordinates of box-change point coordinate XB1, xf, yf, zf are three-dimensional coordinates of box-change point coordinate XB2, xn, yn, zn are three-dimensional coordinates of center coordinates of adjacent partitioned areas, and the mode of finding the distance may be manhattan, euro, chebyshev, and the mode of angle cosine, which is not limited herein. And further, the optimal searching of the road planning of the box transformer substation can be ensured, and the accuracy of the road planning of the box transformer substation is improved. The connection mode can be based on the connection mode, so that the connection selectivity can be ensured.
Step n, determining a two-dimensional distance value of the connection information in the target partition area, and determining a height difference value between the target partition area and a next target partition area based on the gradient value;
step o, sequentially determining three-dimensional distance values of the height difference value and the two-dimensional distance value based on the connection information, and taking the sum of the three-dimensional distance values as a connectable distance value; wherein the three-dimensional distance value refers to a value of a power of half of a sum of squares of the height difference value and the two-dimensional distance value;
Step p, if the connection information is not matched with the preset connection-enabled condition, updating the connection information based on a preset connection mode, and executing the step of sequentially determining the partition area through which the connection information passes as a target partition area; the preset connection mode refers to a connection mode based on characteristic points on boundary lines of the partition area.
In this embodiment, when the connection is a straight line connection, after determining the partition area, the two-dimensional distance value of the connection information in the target partition area is used to determine the height difference between the target partition area and the next target partition area based on the gradient value. Wherein, the two-dimensional distance value refers to the two-dimensional connecting line distance. If the connecting straight line of the box-change point coordinate XB1 and the box-change point coordinate XB2 passes through the subarea areas 1 and 2, the box-change point coordinate XB1 is in the subarea area 1, the box-change point coordinate XB2 is in the subarea area 2, the two-dimensional distance from the box-change point coordinate XB1 to the boundary point of the subarea area 1 is further determined, the boundary point refers to the point where the straight line passes through the boundary line of the subarea area 1, the height difference value of the subarea areas 1 and 2 is determined, the subarea area 2 is the next target subarea area of the box-change road subarea area 1, and the distance between the box-change point coordinate XB1 and the box-change point coordinate XB2 can be calculated at the moment. Referring to fig. 6, fig. 6 is a schematic diagram of a scenario of distance calculation of a road planning method for a box transformer substation, and assuming that two squares of a right image are a subarea area and a road route is finally determined to be required to pass through the subarea area, the distance calculation between the subarea areas of the road transformer substation is as shown in the following formula 3:
Wherein: Δl is the linear distance in the subarea, i.e. the two-dimensional distance, Δh is the elevation difference between adjacent subareas, and the elevation difference must be calculated between every two, and cannot be finally calculated directly. Based on the previous elevation difference formula, the gradient of the regional area of the road of the box transformer substation is approximately not different, so that the distance calculation value of a single regional area which can be arranged is more accurate, and the k value of the subsequent wiring can be set more accurately based on the fact that the gradient value is not different, if the elevation difference of the regional area is H1, the k value corresponding to the regional area is k1. When the connection information is not matched with the preset connection-possible condition, updating the connection information based on a preset connection mode, and executing the step of sequentially determining the arrangeable partition area through which the connection information passes as a target partition area; the preset connection mode is a connection mode based on characteristic points on boundary lines of the partition areas, that is, if a straight line in the first connection information passes through the non-arrangeable area, it is determined that the straight line in the first connection information passes through characteristic points of the non-arrangeable area (that is, points where the straight line is connected in the non-arrangeable area), and then an optimal connection scheme is determined between the characteristic points. At this time, there are two schemes, one is to directly use the above optimizing method to directly optimize the feature points to determine the optimal connection scheme, and the other is to perform the linear connection between the feature points on the boundary line between the determined non-arrangeable area and the arrangeable area, so as to determine the distance between the two points. If the non-arrangeable area is a regular square, it is possible to determine a boundary line extending the regular square for planning a road, and then determine a box-section road plan passing through the non-arrangeable area based on the above. It should be noted that the basic principle of the above planning method is to directly connect with the end point straight line after bypassing the non-arrangeable area, or directly use the above optimizing scheme.
By way of example, the value of the connectable line distance can be determined from the first setpoint coordinate to the respective other bin change point coordinate distance value, and a set or matrix can be established on the basis of the respective connectable line distance value. Finally, the distance between each box-section point coordinate and other box-section point coordinates is determined in the above manner. The distance matrix between the required bin change point coordinates can be obtained, wherein the distance matrix is as follows:
the distance between the box transformer point coordinates is obtained, so that the box transformer point coordinates and the planning basis after the box transformer point coordinates can be determined based on the distance between the box transformer point coordinates, the accuracy of box transformer road planning in the area to be planned is ensured, and the determined planning scheme is ensured to be optimal. Meanwhile, the design of the follow-up medium-voltage cable can be facilitated based on the partition, and the accuracy of the cable design is guaranteed.
Further, the main road position information includes a road coordinate point of each main road of the area to be planned, and the step of constructing a main road distance set according to the topographic information in the arrangeable area, the road position information of the main road, and the box position information includes:
step q of determining a minimum link distance value with a road coordinate point of each main road for each box-change point coordinate as a second start point coordinate based on the partitioned area determined by the topographic information in the arrangeable area;
R, constructing a main road distance set according to a minimum connecting line distance value determined by each second starting point coordinate and starting point coordinates of a connectable line segment of the minimum connecting line distance value; the starting point coordinates comprise starting point coordinates and end point coordinates of the connectable line segments.
In this embodiment, the steps of determining the main road distance set are similar to the steps of determining the distances between the case change point coordinates, and there is a difference in that the former is the distance between the determination point and the point, and here the distance between the determination point and the line, if the line is a straight line, the vertical distance can be directly determined, since the main road position information includes the road coordinate point of each main road of the area to be planned, that is, the line needs to be selected, the road coordinate point refers to the feature coordinate point of each main road with respect to each case change point coordinate, if the main road is circular, the four feature coordinate points of the main road are determined at least as the road coordinate points, and then the partition area determined based on the topographic information in the arrangeable area is further determined for each case change point coordinate as the second start point coordinate, and the minimum link distance value between the partition area determined based on the topographic information in the arrangeable area is the same as the previous step, and the minimum link distance value refers to the shortest distance from the second start point coordinate to the road coordinate point of each main road. If the main road Q has road coordinate points Q1, Q1 and Q3 for the second starting point coordinate C1, further determining a distance Q11 from the second starting point coordinate C1 to the road coordinate point Q1, a distance Q21 from the second starting point coordinate C1 to the road coordinate point Q2, and a distance Q31 from the second starting point coordinate C1 to the road coordinate point Q3, further determining the minimum value among Q11, Q21 and Q31 as a road planning scheme from the second starting point coordinate C1 to the main road Q. And then a main road distance set can be constructed according to the minimum connecting line distance value and the starting point coordinates of the connectable line segments of the minimum connecting line distance value determined by each second starting point coordinate, wherein the starting point coordinates comprise the starting point coordinates and the end point coordinates of the connectable line segments, namely, the distance from each box transformer point coordinate to each main road can be determined in the determining mode, so that a basis is provided for the subsequent box transformer road planning, planning is carried out on the basis of the topographic information in the arrangeable area, the determined connecting line is guaranteed to be optimal, and the optimal of the final box transformer road planning can be determined.
The invention also provides a box-type substation road planning device, referring to fig. 3, the box-type substation road planning device comprises:
the terrain acquisition module A01 is used for acquiring the terrain information of the area to be planned; wherein the area to be planned comprises a main road;
the area determining module A02 is used for determining an arrangeable area of the box-section road in the area to be planned based on the terrain information;
and the road planning module A03 is used for determining the box transformer substation road of the box transformer substation to be laid from the layout area according to the topographic information in the layout area, the road position information of the main road and the box transformer substation position information of the box transformer substation to be laid.
Optionally, the road planning module a03 is further configured to:
determining a box transformer point distance set from the arrangeable area according to the topographic information in the arrangeable area and the box transformer position information of the box transformer to be laid; wherein the box-section variable-point distance set includes a connectable-line distance value in the arrangeable area between box-section variable-point coordinates in the box-section variable-point position information;
constructing a main road distance set according to the topographic information in the arrangeable area, the road position information of the main road and the box position information; the main road distance set comprises nearest connectable line distance values from the coordinates of the box transformer points to each main road in the road position information;
And determining the box transformer road on which the box transformer is to be laid according to the box transformer point distance set and the main road distance set.
Optionally, the road planning module a03 is further configured to:
determining box transformer point coordinates from the arrangeable area according to the arrangeable area and box transformer position information of the box transformer to be laid;
dividing the arrangeable area based on a preset gradient step size dividing rule and gradient values in the arrangeable area to obtain a partition area; the preset step length dividing rule refers to area division based on a preset gradient step length;
determining a connectable distance value between each box-section point coordinate and other box-section point coordinates as a first starting point coordinate based on the partition area; wherein the other box-section point coordinates refer to box-section point coordinates other than the first starting point coordinates;
a box-section distance set is constructed based on the link distance values determined for each of the first start point coordinates.
Optionally, the road planning module a03 is further configured to:
in the case where the box-section mounting point coordinates are in the arrangeable area, then the box-section mounting point coordinates are regarded as box-section point coordinates;
Determining a nearest region coordinate point of the box-section mounting point coordinate and taking the nearest region coordinate point as a box-section point coordinate under the condition that the box-section mounting point coordinate is outside the arrangeable region; wherein the nearest region coordinate point includes coordinates in the arrangeable region nearest to the box-section mounting point coordinates.
Optionally, the road planning module a03 is further configured to:
determining connection line information between each box transformer point coordinate and other box transformer point coordinates as a first starting point coordinate based on the partition area; the connection information refers to information of linear connection between two points;
if the connection information is matched with a preset connection-enabled condition, sequentially determining the partition area through which the connection information passes as a target partition area; the preset connectable condition refers to that straight lines connected in a straight line completely pass through the subarea area;
determining a two-dimensional distance value of the connection information in the target partition area, and determining a height difference value between the target partition area and a next target partition area based on the gradient value;
sequentially determining three-dimensional distance values of the height difference value and the two-dimensional distance value based on the connection information, and taking the sum of the three-dimensional distance values as a connectable distance value; wherein the three-dimensional distance value refers to a value of a power of half of a sum of squares of the height difference value and the two-dimensional distance value;
If the connection information is not matched with the preset connection-possible condition, updating the connection information based on a preset connection mode, and executing the step of sequentially determining the partition area through which the connection information passes as a target partition area; the preset connection mode refers to a connection mode based on characteristic points on boundary lines of the partition area.
Optionally, the road planning module a03 is further configured to:
determining the subarea area based on the topographic information in the arrangeable area, and determining a minimum link distance value between the subarea area and a road coordinate point of each main road for each box-change point coordinate as a second starting point coordinate;
constructing a main road distance set according to the minimum connecting line distance value determined by each second starting point coordinate and the starting point coordinates of the connectable line segments of the minimum connecting line distance value; the starting point coordinates comprise starting point coordinates and end point coordinates of the connectable line segments.
Optionally, the road planning module a03 is further configured to:
determining a first distance value in the box-section variable point distance set by taking each box-section variable point coordinate as a point coordinate to be planned; the first distance value refers to the minimum connectable distance value of the coordinates of the points to be planned in the box-section variable point distance set;
Determining a second distance value of the coordinates of the point to be planned in the main road distance set; the second distance value refers to the minimum nearest connectable line distance value of the coordinates of the point to be planned in the main road distance set;
determining a smaller value of the second distance value and the first distance value as a road distance value of the point coordinates to be planned, and determining a target connecting line corresponding to the road distance value;
and taking the target connecting line determined according to the coordinates of each point to be planned as the box transformer road of the box transformer to be laid.
Optionally, the area determining module a02 is further configured to:
detecting whether the gradient slope direction value of each grid meets a preset road arrangement condition or not; the road arrangement conditions are preset, wherein the road arrangement conditions comprise that gradient values are smaller than preset angle values under different gradient values;
if the gradient slope value of the grid meets a preset road arrangement condition, the grid is used as an arrangeable road grid;
if the gradient slope value of the grid does not meet the preset road arrangement condition, the grid is used as an undeployable road grid;
and determining the arrangeable area of the arrangeable box-change road according to the arrangeable road grid.
Optionally, the area determining module a02 is further configured to:
merging the arrangeable road grids based on a preset grid merging rule to obtain an arrangeable road grid set; the preset grid merging rules refer to merging adjacent arrangeable road grids;
if one of the arrangeable road grid sets exists, the arrangeable road grid set is used as an arrangeable area of the arrangeable box-change road;
if a plurality of the arrangeable road grid sets exist, combining the arrangeable road grid sets based on a preset grid set and rules to obtain an arrangeable area capable of arranging the box-section road; the preset grid set and rule means that the arrangeable road grid sets with the distance between the arrangeable road grid sets smaller than a preset distance threshold value are combined.
The method executed by each program module may refer to each embodiment of the road planning method for the box transformer substation according to the present invention, and will not be described herein.
The present invention also provides an electronic device including:
at least one processor;
a memory communicatively coupled to the at least one processor;
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the steps of the case change road planning method described above.
The invention also provides a storage medium.
The storage medium of the invention stores a box-section road planning program which, when executed by a processor, implements the steps of the box-section road planning method described above.
The method implemented when the case-change road planning program running on the processor is executed may refer to various embodiments of the case-change road planning method of the present invention, which are not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as described above, comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (12)

1. The box transformer substation road planning method is characterized by comprising the following steps of:
Obtaining topographic information of an area to be planned; wherein the area to be planned comprises a main road;
determining an arrangeable area of the box-section road in the area to be planned based on the terrain information;
and determining the box transformer substation road of the box transformer substation to be laid from the layout area according to the terrain information in the layout area, the road position information of the main road and the box transformer substation position information of the box transformer substation to be laid.
2. The case-change road planning method according to claim 1, wherein the step of determining the case-change road of the case-change to be laid out from the layout-able area based on the topographic information in the layout-able area, the road position information of the main road, and the case-change position information of the case-change to be laid out, comprises:
determining a box transformer point distance set from the arrangeable area according to the topographic information in the arrangeable area and the box transformer position information of the box transformer to be laid; wherein the box-section variable-point distance set includes a connectable-line distance value in the arrangeable area between box-section variable-point coordinates in the box-section variable-point position information;
constructing a main road distance set according to the topographic information in the arrangeable area, the road position information of the main road and the box position information; the main road distance set comprises nearest connectable line distance values from the coordinates of the box transformer points to each main road in the road position information;
And determining the box transformer road on which the box transformer is to be laid according to the box transformer point distance set and the main road distance set.
3. The case-change road planning method according to claim 2, wherein the terrain information in the arrangeable area includes a gradient value, and the step of determining a case-change-point distance set from the arrangeable area based on the terrain information in the arrangeable area and case-change position information of a case change to be laid out includes:
determining box transformer point coordinates from the arrangeable area according to the arrangeable area and box transformer position information of the box transformer to be laid;
dividing the arrangeable area based on a preset gradient step size dividing rule and gradient values in the arrangeable area to obtain a partition area; the preset step length dividing rule refers to area division based on a preset gradient step length;
determining a connectable distance value between each box-section point coordinate and other box-section point coordinates as a first starting point coordinate based on the partition area; wherein the other box-section point coordinates refer to box-section point coordinates other than the first starting point coordinates;
a box-section distance set is constructed based on the link distance values determined for each of the first start point coordinates.
4. A box-section road planning method according to claim 3, wherein the box-section position information includes box-section mounting point coordinates, and the step of determining box-section point coordinates from the arrangeable area based on the arrangeable area and the box-section position information of the box section to be laid out includes:
in the case where the box-section mounting point coordinates are in the arrangeable area, then the box-section mounting point coordinates are regarded as box-section point coordinates;
determining a nearest region coordinate point of the box-section mounting point coordinate and taking the nearest region coordinate point as a box-section point coordinate under the condition that the box-section mounting point coordinate is outside the arrangeable region; wherein the nearest region coordinate point includes coordinates in the arrangeable region nearest to the box-section mounting point coordinates.
5. A box-section road planning method according to claim 3, wherein the step of determining, for each box-section point coordinate as a first point coordinate, a value of a connectable distance from other box-section point coordinates based on the partitioned area, comprises:
determining connection line information between each box transformer point coordinate and other box transformer point coordinates as a first starting point coordinate based on the partition area; the connection information refers to information of linear connection between two points;
If the connection information is matched with a preset connection-enabled condition, sequentially determining the partition area through which the connection information passes as a target partition area; the preset connectable condition refers to that straight lines connected in a straight line completely pass through the subarea area;
determining a two-dimensional distance value of the connection information in the target partition area, and determining a height difference value between the target partition area and a next target partition area based on the gradient value;
sequentially determining three-dimensional distance values of the height difference value and the two-dimensional distance value based on the connection information, and taking the sum of the three-dimensional distance values as a connectable distance value; wherein the three-dimensional distance value refers to a value of a power of half of a sum of squares of the height difference value and the two-dimensional distance value;
if the connection information is not matched with the preset connection-possible condition, updating the connection information based on a preset connection mode, and executing the step of sequentially determining the partition area through which the connection information passes as a target partition area; the preset connection mode refers to a connection mode based on characteristic points on boundary lines of the partition area.
6. The case-change road planning method according to claim 5, wherein the road position information includes road coordinate points of each main road of the area to be planned, and the step of constructing a main road distance set from the topographic information in the arrangeable area, the road position information of the main road, and the case-change position information includes:
determining the subarea area based on the topographic information in the arrangeable area, and determining a minimum link distance value between the subarea area and a road coordinate point of each main road for each box-change point coordinate as a second starting point coordinate;
constructing a main road distance set according to the minimum connecting line distance value determined by each second starting point coordinate and the starting point coordinates of the connectable line segments of the minimum connecting line distance value; the starting point coordinates comprise starting point coordinates and end point coordinates of the connectable line segments.
7. The case-change road planning method according to claim 2, wherein the step of determining the case-change road on which the case-change is to be laid from the case-change point distance set and the main road distance set includes:
determining a first distance value in the box-section variable point distance set by taking each box-section variable point coordinate as a point coordinate to be planned; the first distance value refers to the minimum connectable distance value of the coordinates of the points to be planned in the box-section variable point distance set;
Determining a second distance value of the coordinates of the point to be planned in the main road distance set; the second distance value refers to the minimum nearest connectable line distance value of the coordinates of the point to be planned in the main road distance set;
determining a smaller value of the second distance value and the first distance value as a road distance value of the point coordinates to be planned, and determining a target connecting line corresponding to the road distance value;
and taking the target connecting line determined according to the coordinates of each point to be planned as the box transformer road of the box transformer to be laid.
8. The case-change road planning method according to claim 1, wherein the terrain information includes a plurality of grids including gradient slope values, and the step of determining an arrangeable area of the case-change road within the area to be planned based on the terrain information includes:
detecting whether the gradient slope direction value of each grid meets a preset road arrangement condition or not; the road arrangement conditions are preset, wherein the road arrangement conditions comprise that gradient values are smaller than preset angle values under different gradient values;
if the gradient slope value of the grid meets a preset road arrangement condition, the grid is used as an arrangeable road grid;
If the gradient slope value of the grid does not meet the preset road arrangement condition, the grid is used as an undeployable road grid;
and determining the arrangeable area of the arrangeable box-change road according to the arrangeable road grid.
9. The case-change road planning method according to claim 8, wherein the step of determining an arrangeable area of an arrangeable case-change road from the arrangeable road grid includes:
merging the arrangeable road grids based on a preset grid merging rule to obtain an arrangeable road grid set; the preset grid merging rules refer to merging adjacent arrangeable road grids;
if one of the arrangeable road grid sets exists, the arrangeable road grid set is used as an arrangeable area of the arrangeable box-change road;
if a plurality of the arrangeable road grid sets exist, combining the arrangeable road grid sets based on a preset grid set and rules to obtain an arrangeable area capable of arranging the box-section road; the preset grid set and rule means that the arrangeable road grid sets with the distance between the arrangeable road grid sets smaller than a preset distance threshold value are combined.
10. A box-section road planning apparatus, characterized in that the box-section road planning apparatus comprises:
the terrain acquisition module is used for acquiring the terrain information of the area to be planned; wherein the area to be planned comprises a main road;
the area determining module is used for determining an arrangeable area of the box-section road in the area to be planned based on the terrain information;
and the road planning module is used for determining the box transformer substation road to be laid out from the layout area according to the topographic information in the layout area, the road position information of the main road and the box transformer substation position information of the box transformer substation to be laid out.
11. An electronic device, the electronic device comprising:
at least one processor;
a memory communicatively coupled to the at least one processor;
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the steps of the tank road planning method of any one of claims 1 to 9.
12. A storage medium, characterized in that the storage medium has stored thereon a program for realizing the box-section road planning method, the program for realizing the box-section road planning method being executed by a processor to realize the steps of the box-section road planning method according to any one of claims 1 to 9.
CN202311079025.0A 2023-08-24 2023-08-24 Box transformer road planning method, device, electronic equipment and storage medium Pending CN117272557A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311079025.0A CN117272557A (en) 2023-08-24 2023-08-24 Box transformer road planning method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311079025.0A CN117272557A (en) 2023-08-24 2023-08-24 Box transformer road planning method, device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117272557A true CN117272557A (en) 2023-12-22

Family

ID=89208649

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311079025.0A Pending CN117272557A (en) 2023-08-24 2023-08-24 Box transformer road planning method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117272557A (en)

Similar Documents

Publication Publication Date Title
CN111060109B (en) Unmanned ship global path planning method based on improved A-star algorithm
CN104850011B (en) A kind of TSP avoidances optimum path planning method in obstacle environment
CN108665117B (en) Calculation method and device for shortest indoor space path, terminal equipment and storage medium
CN106934487B (en) Three-dimensional space laying path optimization method for multiple cables
CN102662179A (en) Three-dimensional optimizing route selection method based on airborne laser radar
EP4116935A2 (en) High-definition map creation method and device, and electronic device
CN112308969B (en) Three-dimensional map generation method and device
CN111339692A (en) Laser point cloud data-based power line sag determination method and device
JP2020042793A (en) Obstacle distribution simulation method, device, and terminal based on probability plot
CN112332306A (en) Automatic cable laying method and storage medium
CN115270693A (en) 135-degree PCB area wiring method based on dynamic grid
CN114018239A (en) Three-dimensional lane map construction method, device, equipment and storage medium
CN103177300A (en) Tower positioning method for transmission line
CN109460564B (en) Power grid tidal current graph wiring method
CN117272557A (en) Box transformer road planning method, device, electronic equipment and storage medium
CN110045723A (en) A kind of guidance unmanned machine reaches the method and system of target position
CN115688341A (en) Distribution network thematic map layout method based on multi-branch tree collision detection and storage medium
CN103582042B (en) A kind of method and apparatus determining adjacent area
CN111426329B (en) Road generation method and device, computer equipment and storage medium
CN113884036A (en) Coordinate conversion method and device, electronic equipment and storage medium
CN112163056A (en) Ground object insertion method based on path diagram
Matrood et al. A simple gis based method for designing fiber-network
CN115314907B (en) 5G base station position determining method and device
CN115096313B (en) Data processing method and device for regional obstacle avoidance
CN117128974B (en) Navigation route searching method and device

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