Fine-tuning distance determination method and apparatus, and electronic device
By calculating the movable distance of the array boundary and column base boundary of the photovoltaic array, the problem of fixed installation position of the photovoltaic array is solved, realizing flexible fine-tuning of the installation position of the photovoltaic array, adapting to different user needs and ensuring installation stability.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HEFEI SUNGROW RENEWABLE ENERGY SCI & TECH CO LTD
- Filing Date
- 2023-01-06
- Publication Date
- 2026-05-12
Smart Images

Figure CN115937201B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of photovoltaic design technology, and in particular to a method, apparatus and electronic device for fine-tuning distance determination. Background Technology
[0002] With the continuous development of green energy in China, solar power generation has been widely applied, leading to the development of residential photovoltaic (PV) power stations. A PV power station is a power generation system that utilizes solar energy, employs special materials such as crystalline silicon panels, inverters, and other electronic components, and is connected to the power grid to transmit electricity. A PV power station includes a photovoltaic array, which is a connection of multiple photovoltaic modules, or more photovoltaic cells.
[0003] Currently, the design of photovoltaic arrays for residential photovoltaic power stations does not take into account the actual installation scenarios. The installation positions of photovoltaic arrays are fixed and cannot be fine-tuned. Therefore, existing photovoltaic arrays cannot be flexibly adjusted in terms of installation position according to the user's needs during the design process. Summary of the Invention
[0004] This invention provides a method, apparatus, and electronic device for determining a fine-tuning distance, which is used to fine-tune the installation position of a photovoltaic array.
[0005] According to one aspect of the present invention, a method for determining fine-tuning distance is provided, comprising:
[0006] The array boundary and column base boundary are determined based on the initial boundary and roof information of the roof to be installed. The array boundary is the boundary corresponding to the photovoltaic array of the roof to be installed, and the column base boundary is the boundary corresponding to the column base of the photovoltaic array.
[0007] The target array corner point set and multiple column base points are determined based on the photovoltaic array;
[0008] The movable distance of the array boundary is determined based on the array boundary and the set of corner points of the target array.
[0009] The movable distance of the column base boundary is determined based on the column base boundary and each column base point;
[0010] The fine-tuning distance of the photovoltaic array installation position is determined based on the movable distance of the array boundary and the movable distance of the column base boundary.
[0011] According to another aspect of the present invention, a fine-tuning distance determination device is provided, comprising:
[0012] The first determining module is used to determine the array boundary and the column base boundary based on the initial boundary of the roof to be installed and the roof information. The array boundary is the boundary corresponding to the photovoltaic array of the roof to be installed, and the column base boundary is the boundary corresponding to the column base of the photovoltaic array.
[0013] The second determining module is used to determine the target array corner point set and multiple column base points based on the photovoltaic array;
[0014] The third determining module is used to determine the movable distance of the array boundary based on the array boundary and the set of corner points of the target array;
[0015] The fourth determining module is used to determine the movable distance of the column base boundary based on the column base boundary and each column base point;
[0016] The fifth determining module is used to determine the fine-tuning distance of the photovoltaic array installation position based on the movable distance of the array boundary and the movable distance of the column base boundary.
[0017] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0018] At least one processor; and
[0019] A memory communicatively connected to the at least one processor; wherein,
[0020] The memory stores a computer program that can be executed 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 fine-tuning distance determination method according to any embodiment of the present invention.
[0021] The technical solution of this invention first determines the array boundary and column base boundary based on the initial boundary and roof information of the roof to be installed. The array boundary is the boundary corresponding to the photovoltaic array on the roof to be installed, and the column base boundary is the boundary corresponding to the column base of the photovoltaic array. Second, it determines the target array corner point set and multiple column base points based on the photovoltaic array. Then, it determines the movable distance of the array boundary based on the array boundary and the target array corner point set. Next, it determines the movable distance of the column base boundary based on the column base boundary and each column base point. Finally, it determines the fine-tuning distance for the photovoltaic array installation position based on the movable distance of the array boundary and the movable distance of the column base boundary. This technical solution determines the array boundary and column base boundary of the photovoltaic array, and then determines the movable distance of the array boundary and column base boundary based on the array corner points and column base points, thereby determining the fine-tuning distance for fine-tuning the photovoltaic array installation position based on the movable distance, and thus achieving fine-tuning of the photovoltaic array installation position.
[0022] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description
[0023] To more clearly illustrate the technical solutions in the embodiments of the present invention, 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 the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0024] Figure 1 This is a flowchart illustrating a method for determining fine-tuning distance according to Embodiment 1 of the present invention;
[0025] Figure 2 This is a schematic diagram illustrating the implementation of a method for setting the sub-boundary side of various roof types according to Embodiment 1 of the present invention;
[0026] Figure 3 This is a flowchart illustrating a method for determining fine-tuning distance according to Embodiment 2 of the present invention;
[0027] Figure 4 This is a schematic diagram of the structure of a fine-tuning distance determination device provided in Embodiment 3 of the present invention;
[0028] Figure 5 This is a schematic diagram of the structure of an electronic device provided in Embodiment 4 of the present invention. Detailed Implementation
[0029] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0030] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention 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 the invention 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 a 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.
[0031] Example 1
[0032] Figure 1 This is a flowchart illustrating a fine-tuning distance determination method provided in Embodiment 1 of the present invention. This method is applicable to determining the fine-tuning distance used to fine-tune the installation position of a photovoltaic array. This method can be executed by a fine-tuning distance determination device, which can be implemented by software and / or hardware and is generally integrated into an electronic device. In this embodiment, the electronic device includes, but is not limited to, desktop computers, laptops, and servers.
[0033] like Figure 1 As shown in Embodiment 1 of the present invention, a method for determining a fine-tuning distance is provided, which includes the following steps:
[0034] S110. Determine the array boundary and column base boundary based on the initial boundary and roof information of the roof to be installed.
[0035] In this embodiment, the roof to be installed can be understood as a roof awaiting the installation of a photovoltaic array. The initial boundary can be understood as the boundary of the roof to be installed; the initial boundary may include four sub-boundaries: east, west, south, and north. Roof information can be understood as information associated with the roof to be installed; the specific content of the roof information is not limited here, but may include roof type, column base safety distance, cantilever of each roof edge segment, and operation and maintenance of each roof edge segment, etc.
[0036] Here, "roof type" can be understood as the type that characterizes the roof's outline, such as rectangular, L-shaped, concave, and convex shapes. "Column base" can be understood as the feet of the columns used to fix the photovoltaic array; "column base safety distance" can be understood as the distance between the column base and the roof to be installed. "Roof edge segment" can be understood as the line segment containing the roof edge. "Cantilever" can be understood as the distance by which the photovoltaic array is allowed to extend beyond the roof. "Operation and maintenance" can be understood as a maintenance access route; since photovoltaic arrays cannot be arranged for operation and maintenance, it can be considered the distance at which photovoltaic arrays cannot be arranged.
[0037] The array boundary can be understood as the boundary corresponding to the photovoltaic array on the roof to be installed. The column base boundary can be understood as the boundary corresponding to the column base of the photovoltaic array. The array boundary may include four sub-boundaries: east, west, south, and north; correspondingly, the column base boundary may also include four sub-boundaries: east, west, south, and north.
[0038] This section does not specify how to determine the array boundary and column base boundary based on the initial boundary and roof information of the roof to be installed. For example, the roof type and multiple roof edge segments can be determined first based on the image of the roof to be installed, with each roof edge segment corresponding to a roof boundary. Then, for each roof edge segment, if the roof edge segment includes maintenance, the corresponding roof boundary is shortened inwards by the length of the maintenance section to obtain the corresponding array boundary; if the roof edge segment includes cantilever, the corresponding roof boundary is extended outwards by the length of the cantilever to obtain the corresponding array boundary; if the roof edge segment contains neither cantilever nor maintenance, the corresponding roof boundary is used as the corresponding array boundary. Correspondingly, for each roof edge segment, the corresponding roof boundary can be shortened inwards by the length of the column base safety distance to obtain the corresponding column base boundary.
[0039] S120. Determine the target array corner point set and multiple column base points based on the photovoltaic array.
[0040] In this embodiment, the target array corner point set can be understood as the set of corner points associated with the photovoltaic array. A corner point can be understood as a corner point of the photovoltaic array. A column base point can be understood as the point where the column base is located, expressed in the form of point coordinates.
[0041] This section does not specify how to determine the target array corner point set and multiple column base points based on the photovoltaic array. For example, a photovoltaic array can be generated first based on roof information and a pre-defined method for generating photovoltaic arrays based on roof information. Then, the corner points of the generated photovoltaic array are determined, and lines are established between every two corner points to obtain the corresponding boundaries. Finally, based on the obtained multiple boundaries, the length of each boundary, and the coordinates of the corner points, a pre-defined algorithm for calculating the interpolation quantity and interpolation interval is used to calculate the interpolation quantity and interval corresponding to each boundary. Based on this, interpolation is performed based on the interpolation quantity and interval, and all the interpolated corner points and the corner points of the photovoltaic array constitute the corresponding target array corner point set. Correspondingly, since the generated photovoltaic array includes column base settings, the multiple column base points set in the photovoltaic array can be obtained after obtaining the photovoltaic array.
[0042] S130. Determine the movable distance of the array boundary based on the array boundary and the set of corner points of the target array.
[0043] In this embodiment, the movable distance of the array boundary can be understood as the distance that the array boundary can move.
[0044] This section does not specify how to determine the movable distance of the array boundary based on the array boundary and the target array corner point set. For example, for each sub-boundary in the array boundary, the neighborhood corresponding to the sub-boundary can be determined first based on the set neighborhood calculation method; then, among all array corner points within the neighborhood, the array corner point with the largest distance from the sub-boundary can be determined; finally, the distance between the determined array corner point and the sub-boundary can be determined as the movable distance corresponding to the sub-boundary, thereby obtaining the movable distance corresponding to each sub-boundary of the array boundary.
[0045] S140. Determine the movable distance of the column base boundary based on the column base boundary and each column base point.
[0046] In this embodiment, the movable distance of the column base boundary can be understood as the distance that the column base boundary can move.
[0047] This section does not specify how to determine the movable distance of the column base boundary based on the column base boundary and each column base point. For example, for each sub-boundary in the column base boundary, the neighborhood corresponding to the sub-boundary can be determined first based on the set neighborhood calculation method; then, among all the column base points in the neighborhood, the column base point with the largest distance from the sub-boundary can be determined; finally, the distance between the determined column base point and the sub-boundary can be determined as the movable distance corresponding to the sub-boundary, thereby obtaining the movable distance corresponding to each sub-boundary of the column base boundary.
[0048] S150. Determine the fine-tuning distance of the photovoltaic array installation position based on the movable distance of the array boundary and the movable distance of the column base boundary.
[0049] In this embodiment, the fine-tuning distance can be understood as the distance used for fine-tuning the installation position of the photovoltaic array.
[0050] This section does not specify how to determine the fine-tuning distance for the photovoltaic array installation position based on the movable distances of the array boundary and the column base boundary. For example, for each of the east, west, south, and north sides, the minimum movable distance between the movable distance of the array sub-boundary and the movable distance of the column base sub-boundary on that side can be determined as the corresponding fine-tuning distance for that side, thus obtaining the fine-tuning distance for each side.
[0051] This invention provides a method for determining a fine-tuning distance. First, based on the initial boundary and roof information of the roof to be installed, the array boundary and column base boundary are determined. The array boundary corresponds to the boundary of the photovoltaic array on the roof to be installed, and the column base boundary corresponds to the boundary of the column bases of the photovoltaic array. Second, based on the photovoltaic array, a set of target array corner points and multiple column base points are determined. Then, based on the array boundary and the target array corner point set, the movable distance of the array boundary is determined. Next, based on the column base boundary and each column base point, the movable distance of the column base boundary is determined. Finally, based on the movable distance of the array boundary and the movable distance of the column base boundary, the fine-tuning distance for the photovoltaic array installation position is determined. This method determines the array boundary and column base boundary of the photovoltaic array, and then determines the movable distance of the array boundary and column base boundary based on the array corner points and column base points, thereby determining the fine-tuning distance for fine-tuning the photovoltaic array installation position, and thus achieving fine-tuning of the photovoltaic array installation position.
[0052] Optionally, the roof information includes the roof type, column base safety distance, cantilever of each roof edge segment, and operation and maintenance of each roof edge segment; the initial boundary includes the initial east sub-boundary, initial west sub-boundary, initial south sub-boundary, and initial north sub-boundary; the array boundary includes the east array sub-boundary, west array sub-boundary, south array sub-boundary, and north array sub-boundary; the column base boundary includes the east column base sub-boundary, west column base boundary, south column base boundary, and north column base boundary.
[0053] Optionally, the array boundary and column base boundary are determined based on the initial boundary of the roof to be installed and the roof information, including:
[0054] Determine the initial boundary of the roof to be installed and the side to which its corresponding sub-boundaries belong based on the roof image of the roof to be installed;
[0055] In this embodiment, the roof image can be understood as an image of the roof to be installed; the roof image can be a top-down view of the roof obtained by drone aerial photography. Here, there is no specific limitation on how to determine the initial boundary of the roof to be installed and the corresponding sub-boundary sides based on the roof image of the roof to be installed. For example, image edge detection can be performed on the roof image of the roof to be installed to obtain the roof type and multiple roof edge segments; based on this, each roof edge segment can be determined as the initial boundary, and the sub-boundary sides corresponding to each roof edge segment can be determined based on the roof type and a pre-defined mapping relationship between the roof type and the sub-boundary sides of the roof edge segments.
[0056] Optionally, determining the initial boundary of the roof to be installed and the corresponding sub-boundary side based on the roof image of the roof to be installed includes: determining the roof type and multiple roof edge segments of the roof to be installed based on the roof image of the roof to be installed; determining each roof edge segment as the initial boundary, and determining the sub-boundary side corresponding to each roof edge segment based on the roof type and a preset boundary determination method, wherein the preset boundary determination method indicates the mapping relationship between the roof type and the setting method of the sub-boundary side of the roof edge segment.
[0057] In this embodiment, the roof image can be identified using an image processing object detection algorithm to determine the roof type. This object detection algorithm may include, but is not limited to, YOLOv4 and Faster R-CNN. Edge detection algorithms within the image processing algorithm can also be used to detect the edges of the roof image, thereby obtaining roof edge segments. The coordinates of these roof edge segments can then be used to distinguish between horizontal and vertical segments. Edge detection algorithms may include, but are not limited to, Canny edge detection and Hough line detection.
[0058] The side to which a sub-boundary belongs can include the east, west, south, and north sides. After determining the roof edge segments, each roof edge segment can be defined as the initial boundary, and the side to which the sub-boundary belongs for each roof edge segment can be determined based on a preset boundary determination method that indicates the mapping relationship between the roof type and the setting method of the sub-boundary belonging side of the roof edge segment; wherein, one roof edge segment can correspond to one sub-boundary.
[0059] Figure 2 This is a schematic diagram illustrating the implementation of a method for setting the sub-boundaries of various roof types on the side according to Embodiment 1 of the present invention. Figure 2 As shown, this includes the setting methods for the sub-boundary side of a rectangular roof, the sub-boundary side of an L-shaped roof, the sub-boundary side of a concave roof, and the sub-boundary side of a convex roof.
[0060] For each initial sub-boundary, if the initial sub-boundary includes maintenance, the length of maintenance is reduced along the direction inside the roof to be installed to obtain the corresponding array sub-boundary; if the initial sub-boundary includes cantilever, the length of the cantilever is extended along the direction outside the roof to be installed to obtain the corresponding array sub-boundary; if the initial sub-boundary does not include maintenance or cantilever, the initial sub-boundary is determined as the corresponding array sub-boundary; the length of the column base safety distance is reduced along the direction inside the roof to be installed to obtain the corresponding column base sub-boundary.
[0061] In this embodiment, the initial sub-boundary can be understood as the sub-boundaries on each side included by the initial boundary.
[0062] Optionally, the target array corner point set is determined based on the photovoltaic array, including:
[0063] The first and second boundaries are determined based on the photovoltaic array;
[0064] In this embodiment, there is no specific limitation on how to determine the first boundary and the second boundary based on the photovoltaic array. For example, corner point detection can be performed on the photovoltaic array to obtain all the array corner points. Then, the adjacent two corner points in all the array corner points are connected to form a corresponding boundary. Finally, the boundary with the shortest length among the boundaries parallel to the y-axis can be taken as the first boundary, and the boundary with the shortest length among the boundaries parallel to the x-axis can be taken as the second boundary.
[0065] Optionally, determining the first and second boundaries based on the photovoltaic array includes: determining multiple array corner points based on the photovoltaic array; connecting two adjacent array corner points to obtain multiple target boundaries; selecting the target boundary with the smallest length among the target boundaries parallel to the y-axis as the first boundary, and selecting the target boundary with the smallest length among the target boundaries parallel to the x-axis as the second boundary;
[0066] In this embodiment, the target boundary can be understood as the boundary formed by connecting two adjacent array corner points.
[0067] This section does not impose specific limitations on determining multiple array corner points based on the photovoltaic array. For example, the photovoltaic array can be generated first based on roof information and a pre-defined method for generating the array. Then, corner detection algorithms using image processing can be used to identify the array corner points. These algorithms may include, but are not limited to, Harris corner detection. After determining each array corner point, two adjacent array corner points can be connected to obtain multiple target boundaries.
[0068] The algorithm iterates through each array corner point in turn. If the x-axis coordinates of the current and next traversed corner points are the same but the y-axis coordinates are different, the first interpolation quantity and the first interpolation interval between the current and next traversed corner points are determined based on the length of the second boundary, the y-axis coordinates of the current and next traversed corner points, where the x-axis and y-axis are coordinate axes in a Cartesian coordinate system. If the x-axis coordinates of the current and next traversed corner points are different but the y-axis coordinates are the same, the second interpolation quantity and the second interpolation interval between the current and next traversed corner points are determined based on the length of the first boundary, the x-axis coordinates of the current and next traversed corner points, and the determined interpolation quantity and interpolation interval are used to interpolate the target boundary to obtain the target array corner point set.
[0069] In this embodiment, the currently traversed corner point can be understood as the array corner point currently traversed. The next traversed corner point can be understood as the array corner point to be traversed next after the currently traversed corner point. The first interpolation quantity can be understood as the number of array corner points interpolated between the currently traversed corner point with the same x-axis coordinate and different y-axis coordinates and the next traversed corner point; correspondingly, the first interpolation interval can be understood as the interpolation interval when interpolating each array corner point with the first interpolation quantity. The second interpolation quantity can be understood as the number of array corner points interpolated between the currently traversed corner point with different x-axis coordinates and the same y-axis coordinates and the next traversed corner point; correspondingly, the second interpolation interval can be understood as the interpolation interval when interpolating each array corner point with the second interpolation quantity.
[0070] In this embodiment, each array corner point is traversed sequentially. If the x-axis coordinates of the currently traversed corner point (e.g., the i-th array corner point) and the next traversed corner point (e.g., the (i+1)-th array corner point) are the same, but their y-axis coordinates are different, then based on the length of the second boundary, the y-axis coordinates of the currently traversed corner point and the y-axis coordinates of the next traversed corner point, a pre-defined calculation formula is used to calculate the first interpolation quantity and the first interpolation interval between the currently traversed corner point and the next traversed corner point. If the x-axis coordinates of the currently traversed corner point and the next traversed corner point are different, but their y-axis coordinates are the same, then based on the length of the first boundary, the x-axis coordinates of the currently traversed corner point and the x-axis coordinates of the next traversed corner point, a pre-defined calculation formula is used to calculate the second interpolation quantity and the second interpolation interval between the currently traversed corner point and the next traversed corner point. Based on this, adaptive interpolation can be performed on the target boundary based on the determined interpolation quantity and interpolation interval, and the interpolated array corner points and the array corner points of the photovoltaic array before interpolation constitute the target array corner point set.
[0071] Optionally, based on the length of the second boundary, the y-axis coordinate of the current traversed corner point, and the y-axis coordinate of the next traversed corner point, the first interpolation number and the first interpolation interval between the current traversed corner point and the next traversed corner point are determined, including:
[0072] The first interpolation count and the first interpolation interval are determined according to the following formulas:
[0073]
[0074]
[0075] Where num_SN is the first interpolation count; yi+1 is the y-coordinate of the corner point in the next traversal; yi is the y-coordinate of the corner point in the current traversal; min_SN is the length of the second boundary; and space_SN is the first interpolation interval.
[0076] Optionally, based on the length of the first boundary, the x-axis coordinate of the current traversed corner point, and the x-axis coordinate of the next traversed corner point, a second interpolation number and a second interpolation interval between the current traversed corner point and the next traversed corner point are determined, including:
[0077] The second interpolation quantity and the second interpolation interval are determined according to the following formula:
[0078]
[0079]
[0080] Where num_EW is the number of second interpolations; xi+1 is the x-coordinate of the corner point in the next traversal; xi is the x-coordinate of the corner point in the current traversal; min_EW is the length of the first boundary; and space_EW is the second interpolation interval.
[0081] Example 2
[0082] Figure 3 This is a flowchart illustrating a method for determining a fine-tuning distance according to Embodiment 2 of the present invention. Embodiment 2 refines the above embodiments. In this embodiment, the processes for determining the movable distance of the array boundary based on the array boundary and the target array corner point set, the processes for determining the movable distance of the column base boundary based on the column base boundary and each column base point, and the processes for determining the fine-tuning distance of the photovoltaic array installation position based on the movable distance of the array boundary and the movable distance of the column base boundary are described in detail. It should be noted that technical details not described in detail in this embodiment can be found in any of the above embodiments. Figure 3 As shown, the method includes:
[0083] like Figure 3 As shown, the second embodiment of the present invention provides a method for determining a fine-tuning distance, which includes the following steps:
[0084] S210. Determine the array boundary and column base boundary based on the initial boundary and roof information of the roof to be installed.
[0085] S220. Determine the target array corner point set and multiple column base points based on the photovoltaic array.
[0086] S230. For each array sub-boundary of the array boundary, determine the neighborhood of the array sub-boundary, and determine all array corner points within the neighborhood of the array sub-boundary based on the target array corner point set.
[0087] In this embodiment, a neighborhood can refer to a single neighborhood of a boundary, that is, the western neighborhood of the eastern sub-boundary, the eastern neighborhood of the western sub-boundary, the northern neighborhood of the southern sub-boundary, and the southern neighborhood of the northern sub-boundary.
[0088] For each sub-boundary of the array boundary, determine the neighborhood of that sub-boundary. The method for calculating the neighborhood is not limited here. For example, assuming the eastern sub-boundary is [(x1,y1), (x1,y2)], then the neighborhood of the eastern sub-boundary is [(-∞,y1), (-∞,y2), (x1,y1), (x1,y2)]; assuming the western sub-boundary is [(x1,y1), (x1,y2)], then the neighborhood of the western sub-boundary is [(x1,y1), (x1,y2), (+∞,y1), (x1,y2)]. +∞,y2)]; Assuming the southern array sub-boundary is [(x1,y1), (x2,y1)], then the neighborhood of the southern array sub-boundary is [(x1,y1), (x2,y1), (x1,+∞), (x2,+∞)]; Assuming the northern array sub-boundary is [(x1,y1), (x2,y1)], then the neighborhood of the northern array sub-boundary is [(x1,y1), (x2,y1), (x1,-∞), (x2,-∞)].
[0089] In this embodiment, after determining the neighborhood of each array sub-boundary, all array corner points located in the neighborhood of each array sub-boundary can be determined based on the coordinates of each array corner point in the target array corner point set.
[0090] S240. Among all array corner points in the neighborhood of the array sub-boundary, determine the target array corner point with the largest distance from the array sub-boundary.
[0091] In this embodiment, the target array corner point can be understood as the array corner point with the largest distance from the array sub-boundary within the neighborhood of the array sub-boundary. The distance between each array corner point in the neighborhood of the array sub-boundary and the array sub-boundary can be determined first. Based on this, the array corner point with the largest distance from the obtained distances is selected as the target array corner point.
[0092] S250. The distance between the corner point of the target array and the sub-boundary of the array is determined as the movable distance of the sub-boundary of the array.
[0093] In this embodiment, after determining the target array corner point of the array sub-boundary, the distance between the array sub-boundary and the corresponding target array corner point can be determined as the movable distance of the array sub-boundary.
[0094] S260. For each column base sub-boundary of the column base boundary, determine the neighborhood of the column base sub-boundary, and determine all column base points within the neighborhood of the column base sub-boundary based on each column base point.
[0095] In this embodiment, for each column base sub-boundary of the column base boundary, the neighborhood of that column base sub-boundary is determined. The calculation method for the neighborhood of the column base sub-boundary is not limited here; refer to the calculation method for the neighborhood of array sub-boundaries. Specifically, assuming the eastern column base sub-boundary is [(x1,y1), (x1,y2)], then the neighborhood of the eastern column base sub-boundary is [(-∞,y1), (-∞,y2), (x1,y1), (x1,y2)]; assuming the western column base boundary is [(x1,y1), (x1,y2)], then the neighborhood of the western column base boundary is [(x1,y1), (x1,y2)], ( ... [y2), (+∞,y1), (+∞,y2)]; Assuming the southern column base boundary is [(x1,y1), (x2,y1)], then the neighborhood of the southern column base boundary is [(x1,y1), (x2,y1), (x1,+∞), (x2,+∞)]; Assuming the northern column base boundary is [(x1,y1), (x2,y1)], then the neighborhood of the northern column base boundary is [(x1,y1), (x2,y1), (x1,-∞), (x2,-∞)].
[0096] In this embodiment, after determining the neighborhood of each column base sub-boundary, all column base points located within the neighborhood of that column base sub-boundary can be determined based on the coordinates of each column base point.
[0097] S270. Among all column points in the neighborhood of the column sub-boundary, determine the target column point with the largest distance from the column sub-boundary.
[0098] In this embodiment, the target column point can be understood as the column point with the largest distance from the column sub-boundary within the neighborhood of the column sub-boundary. First, the distance between each column point in the neighborhood of the column sub-boundary and the column sub-boundary can be determined. Based on this, the column point with the largest distance from the obtained distances is selected as the target column point.
[0099] S280. The distance between the target column base point and the column base sub-boundary is determined as the movable distance of the column base sub-boundary.
[0100] In this embodiment, after determining the target column base point of the column base sub-boundary, the distance between the column base sub-boundary and the corresponding target column base point can be determined as the movable distance of the column base sub-boundary.
[0101] S290. For each side's array sub-boundary and column base sub-boundary, the smaller movable distance between the movable distance of the array sub-boundary of the side and the movable distance of the column base sub-boundary of the side is determined as the fine-tuning distance corresponding to the side.
[0102] In this embodiment, for each side's array sub-boundary and column base sub-boundary, the smaller of the movable distance of the array sub-boundary and the movable distance of the column base sub-boundary on that side is determined as the corresponding fine-tuning distance for that side. Each side (i.e., each of the east, west, south, and north sides) can correspond to one fine-tuning distance.
[0103] Embodiment 2 of this invention provides a process that specifies the following steps: determining the movable distance of the array boundary based on the array boundary and the target array corner point set; determining the movable distance of the column base boundary based on the column base boundary and each column base point; and determining the fine-tuning distance of the photovoltaic array installation position based on the movable distance of the array boundary and the movable distance of the column base boundary. This method determines the target array corner point and target column base point located within the neighborhood by determining the neighborhood of each array sub-boundary and each column base sub-boundary. Based on the movable distance of each array sub-boundary and each column base sub-boundary, the fine-tuning distance of the photovoltaic array is determined, allowing users to adjust the installation position of the photovoltaic array within the fine-tuning distance according to their actual needs. Furthermore, the method provided by this invention is applicable to any roof type and can ensure the installation capacity of the photovoltaic array and the stability of the support structure.
[0104] Example 3
[0105] Figure 4 This is a schematic diagram of a fine-tuning distance determination device provided in Embodiment 3 of the present invention. This device can be implemented by software and / or hardware. Figure 4 As shown, the device includes:
[0106] The first determining module 310 is used to determine the array boundary and the column base boundary based on the initial boundary of the roof to be installed and the roof information, wherein the array boundary is the boundary corresponding to the photovoltaic array of the roof to be installed, and the column base boundary is the boundary corresponding to the column base of the photovoltaic array.
[0107] The second determining module 320 is used to determine the target array corner point set and multiple column base points based on the photovoltaic array;
[0108] The third determining module 330 is used to determine the movable distance of the array boundary based on the array boundary and the set of corner points of the target array;
[0109] The fourth determining module 340 is used to determine the movable distance of the column base boundary based on the column base boundary and each column base point;
[0110] The fifth determining module 350 is used to determine the fine-tuning distance of the photovoltaic array installation position based on the movable distance of the array boundary and the movable distance of the column base boundary.
[0111] In this embodiment, the device first uses a first determining module 310 to determine the array boundary and column base boundary based on the initial boundary and roof information of the roof to be installed. The array boundary is the boundary corresponding to the photovoltaic array on the roof to be installed, and the column base boundary is the boundary corresponding to the column base of the photovoltaic array. Next, a second determining module 320 determines the target array corner point set and multiple column base points based on the photovoltaic array. Then, a third determining module 330 determines the movable distance of the array boundary based on the array boundary and the target array corner point set. Following this, a fourth determining module 340 determines the movable distance of the column base boundary based on the column base boundary and each column base point. Finally, a fifth determining module 350 determines the fine-tuning distance of the photovoltaic array installation position based on the movable distance of the array boundary and the movable distance of the column base boundary. This device determines the array boundary and column base boundary of the photovoltaic array, and then determines the movable distance of the array boundary and column base boundary based on the array corner points and column base points, to determine the fine-tuning distance for fine-tuning the photovoltaic array installation position, thereby enabling fine-tuning of the photovoltaic array installation position.
[0112] Optionally, the roof information includes roof type, column base safety distance, cantilever of each roof edge segment, and operation and maintenance of each roof edge segment; the initial boundary includes initial east sub-boundary, initial west sub-boundary, initial south sub-boundary, and initial north sub-boundary; the array boundary includes east array sub-boundary, west array sub-boundary, south array sub-boundary, and north array sub-boundary; the column base boundary includes east column base sub-boundary, west column base boundary, south column base boundary, and north column base boundary.
[0113] Optionally, the first determining module 310 includes:
[0114] The initial boundary determination unit is used to determine the initial boundary of the roof to be installed and the side to which its corresponding sub-boundary belongs based on the roof image of the roof to be installed.
[0115] The first sub-boundary determination unit is used to, for each initial sub-boundary, when the initial sub-boundary includes maintenance, shrink the length of the maintenance along the direction inside the roof to be installed to obtain the corresponding array sub-boundary;
[0116] The second sub-boundary determination unit is used to extend the length of the cantilever along the direction outside the roof to be installed when the initial sub-boundary includes a cantilever, so as to obtain the corresponding array sub-boundary;
[0117] The third sub-boundary determination unit is used to determine the initial sub-boundary as the corresponding array sub-boundary when the initial sub-boundary does not include maintenance and cantilever.
[0118] The column base sub-boundary determination unit is used to shrink the initial sub-boundary along the direction inside the roof to be installed by the length of the column base safety distance to obtain the corresponding column base sub-boundary.
[0119] Optionally, the initial boundary determination element includes:
[0120] The line segment determination subunit is used to determine the roof type and multiple roof edge line segments of the roof to be installed based on the roof image of the roof to be installed;
[0121] The initial boundary determination sub-unit is used to determine each roof edge segment as the initial boundary, and to determine the side to which the sub-boundary belongs for each roof edge segment based on the roof type and the preset boundary determination method. The preset boundary determination method indicates the mapping relationship between the roof type and the setting method of the sub-boundary belonging side of the roof edge segment.
[0122] Optionally, the second determining module 320 includes:
[0123] A boundary determination unit is used to determine a first boundary and a second boundary based on the photovoltaic array;
[0124] The first interpolation determination unit is used to sequentially traverse each array corner point in each array corner point. If the x-axis coordinates of the current traversed corner point and the next traversed corner point are the same, but the y-axis coordinates are different, then based on the length of the second boundary, the y-axis coordinates of the current traversed corner point and the y-axis coordinates of the next traversed corner point, the first interpolation quantity and the first interpolation interval between the current traversed corner point and the next traversed corner point are determined. The x-axis and y-axis are coordinate axes in a Cartesian coordinate system.
[0125] The second interpolation determination unit is used to determine the second interpolation quantity and the second interpolation interval between the current traversed corner point and the next traversed corner point if the x-axis coordinates of the current traversed corner point and the next traversed corner point are different but the y-axis coordinates are the same, based on the length of the first boundary, the x-axis coordinates of the current traversed corner point and the x-axis coordinates of the next traversed corner point.
[0126] The corner point set determination unit is used to interpolate the target boundary based on the determined number of interpolations and the interpolation interval to obtain the target array corner point set.
[0127] Optionally, the boundary determination unit includes:
[0128] A focus determination subunit is used to determine multiple array corner points based on the photovoltaic array;
[0129] The target boundary determination sub-unit is used to connect two adjacent array corner points in each array to obtain multiple target boundaries;
[0130] The boundary determination sub-unit is used to select the target boundary with the smallest length among the target boundaries parallel to the y-axis as the first boundary, and to select the target boundary with the smallest length among the target boundaries parallel to the x-axis as the second boundary.
[0131] Optionally, the first interpolation determining unit includes:
[0132] The first interpolation determining sub-unit is used to determine the first interpolation quantity and the first interpolation interval according to the following formula:
[0133]
[0134]
[0135] Where num_SN is the first interpolation count; yi+1 is the y-coordinate of the corner point in the next traversal; yi is the y-coordinate of the corner point in the current traversal; min_SN is the length of the second boundary; and space_SN is the first interpolation interval.
[0136] Optionally, the second interpolation determining unit includes:
[0137] The second interpolation determining sub-unit is used to determine the number of second interpolations and the second interpolation interval according to the following formula:
[0138]
[0139]
[0140] Where num_EW is the number of second interpolations; xi+1 is the x-coordinate of the corner point in the next traversal; xi is the x-coordinate of the corner point in the current traversal; min_EW is the length of the first boundary; and space_EW is the second interpolation interval.
[0141] Optionally, the third determining module 330 includes:
[0142] The first neighborhood determination unit is used to determine the neighborhood of each array sub-boundary of the array boundary, and to determine all array corner points within the neighborhood of the array sub-boundary based on the target array corner point set.
[0143] A corner point determination unit is used to determine the target array corner point with the largest distance from the array sub-boundary among all array corner points in the neighborhood of the array sub-boundary;
[0144] The first distance determination unit is used to determine the distance between the target array corner point and the array sub-boundary as the movable distance of the array sub-boundary.
[0145] Optionally, the fourth determining module 340 includes:
[0146] The second neighborhood determination unit is used to determine the neighborhood of each column base sub-boundary for each column base boundary, and to determine all column base points within the neighborhood of each column base point.
[0147] A column base point determination unit is used to determine the target column base point with the largest distance from the column base sub-boundary among all column base points in the neighborhood of the column base sub-boundary;
[0148] The second distance determination unit is used to determine the distance between the target column base point and the column base sub-boundary as the movable distance of the column base sub-boundary.
[0149] Optionally, the fifth determining module 350 includes:
[0150] The fine-tuning distance determination unit is used to determine the smaller movable distance between the movable distance of the array sub-boundary and the movable distance of the column sub-boundary on each side as the fine-tuning distance corresponding to that side.
[0151] The fine-tuning distance determination device provided in the embodiments of the present invention can execute the fine-tuning distance determination method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the method.
[0152] Example 4
[0153] Figure 5 This is a schematic diagram of an electronic device according to Embodiment 4 of the present invention. 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 (such as 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 invention described and / or claimed herein.
[0154] like Figure 5As shown, 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 program stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 may 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.
[0155] 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.
[0156] 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 fine-tuning the distance determination method.
[0157] In some embodiments, the fine-tuning distance determination method may 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 may be loaded and / or mounted 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 fine-tuning distance determination method described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the fine-tuning distance determination method by any other suitable means (e.g., by means of firmware).
[0158] 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.
[0159] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0160] In the context of this invention, 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 may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may 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 fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0161] 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).
[0162] 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.
[0163] 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.
[0164] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.
[0165] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. 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 invention should be included within the scope of protection of this invention.
Claims
1. A method for determining fine-tuning distance, characterized in that, The method includes: The array boundary and column base boundary are determined based on the initial boundary and roof information of the roof to be installed. The array boundary is the boundary corresponding to the photovoltaic array of the roof to be installed, and the column base boundary is the boundary corresponding to the column base of the photovoltaic array. The target array corner point set and multiple column base points are determined based on the photovoltaic array; The movable distance of the array boundary is determined based on the array boundary and the set of corner points of the target array. The movable distance of the column base boundary is determined based on the column base boundary and each column base point; The fine-tuning distance of the photovoltaic array installation position is determined based on the movable distance of the array boundary and the movable distance of the column base boundary.
2. The method according to claim 1, characterized in that, The roof information includes roof type, column base safety distance, cantilever of each roof edge segment, and operation and maintenance of each roof edge segment; the initial boundary includes initial east sub-boundary, initial west sub-boundary, initial south sub-boundary, and initial north sub-boundary; the array boundary includes east array sub-boundary, west array sub-boundary, south array sub-boundary, and north array sub-boundary; the column base boundary includes east column base sub-boundary, west column base boundary, south column base boundary, and north column base boundary.
3. The method according to claim 2, characterized in that, The array boundaries and column base boundaries are determined based on the initial boundaries and roof information of the roof to be installed, including: Determine the initial boundary of the roof to be installed and the side to which its corresponding sub-boundaries belong based on the roof image of the roof to be installed; For each initial sub-boundary, when the initial sub-boundary includes maintenance, the length of the maintenance is reduced along the direction inside the roof to be installed to obtain the corresponding array sub-boundary; When the initial sub-boundary includes a cantilever, the initial sub-boundary is extended along the direction outside the roof to be installed by the length of the cantilever to obtain the corresponding array sub-boundary; When the initial sub-boundary does not include maintenance and cantilever areas, the initial sub-boundary is determined as the corresponding array sub-boundary; The column base safety distance is shortened by reducing the initial sub-boundary along the direction inside the roof to be installed to obtain the corresponding column base sub-boundary.
4. The method according to claim 3, characterized in that, Based on the roof image of the roof to be installed, determine the initial boundary of the roof to be installed and the sides to which its corresponding sub-boundaries belong, including: The roof type and multiple roof edge segments of the roof to be installed are determined based on the roof image of the roof to be installed; Each roof edge segment is determined as the initial boundary, and the side to which the sub-boundary belongs is determined based on the roof type and the preset boundary determination method. The preset boundary determination method indicates the mapping relationship between the roof type and the setting method of the sub-boundary belonging side of the roof edge segment.
5. The method according to claim 1, characterized in that, The target array corner point set is determined based on the photovoltaic array, including: The first and second boundaries are determined based on the photovoltaic array; Each array corner point in each array corner point is traversed sequentially. If the x-axis coordinates of the current traversed corner point and the y-axis coordinates of the next traversed corner point are the same, but the y-axis coordinates are different, then based on the length of the second boundary, the y-axis coordinates of the current traversed corner point and the y-axis coordinates of the next traversed corner point, the first interpolation number and the first interpolation interval between the current traversed corner point and the next traversed corner point are determined. The x-axis and y-axis are coordinate axes in a Cartesian coordinate system. If the x-axis coordinates of the current traversed corner point and the next traversed corner point are different, but the y-axis coordinates are the same, then based on the length of the first boundary, the x-axis coordinates of the current traversed corner point and the x-axis coordinates of the next traversed corner point, the second interpolation number and the second interpolation interval between the current traversed corner point and the next traversed corner point are determined. Based on the determined number of interpolations and the interpolation interval, the target boundary is interpolated to obtain the target array corner point set.
6. The method according to claim 5, characterized in that, Determining the first boundary and the second boundary based on the photovoltaic array includes: Multiple array corner points are determined based on the photovoltaic array; Connect two adjacent array corner points in each array to obtain multiple target boundaries; Among the target boundaries parallel to the y-axis, the target boundary with the shortest length is selected as the first boundary, and among the target boundaries parallel to the x-axis, the target boundary with the shortest length is selected as the second boundary.
7. The method according to claim 5, characterized in that, Based on the length of the second boundary, the y-axis coordinate of the current traversed corner point, and the y-axis coordinate of the next traversed corner point, determine the first interpolation count and the first interpolation interval between the current traversed corner point and the next traversed corner point, including: The first interpolation count and the first interpolation interval are determined according to the following formulas: Where num_SN is the first interpolation count; yi+1 is the y-coordinate of the corner point in the next traversal; yi is the y-coordinate of the corner point in the current traversal; min_SN is the length of the second boundary; and space_SN is the first interpolation interval.
8. The method according to claim 5, characterized in that, Based on the length of the first boundary, the x-axis coordinate of the current traversed corner point, and the x-axis coordinate of the next traversed corner point, determine the second interpolation quantity and the second interpolation interval between the current traversed corner point and the next traversed corner point, including: The second interpolation quantity and the second interpolation interval are determined according to the following formula: Where num_EW is the number of second interpolations; xi+1 is the x-coordinate of the corner point in the next traversal; xi is the x-coordinate of the corner point in the current traversal; min_EW is the length of the first boundary; and space_EW is the second interpolation interval.
9. The method according to claim 1, characterized in that, Determining the movable distance of the array boundary based on the array boundary and the set of target array corner points includes: For each array sub-boundary of the array boundary, determine the neighborhood of the array sub-boundary, and determine all array corner points within the neighborhood of the array sub-boundary based on the target array corner point set; Among all array corner points in the neighborhood of the array sub-boundary, determine the target array corner point with the largest distance from the array sub-boundary; The distance between the target array corner point and the array sub-boundary is determined as the movable distance of the array sub-boundary.
10. The method according to claim 1, characterized in that, The movable distance of the column base boundary is determined based on the column base boundary and each column base point, including: For each column base sub-boundary of the column base boundary, determine the neighborhood of the column base sub-boundary, and determine all column base points within the neighborhood of the column base sub-boundary based on each column base point; Among all column points in the neighborhood of the column sub-boundary, determine the target column point with the largest distance from the column sub-boundary; The distance between the target column base point and the column base sub-boundary is defined as the movable distance of the column base sub-boundary.
11. The method according to claim 1, characterized in that, The fine-tuning distance for the photovoltaic array installation position is determined based on the movable distance of the array boundary and the movable distance of the column base boundary, including: For each side of the array sub-boundary and the column base sub-boundary, the smaller of the movable distance of the array sub-boundary and the movable distance of the column base sub-boundary is determined as the fine-tuning distance for each side.
12. A fine-tuning distance determining device, characterized in that, include: The first determining module is used to determine the array boundary and the column base boundary based on the initial boundary of the roof to be installed and the roof information. The array boundary is the boundary corresponding to the photovoltaic array of the roof to be installed, and the column base boundary is the boundary corresponding to the column base of the photovoltaic array. The second determining module is used to determine the target array corner point set and multiple column base points based on the photovoltaic array; The third determining module is used to determine the movable distance of the array boundary based on the array boundary and the set of corner points of the target array; The fourth determining module is used to determine the movable distance of the column base boundary based on the column base boundary and each column base point; The fifth determining module is used to determine the fine-tuning distance of the photovoltaic array installation position based on the movable distance of the array boundary and the movable distance of the column base boundary.
13. 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 that can be executed 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 fine-tuning distance determination method according to any one of claims 1-11.