Road planning method, device and equipment for mountain photovoltaic power station, medium and product
By acquiring elevation data of mountain photovoltaic power stations and existing roads, a road network connecting the region and the outside world was constructed, solving the problem of time-consuming and labor-intensive manual experience-based planning in existing technologies and achieving efficient road planning.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- HEFEI SUNGROW RENEWABLE ENERGY SCI & TECH CO LTD
- Filing Date
- 2024-10-30
- Publication Date
- 2026-05-01
AI Technical Summary
In mountain photovoltaic power stations, existing technologies rely on human experience for road planning, which is time-consuming, labor-intensive, and difficult to obtain high-quality road planning results, especially in areas with complex terrain and scattered resources.
By acquiring elevation data of each planned area of the mountain photovoltaic power station, and using existing roads and elevation data for road planning, connecting roads are constructed within and between areas to form the overall planned road network.
It saves labor costs, improves the efficiency and effectiveness of road planning, and ensures the overall planned roads that connect photovoltaic devices.
Smart Images

Figure CN121960908A_ABST
Abstract
Description
Road planning methods, devices, equipment, media and products for mountain photovoltaic power stations Technical Field
[0001] This application relates to the field of road design technology, and in particular to a road planning method, device, equipment, medium and product for a mountain photovoltaic power station. Background Technology
[0002] In the layout and planning of photovoltaic power plants, road planning has always been one of the unavoidable challenges, especially for road planning technology in complex scenarios such as mountainous areas, which currently faces several problems and challenges. These are mainly manifested in complex terrain, lack of resources, and relatively dispersed areas.
[0003] Currently, in mountainous photovoltaic power stations, mountain roads mostly rely on manual experience. Road planning and design are conducted using 3D visualization and terrain simulation technologies, taking into account the location of the photovoltaic transformers and the terrain, contour lines, and other factors. Relying on manual design for power station roads is not only time-consuming and labor-intensive, but also does not necessarily yield optimal road planning and design results. Summary of the Invention
[0004] This application provides a road planning method, device, equipment, medium, and product for mountain photovoltaic power stations. It can plan roads within and between multiple areas to be planned based on the elevation data of the mountains, overcome the drawbacks of road planning based on human experience, save labor costs, and improve the efficiency and effectiveness of road planning.
[0005] In a first aspect, embodiments of this application provide a road planning method for a mountain photovoltaic power station, including:
[0006] Obtain elevation data for each planned area corresponding to the mountain photovoltaic power station;
[0007] For each of the areas to be planned, road planning is carried out for the photovoltaic equipment in the area based on the elevation data and existing roads to obtain the through roads in the area;
[0008] For each unconnected area to be planned, road planning is carried out between the connecting roads within the corresponding areas to obtain the connecting roads between the areas;
[0009] The overall planned road network for the mountain photovoltaic power station is composed of the connecting roads within each of the aforementioned areas and the connecting roads between the aforementioned areas.
[0010] Secondly, embodiments of this application provide a road planning device for a mountain photovoltaic power station, comprising:
[0011] The elevation data acquisition module is used to acquire elevation data for each planned area corresponding to the mountain photovoltaic power station;
[0012] The regional road planning module is used to plan roads for photovoltaic equipment in each of the areas to be planned based on the elevation data and existing roads, so as to obtain the through roads in the area.
[0013] The inter-regional road planning module is used to plan roads between inter-regional connecting roads in each unconnected area to be planned, thereby obtaining inter-regional connecting roads.
[0014] The overall road generation module is used to construct the overall planned road network for the mountain photovoltaic power station based on the connecting roads within each region and the connecting roads between each region.
[0015] Thirdly, embodiments of this application provide an electronic device, the electronic device comprising:
[0016] At least one processor; and
[0017] A memory communicatively connected to the at least one processor; wherein,
[0018] The memory stores a computer program that can be executed by the at least one processor, which enables the at least one processor to perform the road planning method for mountain photovoltaic power stations according to any embodiment of this application.
[0019] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer instructions that, when executed by a processor, implement the road planning method for a mountain photovoltaic power station according to any embodiment of this application.
[0020] Fifthly, embodiments of this application provide a computer program product including a computer program that, when executed by a processor, implements the road planning method for mountain photovoltaic power stations described in any embodiment of this application.
[0021] The technical solution of this application embodiment obtains the elevation data of each planned area corresponding to a mountain photovoltaic power station; for each planned area, road planning is performed on the photovoltaic equipment within the planned area based on the elevation data and existing roads to obtain the connecting roads within the area; road planning is performed between the connecting roads within the areas corresponding to the unconnected planned areas to obtain the connecting roads between areas; and the overall planned road for the mountain photovoltaic power station is constructed based on the connecting roads within each area and the connecting roads between areas. This fully utilizes existing roads and performs road planning within and between discrete planned areas based on elevation data to obtain the overall planned road connecting the photovoltaic equipment in the mountain photovoltaic power station. This solves the problem that existing technologies mainly rely on manual design of power station roads, which is not only time-consuming and labor-intensive but also does not necessarily yield optimal road planning and design results. It saves labor costs and improves the efficiency and effectiveness of road planning.
[0022] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this application, nor is it intended to limit the scope of this application. Other features of this application will become readily apparent from the following description. Attached Figure Description
[0023] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0024] Figure 1 is a flowchart of a road planning method for a mountain photovoltaic power station provided in an embodiment of this application;
[0025] Figure 2 is a schematic diagram of an existing road provided in an embodiment of this application;
[0026] Figure 3 is a flowchart of a road planning method for a mountain photovoltaic power station provided in an embodiment of this application;
[0027] Figure 4 is a schematic diagram illustrating the principle of another photovoltaic device for road planning to the nearest existing road provided in an embodiment of this application;
[0028] Figure 5 is a flowchart of another road planning method for a mountain photovoltaic power station provided in an embodiment of this application;
[0029] Figure 6 is a schematic diagram of a road planning device for a mountain photovoltaic power station provided in an embodiment of this application;
[0030] Figure 7 is a schematic diagram of the electronic device for implementing the road planning method for a mountain photovoltaic power station according to an embodiment of this application. Detailed Implementation
[0031] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0032] It should be noted that the terms "first," "second," and "third," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0033] Figure 1 is a flowchart of a road planning method for a mountain photovoltaic power station provided in an embodiment of this application. This embodiment is applicable to road planning for photovoltaic power stations in mountainous areas. The method can be executed by a road planning device for the mountain photovoltaic power station, which can be implemented in hardware and / or software and can be configured in an electronic device. As shown in Figure 1, the method includes:
[0034] S110. Obtain elevation data for each planned area corresponding to the mountain photovoltaic power station.
[0035] In this context, "mountain photovoltaic power station" refers to a photovoltaic power station built in a mountainous environment. "Planned area" refers to an area awaiting road planning, generally an area approved by relevant departments for both photovoltaic power station construction and road planning. A planned area may include one or more photovoltaic devices, which can be understood as the equipment included in a photovoltaic power station, primarily including box-type transformers (referred to as box-type transformers) and step-up transformer substations. For example, a planned area may contain one step-up transformer substation, multiple box-type transformers, or both.
[0036] Elevation data is a set of elevation measurements distributed across the land surface. It is a digital representation of the Earth's topography and is used to describe various geomorphic factors, including elevation, such as slope, aspect, and rate of change of slope.
[0037] Specifically, for areas to be planned that are within the coverage of available elevation data, the elevation data of the area to be planned can be obtained directly. For areas to be planned that are not within the coverage of available elevation data, a triangulation network can be constructed based on the boundary of the area to be planned and the intersection of the elevation data coverage area. Elevation information is then calculated based on the constructed triangulation network to complete the elevation data within the area to be planned.
[0038] S120. For each area to be planned, road planning is carried out for the photovoltaic equipment in the area based on elevation data and existing roads to obtain the through roads in the area.
[0039] In this context, "existing roads" can be understood as roads that already exist within the area to be planned. In this embodiment, an existing road is defined as a continuous, uninterrupted road. An existing road may have multiple branches, but these branches are interconnected. Figure 2 is a schematic diagram of an existing road provided in Embodiment 1 of this application, which includes two existing roads: Road 1 and Road 2. A through road within an area can be understood as a road that runs through a single area to be planned.
[0040] Specifically, in order to minimize the length of planned roads, it is necessary to make full use of existing roads within the planned area. Within each planned area, road planning is carried out between the photovoltaic devices based on elevation data and existing roads. This results in interconnected roads connecting the photovoltaic devices within the planned area with existing roads, ensuring that there is at least one road that can reach from one photovoltaic device to another within the planned area.
[0041] It should be noted that it is unavoidable that there may be situations where no existing roads exist within the area to be planned. In such cases, a photovoltaic (PV) device can be randomly selected or selected according to certain rules within the area to be planned as the starting point of an existing road. This starting point, along with one of the PV devices, will then be used to plan the road and form an existing road. The rules for selecting a PV device as the road starting point can be as follows: 1) Select a PV device from the set with the most device data in the PV device cluster; 2) If the PV devices in the area to be planned include a step-up transformer station, then the step-up transformer station will be used as the road starting point; 3) Select the PV device in the area to be planned that is closest to an existing road in another area to be planned as the starting point of the existing road in that area.
[0042] S130. For each unconnected area to be planned, road planning is carried out between the connecting roads within the corresponding areas to obtain the first connecting road between areas.
[0043] Inter-regional connecting roads can be understood as roads used to connect different planned areas, meaning that inter-regional connecting roads must be connected to intra-regional connecting roads in at least two different planned areas.
[0044] Specifically, in the case of multiple areas to be planned, if there are at least two areas to be planned whose regional connecting roads are not connected to each other, then road planning is carried out between the unconnected areas based on the regional connecting roads corresponding to the unconnected areas to be planned, so as to obtain the inter-regional connecting roads that connect the relevant areas to be planned.
[0045] For example, if the planned area A and the planned area B are not connected, a road is planned between the connecting roads in the planned area A and the connecting roads in the planned area B to connect the planned areas A and B.
[0046] It should be noted that elevation data may exist between the various areas to be planned, or some elevation data may be missing. Missing elevation data can be supplemented before planning inter-area roads, or...
[0047] S140, the overall planned road network for the mountain photovoltaic power station is composed of the connecting roads within each region and the connecting roads between each region.
[0048] The overall planned road can be understood as the planned road connecting all photovoltaic equipment within the mountain photovoltaic power station.
[0049] Specifically, the regional connecting roads within each planned area of the mountain photovoltaic power station and the inter-regional connecting roads between planned areas constitute a unified overall planned road network.
[0050] The technical solution of this application embodiment obtains the elevation data of each planned area corresponding to a mountain photovoltaic power station; for each planned area, road planning is performed on the photovoltaic equipment within the planned area based on the elevation data and existing roads to obtain the connecting roads within the area; road planning is performed between the connecting roads within the areas corresponding to the unconnected planned areas to obtain the connecting roads between areas; and the overall planned road network for the mountain photovoltaic power station is constructed based on the connecting roads within each area and the connecting roads between areas. This fully utilizes existing roads and performs road planning within and between discrete planned areas based on elevation data to obtain the overall planned road network connecting the photovoltaic equipment of the mountain photovoltaic power station, saving labor costs and improving the efficiency and effectiveness of road planning.
[0051] Figure 3 is a flowchart of another road planning method for a mountain photovoltaic power station provided in this application embodiment. This embodiment further refines the planning method for connecting roads within the region based on the above embodiment. Specifically, for each of the planned areas, the steps of planning roads for photovoltaic equipment within the planned area based on the elevation data and existing roads to obtain connecting roads within the region include: for each planned area, determining whether there are existing roads within the planned area; wherein, the photovoltaic equipment includes: box-type substations and / or step-up transformer stations; if there are no existing roads, then selecting a photovoltaic equipment from the planned area as the starting point of an existing road, and planning roads from the photovoltaic equipment in the planned area to the starting point of the existing road based on the elevation data to obtain an initial planned road, and merging the initial planned road into the existing road; if there are existing roads, then planning roads from each photovoltaic equipment in the planned area to the nearest existing road based on the elevation data to obtain a single-equipment planned road, and merging the single-equipment planned road into the nearest connected existing road; connecting the existing roads in the planned area to obtain connecting roads within the region.
[0052] As shown in Figure 3, the method includes:
[0053] S210. Obtain elevation data for each planned area corresponding to the mountain photovoltaic power station.
[0054] S220. For each area to be planned, determine whether there are existing roads within the area to be planned.
[0055] For example, the method to determine whether there are existing roads in the area to be planned can be as follows: obtain the location point set of the area to be planned from the map data of the mountain photovoltaic power station, obtain the location point set of the existing roads, and calculate the intersection of the location point set of the area to be planned and the location point set of the existing roads; if the location point set of the existing roads is equal to the location point set of the existing roads, then it is determined that there are existing roads in the area to be planned; otherwise, it is determined that there are no existing roads in the area to be planned.
[0056] S230. If no existing road exists, select a photovoltaic device within the area to be planned as the starting point of the existing road. Based on the elevation data, plan the road from the photovoltaic device within the area to be planned to the starting point of the existing road to obtain the initial planned road, and then merge the initial planned road into the existing road.
[0057] The initial planned road can be understood as the first road planned within the area to be planned.
[0058] Specifically, if no existing road exists within the planning area, a photovoltaic device is selected as the starting point of an existing road within the planning area. Based on the elevation data of the planning area, road planning is performed from the photovoltaic device within the planning area to the starting point of the existing road to obtain an initial planned road. This initial planned road is then merged into the existing road to obtain an existing road, and the process returns to execute S220. At this point, it is determined that an existing road exists within the planning area, and S240 continues to be executed.
[0059] In an optional embodiment, the step of selecting a photovoltaic device from the area to be planned as the starting point of an existing road includes: clustering the photovoltaic devices in the area to be planned to obtain multiple first photovoltaic device sets; and randomly selecting a photovoltaic device from the first photovoltaic device set containing the largest number of photovoltaic devices as the starting point of the existing road.
[0060] The first photovoltaic equipment set can be understood as the set obtained by clustering the photovoltaic equipment in the planning area.
[0061] Specifically, to minimize the overall road length, in areas where no existing roads exist within the planning area, the starting point of the road is chosen from a region with a high concentration of photovoltaic (PV) devices. This allows more PV devices to connect to existing roads via shorter planned roads. Therefore, the PV devices within the planning area are clustered to obtain multiple first PV device sets. A PV device is randomly selected from the first PV device set with the largest number of devices as the starting point of the existing road.
[0062] Based on the above embodiments, the step of planning roads from photovoltaic devices in the planning area to the starting point of existing roads according to the elevation data of the planning area to obtain the initial planned roads may include: determining a preset number of photovoltaic devices that are closest to the starting point of existing roads in a straight line from the first photovoltaic device set containing the largest number of photovoltaic devices; planning roads between the preset number of photovoltaic devices and the starting point of existing roads according to the elevation data to obtain the paths between the preset number of photovoltaic devices and the starting point; and determining the shortest path as the initial planned road.
[0063] S240. If there are existing roads, then according to the elevation data, road planning is carried out from each photovoltaic device in the planning area to the nearest existing road to obtain the single device planning road, and the single device planning road is merged into the nearest existing road that is connected.
[0064] Among them, a single-device planned road can be understood as a planned road that connects a single photovoltaic device to an existing road.
[0065] Specifically, if existing roads exist within the planning area, each photovoltaic device will be connected to an existing road to make full use of them. Therefore, road planning is performed sequentially based on elevation data to the nearest existing road for each photovoltaic device within the planning area, resulting in individual device planned roads. These individual device planned roads are then incorporated into the nearest connected existing roads.
[0066] It is understandable that the road planning process from each photovoltaic device to the nearest existing road is executed sequentially. After obtaining the planned road for a single device each time, the planned road for that single device will be assigned to the nearest existing road it connects to, thus giving it the opportunity to be used as the nearest existing road for the next photovoltaic device in road planning.
[0067] S250: Connect all existing roads within the planning area to obtain a connecting road network within the area.
[0068] Specifically, after each photovoltaic device within the planned area is connected to the nearest existing road, there may still be multiple separate existing roads within that area, meaning the existing roads within the planned area are not interconnected. Therefore, it is necessary to connect these existing roads within the planned area to obtain a connecting road network. The core idea of connecting roads within the planned area lies in road planning between two non-connected existing roads.
[0069] In an optional embodiment, the step of connecting the existing roads in the area to be planned to obtain a connecting road within the area includes: if there is only one existing road in the area to be planned, then the existing road is determined as the connecting road within the area; if there are multiple unconnected existing roads in the area to be planned, then road planning is performed between the unconnected existing roads based on the elevation data to obtain connecting roads between existing roads, and the connecting roads within the area are constructed based on the existing roads and the connecting roads between existing roads.
[0070] Among them, the connecting roads between existing roads can be understood as roads used to connect different existing roads.
[0071] Specifically, if there is only one existing road within the planning area, then that existing road is undoubtedly the connecting road within the area. If there is more than one existing road within the planning area, then according to the definition of an existing road, these multiple existing roads must not be connected. Therefore, it is necessary to plan roads between the non-connected existing roads based on the elevation data of the planning area to determine the connecting roads between them. All non-connected existing roads within the planning area are then connected in pairs to obtain multiple connecting roads between existing roads. These multiple connecting roads, along with the individual existing roads, form the connecting roads within the planning area.
[0072] S260. For each unconnected area to be planned, road planning is carried out between the connecting roads within the area to obtain the connecting roads between the areas.
[0073] S270, the overall planned road network for the mountain photovoltaic power station is composed of the connecting roads within each region and the connecting roads between each region.
[0074] The technical solution of this application embodiment obtains the elevation data of each planned area corresponding to the mountain photovoltaic power station; for each planned area, it determines whether there is an existing road within the planned area; if no existing road exists, a photovoltaic device is selected from the planned area as the starting point of an existing road, and road planning is performed from the photovoltaic device in the planned area to the starting point of the existing road based on the elevation data to obtain an initial planned road, which is then incorporated into the existing road; if an existing road exists, road planning is performed sequentially from each photovoltaic device in the planned area to the nearest existing road based on the elevation data to obtain a single-device planned road, which is then incorporated into the nearest connected existing road; and the existing roads in the planned area are connected to obtain a connecting road within the area. By making full use of the nearest existing road and performing road planning within and between discrete multiple planned areas based on elevation data, the total planned road connecting the photovoltaic devices of the mountain photovoltaic power station is obtained, reducing the length of the planned road, saving labor costs, and improving the efficiency and effectiveness of road planning.
[0075] Based on the above optional embodiments, the step of performing road planning from each photovoltaic device in the area to be planned to the nearest existing road according to the elevation data, obtaining a single-device planned road, and merging the single-device planned road into the nearest connected existing road includes:
[0076] S241. Cluster the photovoltaic devices in the area to be planned that are not connected to the existing roads to obtain multiple second photovoltaic device sets.
[0077] The second photovoltaic equipment set can be understood as a set obtained by clustering photovoltaic equipment that is not connected to existing roads.
[0078] Specifically, during the process of connecting photovoltaic (PV) devices within the planned area to existing roads, in order to further reduce the total length of the planned roads, it is necessary to determine the order in which the PV devices participate in road planning based on their clustering degree. Therefore, in this embodiment, the PV devices within the planned area that are not connected to existing roads are first clustered to obtain multiple second PV device sets, so that the order of road planning can be determined based on the clustering degree of the PV devices.
[0079] S242. Obtain each current photovoltaic device set in descending order of the number of elements contained in each second photovoltaic device set.
[0080] Here, the current photovoltaic equipment set can be understood as the set of photovoltaic equipment participating in the current round of road planning. In this embodiment, the current photovoltaic equipment set is the second photovoltaic equipment set that has not undergone road planning and contains the largest number of elements.
[0081] Specifically, in order to minimize the total length of road planning within the region, the current photovoltaic equipment sets participating in road planning are determined sequentially according to the descending order of the number of elements contained in each second photovoltaic equipment set. This prioritizes road planning in areas where photovoltaic equipment is concentrated, reducing the planned road length for photovoltaic equipment with a large number of units in the concentrated area. At the same time, it provides closer existing roads for road planning of other photovoltaic equipment in the concentrated area, thereby reducing the total length of road planning within the region.
[0082] S243. Based on the neighborhood search algorithm and elevation data, road planning is performed sequentially for each photovoltaic device in the current photovoltaic device cluster to the nearest existing road, so as to obtain the single-device planned road for each photovoltaic device.
[0083] Among them, the neighborhood search algorithm can be an n-neighborhood search algorithm, such as an 8-neighborhood search algorithm.
[0084] In this embodiment, straight lines are drawn from each photovoltaic device in the current photovoltaic device cluster to the nearest existing road, and a neighborhood search is performed along the straight lines based on elevation data to finally obtain the single-device planned road for each photovoltaic device in the current photovoltaic device cluster.
[0085] S244. Return to the step of sequentially obtaining each current photovoltaic device set in descending order of the number of elements contained in each of the second photovoltaic device sets, until the single-device planning road from all photovoltaic devices in the second photovoltaic device sets within the area to be planned to the nearest existing road is completed.
[0086] Specifically, after the photovoltaic devices in the second photovoltaic device set complete road planning and obtain the corresponding single-device planned roads, the process returns to step S242. Each second photovoltaic device set is then sequentially retrieved in descending order of the number of elements it contains, and the second photovoltaic device set with the lowest element count is selected as the current photovoltaic device set. Steps S243 and S244 continue until the single-device planned roads from all photovoltaic devices in the second photovoltaic device set within the planning area to the nearest existing road are completed.
[0087] Based on the above optional embodiments, S243, the step of sequentially planning roads from each photovoltaic device in the current photovoltaic device set to the nearest existing road based on the neighborhood search algorithm and the elevation data, to obtain the single-device planned road for each photovoltaic device includes:
[0088] S2431. Select a subset of current photovoltaic devices from the current photovoltaic device set according to the ascending order of the straight-line distance between each photovoltaic device in the current photovoltaic device set and the nearest existing road.
[0089] S2432. Based on the neighborhood search algorithm and the elevation data, road planning is performed sequentially for each photovoltaic device in the current photovoltaic device subset to the nearest existing road, so as to obtain the single-device planned road for each photovoltaic device.
[0090] S2433, Incorporate the single-device planned road into the existing road.
[0091] S2434. Return to the step of selecting a subset of current photovoltaic devices from the current set of photovoltaic devices, until the single-device planning road of all photovoltaic devices in the current subset of photovoltaic devices to the nearest existing road is completed.
[0092] The current photovoltaic (PV) equipment subset refers to the PV equipment groups participating in the current round of road planning within the current PV equipment set. The current PV equipment subset is a collection of multiple or a single PV equipment within the current PV equipment set that has not yet undergone road planning and has the shortest straight-line distance to the nearest existing road. The number of PV equipment participating in road planning, set in the first preset quantity, can be determined based on actual needs.
[0093] Specifically, to further reduce the overall planned road length, photovoltaic (PV) devices with the shortest possible road distance in the current PV device cluster are prioritized for road planning. However, in complex mountainous environments, due to slopes, it is difficult to determine which PV device has the shortest actual path to the nearest existing road based solely on straight-line distance. Therefore, this embodiment employs a redundancy strategy, selecting multiple PV devices from the current PV device cluster that have not undergone road planning and have the shortest straight-line distance to the nearest existing road, forming a subset of the current PV devices. Based on a neighborhood search algorithm and elevation data within the planning area, road planning is sequentially performed on each PV device in the current PV device subset to the nearest existing road. The shortest actual path from each PV device to the nearest existing road is used as the single-device planning road for that PV device, thus obtaining the single-device planning road for each PV device to the nearest existing road. After obtaining the single-device planning road for each PV device in the current PV device subset, the single-device planning road is merged into the connected existing road, thereby extending the existing road and potentially making it the nearest existing road for the next PV device in the road planning process. Then, return to step S2431, and select the next subset of current photovoltaic devices from the current photovoltaic device set according to the ascending order of the straight-line distance between each photovoltaic device in the current photovoltaic device set and the nearest existing road. Continue executing S2432 to S2434 until the single-device road planning from all photovoltaic devices in the current photovoltaic device subset to the nearest existing road is completed.
[0094] Optionally, the step of selecting a subset of current photovoltaic devices from the current photovoltaic device set according to the ascending order of the straight-line distance between each photovoltaic device in the current photovoltaic device set and the nearest existing road includes: if the current photovoltaic device set contains more than a first preset number of photovoltaic devices, then determine the first preset number of photovoltaic devices from the current photovoltaic device set according to the ascending order of the straight-line distance between each photovoltaic device in the current photovoltaic device set and the nearest existing road to form a subset of current photovoltaic devices; if the current photovoltaic device set contains no more than the first preset number of photovoltaic devices, then determine the current photovoltaic device set as the subset of current photovoltaic devices.
[0095] Based on the above optional embodiments, S2432, the step of sequentially planning roads from each photovoltaic device in the current photovoltaic device subset to the nearest existing road based on the neighborhood search algorithm and the elevation data, to obtain the single-device planned road for each photovoltaic device, includes:
[0096] S24321. For each current photovoltaic device in the current photovoltaic device subset that has not undergone road planning, draw a straight line to the nearest existing road, and use the second preset number of straight lines with the shortest straight-line distance as the alternative path reference lines for the current photovoltaic device.
[0097] Here, "current photovoltaic equipment" can be understood as each photovoltaic device in the current photovoltaic equipment subset that has not undergone road planning. "Alternative path reference lines" can be understood as the straight lines referenced when generating alternative actual paths. The second preset quantity is the number of alternative path reference lines set, which can be set according to actual needs.
[0098] Specifically, to further reduce the planned path length from each photovoltaic device to the nearest existing road, the shortest actual path between the photovoltaic device and the nearest existing road is used as the planned path. However, due to the slope of the mountainous terrain, it is difficult to determine the shortest actual path between the photovoltaic device and the nearest existing road based solely on straight-line distance. Therefore, this embodiment still employs a redundancy strategy: a straight line is drawn towards the nearest existing road, and a second preset number of straight lines with the shortest straight-line distance are selected as candidate path reference lines for the current photovoltaic device. These lines are then used to further generate candidate actual paths, and their lengths are compared to determine the shortest actual path.
[0099] S24322. For each of the candidate path reference lines, determine the raster elevation map based on the candidate path reference lines and the elevation data.
[0100] Raster elevation maps can be understood as raster maps containing elevation data. They are used to provide raster maps and elevation data for road planning based on neighborhood search algorithms.
[0101] Specifically, in the geodetic coordinate system, the rectangular area covered by the alternative path reference line is used as the raster division area. The raster is divided to obtain the initial raster map, and elevation data is added to the initial raster map to obtain the raster elevation map.
[0102] Optionally, the step of determining the raster elevation map based on the alternative path reference line and the elevation data includes: constructing an circumscribed rectangle based on the coordinates of the two endpoints of the alternative path reference line; dividing the circumscribed rectangle into raster sections to obtain an initial raster map; removing the raster sections occupied by the avoidance zone within the area to be planned from the initial raster map to obtain a target raster map; and adding corresponding elevation data to each raster section of the target raster map to obtain the raster elevation map.
[0103] In this context, the avoidance zone can be understood as an area that needs to be avoided during road planning. This includes areas with obstacles (such as trees and large rocks) or areas where road construction is impossible, such as ponds and streams. The initial raster map can be understood as a raster map without avoidance zones removed and without elevation information. The final raster map can be understood as a raster map after the avoidance zones have been removed.
[0104] Specifically, during the generation of the raster elevation map, removing the grid cells occupied by the avoidance zone can allow the planned roads generated from the raster elevation map to avoid the avoidance zone.
[0105] S24323. Based on the neighborhood search algorithm, determine the undirected edges of each of the candidate path reference lines in the grid elevation map as candidate actual paths.
[0106] Among them, the alternative actual route can be understood as the actual route that is selected, and the actual route can be understood as the route determined based on the terrain of the mountainous area.
[0107] Specifically, in the raster elevation map, based on the theory of undirected graphs, a neighborhood search is performed on the path points contained in each candidate path reference line according to the elevation data contained therein, and the undirected edges corresponding to each candidate path reference line are obtained, and the undirected edges are used as candidate actual paths.
[0108] Optionally, the step of determining the undirected edges of each candidate path reference line in the raster elevation map based on the neighborhood search algorithm as candidate actual paths includes: discretizing each candidate path reference line using the raster size of the raster elevation map as a discrete interval to obtain a candidate path reference sequence; determining the connected raster region formed by the raster where each path point in the candidate path reference sequence is located in the raster elevation map based on the neighborhood search algorithm; determining the connected raster region as an undirected edge, and determining the undirected edge as a candidate actual path.
[0109] S24324. The shortest alternative actual path is taken as the single-device planned path from the current photovoltaic device to the nearest existing road.
[0110] Specifically, after obtaining the candidate actual paths corresponding to each candidate path reference line, the shortest candidate actual path is determined as the single-device planned path from the current photovoltaic device to the nearest existing road. This prioritizes determining the single-device planned path of the photovoltaic device with the shortest actual path length from the current photovoltaic device subset to the nearest existing road. Since the single-device planned path is the shortest actual path, it further ensures that the photovoltaic device with the shortest planned path is given priority in road planning, and the planned path of each photovoltaic device is the shortest, thus reducing the total length of planned roads in the area.
[0111] S24325. Incorporate the single-device planned road into the nearest existing road;
[0112] Specifically, after obtaining the single-device planned road for each photovoltaic device in the current photovoltaic device subset, the single-device planned road is merged into the connected existing road, thereby extending the existing road and giving it the opportunity to be the nearest existing road for the next photovoltaic device to be planned.
[0113] S24326. Return to the execution of the step of drawing a straight line to the nearest existing road for each current photovoltaic device in the current photovoltaic device subset that has not been road-planned, and using the second preset number of straight lines with the shortest straight-line distance as the alternative path reference lines for the current photovoltaic device, until the single-device planning road from all current photovoltaic devices in the current photovoltaic device subset to the nearest existing road is completed.
[0114] Specifically, in actual execution, after completing the road planning for a current photovoltaic device, the current photovoltaic devices in the current photovoltaic device subset that have completed road planning can be deleted. Then, return to execution S24321: for each current photovoltaic device in the current photovoltaic device subset that has not undergone road planning, draw a straight line to the nearest existing road, and use the second preset number of straight lines with the shortest distance as the alternative path reference lines for the current photovoltaic device, obtaining the single-device planning road for the next photovoltaic device, until the single-device planning roads from all current photovoltaic devices in the current photovoltaic device subset to the nearest existing road are completed.
[0115] In a specific example, Figure 4 is a schematic diagram illustrating the principle of road planning from a photovoltaic device to the nearest existing road according to Embodiment 2 of this application. As shown in Figure 4, the current photovoltaic device subset includes photovoltaic devices A, B, and C; the nearest existing road is O. Ten straight lines are drawn from photovoltaic devices A, B, and C to the nearest existing road, and the four lines with the shortest distance are used as the candidate path reference lines for the current photovoltaic devices (Figure 4 only shows the four lines with the shortest distance for each photovoltaic device). The candidate path reference lines for photovoltaic device A are Aa, Ab, Ac, and Ad; the candidate path reference lines for photovoltaic device B are Be, Bf, Bg, and Bh; and the candidate path reference lines for photovoltaic device C are Ci, Cj, Ck, and Cl. The candidate actual paths for each candidate path reference line are determined in the raster elevation map based on a neighborhood search algorithm. The shortest candidate actual path, for example, the candidate actual path corresponding to Be, is used as the single-device planning road for photovoltaic device B. The single-device planning roads for photovoltaic devices A and C are determined in the same way.
[0116] Figure 5 is a flowchart of another road planning method for a mountain photovoltaic power station provided in this application embodiment. This embodiment further refines the planning method for inter-regional connecting roads based on the above embodiments. As shown in Figure 5, the method includes:
[0117] S310. Obtain elevation data for each planned area corresponding to the mountain photovoltaic power station.
[0118] S320. For each area to be planned, road planning is carried out for the photovoltaic equipment in the area based on elevation data and existing roads to obtain the through roads in the area.
[0119] In this embodiment, steps S310 to S320 are the same as in any of the above embodiments, and will not be described again in this embodiment.
[0120] S330. Identify the two unconnected areas that are closest in a straight line from each area to be planned. The areas to be connected include: the first area to be connected and the second area to be connected.
[0121] The areas to be connected can be understood as those that require road planning to connect with other areas to be planned.
[0122] In this embodiment, road planning is performed on pairs of areas to be planned to connect them. In order to reduce the total length of the planned roads between areas, the two areas with the shortest straight-line distance and which are not connected to other areas to be planned are respectively identified as areas to be connected, one of which is the first area to be connected and the other is the second area to be connected.
[0123] S340. Determine whether complete elevation data exists in the area between the first area to be connected and the second area to be connected.
[0124] Specifically, the areas to be connected are outside the planned area. In mountainous scenarios, there may not be complete elevation data available outside the planned area. It is necessary to first determine whether there is complete elevation data between the first and second areas to be connected.
[0125] For example, the method to determine whether there is complete elevation data in the area between the first area to be connected and the second area to be connected is as follows: obtain the set of regional location points of the area between the first area to be connected and the second area to be connected from the map data, obtain the set of elevation location points of the elevation data, determine the intersection between the set of regional location points and the set of elevation location points, if the set of regional location points is equal to the intersection set, then there is complete elevation data in the area between the first area to be connected and the second area to be connected; otherwise, there is no complete elevation data in the area between the first area to be connected and the second area to be connected.
[0126] S350. If complete elevation data exists, then road planning will be carried out between the inter-regional connecting roads in the first area to be connected and the inter-regional connecting roads in the second area to be connected, based on the complete elevation data, to obtain the inter-regional connecting roads.
[0127] Specifically, if complete elevation data exists between the first area to be connected and the second area to be connected, the complete elevation data can be used to plan roads between the areas connected by roads in the first area to be connected and the areas connected by roads in the second area to be connected, thus obtaining inter-area connecting roads.
[0128] In an optional embodiment, if complete elevation data exists, the step of planning roads between the first area to be connected and the second area to be connected based on the complete elevation data to obtain inter-regional connecting roads includes: for the first area to be connected, drawing straight lines between the first area to be connected and the second area to be connected, and using the shortest distance of a third preset number of straight lines as candidate connection path reference lines between the first area to be connected and the second area to be connected; for each candidate connection path reference line, determining a connected grid elevation map based on the candidate connection path reference lines and the elevation data; determining undirected edges of each candidate connection path reference line in the connected grid elevation map based on a neighborhood search algorithm, as candidate connection paths; and using the shortest candidate connection path as the inter-regional connecting road between the first area to be connected and the second area to be connected.
[0129] Here, the alternative connectivity path reference line can be understood as the straight line referenced when generating alternative connectivity paths. The alternative connectivity path can be understood as the alternative path used to connect the first area to be connected and the second area to be connected. The connectivity raster elevation map can be understood as a raster map containing elevation data generated for the area between the first and second areas to be connected. The third preset quantity is the number of alternative connectivity path reference lines set, which can be set according to actual needs.
[0130] Specifically, the generation method of inter-regional connecting roads is the same as the generation method of single-device planned roads for photovoltaic equipment in the previous embodiment, which will not be repeated in this embodiment.
[0131] S360. If incomplete elevation data exists, the elevation data of the area between the first area to be connected and the second area to be connected shall be completed; or, based on the incomplete elevation data between the first area to be connected and the second area to be connected, road planning shall be carried out between the connecting roads in the first area to be connected and the connecting roads in the second area to be connected to obtain the connecting roads between the areas.
[0132] Specifically, if there is incomplete elevation data between the first area to be connected and the second area to be connected, the elevation data of the area between the first area to be connected and the second area to be connected is supplemented, and then S330 is executed as if there is complete elevation data to determine the inter-regional connecting road between the intra-regional connecting road of the first area to be connected and the intra-regional connecting road of the second area to be connected.
[0133] However, the current method for completing elevation data mainly involves manually constructing triangulation networks to generate elevation data, which is an extremely resource-intensive process. Therefore, to improve road planning efficiency and reduce computational load, areas lacking elevation data can be treated as flat areas. Using only existing, incomplete elevation data, road planning can be performed between areas connecting the first and second regions to be connected, thus obtaining inter-regional connecting roads. This method is suitable for less complex mountainous terrain. By slightly reducing the minimum required length of planned roads, the computational load of road planning is significantly reduced, improving efficiency.
[0134] S370. Return to the step of determining the two unconnected areas with the closest straight-line distance from each area to be planned, until all areas to be planned are connected.
[0135] S380 is the overall planned road network for the mountain photovoltaic power station, which consists of connecting roads within each region and connecting roads between regions.
[0136] The technical solution of this application embodiment obtains the elevation data of each planned area corresponding to a mountain photovoltaic power station; for each planned area, road planning is performed on the photovoltaic equipment within the planned area based on the elevation data and existing roads to obtain the connecting road within the area; from each planned area, the two unconnected areas with the closest straight-line distance are determined, the areas to be connected include: a first area to be connected and a second area to be connected; it is determined whether there is complete elevation data in the area between the first area to be connected and the second area to be connected; if complete elevation data exists, a road is connected from the area within the first area to be connected to the area within the second area to be connected based on the complete elevation data. Road planning is performed between areas to obtain inter-regional connecting roads. If incomplete elevation data exists, the elevation data of the area between the first and second areas to be connected is supplemented. Alternatively, based on the incomplete elevation data between the first and second areas to be connected, road planning is performed between the intra-regional connecting roads in the first area and the intra-regional connecting roads in the second area to obtain inter-regional connecting roads. The process returns to the previous step of identifying the two unconnected areas with the shortest straight-line distance from each area to be planned, until all areas to be planned are connected. The total planned road network for the mountain photovoltaic power station is constructed based on the intra-regional connecting roads and the inter-regional connecting roads. According to the actual situation of the mountain photovoltaic power station, the intra-regional connecting roads in different areas to be planned are connected to obtain the total planned road network connecting the various photovoltaic devices in the mountain photovoltaic power station, reducing the length of planned roads, saving manpower costs, and improving the efficiency and effectiveness of road planning.
[0137] In an optional embodiment, the step of planning roads between the inter-regional connecting roads based on incomplete elevation data between the first and second regions to be connected includes:
[0138] S341. Based on the incomplete elevation data, road planning is performed on the regional connecting roads in the first area to be connected to the boundary of the elevation area covered by the incomplete elevation data, to obtain a fourth preset number of first elevation area connecting roads.
[0139] The first elevation zone connecting road can be understood as the road connecting the first area to be connected to the elevation zone. The fourth preset quantity is the number of connecting roads in the first elevation zone, which can be set according to actual needs.
[0140] Specifically, due to the slope of the mountainous terrain, it is difficult to determine from a straight-line distance which boundary point of the elevation region has the shortest actual path between the connecting road within the first area to be connected and the elevation region. Therefore, in this embodiment, multiple straight lines are drawn from the connecting road within the first area to be connected to the boundary of the elevation region covered by the incomplete elevation data. The shortest straight line is selected from these lines, and a neighborhood search algorithm is used to perform a neighborhood search on each of the fourth preset number of shortest straight lines based on the incomplete elevation data within the elevation region to determine the corresponding connecting road for the first elevation region.
[0141] S342. Based on the incomplete elevation data, perform road planning on the nearest boundary of the elevation area covered by the incomplete elevation data to the connecting road in the second area to be connected, and obtain a fifth preset number of connecting roads in the second elevation area.
[0142] The second elevation zone connecting road can be understood as a road connecting the area within the second area to be connected and the road connecting the elevation zone. The fifth preset quantity is the number of connecting roads in the second elevation zone, which can be set according to actual needs.
[0143] Specifically, due to the slope of the mountainous terrain, it is difficult to determine from a straight-line distance which boundary point of the elevation region has the shortest actual path between the connecting road within the second area to be connected and the elevation region. Therefore, in this embodiment, multiple straight lines are drawn from the connecting road within the second area to be connected to the boundary of the elevation region covered by incomplete elevation data. The shortest straight line is selected from these lines, and a neighborhood search algorithm is used to perform a neighborhood search on each of the fifth preset number of shortest straight lines based on the incomplete elevation data within the elevation region to determine the corresponding connecting road for the second elevation region.
[0144] S343. Obtain the first intersection point of the connecting road in each first elevation region and the corresponding elevation region, and the second intersection point of the connecting road in each second elevation region and the corresponding elevation region.
[0145] The first intersection point is the intersection of the road connecting the first elevation region and the corresponding elevation region. The second intersection point is the intersection of the road connecting the second elevation region and the corresponding elevation region.
[0146] S344. Widen the straight line between each of the first intersection points and each of the second intersection points by a preset distance to obtain a road through the elevation blank area not covered by incomplete elevation data.
[0147] Among them, the area between each first intersection point and each second intersection point is an elevation blank area not covered by incomplete elevation data, and the road connecting the first intersection point and the second intersection point is identified as the road connecting the elevation blank area.
[0148] Specifically, since the area between each first intersection point and each second intersection point is an elevation blank area, the elevation blank area is directly assumed to be a flat area. After widening the straight line between the first intersection point and the second intersection point by a preset distance, an elevation blank area connecting road through the first elevation area and road through road through the second elevation area is obtained.
[0149] S345. The road with the shortest sum of length of the connecting road in the first elevation area, the connecting road in the second elevation area, and the connecting road in the corresponding elevation blank area is determined as the inter-regional connecting road between the first and second areas to be connected.
[0150] Specifically, in order to ensure the shortest possible inter-regional road, the road with the shortest sum of the lengths of the inter-regional roads at the first elevation, the second elevation, and the corresponding elevation blank areas is determined as the inter-regional road.
[0151] Figure 6 is a schematic diagram of a road planning device for a mountain photovoltaic power station provided in an embodiment of this application. As shown in Figure 6, the device includes: an elevation data acquisition module 410, a regional road planning module 420, an inter-regional road planning module 430, and a total road generation module 440; wherein,
[0152] The elevation data acquisition module 410 is used to acquire elevation data of each planned area corresponding to the mountain photovoltaic power station.
[0153] The regional road planning module 420 is used to plan roads for photovoltaic equipment in each of the planned areas based on the elevation data and existing roads, so as to obtain the through roads in the region.
[0154] The inter-regional road planning module 430 is used to plan roads between inter-regional roads corresponding to each unconnected area to be planned, and to obtain inter-regional roads.
[0155] The total road generation module 440 is used to construct the total planned road network for the mountain photovoltaic power station based on the through roads within each region and the through roads between each region.
[0156] The technical solution of this application embodiment obtains the elevation data of each planned area corresponding to a mountain photovoltaic power station; for each planned area, road planning is performed on the photovoltaic equipment within the planned area based on the elevation data and existing roads to obtain the connecting roads within the area; road planning is performed between the connecting roads within the areas corresponding to the unconnected planned areas to obtain the connecting roads between areas; and the overall planned road network for the mountain photovoltaic power station is constructed based on the connecting roads within each area and the connecting roads between areas. By performing road planning within and between discrete planned areas based on elevation data, the overall planned road network connecting the photovoltaic equipment of the mountain photovoltaic power station is obtained, saving labor costs and improving the efficiency and effectiveness of road planning.
[0157] Optionally, the regional road planning module includes:
[0158] The existing road determination submodule is used to determine whether there are existing roads in each of the areas to be planned.
[0159] The existing road setting submodule is used to select a photovoltaic device from the area to be planned as the starting point of the existing road if no existing road exists. Based on the elevation data, road planning is performed from the photovoltaic device in the area to be planned to the starting point of the existing road to obtain an initial planned road, and the initial planned road is incorporated into the existing road.
[0160] The single-device road planning submodule is used to sequentially plan the roads from each photovoltaic device in the area to be planned to the nearest existing road based on the elevation data if an existing road exists, thereby obtaining the single-device planned road.
[0161] The regional road connection submodule is used to connect the existing roads in the area to be planned to obtain the connected roads in the area.
[0162] Optionally, the road connection submodule within the area is specifically used for:
[0163] If there is only one existing road in the area to be planned, then the existing road will be identified as the through road in the area;
[0164] If there are multiple unconnected existing roads in the area to be planned, then road planning is carried out between the unconnected existing roads based on the elevation data to obtain connecting roads between the existing roads, and connecting roads in the area are formed based on the existing roads and the connecting roads between the existing roads.
[0165] Optionally, the existing road setting submodule includes:
[0166] The first clustering unit is used to cluster the photovoltaic devices in the area to be planned to obtain multiple first photovoltaic device sets;
[0167] The starting point setting unit is used to randomly select one photovoltaic device from the first photovoltaic device set containing the largest number of photovoltaic devices as the starting point of the existing road.
[0168] Optional, single-device road planning submodule, including:
[0169] The second clustering unit is used to cluster the photovoltaic devices in the area to be planned that are not connected to the existing roads, and obtain multiple second photovoltaic device sets;
[0170] The device set determination unit is used to sequentially obtain each current photovoltaic device set in descending order of the number of elements contained in each of the second photovoltaic device sets;
[0171] A single-device road planning unit is used to perform road planning on each photovoltaic device in the current photovoltaic device set to the nearest existing road based on a neighborhood search algorithm and the elevation data, so as to obtain the single-device planned road for each photovoltaic device.
[0172] The execution unit is returned to the steps of sequentially obtaining the current photovoltaic device subset of each current photovoltaic device set in descending order of the number of elements contained in each of the second photovoltaic device sets, until the single-device planning road from all photovoltaic devices in the second photovoltaic device sets within the area to be planned to the nearest existing road is completed.
[0173] Optionally, the single-device road planning unit includes:
[0174] The device subset determination subunit is used to select a subset of current photovoltaic devices from the current photovoltaic device set in ascending order of the straight-line distance between each photovoltaic device in the current photovoltaic device set and the nearest existing road;
[0175] The single-device road planning subunit is used to perform road planning on each photovoltaic device in the current photovoltaic device subset to the nearest existing road based on the neighborhood search algorithm and the elevation data, so as to obtain the single-device planned road for each photovoltaic device.
[0176] Return to the execution subunit, which is used to return to the step of selecting the current photovoltaic device subset from the current photovoltaic device set, until the single device planning road is completed for all photovoltaic devices in the current photovoltaic device subset to the nearest existing road.
[0177] Optionally, the device subset determines the sub-unit, specifically for:
[0178] If the current photovoltaic equipment set contains more than a first preset number of photovoltaic equipment, then the first preset number of photovoltaic equipment are determined from the current photovoltaic equipment set in ascending order of the straight-line distance between each photovoltaic equipment in the current photovoltaic equipment set and the nearest existing road, forming a current photovoltaic equipment subset;
[0179] If the current photovoltaic equipment set contains no more than a first preset number of photovoltaic equipment, then the current photovoltaic equipment set is determined as the current photovoltaic equipment subset.
[0180] Optional, single-device road planning subunit, including:
[0181] The path reference line determines the functional area, which is used to draw a straight line to the nearest existing road for each current photovoltaic device in the current photovoltaic device subset that has not been planned for road planning, and to use the second preset number of straight lines with the shortest straight line distance as the alternative path reference lines for the current photovoltaic device.
[0182] The raster elevation map determination function area is used to determine the raster elevation map based on the candidate path reference lines and the elevation data for each of the candidate path reference lines.
[0183] The alternative actual path determination functional area is used to determine the undirected edges of each of the alternative path reference lines in the raster elevation map based on the neighborhood search algorithm, as alternative actual paths;
[0184] The single-device road planning functional area is used to select the shortest alternative actual path as the single-device planned road from the current photovoltaic device to the nearest existing road.
[0185] The road is incorporated into the functional area, which is used to incorporate the single-device planned road into the nearest existing road;
[0186] Return to the execution function area to return to the execution of the steps for each current photovoltaic device in the current photovoltaic device subset that has not undergone road planning, to draw a straight line to the nearest existing road, and to use the second preset number of straight lines with the shortest straight line distance as the alternative path reference lines for the current photovoltaic device, until the single-device planning road from all current photovoltaic devices in the current photovoltaic device subset to the nearest existing road is completed.
[0187] Optionally, the raster elevation map defines functional areas, specifically for:
[0188] Construct a bounding rectangle based on the coordinates of the two endpoints of the alternative path reference line;
[0189] The circumscribed rectangle is divided into grids to obtain an initial grid map;
[0190] The target grid map is obtained by removing the grids occupied by the avoidance zone in the initial grid map within the area to be planned.
[0191] Add the corresponding elevation data to each grid cell of the target raster map to obtain a raster elevation map.
[0192] Optionally, alternative actual paths determine the functional area, specifically used for:
[0193] Using the grid size of the raster elevation map as the discrete interval, each of the candidate path reference lines is discretized to obtain a candidate path reference sequence.
[0194] In the grid elevation map, the connected grid region formed by the grids containing each path point in the candidate path reference sequence is determined based on the neighborhood search algorithm.
[0195] The connected grid region is defined as an undirected edge, and the undirected edge is defined as a candidate actual path.
[0196] Optional, the inter-regional road planning module includes:
[0197] The submodule for determining areas to be connected is used to determine the two unconnected areas that are closest in a straight line from each of the areas to be planned. The areas to be connected include: a first area to be connected and a second area to be connected.
[0198] The complete elevation judgment submodule is used to determine whether complete elevation data exists in the area between the first area to be penetrated and the second area to be penetrated.
[0199] The first inter-regional road planning submodule is used to plan roads between the inter-regional roads in the first inter-region to be connected and the inter-regional roads in the second inter-region to be connected, based on the complete elevation data if complete elevation data exists, so as to obtain inter-regional roads.
[0200] The second inter-regional road planning submodule is used to complete the elevation data of the area between the first area to be connected and the second area to be connected if incomplete elevation data exists; or to plan roads between the inter-regional connecting roads in the first area to be connected and the inter-regional connecting roads in the second area to be connected based on the incomplete elevation data between the first area to be connected and the second area to be connected, thereby obtaining inter-regional connecting roads.
[0201] Return to the execution submodule, which is used to return to the execution step of determining the two unconnected areas that are closest in straight line distance from each of the areas to be planned, until all the areas to be planned are connected.
[0202] Optionally, the second inter-regional road planning submodule is specifically used for:
[0203] Based on the incomplete elevation data, road planning is performed on the connecting roads within the first area to be connected to the boundary of the elevation area covered by the incomplete elevation data, to obtain a fourth preset number of connecting roads in the first elevation area.
[0204] Based on the incomplete elevation data, road planning is performed on the connecting roads within the second area to be connected to the nearest boundary of the elevation area covered by the incomplete elevation data, to obtain a fifth preset number of connecting roads in the second elevation area.
[0205] Obtain the first intersection point of the connecting road in each first elevation region and the corresponding elevation region, and the second intersection point of the connecting road in each second elevation region and the corresponding elevation region;
[0206] The straight line between each first intersection point and each second intersection point is widened by a preset distance to obtain a road through the elevation blank area not covered by incomplete elevation data.
[0207] The road with the shortest sum of length between the first elevation region connecting road, the second elevation region connecting road, and the corresponding elevation blank region connecting road is determined as the inter-regional connecting road between the first and second regions to be connected.
[0208] Optional, the first inter-regional road planning submodule is specifically used for:
[0209] For the first area to be connected, draw a straight line between the connecting road in the first area to be connected and the connecting road in the second area to be connected, and use the straight line with the shortest distance of a third preset number as the alternative connection path reference line between the first area to be connected and the second area to be connected.
[0210] For each of the candidate connectivity path reference lines, a connectivity raster elevation map is determined based on the candidate connectivity path reference lines and the elevation data;
[0211] Based on the neighborhood search algorithm, the connected undirected edges of each of the candidate connected path reference lines are determined in the connected grid elevation map as candidate connected paths;
[0212] The shortest alternative connecting path will be used as the connecting road between the first area to be connected and the second area to be connected.
[0213] The road planning device for mountain photovoltaic power stations provided in this application can execute the road planning method for mountain photovoltaic power stations provided in any embodiment of this application, and has the corresponding functional modules and beneficial effects of the method.
[0214] Example 5
[0215] Figure 7 illustrates a schematic diagram of the structure of an electronic device 10 that can be used to implement embodiments of this application. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the application described and / or claimed herein.
[0216] As shown in Figure 7, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer programs stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 can also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0217] Multiple components in electronic device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0218] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as road planning methods for mountain photovoltaic power plants.
[0219] In some embodiments, the road planning method for a mountain photovoltaic power station can be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the road planning method for a mountain photovoltaic power station described above can be performed. Alternatively, in other embodiments, processor 11 can be configured to perform the road planning method for a mountain photovoltaic power station by any other suitable means (e.g., by means of firmware).
[0220] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0221] In some embodiments, the road planning method for a mountain photovoltaic power station can be implemented as a computer program, which is implicitly included in a computer program product. When executed by a processor, the computer program implements the road planning method for the mountain photovoltaic power station of this application. The computer program product can be understood as a software product that primarily implements its solution through a computer program. The computer program used to implement the method of this application can be written in any combination of one or more programming languages. These computer programs can be provided to the processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the functions / operations specified in the flowcharts and / or block diagrams are implemented. The computer program can be executed entirely on a machine, partially on a machine, partially on a remote machine as a standalone software package, or entirely on a remote machine or server.
[0222] In the context of this application, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium can be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0223] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0224] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.
[0225] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.
[0226] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this application can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this application can be achieved, and this is not limited herein.
[0227] The specific embodiments described above do not constitute a limitation on the scope of protection of this application. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this application should be included within the scope of protection of this application.
Claims
1. A road planning method for a mountain photovoltaic power station, characterized in that, include: Obtain elevation data for each planned area corresponding to the mountain photovoltaic power station; for each planned area, perform road planning for the photovoltaic equipment within the planned area based on the elevation data and existing roads to obtain the connecting roads within the area; perform road planning between the connecting roads within the areas corresponding to the unconnected planned areas to obtain the connecting roads between areas; and construct the overall planned road network for the mountain photovoltaic power station based on the connecting roads within each area and the connecting roads between each area.
2. The road planning method for mountain photovoltaic power stations according to claim 1, characterized in that, The step of planning roads for photovoltaic devices within each of the planned areas based on the elevation data and existing roads to obtain a connecting road within the area includes: for each planned area, determining whether there is an existing road within the planned area; if there is no existing road, selecting a photovoltaic device within the planned area as the starting point of an existing road, and planning roads from the photovoltaic device within the planned area to the starting point of the existing road based on the elevation data to obtain an initial planned road, and merging the initial planned road into the existing road; if there is an existing road, sequentially planning roads from each photovoltaic device within the planned area to the nearest existing road based on the elevation data to obtain a single-device planned road; and connecting the existing roads within the planned area to obtain a connecting road within the area.
3. The road planning method for mountain photovoltaic power stations according to claim 2, characterized in that, The step of connecting the existing roads in the area to be planned to obtain the connecting roads in the area includes: if there is only one existing road in the area to be planned, then the existing road is determined as the connecting road in the area; if there are multiple unconnected existing roads in the area to be planned, then road planning is performed between the unconnected existing roads based on the elevation data to obtain connecting roads between the existing roads, and the connecting roads in the area are formed based on the existing roads and the connecting roads between the existing roads.
4. The road planning method for mountain photovoltaic power stations according to claim 2, characterized in that, The step of selecting a photovoltaic device from the area to be planned as the starting point of an existing road includes: clustering the photovoltaic devices in the area to be planned to obtain multiple first photovoltaic device sets; and randomly selecting a photovoltaic device from the first photovoltaic device set containing the largest number of photovoltaic devices as the starting point of the existing road.
5. The road planning method for mountain photovoltaic power stations according to any one of claims 2-4, characterized in that, The step of sequentially planning roads from each photovoltaic device in the area to be planned to the nearest existing road based on the elevation data to obtain a single-device planned road includes: clustering each photovoltaic device in the area to be planned that is not connected to the existing road to obtain multiple second photovoltaic device sets; sequentially obtaining each current photovoltaic device set in descending order of the number of elements contained in each second photovoltaic device set; based on the neighborhood search algorithm and the elevation data, sequentially planning roads from each photovoltaic device in the current photovoltaic device set to the nearest existing road to obtain a single-device planned road for each photovoltaic device; returning to the step of sequentially obtaining the current photovoltaic device subset of each current photovoltaic device set in descending order of the number of elements contained in each second photovoltaic device set, until the single-device planned roads from all photovoltaic devices in the second photovoltaic device sets in the area to be planned to the nearest existing road are completed.
6. The road planning method for mountain photovoltaic power stations according to claim 5, characterized in that, The step of sequentially planning roads from each photovoltaic device in the current photovoltaic device set to the nearest existing road based on the neighborhood search algorithm and the elevation data to obtain a single-device planned road for each photovoltaic device includes: selecting a subset of current photovoltaic devices from the current photovoltaic device set in ascending order of the straight-line distances between each photovoltaic device in the current photovoltaic device set and the nearest existing road; sequentially planning roads from each photovoltaic device in the current photovoltaic device subset to the nearest existing road based on the neighborhood search algorithm and the elevation data to obtain a single-device planned road for each photovoltaic device; returning to the step of selecting a subset of current photovoltaic devices from the current photovoltaic device set until the single-device planned roads from all photovoltaic devices in the current photovoltaic device subset to the nearest existing road are completed.
7. The road planning method for mountain photovoltaic power stations according to claim 6, characterized in that, The step of selecting a subset of current photovoltaic devices from the current photovoltaic device set according to the ascending order of the straight-line distance between each photovoltaic device in the current photovoltaic device set and the nearest existing road includes: if the current photovoltaic device set contains more than a first preset number of photovoltaic devices, then determine the first preset number of photovoltaic devices from the current photovoltaic device set according to the ascending order of the straight-line distance between each photovoltaic device in the current photovoltaic device set and the nearest existing road to form a subset of current photovoltaic devices; if the current photovoltaic device set contains no more than the first preset number of photovoltaic devices, then determine the current photovoltaic device set as the subset of current photovoltaic devices.
8. The road planning method for mountain photovoltaic power stations according to claim 6, characterized in that, The step of sequentially performing road planning from each photovoltaic device in the current photovoltaic device subset to the nearest existing road based on the neighborhood search algorithm and the elevation data to obtain the single-device planned road for each photovoltaic device includes: for each current photovoltaic device in the current photovoltaic device subset that has not undergone road planning, drawing a straight line to the nearest existing road, and using a second preset number of straight lines with the shortest straight-line distance as candidate path reference lines for the current photovoltaic device; for each candidate path reference line, determining a raster elevation map based on the candidate path reference line and the elevation data; and determining the raster elevation map based on the neighborhood search algorithm. The undirected edges of each of the candidate path reference lines are used as candidate actual paths; the shortest candidate actual path is used as the single-device planned path from the current photovoltaic device to the nearest existing road; the single-device planned path is incorporated into the nearest existing road; the process returns to the step of drawing a straight line from the nearest existing road to each current photovoltaic device in the current photovoltaic device subset that has not undergone road planning, and using the second preset number of straight lines with the shortest straight-line distance as the candidate path reference lines for the current photovoltaic device, until the single-device planned paths from all current photovoltaic devices in the current photovoltaic device subset to the nearest existing road are completed.
9. The road planning method for mountain photovoltaic power stations according to claim 8, characterized in that, The step of determining the raster elevation map based on the candidate path reference line and the elevation data includes: constructing an circumscribed rectangle based on the coordinates of the two endpoints of the candidate path reference line; dividing the circumscribed rectangle into raster sections to obtain an initial raster map; removing the raster sections occupied by the avoidance zone within the area to be planned from the initial raster map to obtain a target raster map; and adding corresponding elevation data to each raster section of the target raster map to obtain the raster elevation map.
10. The road planning method for mountain photovoltaic power stations according to claim 8, characterized in that, The step of determining undirected edges of each candidate path reference line in the raster elevation map based on the neighborhood search algorithm as candidate actual paths includes: discretizing each candidate path reference line using the raster size of the raster elevation map as a discrete interval to obtain a candidate path reference sequence; determining the connected raster region formed by the raster where each path point in the candidate path reference sequence is located in the raster elevation map based on the neighborhood search algorithm; determining the connected raster region as an undirected edge, and determining the undirected edge as a candidate actual path.
11. The road planning method for mountain photovoltaic power stations according to claim 1, characterized in that, The step of planning roads between unconnected areas to obtain inter-area connecting roads includes: identifying two unconnected areas with the shortest straight-line distance from each of the planned areas, wherein the areas to be connected include a first area to be connected and a second area to be connected; determining whether complete elevation data exists in the area between the first area to be connected and the second area to be connected; if complete elevation data exists, then planning roads between the areas in the first area to be connected and the areas in the second area to be connected based on the complete elevation data. The process involves road planning to obtain inter-regional connecting roads. If incomplete elevation data exists, the elevation data of the area between the first and second areas to be connected is supplemented. Alternatively, based on the incomplete elevation data between the first and second areas to be connected, road planning is performed between the connecting roads within the first and second areas to be connected to obtain inter-regional connecting roads. The process then returns to the step of determining the two unconnected areas with the closest straight-line distance from each of the planned areas, until all planned areas are connected.
12. The road planning method for mountain photovoltaic power stations according to claim 11, characterized in that, The step of planning roads between the first and second regions to be connected based on incomplete elevation data includes: planning roads from the first region to be connected to the second region to be connected, using the incomplete elevation data, to obtain a fourth preset number of first elevation region connecting roads; and planning roads from the first region to the second region to the boundaries of the elevation regions covered by the incomplete elevation data. Road planning is performed at the nearest boundary to obtain a fifth preset number of second elevation area connecting roads; the first intersection point of each first elevation area connecting road and the corresponding elevation area is obtained, as well as the second intersection point of each second elevation area connecting road and the corresponding elevation area; the straight line between each first intersection point and each second intersection point is widened by a preset distance to obtain elevation blank area connecting roads in areas not covered by incomplete elevation data; the road with the shortest sum of the length of the first elevation area connecting road, the second elevation area connecting road, and the corresponding elevation blank area connecting road is determined as the inter-regional connecting road between the first and second areas to be connected.
13. The road planning method for mountain photovoltaic power stations according to claim 11, characterized in that, If complete elevation data exists, the step of planning roads between the first area to be connected and the second area to be connected based on the complete elevation data to obtain inter-regional connecting roads includes: for the first area to be connected, drawing straight lines between the first area to be connected and the second area to be connected, and using the shortest distance of a third preset number of straight lines as candidate connection path reference lines between the first and second areas to be connected; for each candidate connection path reference line, determining a connected grid elevation map based on the candidate connection path reference line and the elevation data; determining the connected undirected edges of each candidate connection path reference line in the connected grid elevation map based on a neighborhood search algorithm, as candidate connection paths; and using the shortest candidate connection path as the inter-regional connecting road between the first and second areas to be connected.
14. A road planning device for a mountain photovoltaic power station, characterized in that, include: The elevation data acquisition module is used to acquire elevation data for each planned area corresponding to the mountain photovoltaic power station; The regional road planning module is used to plan roads for photovoltaic equipment in each of the planned areas based on the elevation data and existing roads, thereby obtaining regional connecting roads; the inter-regional road planning module is used to plan roads between the regional connecting roads corresponding to the unconnected planned areas, thereby obtaining inter-regional connecting roads; the total road generation module is used to construct the total planned roads for the mountain photovoltaic power station based on the regional connecting roads and the inter-regional connecting roads.
15. The road planning device for a mountain photovoltaic power station according to claim 14, characterized in that, The road planning module within the region includes: an existing road judgment submodule, used to determine whether there are existing roads in each of the areas to be planned; an existing road setting submodule, used to select a photovoltaic device in the area to be planned as the starting point of an existing road if no existing road exists, and to perform road planning from the photovoltaic device in the area to the starting point of the existing road according to the elevation data to obtain an initial planned road, and to incorporate the initial planned road into the existing road; a single device road planning submodule, used to perform road planning from each photovoltaic device in the area to be planned to the nearest existing road according to the elevation data if an existing road exists, to obtain a single device planned road; and a regional road connection submodule, used to connect the existing roads in the area to be planned to obtain a regional connecting road.
16. The road planning device for a mountain photovoltaic power station according to claim 15, characterized in that, The road connectivity submodule within the region is specifically used for: if there is only one existing road in the region to be planned, then the existing road is determined as the connecting road in the region; if there are multiple unconnected existing roads in the region to be planned, then road planning is performed between the unconnected existing roads based on the elevation data to obtain connecting roads between existing roads, and connecting roads in the region are formed based on each existing road and the connecting roads between existing roads.
17. The road planning device for a mountain photovoltaic power station according to claim 15, characterized in that, The existing road setting submodule includes: a first clustering unit, used to cluster the photovoltaic devices in the area to be planned to obtain multiple first photovoltaic device sets; and a starting point setting unit, used to randomly select a photovoltaic device from the first photovoltaic device set containing the largest number of photovoltaic devices as the starting point of the existing road.
18. The road planning device for a mountain photovoltaic power station according to any one of claims 15-17, characterized in that, The single-device road planning submodule includes: a second clustering unit, used to cluster each photovoltaic device in the area to be planned that is not connected to the existing road, to obtain multiple second photovoltaic device sets; a device set determination unit, used to sequentially obtain each current photovoltaic device set in descending order of the number of elements contained in each second photovoltaic device set; a single-device road planning unit, used to perform road planning from each photovoltaic device in the current photovoltaic device set to the nearest existing road based on a neighborhood search algorithm and the elevation data, to obtain a single-device planned road for each photovoltaic device; and a return execution unit, used to return to the steps of sequentially obtaining the current photovoltaic device subset of each current photovoltaic device set in descending order of the number of elements contained in each second photovoltaic device set, until the single-device planned roads from the photovoltaic devices in all second photovoltaic device sets in the area to be planned to the nearest existing road are completed.
19. The road planning device for a mountain photovoltaic power station according to claim 18, characterized in that, The single-device road planning unit includes: a device subset determination subunit, used to select a subset of current photovoltaic devices from the current photovoltaic device set according to the ascending order of the straight-line distance between each photovoltaic device in the current photovoltaic device set and the nearest existing road; a single-device road planning subunit, used to perform road planning from each photovoltaic device in the current photovoltaic device subset to the nearest existing road based on a neighborhood search algorithm and the elevation data, to obtain a single-device planned road for each photovoltaic device; and a return execution subunit, used to return to the step of selecting the current photovoltaic device subset from the current photovoltaic device set until the single-device planned roads from all photovoltaic devices in the current photovoltaic device subset to the nearest existing road are completed.
20. The road planning device for a mountain photovoltaic power station according to claim 19, characterized in that, The device subset determination subunit is specifically used for: if the current photovoltaic device set contains more than a first preset number of photovoltaic devices, then determining the first preset number of photovoltaic devices from the current photovoltaic device set in ascending order of the straight-line distance between each photovoltaic device in the current photovoltaic device set and the nearest existing road, forming a current photovoltaic device subset; if the current photovoltaic device set contains no more than the first preset number of photovoltaic devices, then determining the current photovoltaic device set as the current photovoltaic device subset.
21. The road planning device for a mountain photovoltaic power station according to claim 19, characterized in that, A single-device road planning subunit includes: a path reference line determination functional area, used to draw a straight line to the nearest existing road for each current photovoltaic device in the current photovoltaic device subset that has not undergone road planning, and to use the second preset number of straight lines with the shortest straight-line distance as the candidate path reference lines for the current photovoltaic device; a grid elevation map determination functional area, used to determine a grid elevation map for each candidate path reference line based on the candidate path reference line and the elevation data; and a candidate actual path determination functional area, used to determine the undirected edges of each candidate path reference line in the grid elevation map based on a neighborhood search algorithm, as candidate actual paths; and a single-device road planning subunit. The system includes a road planning function area, which uses the shortest alternative actual path as the single-device planned road from the current photovoltaic device to the nearest existing road; a road merging function area, which merges the single-device planned road into the nearest existing road; and a return execution function area, which returns to execute the steps of drawing a straight line to the nearest existing road for each current photovoltaic device in the current photovoltaic device subset that has not undergone road planning, and using the second preset number of straight lines with the shortest straight-line distance as the alternative path reference lines for the current photovoltaic device, until the single-device planned roads from all current photovoltaic devices in the current photovoltaic device subset to the nearest existing road are completed.
22. The road planning device for a mountain photovoltaic power station according to claim 21, characterized in that, The raster elevation map determines the functional area, specifically by: constructing an circumscribed rectangle based on the coordinates of the two endpoints of the candidate path reference line; dividing the circumscribed rectangle into raster sections to obtain an initial raster map; removing the raster sections occupied by the avoidance zone within the area to be planned from the initial raster map to obtain a target raster map; and adding corresponding elevation data to each raster section of the target raster map to obtain the raster elevation map.
23. The road planning device for a mountain photovoltaic power station according to claim 21, characterized in that, The alternative actual path determination functional area is specifically used for: using the grid size of the grid elevation map as a discrete interval, discretizing each of the alternative path reference lines to obtain an alternative path reference sequence; in the grid elevation map, determining the connected grid region formed by the grids where each path point in the alternative path reference sequence is located based on a neighborhood search algorithm; determining the connected grid region as an undirected edge, and determining the undirected edge as an alternative actual path.
24. The road planning device for a mountain photovoltaic power station according to claim 14, characterized in that, The inter-regional road planning module includes: a sub-module for determining areas to be connected, used to determine two unconnected areas with the closest straight-line distance from each of the areas to be planned, the areas to be connected including: a first area to be connected and a second area to be connected; a complete elevation judgment sub-module, used to determine whether complete elevation data exists in the area between the first area to be connected and the second area to be connected; and a first inter-regional road planning sub-module, used to, if complete elevation data exists, plan roads between the connecting roads within the first area to be connected and the connecting roads within the second area to be connected based on the complete elevation data, thereby obtaining inter-regional road connection data. The module includes a second inter-regional road planning submodule, used to complete the elevation data of the area between the first and second inter-regional areas if incomplete elevation data exists; or to plan roads between the inter-regional roads based on the incomplete elevation data between the first and second inter-regional areas, obtaining inter-regional connecting roads; and a return execution submodule, used to return to the step of determining the two unconnected inter-regional areas with the closest straight-line distance from each of the planned areas, until all the planned areas are connected.
25. The road planning device for a mountain photovoltaic power station according to claim 24, characterized in that, The second inter-regional road planning submodule is specifically used for: planning roads from the boundary of the incomplete elevation data to the elevation area covered by the incomplete elevation data within the first area to be connected, to obtain a fourth preset number of first elevation area connecting roads; planning roads from the nearest boundary of the incomplete elevation data to the elevation area covered by the incomplete elevation data within the second area to be connected, to obtain a fifth preset number of second elevation area connecting roads; obtaining the first intersection point of each first elevation area connecting road and its corresponding elevation area, and the second intersection point of each second elevation area connecting road and its corresponding elevation area; widening the straight line between each first intersection point and each second intersection point by a preset distance to obtain elevation blank area connecting roads in areas not covered by the incomplete elevation data; and determining the road with the shortest sum of length of the first elevation area connecting road, the second elevation area connecting road, and the corresponding elevation blank area connecting road as the inter-regional connecting road between the first and second areas to be connected.
26. The road planning device for a mountain photovoltaic power station according to claim 24, characterized in that, The first inter-regional road planning submodule is specifically used for: for the first region to be connected, drawing straight lines between the connecting roads within the first region to be connected and the connecting roads within the second region to be connected, and using the shortest distance of a third preset number of straight lines as candidate connection path reference lines between the first region to be connected and the second region to be connected; for each candidate connection path reference line, determining a connected grid elevation map based on the candidate connection path reference line and the elevation data; and determining the connected undirected edges of each candidate connection path reference line in the connected grid elevation map based on a neighborhood search algorithm, as candidate connection paths; The shortest alternative connecting path will be used as the connecting road between the first area to be connected and the second area to be connected.
27. An electronic device, characterized in that, The electronic device includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the road planning method for a mountain photovoltaic power station as described in any one of claims 1-13.
28. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that, when executed by a processor, implement the road planning method for a mountain photovoltaic power station as described in any one of claims 1-13.
29. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the road planning method for a mountain photovoltaic power station according to any one of claims 1-13.