Photovoltaic array area optimization method, device and system

By obtaining the adjacency diagram of the photovoltaic array, identifying and merging isolated photovoltaic array regions, and optimizing the photovoltaic array region set, the problem of isolated regions in the photovoltaic array region division is solved, and the continuity of construction and cost reduction are achieved.

CN115795841BActive Publication Date: 2026-05-12HEFEI SUNGROW RENEWABLE ENERGY SCI & TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HEFEI SUNGROW RENEWABLE ENERGY SCI & TECH CO LTD
Filing Date
2022-11-21
Publication Date
2026-05-12

AI Technical Summary

Technical Problem

Existing methods for dividing photovoltaic array areas cannot guarantee the continuity of photovoltaic array distribution, leading to problems such as high construction difficulty and high cost.

Method used

By obtaining the adjacency graph of the photovoltaic array set, isolated photovoltaic array regions are identified and merged, and the photovoltaic array region set is optimized to eliminate isolated regions and ensure the continuity of the photovoltaic array regions.

Benefits of technology

This achieves continuity in the division of photovoltaic array areas, reducing construction difficulty and cost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115795841B_ABST
    Figure CN115795841B_ABST
Patent Text Reader

Abstract

The application discloses a photovoltaic array area optimization method, device and system, the method comprises the following steps: acquiring a photovoltaic array set in a target area, and determining a corresponding adjacent relationship graph of the photovoltaic array set; acquiring an original photovoltaic array area set in the target area, and determining an isolated photovoltaic array area based on the adjacent relationship graph and the original photovoltaic array area set; and determining a target photovoltaic array area set according to the isolated photovoltaic array area, the adjacent relationship graph and the original photovoltaic array area set.The application determines an isolated photovoltaic array area based on an adjacent relationship graph and an original photovoltaic array area set, and then optimizes the original photovoltaic array area set based on the isolated photovoltaic array area and the adjacent relationship graph to determine a target photovoltaic array area set, so that there is no isolated area in the photovoltaic array area set in the target photovoltaic array area set.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of photovoltaic technology, and in particular to methods, apparatus and systems for optimizing photovoltaic array regions. Background Technology

[0002] With the large-scale development of photovoltaics, the design of photovoltaic power plants is becoming increasingly refined and automated, and computer-aided design is being used more and more in photovoltaic power plant design. When using computers to divide photovoltaic arrays into regions, for the convenience of engineering construction, it is generally required that the photovoltaic array distribution within the divided regions is continuous and without jumps (no isolated regions), and that the arrays between regions do not overlap. However, existing region division methods include: the cutting method, which cuts the photovoltaic array into several blocks according to certain rules, ensuring that the number of strings in each block satisfies an integer number of regions, and then divides each block into the required regions in an S-shape from top to bottom or bottom to top; and the clustering method, which uses clustering based on the number of strings in the target region and the positional distribution of the photovoltaic array to obtain the required divided regions. None of the above methods can guarantee the continuous distribution of photovoltaic arrays in the divided regions (isolated regions will appear), which will lead to problems such as high construction difficulty and high construction costs during actual construction. Therefore, how to ensure that there are no isolated regions when dividing photovoltaic arrays into regions is an urgent problem to be solved. Summary of the Invention

[0003] The main objective of this invention is to propose a method, apparatus, and system for optimizing photovoltaic array regions, aiming to solve the problem of ensuring that there are no isolated regions when dividing a photovoltaic array into regions.

[0004] To achieve the above objectives, the present invention provides a method for optimizing a photovoltaic array region, the method comprising the following steps:

[0005] Obtain the set of photovoltaic arrays in the target area and determine the adjacency graph corresponding to the set of photovoltaic arrays;

[0006] Obtain the original set of photovoltaic array regions in the target area, and determine isolated photovoltaic array regions based on the adjacency graph and the original set of photovoltaic array regions;

[0007] The target photovoltaic array region set is determined based on the isolated photovoltaic array region, the adjacency relationship diagram, and the original photovoltaic array region set.

[0008] Optionally, the step of determining the adjacency graph corresponding to the photovoltaic array set includes:

[0009] Obtain the coordinates, length, and width of each array in the photovoltaic array set;

[0010] The photovoltaic array adjacency relationship corresponding to the photovoltaic array set is determined based on the coordinate value, the width value, the length value, and the preset threshold.

[0011] Based on the adjacency relationships of the photovoltaic arrays, an adjacency graph corresponding to the photovoltaic array set is constructed.

[0012] Optionally, the step of determining the adjacency relationship of the photovoltaic arrays corresponding to the photovoltaic array set based on the coordinate value, the width value, the length value, and a preset threshold includes:

[0013] Based on the coordinate values ​​and the width values, determine the photovoltaic array row set in the photovoltaic array set, and calculate the average spacing corresponding to the photovoltaic array row set;

[0014] The adjacency relationship of the photovoltaic arrays corresponding to the photovoltaic array set is determined based on the coordinate value, the length value, the preset threshold, the photovoltaic array row set, and the average spacing.

[0015] Optionally, the step of constructing an adjacency graph corresponding to the photovoltaic array set based on the adjacency relationships of the photovoltaic arrays includes:

[0016] Based on the adjacency relationship of the photovoltaic arrays, adjacent photovoltaic arrays in the photovoltaic array set are connected to obtain a photovoltaic array connectivity graph;

[0017] Detect whether there are any unconnected areas in the photovoltaic array connectivity diagram;

[0018] If it does not exist, then the adjacency graph corresponding to the photovoltaic array set is determined based on the photovoltaic array connectivity graph;

[0019] If they exist, the unconnected regions are connected based on preset connectivity rules to obtain the adjacency graph corresponding to the photovoltaic array set.

[0020] Optionally, the step of determining isolated photovoltaic array regions based on the adjacency graph and the original set of photovoltaic array regions includes:

[0021] Select one original photovoltaic array region from the set of original photovoltaic array regions in sequence, and then randomly select one photovoltaic array from the selected original photovoltaic array region;

[0022] Based on the adjacency graph, determine whether the selected photovoltaic array can access all photovoltaic arrays in its original photovoltaic array region;

[0023] If so, then it is determined that the selected original photovoltaic array region is not an isolated photovoltaic array region;

[0024] If not, then the selected original photovoltaic array area is determined to be an isolated photovoltaic array area.

[0025] Optionally, the step of determining the target photovoltaic array region set based on the isolated photovoltaic array region, the adjacency graph, and the original photovoltaic array region set includes:

[0026] Based on the adjacency diagram, the isolated photovoltaic array corresponding to the isolated photovoltaic array region is determined, and the isolated photovoltaic array is merged with the original photovoltaic array region adjacent to the isolated photovoltaic array region to obtain a set of regions without isolated photovoltaic arrays;

[0027] The target photovoltaic array region set is determined based on the set of non-isolated photovoltaic array regions, the adjacency relationship diagram, and the original photovoltaic array region set.

[0028] Optionally, the step of merging the isolated photovoltaic array with the original photovoltaic array region adjacent to the isolated photovoltaic array region includes:

[0029] Based on the adjacency diagram, determine the number of original photovoltaic array regions adjacent to the isolated photovoltaic array region;

[0030] If there is only one original photovoltaic array region adjacent to the isolated photovoltaic array region, then the isolated photovoltaic array region and the original photovoltaic array region adjacent to the isolated photovoltaic array region will be merged.

[0031] If there are multiple original photovoltaic array regions adjacent to the isolated photovoltaic array region, then the isolated photovoltaic array region is merged with the original photovoltaic array region that is the closest to and adjacent to the isolated photovoltaic array region.

[0032] Optionally, the step of determining the target photovoltaic array region set based on the set of non-isolated photovoltaic array regions, the adjacency graph, and the original photovoltaic array region set includes:

[0033] Determine the number of first photovoltaic arrays in each of the non-isolated photovoltaic array regions in the set of non-isolated photovoltaic array regions, and determine the number of second photovoltaic arrays in each of the original photovoltaic array regions in the set of original photovoltaic array regions;

[0034] Based on the number of the first photovoltaic array and the number of the second photovoltaic array, determine the number of the third photovoltaic array that needs to be transferred for each non-isolated photovoltaic array region in the set of non-isolated photovoltaic array regions;

[0035] Based on the number of the third photovoltaic arrays and the adjacency diagram, the set of regions without isolated photovoltaic arrays is optimized to obtain the target photovoltaic array region set.

[0036] Optionally, the step of optimizing the set of regions without isolated photovoltaic arrays based on the number of third photovoltaic arrays and the adjacency graph to obtain the target set of photovoltaic array regions includes:

[0037] Based on the preset planning rules, the number of the third photovoltaic arrays, and the adjacency diagram, determine the number of transferred photovoltaic arrays and the transfer path between the areas without isolated photovoltaic arrays.

[0038] Based on the number of transferred photovoltaic arrays and the transfer path, the set of regions without isolated photovoltaic arrays is optimized to obtain the set of target photovoltaic array regions.

[0039] Optionally, the step of optimizing the set of regions without isolated photovoltaic arrays based on the number of transferred photovoltaic arrays and the transfer path to obtain the target set of photovoltaic array regions includes:

[0040] Based on the number of transferred photovoltaic arrays and the transfer path, determine the photovoltaic array removal areas and photovoltaic array entry areas in the set of areas without isolated photovoltaic arrays;

[0041] Based on the preset removal conditions and the number of photovoltaic arrays to be transferred, the photovoltaic arrays to be removed are determined in the photovoltaic array removal area, and the photovoltaic arrays to be removed are transferred to the photovoltaic array receiving area based on the transfer path to obtain the target photovoltaic array area set.

[0042] Furthermore, to achieve the above objectives, the present invention also provides a photovoltaic array region optimization device, the photovoltaic array region optimization device comprising:

[0043] The acquisition module is used to acquire a set of photovoltaic arrays in the target area and determine the adjacency graph corresponding to the set of photovoltaic arrays.

[0044] The first determining module is used to obtain the original photovoltaic array region set in the target region, and determine the isolated photovoltaic array region based on the adjacency relationship diagram and the original photovoltaic array region set;

[0045] The second determining module is used to determine the target photovoltaic array region set based on the isolated photovoltaic array region, the adjacency relationship diagram, and the original photovoltaic array region set.

[0046] Furthermore, the acquisition module is also used for:

[0047] Obtain the coordinates, length, and width of each array in the photovoltaic array set;

[0048] The photovoltaic array adjacency relationship corresponding to the photovoltaic array set is determined based on the coordinate value, the width value, the length value, and the preset threshold.

[0049] Based on the adjacency relationships of the photovoltaic arrays, an adjacency graph corresponding to the photovoltaic array set is constructed.

[0050] Furthermore, the acquisition module is also used for:

[0051] Based on the coordinate values ​​and the width values, determine the photovoltaic array row set in the photovoltaic array set, and calculate the average spacing corresponding to the photovoltaic array row set;

[0052] The adjacency relationship of the photovoltaic arrays corresponding to the photovoltaic array set is determined based on the coordinate value, the length value, the preset threshold, the photovoltaic array row set, and the average spacing.

[0053] Furthermore, the acquisition module is also used for:

[0054] Based on the adjacency relationship of the photovoltaic arrays, adjacent photovoltaic arrays in the photovoltaic array set are connected to obtain a photovoltaic array connectivity graph;

[0055] Detect whether there are any unconnected areas in the photovoltaic array connectivity diagram;

[0056] If it does not exist, then the adjacency graph corresponding to the photovoltaic array set is determined based on the photovoltaic array connectivity graph;

[0057] If they exist, the unconnected regions are connected based on preset connectivity rules to obtain the adjacency graph corresponding to the photovoltaic array set.

[0058] Furthermore, the first determining module is also used for:

[0059] Select one original photovoltaic array region from the set of original photovoltaic array regions in sequence, and then randomly select one photovoltaic array from the selected original photovoltaic array region;

[0060] Based on the adjacency graph, determine whether the selected photovoltaic array can access all photovoltaic arrays in its original photovoltaic array region;

[0061] If so, then it is determined that the selected original photovoltaic array region is not an isolated photovoltaic array region;

[0062] If not, then the selected original photovoltaic array area is determined to be an isolated photovoltaic array area.

[0063] Furthermore, the second determining module is also used for:

[0064] Based on the adjacency diagram, the isolated photovoltaic array corresponding to the isolated photovoltaic array region is determined, and the isolated photovoltaic array is merged with the original photovoltaic array region adjacent to the isolated photovoltaic array region to obtain a set of regions without isolated photovoltaic arrays;

[0065] The target photovoltaic array region set is determined based on the set of non-isolated photovoltaic array regions, the adjacency relationship diagram, and the original photovoltaic array region set.

[0066] Furthermore, the second determining module is also used for:

[0067] Based on the adjacency diagram, determine the number of original photovoltaic array regions adjacent to the isolated photovoltaic array region;

[0068] If there is only one original photovoltaic array region adjacent to the isolated photovoltaic array region, then the isolated photovoltaic array region and the original photovoltaic array region adjacent to the isolated photovoltaic array region will be merged.

[0069] If there are multiple original photovoltaic array regions adjacent to the isolated photovoltaic array region, then the isolated photovoltaic array region is merged with the original photovoltaic array region that is the closest to and adjacent to the isolated photovoltaic array region.

[0070] Furthermore, the second determining module is also used for:

[0071] Determine the number of first photovoltaic arrays in each of the non-isolated photovoltaic array regions in the set of non-isolated photovoltaic array regions, and determine the number of second photovoltaic arrays in each of the original photovoltaic array regions in the set of original photovoltaic array regions;

[0072] Based on the number of the first photovoltaic array and the number of the second photovoltaic array, determine the number of the third photovoltaic array that needs to be transferred for each non-isolated photovoltaic array region in the set of non-isolated photovoltaic array regions;

[0073] Based on the number of the third photovoltaic arrays and the adjacency diagram, the set of regions without isolated photovoltaic arrays is optimized to obtain the target photovoltaic array region set.

[0074] Furthermore, the second determining module is also used for:

[0075] Based on the preset planning rules, the number of the third photovoltaic arrays, and the adjacency diagram, determine the number of transferred photovoltaic arrays and the transfer path between the areas without isolated photovoltaic arrays.

[0076] Based on the number of transferred photovoltaic arrays and the transfer path, the set of regions without isolated photovoltaic arrays is optimized to obtain the set of target photovoltaic array regions.

[0077] Furthermore, the second determining module is also used for:

[0078] Based on the number of transferred photovoltaic arrays and the transfer path, determine the photovoltaic array removal areas and photovoltaic array entry areas in the set of areas without isolated photovoltaic arrays;

[0079] Based on the preset removal conditions and the number of photovoltaic arrays to be transferred, the photovoltaic arrays to be removed are determined in the photovoltaic array removal area, and the photovoltaic arrays to be removed are transferred to the photovoltaic array receiving area based on the transfer path to obtain the target photovoltaic array area set.

[0080] In addition, to achieve the above objectives, the present invention also provides a photovoltaic array region optimization system, which includes: a memory, a processor, and a photovoltaic array region optimization program stored in the memory and executable on the processor. When the photovoltaic array region optimization program is executed by the processor, it implements the steps of the photovoltaic array region optimization method as described above.

[0081] In addition, to achieve the above objectives, the present invention also provides a storage medium storing a photovoltaic array region optimization program, which, when executed by a processor, implements the steps of the photovoltaic array region optimization method as described above.

[0082] The photovoltaic array region optimization method proposed in this invention obtains a set of photovoltaic arrays in a target region and determines the adjacency graph corresponding to the set of photovoltaic arrays; obtains a set of original photovoltaic array regions in the target region and determines isolated photovoltaic array regions based on the adjacency graph and the original set of photovoltaic array regions; and determines a target set of photovoltaic array regions based on the isolated photovoltaic array regions, the adjacency graph, and the original set of photovoltaic array regions. This invention determines isolated photovoltaic array regions based on the adjacency graph and the original set of photovoltaic array regions, and then optimizes the original set of photovoltaic array regions based on the isolated photovoltaic array regions and the adjacency graph to determine the target set of photovoltaic array regions, ensuring that there are no isolated regions in the target set of photovoltaic array regions. Attached Figure Description

[0083] Figure 1 This is a flowchart illustrating the first embodiment of the photovoltaic array region optimization method of the present invention;

[0084] Figure 2 This is a schematic diagram of the photovoltaic array distribution corresponding to the photovoltaic array set in the target area of ​​the present invention;

[0085] Figure 3 This is a schematic diagram of the adjacency relationship of the photovoltaic array of the present invention;

[0086] Figure 4 This is a schematic diagram of the original photovoltaic array region set of the present invention;

[0087] Figure 5 This is a schematic diagram of the isolated photovoltaic array region of the present invention;

[0088] Figure 6 This is a flowchart illustrating the second embodiment of the photovoltaic array region optimization method of the present invention;

[0089] Figure 7 This is a schematic diagram of the photovoltaic array transfer of the present invention;

[0090] Figure 8 This is a schematic diagram of the photovoltaic array region optimization device of the present invention.

[0091] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0092] Reference Figure 1 , Figure 1 This is a flowchart illustrating the first embodiment of the photovoltaic array region optimization method of the present invention. The method includes:

[0093] Step S10: Obtain the set of photovoltaic arrays in the target area and determine the adjacency relationship graph corresponding to the set of photovoltaic arrays;

[0094] Step S20: Obtain the original photovoltaic array region set in the target region, and determine the isolated photovoltaic array region based on the adjacency relationship graph and the original photovoltaic array region set;

[0095] Step S30: Determine the target photovoltaic array region set based on the isolated photovoltaic array region, the adjacency relationship diagram, and the original photovoltaic array region set.

[0096] This embodiment of the photovoltaic array region optimization method is applied to a photovoltaic array region optimization system in a photovoltaic power plant. This system can be applied to intelligent devices such as terminal devices and PC terminals. For ease of description, a photovoltaic array region optimization system is used as an example. The photovoltaic array region optimization system determines the set of photovoltaic arrays in the target area and obtains the coordinate, length, and width values ​​corresponding to each array in the set. Based on the coordinate, width, and length values ​​and a preset threshold, the system determines the adjacency relationships of the photovoltaic arrays in the set and constructs an adjacency graph based on these relationships. The system obtains the original set of photovoltaic array regions in the target area, sequentially selects one original photovoltaic array region from the set, and randomly selects one photovoltaic array from the selected region. Based on the adjacency graph, it determines whether the selected photovoltaic array can access all photovoltaic arrays in its original photovoltaic array region. If yes, the selected original photovoltaic array region is determined to be not an isolated photovoltaic array region; otherwise, the selected original photovoltaic array region is determined to be an isolated photovoltaic array region. The photovoltaic array region optimization system determines the isolated photovoltaic arrays corresponding to the isolated photovoltaic array regions based on the adjacency relationship diagram, and merges the isolated photovoltaic arrays with the original photovoltaic array regions adjacent to the isolated photovoltaic array regions to obtain a set of regions without isolated photovoltaic arrays; based on the set of regions without isolated photovoltaic arrays, the adjacency relationship diagram and the set of original photovoltaic array regions, the target photovoltaic array region set is determined.

[0097] The photovoltaic array region optimization method of this embodiment obtains a set of photovoltaic arrays in a target region and determines the adjacency graph corresponding to the set of photovoltaic arrays; obtains a set of original photovoltaic array regions in the target region and determines isolated photovoltaic array regions based on the adjacency graph and the original set of photovoltaic array regions; and determines the target set of photovoltaic array regions based on the isolated photovoltaic array regions, the adjacency graph, and the original set of photovoltaic array regions. This invention determines isolated photovoltaic array regions based on the adjacency graph and the original set of photovoltaic array regions, and then optimizes the original set of photovoltaic array regions based on the isolated photovoltaic array regions and the adjacency graph to determine the target set of photovoltaic array regions, ensuring that there are no isolated regions in the target set of photovoltaic array regions.

[0098] The following will provide a detailed explanation of each step:

[0099] Step S10: Obtain the set of photovoltaic arrays in the target area and determine the adjacency relationship graph corresponding to the set of photovoltaic arrays;

[0100] In this embodiment, the photovoltaic array region optimization system acquires a set of photovoltaic arrays in the target region and identifies other photovoltaic arrays adjacent to each photovoltaic array in the set, thereby determining the adjacency graph corresponding to the set of photovoltaic arrays; it can be understood that, as Figure 2 As shown, Figure 2 This is a schematic diagram showing the distribution of photovoltaic arrays corresponding to the photovoltaic array set in the target area, where... Figure 2 Each rectangle in the diagram represents a photovoltaic array.

[0101] Specifically, the steps for determining the adjacency graph corresponding to the photovoltaic array set include:

[0102] Step S101: Obtain the coordinate values, length values, and width values ​​corresponding to each array in the photovoltaic array set;

[0103] In this step, the photovoltaic array region optimization system obtains the coordinate values, length values, and width values ​​corresponding to each photovoltaic array in the photovoltaic array set; specifically, as follows: Figure 2 As shown, in Figure 2 Establish a rectangular coordinate system in the middle and obtain Figure 2 The coordinates of the four vertices of the rectangle representing the photovoltaic array are used to calculate the length and width of each photovoltaic array based on the coordinates of the four vertices of each matrix. Figure 2 As shown, the length of the shorter side of the rectangle is the width value, and the length of the longer side of the rectangle is the length value.

[0104] Step S102: Determine the photovoltaic array adjacency relationship corresponding to the photovoltaic array set based on the coordinate value, the width value, the length value and the preset threshold;

[0105] In this step, the photovoltaic array region optimization system calculates the coordinates of the geometric center of each photovoltaic array based on the coordinates of its four vertices. Using the coordinates of the geometric center and the width of each photovoltaic array, the system divides all photovoltaic arrays in the set into several rows. It then determines the adjacent rows of photovoltaic arrays for each row. Finally, based on the coordinates of the four vertices and the length of each photovoltaic array, it determines the left and right adjacent photovoltaic arrays and the top and bottom adjacent photovoltaic arrays for each photovoltaic array in each row, thereby determining the adjacency relationships of the photovoltaic arrays in the set.

[0106] Specifically, step S102 includes:

[0107] Step S1021: Based on the coordinate values ​​and the width values, determine the photovoltaic array row set in the photovoltaic array set, and calculate the average spacing corresponding to the photovoltaic array row set;

[0108] In this step, the photovoltaic array region optimization system calculates the difference in the ordinates of the geometric centers of every two photovoltaic arrays in the photovoltaic array set, compares the difference in ordinates with the width value, and divides photovoltaic arrays with a difference in ordinates less than the width value into the same row. This process divides all photovoltaic arrays in the photovoltaic array set into several rows, thus determining the photovoltaic array row set. Simultaneously, based on the coordinates of the geometric centers of all photovoltaic arrays in each row of the photovoltaic array row set, the geometric center coordinates of each photovoltaic array row are calculated. Finally, based on the geometric center coordinates of each row, the average spacing in the ordinate direction between all photovoltaic array rows in the photovoltaic array row set is determined.

[0109] Step S1022: Determine the photovoltaic array adjacency relationship corresponding to the photovoltaic array set based on the coordinate value, the length value, the preset threshold, the photovoltaic array row set, and the average spacing.

[0110] In this step, the photovoltaic array region optimization system determines the adjacent photovoltaic array rows corresponding to each photovoltaic array row in the photovoltaic array row set based on the geometric center coordinates of each photovoltaic array row, the first threshold in the preset threshold, and the average spacing. The photovoltaic array region optimization system determines the left and right adjacent photovoltaic arrays of each photovoltaic array based on the x-coordinates of the four vertices of the photovoltaic array in each photovoltaic array row, the length value, and the second threshold in the preset threshold. It also determines the top and bottom adjacent photovoltaic arrays of each photovoltaic array based on the x-coordinates of the four vertices of the photovoltaic arrays in two adjacent photovoltaic array rows.

[0111] Specifically, the photovoltaic array region optimization system calculates the product of a first threshold in the preset threshold and the average spacing, and compares the difference between the ordinates of the geometric center coordinates of every two photovoltaic array rows in the photovoltaic array row set with the product. If the difference is less than the product, the two photovoltaic array rows are determined to be adjacent photovoltaic array rows. The photovoltaic array region optimization system calculates the product of the length value and the second threshold in the preset threshold, and calculates the left and right edge distances between every two photovoltaic arrays based on the abscissas of the four vertices of every two photovoltaic arrays in each photovoltaic array row. The left and right edge distances are compared with the product. If the left and right edge distances are less than the product, the two photovoltaic arrays are determined to be left and right adjacent photovoltaic arrays. The photovoltaic array region optimization system compares the abscissas of the four vertices of every two photovoltaic arrays in adjacent photovoltaic array rows. If the abscissas of the four vertices of the two photovoltaic arrays intersect, the two photovoltaic arrays are determined to be top and bottom adjacent photovoltaic arrays.

[0112] Step S103: Construct an adjacency graph corresponding to the photovoltaic array set based on the adjacency relationship of the photovoltaic arrays.

[0113] In this step, after determining the vertical and horizontal adjacent relationships of each photovoltaic array in the photovoltaic array set, the photovoltaic array region optimization system constructs an adjacent relationship graph corresponding to the photovoltaic array set based on the adjacent relationships of the photovoltaic arrays.

[0114] Specifically, step S103 includes:

[0115] Step S1031: Based on the adjacency relationship of the photovoltaic arrays, connect the adjacent photovoltaic arrays in the photovoltaic array set to obtain a photovoltaic array connectivity graph;

[0116] Step S1032: Detect whether there are any unconnected areas in the photovoltaic array connectivity diagram;

[0117] Step S1033: If it does not exist, then determine the adjacency graph corresponding to the photovoltaic array set based on the photovoltaic array connectivity graph;

[0118] Step S1034: If it exists, then based on the preset connectivity rules, connect the unconnected regions to obtain the adjacency graph corresponding to the photovoltaic array set.

[0119] In steps S1031 to S1032, the photovoltaic array region optimization system connects adjacent photovoltaic arrays on the left and right sides and connects adjacent photovoltaic arrays on the top and bottom sides according to the adjacency relationship of each photovoltaic array in the photovoltaic array set, obtaining a photovoltaic array connectivity graph. Then, it checks whether there are any unconnected regions in the photovoltaic array connectivity graph. If not, it determines the adjacency relationship graph corresponding to the photovoltaic array set based on the photovoltaic array connectivity graph; if so, it determines the photovoltaic array closest to the photovoltaic array in the unconnected region based on preset connectivity rules, and connects the photovoltaic arrays in the unconnected region to obtain the adjacency relationship graph corresponding to the photovoltaic array set. For example, the adjacency relationship graph is as follows: Figure 3 As shown, Figure 3 A dot in the diagram represents a photovoltaic array. Photovoltaic arrays are connected according to their vertical and horizontal adjacency. For photovoltaic arrays that are neither vertically nor horizontally adjacent, the photovoltaic arrays connected to them are determined according to the principle of proximity.

[0120] Step S20: Obtain the original photovoltaic array region set in the target region, and determine the isolated photovoltaic array region based on the adjacency relationship graph and the original photovoltaic array region set;

[0121] In this embodiment, the photovoltaic array region optimization system obtains the original set of photovoltaic array regions in the target region, and determines isolated photovoltaic array regions based on the adjacency graph and the original set of photovoltaic array regions; specifically, as shown... Figure 4 As shown, Figure 4 This is a schematic diagram of the original photovoltaic array region. Figure 4 In the diagram, each number represents a region of the original photovoltaic array, and each different graphic represents a photovoltaic array. The same graphic represents a photovoltaic array in the same region of the original photovoltaic array.

[0122] Specifically, the step of determining isolated photovoltaic array regions based on the adjacency relationship graph and the original photovoltaic array region set includes:

[0123] Step S201: Select an original photovoltaic array region from the set of original photovoltaic array regions in sequence, and randomly select a photovoltaic array from the selected original photovoltaic array region;

[0124] Step S202: Based on the adjacency graph, determine whether the selected photovoltaic array can access all photovoltaic arrays in its original photovoltaic array region;

[0125] Step S203: If yes, then determine that the selected original photovoltaic array region is not an isolated photovoltaic array region;

[0126] Step S204: If not, then determine that the selected original photovoltaic array region is an isolated photovoltaic array region.

[0127] In steps S201 to S203, the photovoltaic array region optimization system sequentially selects an original photovoltaic array region from the original photovoltaic array region set, and randomly selects a photovoltaic array from the selected original photovoltaic array region. Then, based on the adjacency graph, it determines whether the selected photovoltaic array can access all photovoltaic arrays in its original photovoltaic array region. If yes, the selected original photovoltaic array region is determined not to be an isolated photovoltaic array region; otherwise, the selected original photovoltaic array region is determined to be an isolated photovoltaic array region. Specifically, as follows... Figure 5 As shown, Figure 5 This is a schematic diagram of an isolated photovoltaic array region. The photovoltaic array region optimization system selects the original photovoltaic array region numbered 1 from the original photovoltaic array region set, and then randomly selects a photovoltaic array from the original photovoltaic array region numbered 1. Figure 5It is clearly determined that any photovoltaic array in the original photovoltaic array region numbered 1 can access all photovoltaic arrays in its region solely through the connectivity relationships between photovoltaic arrays within that region. This indicates that the original photovoltaic array region numbered 1 is not an isolated photovoltaic array region. The photovoltaic array region optimization system selects the original photovoltaic array region numbered 2 from the set of original photovoltaic array regions, and randomly selects a photovoltaic array from the original photovoltaic array region numbered 2. Figure 5 It is clearly determined that in the original photovoltaic array region numbered 2, there are two photovoltaic arrays that are only connected to the photovoltaic arrays in the original photovoltaic array region numbered 1. Therefore, no single photovoltaic array in the original photovoltaic array region numbered 2 can access all photovoltaic arrays in its own region solely through the connectivity relationships between the arrays within that region. This indicates that the original photovoltaic array region numbered 2 is an isolated photovoltaic array region; and so on. Figure 5 The isolated photovoltaic array regions identified include the original photovoltaic array regions numbered 2, 4, 8, 10, 12, and 15.

[0128] Step S30: Determine the target photovoltaic array region set based on the isolated photovoltaic array region, the adjacency relationship diagram, and the original photovoltaic array region set.

[0129] In this embodiment, after determining isolated photovoltaic array regions, the photovoltaic array region optimization system adjusts and optimizes the isolated photovoltaic array regions in the original photovoltaic array region set based on the adjacency relationship diagram and the isolated photovoltaic array regions, thereby eliminating the isolated photovoltaic array regions in the original photovoltaic array region set and determining the target photovoltaic array region set.

[0130] Specifically, step S30 includes:

[0131] Step S301: Based on the adjacency relationship diagram, determine the isolated photovoltaic array corresponding to the isolated photovoltaic array region, and merge the isolated photovoltaic array with the original photovoltaic array region adjacent to the isolated photovoltaic array region to obtain a set of regions without isolated photovoltaic arrays;

[0132] In this step, the photovoltaic array region optimization system determines the isolated photovoltaic arrays corresponding to isolated photovoltaic array regions based on the adjacency graph, and merges the isolated photovoltaic arrays with the original photovoltaic array regions adjacent to the isolated photovoltaic array regions to obtain a set of regions without isolated photovoltaic arrays; for example Figure 5 As shown, Figure 5In the isolated photovoltaic array region numbered 2, there are two photovoltaic arrays that are only connected to the photovoltaic array in the original photovoltaic array region numbered 1. These two photovoltaic arrays are isolated photovoltaic arrays. The isolated photovoltaic arrays in the isolated photovoltaic array region numbered 2 are merged into the original photovoltaic array region numbered 1. Similarly, the isolated photovoltaic arrays corresponding to the isolated photovoltaic array regions numbered 4, 8, 10, 12, and 15 are merged into their corresponding adjacent original photovoltaic array regions, resulting in a set of regions without isolated photovoltaic arrays.

[0133] Specifically, the step of merging the isolated photovoltaic array with the original photovoltaic array region adjacent to the isolated photovoltaic array region includes:

[0134] Step S3011: Determine the number of original photovoltaic array regions adjacent to the isolated photovoltaic array region based on the adjacency relationship diagram;

[0135] Step S3012: If there is only one original photovoltaic array region adjacent to the isolated photovoltaic array region, then the isolated photovoltaic array region is merged with the original photovoltaic array region adjacent to the isolated photovoltaic array region.

[0136] Step S3013: If there are multiple original photovoltaic array regions adjacent to the isolated photovoltaic array region, then the isolated photovoltaic array region is merged with the original photovoltaic array region that is the closest to and adjacent to the isolated photovoltaic array region.

[0137] In steps S3011 to S3013, the photovoltaic array region optimization system determines the number of original photovoltaic array regions adjacent to each isolated photovoltaic array region based on the adjacency relationship diagram. If an isolated photovoltaic array region has only one adjacent original photovoltaic array region, the isolated photovoltaic array corresponding to the isolated photovoltaic array region is directly merged with the original photovoltaic array region adjacent to the isolated photovoltaic array region. If an isolated photovoltaic array region has multiple adjacent original photovoltaic array regions, the distance between the region center of the isolated photovoltaic array region and the region centers of all adjacent original photovoltaic array regions is calculated, and the original photovoltaic array region with the smallest distance from the region center of the isolated photovoltaic array region and which is adjacent to it is determined. The isolated photovoltaic array corresponding to the isolated photovoltaic array region is then merged into the original photovoltaic array region with the smallest distance from the isolated photovoltaic array region and which is adjacent to it.

[0138] Step S302: Determine the target photovoltaic array region set based on the set of non-isolated photovoltaic array regions, the adjacency relationship diagram, and the original photovoltaic array region set.

[0139] In this step, the photovoltaic array region optimization system compares the number of photovoltaic arrays in each non-isolated photovoltaic array region in the set of non-isolated photovoltaic array regions with the number of photovoltaic arrays in the corresponding original photovoltaic array region in the original photovoltaic array region set. It determines the number of photovoltaic arrays that need to be moved out or in each non-isolated photovoltaic array region. Based on the adjacency graph and the number of photovoltaic arrays to be moved out or in each non-isolated photovoltaic array region, it minimizes the product of the number of photovoltaic arrays and the path between non-isolated photovoltaic array regions. Then, it transfers the photovoltaic arrays in the non-isolated photovoltaic array regions that need to be transferred, ultimately obtaining the target photovoltaic array region set. This ensures that the number of photovoltaic arrays in each target photovoltaic array region in the obtained target photovoltaic array region set is consistent with the number of photovoltaic arrays in the corresponding original photovoltaic array region in the original photovoltaic array region set.

[0140] The photovoltaic array region optimization system in this embodiment determines the set of photovoltaic arrays in the target region and obtains the coordinate, length, and width values ​​corresponding to each array in the photovoltaic array set. Based on the coordinate, width, and length values ​​and a preset threshold, the system determines the adjacency relationships of the photovoltaic arrays in the set and constructs an adjacency graph based on these relationships. The system obtains the original set of photovoltaic array regions in the target region, selects one original photovoltaic array region sequentially, and randomly selects one photovoltaic array within that region. Based on the adjacency graph, it determines whether the selected photovoltaic array can access all photovoltaic arrays within its original photovoltaic array region. If so, the selected original photovoltaic array region is determined not to be an isolated photovoltaic array region; otherwise, it is determined to be an isolated photovoltaic array region. Based on the adjacency graph, the system identifies the isolated photovoltaic arrays corresponding to the isolated photovoltaic array regions and merges these isolated photovoltaic arrays with the original photovoltaic array regions adjacent to them, resulting in a set of regions without isolated photovoltaic arrays. Based on the set of regions without isolated photovoltaic arrays, the adjacency graph, and the original photovoltaic array region set, the system determines the target photovoltaic array region set. Isolated photovoltaic array regions are determined based on the adjacency graph and the original set of photovoltaic array regions. Then, the original set of photovoltaic array regions is optimized based on the isolated photovoltaic array regions and the adjacency graph to determine the target set of photovoltaic array regions, so that there are no isolated regions in the photovoltaic array region set of the target set.

[0141] Further, refer to Figure 6The second embodiment of the present invention is proposed. The difference between the second embodiment and the first embodiment is that the step of determining the target photovoltaic array region set based on the set of non-isolated photovoltaic array regions, the adjacency diagram, and the original photovoltaic array region set includes:

[0142] Step S3021: Determine the number of first photovoltaic arrays in each non-isolated photovoltaic array region of the set of non-isolated photovoltaic array regions, and determine the number of second photovoltaic arrays in each original photovoltaic array region of the set of original photovoltaic array regions;

[0143] In this step, after determining the set of non-isolated photovoltaic array regions, the photovoltaic array region optimization system counts the number of first photovoltaic arrays included in each non-isolated photovoltaic array region within the set, and determines the number of second photovoltaic arrays in each original photovoltaic array region within the original photovoltaic array region set. It is understood that the set of non-isolated photovoltaic array regions is obtained by adjusting the original photovoltaic array region set. The number of non-isolated photovoltaic array regions in the set is the same as the number of original photovoltaic array regions in the original photovoltaic array region set. However, the number of photovoltaic arrays included in non-isolated photovoltaic array regions with the same number may be the same or different from the number of photovoltaic arrays in the original photovoltaic array regions.

[0144] Step S3022: Based on the number of the first photovoltaic arrays and the number of the second photovoltaic arrays, determine the number of third photovoltaic arrays that need to be transferred for each non-isolated photovoltaic array region in the set of non-isolated photovoltaic array regions;

[0145] In this step, the photovoltaic array area optimization system subtracts the number of second photovoltaic arrays in the original photovoltaic array area with the same number from the number of first photovoltaic arrays in the non-isolated photovoltaic array area with the same number to determine the number of third photovoltaic arrays that need to be transferred in the corresponding non-isolated photovoltaic array area. It can be understood that when the number of second photovoltaic arrays in the original photovoltaic array area is the same as the number of first photovoltaic arrays in the non-isolated photovoltaic array area with the same number, it means that the corresponding non-isolated photovoltaic array area does not need to transfer photovoltaic arrays.

[0146] Step S3023: Based on the number of third photovoltaic arrays and the adjacency relationship diagram, optimize the set of regions without isolated photovoltaic arrays to obtain the target photovoltaic array region set.

[0147] In this step, the photovoltaic array region optimization system transfers photovoltaic arrays within the set of non-isolated photovoltaic array regions based on the number of third photovoltaic arrays that need to be transferred in each non-isolated photovoltaic array region and the adjacency relationship graph, thereby obtaining the target photovoltaic array region set.

[0148] Specifically, step S3023 includes:

[0149] Step S30231: Based on the preset planning rules, the number of the third photovoltaic arrays, and the adjacency relationship diagram, determine the number of transferred photovoltaic arrays and the transfer path between the areas without isolated photovoltaic arrays.

[0150] In this step, the photovoltaic array region optimization system determines the number of transferred photovoltaic arrays and transfer paths between non-isolated photovoltaic array regions in the non-isolated photovoltaic array region set based on preset planning rules, the number of third photovoltaic arrays, and the adjacency relationship graph. Specifically, the photovoltaic array region optimization system uses an integer programming method, with the objective of minimizing the product of the number of transferred photovoltaic arrays and transfer paths, to calculate the number of transferred photovoltaic arrays and transfer paths between non-isolated photovoltaic array regions in the non-isolated photovoltaic array region set: Let there be m non-isolated photovoltaic array regions (A1, A2, ..., A...). m The photovoltaic array needs to be moved in, and the number of third photovoltaic arrays added to each area without an isolated photovoltaic array is (c1, c2, ..., c). m There are n non-isolated photovoltaic array regions (B1, B2, ..., B...). n The photovoltaic array needs to be removed, and the number of third photovoltaic arrays added to each area without an isolated photovoltaic array is (d1, d2, ..., d). m ), L ij For the calculated region A i To Area B j The distance, where the path distance between adjacent regions is set to 1, X ij Indicates region B j Equivalent transfer to region A i The number of photovoltaic arrays can be expressed using integer programming as follows:

[0151] min∑X ij *L ij

[0152]

[0153] Based on the expression of the above integer programming, the number of transferred photovoltaic arrays and the transfer path between regions without isolated photovoltaic arrays can be calculated.

[0154] For example, the number of second photovoltaic arrays in each original photovoltaic array region included in the original photovoltaic array region set is shown in the table below:

[0155]

[0156] The number of the first photovoltaic array in each of the non-isolated photovoltaic array regions included in the set of non-isolated photovoltaic array regions is shown in the table below:

[0157]

[0158] Six areas without isolated photovoltaic (PV) arrays (2, 4, 8, 10, 12, 15) need to be relocated to PV arrays, with the number of third PV arrays added to each area being (2, 3, 3, 1, 2, 5); five areas without isolated PV arrays (1, 5, 6, 14, 16) need to be removed from PV arrays, with the number of third PV arrays added to each area being (2, 7, 2, 3, 2). ij To calculate the distance from the region without isolated photovoltaic arrays that needs to be moved into the photovoltaic array to the region without isolated photovoltaic arrays that needs to be moved out of the photovoltaic array, i∈(2,4,8,10,12,15), j∈(1,5,6,14,16), the integer programming constraints are as follows:

[0159] min∑X ij *I ij

[0160]

[0161] The calculated number of transferred photovoltaic arrays and transfer paths between regions without isolated photovoltaic arrays are shown in the table below:

[0162]

[0163] That is, two photovoltaic arrays are moved from area 1 to area 2, with the transfer path being area 1 to area 2; three photovoltaic arrays are moved from area 5 to area 4, with the transfer path being area 5 to area 4; one photovoltaic array is moved from area 5 to area 8, with the transfer path being area 5 to area 6, area 6 to area 7, area 7 to area 8; and so on.

[0164] Step S30232: Based on the number of transferred photovoltaic arrays and the transfer path, optimize the set of regions without isolated photovoltaic arrays to obtain the set of target photovoltaic array regions.

[0165] Specifically, step S30232 includes:

[0166] Step S302321: Based on the number of photovoltaic arrays to be transferred and the transfer path, determine the photovoltaic array regions to be moved out and the photovoltaic array regions to be moved into in the set of regions without isolated photovoltaic arrays;

[0167] Step S302322: Based on the preset removal conditions and the number of photovoltaic arrays to be transferred, determine the photovoltaic arrays to be removed in the photovoltaic array removal area, and transfer the photovoltaic arrays to be removed to the photovoltaic array receiving area based on the transfer path to obtain the target photovoltaic array area set.

[0168] In steps S302321 to S302322, the photovoltaic array region optimization system determines the photovoltaic array regions to be moved out and the photovoltaic array regions to be moved into in the set of regions without isolated photovoltaic arrays based on the number of photovoltaic arrays to be transferred and the transfer path. Based on the preset removal conditions and the number of photovoltaic arrays to be transferred, the system determines the photovoltaic arrays to be moved out in the photovoltaic array regions to be moved out and transfers the photovoltaic arrays to be moved out to the photovoltaic array regions to be moved into based on the transfer path, so as to obtain the target photovoltaic array region set.

[0169] For example: Suppose that region A needs to transfer two photovoltaic arrays to region D, where region A is adjacent to region B, region B is adjacent to region C, and region C is adjacent to region D. Then the transfer path from region A to region D is A→B→C→D, requiring three transfers: A→B, B→C, and C→D. Figure 7 As shown, Figure 7 This is a schematic diagram of the photovoltaic array transfer. The transfer process from A to B is as follows:

[0170] 1) Calculate the photovoltaic arrays in region B that are adjacent to region A, and select the photovoltaic array in region B that is closest to the geometric center of region B as the initial photovoltaic array.

[0171] 2) Based on the adjacency relationship of the initial photovoltaic array, select a photovoltaic array from region A that meets the following two constraints: 1. It is closest to the geometric center of region B; 2. Removing this photovoltaic array will not affect the connectivity of the remaining photovoltaic arrays in region A; then transfer the photovoltaic array to be removed to region B.

[0172] 3) Repeat steps 1) and 2) until both photovoltaic arrays that need to be moved from region A are moved to region B.

[0173] The transfer methods for B→C and C→D are similar to those for A→B, so they will not be described in detail here.

[0174] The photovoltaic array region optimization system in this embodiment adjusts the number of photovoltaic arrays in the non-isolated photovoltaic array regions of the non-isolated photovoltaic array region set, so that the number of photovoltaic arrays in each photovoltaic array region of the final target photovoltaic array region set is the same as the number of photovoltaic arrays in each photovoltaic array region of the original photovoltaic array region set. At the same time, it eliminates the isolated photovoltaic array regions that appeared in the original photovoltaic array region set, ensuring that there are no isolated photovoltaic array regions in the final target photovoltaic array region set.

[0175] like Figure 8 As shown, the present invention also provides a photovoltaic array area optimization device. The photovoltaic array area optimization device of the present invention includes:

[0176] The acquisition module 101 is used to acquire a set of photovoltaic arrays in the target area and determine the adjacency relationship diagram corresponding to the set of photovoltaic arrays;

[0177] The first determining module 102 is used to obtain the original photovoltaic array region set in the target region, and determine the isolated photovoltaic array region based on the adjacency relationship diagram and the original photovoltaic array region set;

[0178] The second determining module 103 is used to determine the target photovoltaic array region set based on the isolated photovoltaic array region, the adjacency relationship diagram, and the original photovoltaic array region set.

[0179] Furthermore, the acquisition module is also used for:

[0180] Obtain the coordinates, length, and width of each array in the photovoltaic array set;

[0181] The photovoltaic array adjacency relationship corresponding to the photovoltaic array set is determined based on the coordinate value, the width value, the length value, and the preset threshold.

[0182] Based on the adjacency relationships of the photovoltaic arrays, an adjacency graph corresponding to the photovoltaic array set is constructed.

[0183] Furthermore, the acquisition module is also used for:

[0184] Based on the coordinate values ​​and the width values, determine the photovoltaic array row set in the photovoltaic array set, and calculate the average spacing corresponding to the photovoltaic array row set;

[0185] The adjacency relationship of the photovoltaic arrays corresponding to the photovoltaic array set is determined based on the coordinate value, the length value, the preset threshold, the photovoltaic array row set, and the average spacing.

[0186] Furthermore, the acquisition module is also used for:

[0187] Based on the adjacency relationship of the photovoltaic arrays, adjacent photovoltaic arrays in the photovoltaic array set are connected to obtain a photovoltaic array connectivity graph;

[0188] Detect whether there are any unconnected areas in the photovoltaic array connectivity diagram;

[0189] If it does not exist, then the adjacency graph corresponding to the photovoltaic array set is determined based on the photovoltaic array connectivity graph;

[0190] If they exist, the unconnected regions are connected based on preset connectivity rules to obtain the adjacency graph corresponding to the photovoltaic array set.

[0191] Furthermore, the first determining module is also used for:

[0192] Select one original photovoltaic array region from the set of original photovoltaic array regions in sequence, and then randomly select one photovoltaic array from the selected original photovoltaic array region;

[0193] Based on the adjacency graph, determine whether the selected photovoltaic array can access all photovoltaic arrays in its original photovoltaic array region;

[0194] If so, then it is determined that the selected original photovoltaic array region is not an isolated photovoltaic array region;

[0195] If not, then the selected original photovoltaic array area is determined to be an isolated photovoltaic array area.

[0196] Furthermore, the second determining module is also used for:

[0197] Based on the adjacency diagram, the isolated photovoltaic array corresponding to the isolated photovoltaic array region is determined, and the isolated photovoltaic array is merged with the original photovoltaic array region adjacent to the isolated photovoltaic array region to obtain a set of regions without isolated photovoltaic arrays;

[0198] The target photovoltaic array region set is determined based on the set of non-isolated photovoltaic array regions, the adjacency relationship diagram, and the original photovoltaic array region set.

[0199] Furthermore, the second determining module is also used for:

[0200] Based on the adjacency diagram, determine the number of original photovoltaic array regions adjacent to the isolated photovoltaic array region;

[0201] If there is only one original photovoltaic array region adjacent to the isolated photovoltaic array region, then the isolated photovoltaic array region and the original photovoltaic array region adjacent to the isolated photovoltaic array region will be merged.

[0202] If there are multiple original photovoltaic array regions adjacent to the isolated photovoltaic array region, then the isolated photovoltaic array region is merged with the original photovoltaic array region that is the closest to and adjacent to the isolated photovoltaic array region.

[0203] Furthermore, the second determining module is also used for:

[0204] Determine the number of first photovoltaic arrays in each of the non-isolated photovoltaic array regions in the set of non-isolated photovoltaic array regions, and determine the number of second photovoltaic arrays in each of the original photovoltaic array regions in the set of original photovoltaic array regions;

[0205] Based on the number of the first photovoltaic array and the number of the second photovoltaic array, determine the number of the third photovoltaic array that needs to be transferred for each non-isolated photovoltaic array region in the set of non-isolated photovoltaic array regions;

[0206] Based on the number of the third photovoltaic arrays and the adjacency diagram, the set of regions without isolated photovoltaic arrays is optimized to obtain the target photovoltaic array region set.

[0207] Furthermore, the second determining module is also used for:

[0208] Based on the preset planning rules, the number of the third photovoltaic arrays, and the adjacency diagram, determine the number of transferred photovoltaic arrays and the transfer path between the areas without isolated photovoltaic arrays.

[0209] Based on the number of transferred photovoltaic arrays and the transfer path, the set of regions without isolated photovoltaic arrays is optimized to obtain the set of target photovoltaic array regions.

[0210] Furthermore, the second determining module is also used for:

[0211] Based on the number of transferred photovoltaic arrays and the transfer path, determine the photovoltaic array removal areas and photovoltaic array entry areas in the set of areas without isolated photovoltaic arrays;

[0212] Based on the preset removal conditions and the number of photovoltaic arrays to be transferred, the photovoltaic arrays to be removed are determined in the photovoltaic array removal area, and the photovoltaic arrays to be removed are transferred to the photovoltaic array receiving area based on the transfer path to obtain the target photovoltaic array area set.

[0213] The present invention also provides a photovoltaic array area optimization system.

[0214] The photovoltaic array region optimization system includes: a memory, a processor, and a photovoltaic array region optimization program stored in the memory and executable on the processor. When the photovoltaic array region optimization program is executed by the processor, it implements the steps of the photovoltaic array region optimization method as described above.

[0215] The method implemented when the photovoltaic array region optimization program running on the processor is executed can be referred to in various embodiments of the photovoltaic array region optimization method of the present invention, and will not be repeated here.

[0216] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.

[0217] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0218] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present invention.

[0219] The above are merely preferred embodiments of the present invention and do not limit the patent scope of the present invention. Any equivalent structural or procedural transformations made based on the content of the present invention's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of the present invention.

Claims

1. A method for optimizing a photovoltaic array region, characterized in that, The photovoltaic array region optimization method includes the following steps: Obtain the set of photovoltaic arrays in the target area and determine the adjacency graph corresponding to the set of photovoltaic arrays; Obtain the original set of photovoltaic array regions in the target area, and determine isolated photovoltaic array regions based on the adjacency graph and the original set of photovoltaic array regions; The target photovoltaic array region set is determined based on the isolated photovoltaic array region, the adjacency diagram, and the original photovoltaic array region set. The step of determining the target photovoltaic array region set based on the isolated photovoltaic array region, the adjacency diagram, and the original photovoltaic array region set includes: Based on the adjacency diagram, the isolated photovoltaic array corresponding to the isolated photovoltaic array region is determined, and the isolated photovoltaic array is merged with the original photovoltaic array region adjacent to the isolated photovoltaic array region to obtain a set of regions without isolated photovoltaic arrays; Based on the set of non-isolated photovoltaic array regions, the adjacency diagram, and the original set of photovoltaic array regions, the photovoltaic arrays are transferred to determine the target set of photovoltaic array regions. The number of photovoltaic arrays contained in each target photovoltaic array region in the target set of photovoltaic array regions is the same as the number of photovoltaic arrays contained in the corresponding original photovoltaic array region in the original set of photovoltaic array regions.

2. The photovoltaic array region optimization method as described in claim 1, characterized in that, The step of determining the adjacency graph corresponding to the photovoltaic array set includes: Obtain the coordinates, length, and width of each array in the photovoltaic array set; The photovoltaic array adjacency relationship corresponding to the photovoltaic array set is determined based on the coordinate value, the width value, the length value, and the preset threshold. Based on the adjacency relationships of the photovoltaic arrays, an adjacency graph corresponding to the photovoltaic array set is constructed.

3. The photovoltaic array region optimization method as described in claim 2, characterized in that, The step of determining the adjacency relationship of the photovoltaic arrays corresponding to the photovoltaic array set based on the coordinate value, the width value, the length value, and the preset threshold includes: Based on the coordinate values ​​and the width values, determine the photovoltaic array row set in the photovoltaic array set, and calculate the average spacing corresponding to the photovoltaic array row set; The adjacency relationship of the photovoltaic arrays corresponding to the photovoltaic array set is determined based on the coordinate value, the length value, the preset threshold, the photovoltaic array row set, and the average spacing.

4. The photovoltaic array region optimization method as described in claim 2, characterized in that, The step of constructing the adjacency graph corresponding to the photovoltaic array set based on the adjacency relationship of the photovoltaic arrays includes: Based on the adjacency relationship of the photovoltaic arrays, adjacent photovoltaic arrays in the photovoltaic array set are connected to obtain a photovoltaic array connectivity graph; Detect whether there are any unconnected areas in the photovoltaic array connectivity diagram; If it does not exist, then the adjacency graph corresponding to the photovoltaic array set is determined based on the photovoltaic array connectivity graph; If they exist, the unconnected regions are connected based on preset connectivity rules to obtain the adjacency graph corresponding to the photovoltaic array set.

5. The photovoltaic array region optimization method as described in claim 1, characterized in that, The step of determining isolated photovoltaic array regions based on the adjacency graph and the original set of photovoltaic array regions includes: Select one original photovoltaic array region from the set of original photovoltaic array regions in sequence, and then randomly select one photovoltaic array from the selected original photovoltaic array region; Based on the adjacency graph, determine whether the selected photovoltaic array can access all photovoltaic arrays in its original photovoltaic array region; If so, then it is determined that the selected original photovoltaic array region is not an isolated photovoltaic array region; If not, then the selected original photovoltaic array area is determined to be an isolated photovoltaic array area.

6. The photovoltaic array region optimization method as described in claim 1, characterized in that, The step of merging the isolated photovoltaic array with the original photovoltaic array region adjacent to the isolated photovoltaic array region includes: Based on the adjacency diagram, determine the number of original photovoltaic array regions adjacent to the isolated photovoltaic array region; If there is only one original photovoltaic array region adjacent to the isolated photovoltaic array region, then the isolated photovoltaic array region and the original photovoltaic array region adjacent to the isolated photovoltaic array region will be merged. If there are multiple original photovoltaic array regions adjacent to the isolated photovoltaic array region, then the isolated photovoltaic array region is merged with the original photovoltaic array region that is the closest to and adjacent to the isolated photovoltaic array region.

7. The photovoltaic array region optimization method as described in claim 1, characterized in that, The step of determining the target photovoltaic array region set based on the set of non-isolated photovoltaic array regions, the adjacency graph, and the original photovoltaic array region set includes: Determine the number of first photovoltaic arrays in each of the non-isolated photovoltaic array regions in the set of non-isolated photovoltaic array regions, and determine the number of second photovoltaic arrays in each of the original photovoltaic array regions in the set of original photovoltaic array regions; Based on the number of the first photovoltaic array and the number of the second photovoltaic array, determine the number of the third photovoltaic array that needs to be transferred for each non-isolated photovoltaic array region in the set of non-isolated photovoltaic array regions; Based on the number of the third photovoltaic arrays and the adjacency diagram, the set of regions without isolated photovoltaic arrays is optimized to obtain the target photovoltaic array region set.

8. The photovoltaic array region optimization method as described in claim 7, characterized in that, The step of optimizing the set of regions without isolated photovoltaic arrays based on the number of third photovoltaic arrays and the adjacency graph to obtain the target set of photovoltaic array regions includes: Based on the preset planning rules, the number of the third photovoltaic arrays, and the adjacency diagram, determine the number of transferred photovoltaic arrays and the transfer path between the areas without isolated photovoltaic arrays. Based on the number of transferred photovoltaic arrays and the transfer path, the set of regions without isolated photovoltaic arrays is optimized to obtain the set of target photovoltaic array regions.

9. The photovoltaic array region optimization method as described in claim 8, characterized in that, The step of optimizing the set of regions without isolated photovoltaic arrays based on the number of transferred photovoltaic arrays and the transfer path to obtain the target set of photovoltaic array regions includes: Based on the number of transferred photovoltaic arrays and the transfer path, determine the photovoltaic array removal areas and photovoltaic array entry areas in the set of areas without isolated photovoltaic arrays; Based on the preset removal conditions and the number of photovoltaic arrays to be transferred, the photovoltaic arrays to be removed are determined in the photovoltaic array removal area, and the photovoltaic arrays to be removed are transferred to the photovoltaic array receiving area based on the transfer path to obtain the target photovoltaic array area set.

10. A photovoltaic array region optimization device, characterized in that, The photovoltaic array region optimization device includes: The acquisition module is used to acquire a set of photovoltaic arrays in the target area and determine the adjacency graph corresponding to the set of photovoltaic arrays. The first determining module is used to obtain the original photovoltaic array region set in the target region, and determine the isolated photovoltaic array region based on the adjacency relationship diagram and the original photovoltaic array region set; The second determining module is used to determine the target photovoltaic array region set based on the isolated photovoltaic array region, the adjacency relationship diagram, and the original photovoltaic array region set; The second determining module is also used for: Based on the adjacency diagram, the isolated photovoltaic array corresponding to the isolated photovoltaic array region is determined, and the isolated photovoltaic array is merged with the original photovoltaic array region adjacent to the isolated photovoltaic array region to obtain a set of regions without isolated photovoltaic arrays; Based on the set of non-isolated photovoltaic array regions, the adjacency diagram, and the original set of photovoltaic array regions, the photovoltaic arrays are transferred to determine the target set of photovoltaic array regions. The number of photovoltaic arrays contained in each target photovoltaic array region in the target set of photovoltaic array regions is the same as the number of photovoltaic arrays contained in the corresponding original photovoltaic array region in the original set of photovoltaic array regions.

11. A photovoltaic array region optimization system, characterized in that, The photovoltaic array region optimization system includes: a memory, a processor, and a photovoltaic array region optimization program stored in the memory and executable on the processor. When the photovoltaic array region optimization program is executed by the processor, it implements the steps of the photovoltaic array region optimization method as described in any one of claims 1 to 9.