A method for adjusting the top height of a photovoltaic support

By automatically calculating and optimizing the top height of the photovoltaic support pillars using constraints, the problem of large workload and error caused by manual adjustment in existing technologies has been solved, achieving flat installation of photovoltaic panels and improving power generation efficiency.

CN122389145APending Publication Date: 2026-07-14HUADIAN HEAVY IND CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
HUADIAN HEAVY IND CO LTD
Filing Date
2026-04-09
Publication Date
2026-07-14

AI Technical Summary

Technical Problem

In existing technologies, adjusting the height of the top of photovoltaic pillars is labor-intensive, prone to errors, and difficult to ensure the continuity of the slope, resulting in uneven installation of photovoltaic panels and affecting power generation efficiency.

Method used

By acquiring the height adjustment mode, the target top elevation of each photovoltaic support is automatically calculated using a matching calculation method, and batch updates are performed in the target software to construct intra-group and inter-group constraints to ensure slope continuity and height consistency.

Benefits of technology

It enables automated updating of the top elevation of photovoltaic pillars, avoiding human error, improving design efficiency, ensuring slope continuity and flat installation of photovoltaic panels, and improving power generation efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122389145A_ABST
    Figure CN122389145A_ABST
Patent Text Reader

Abstract

The present application relates to the field of photovoltaic technology, and discloses a kind of photovoltaic support top height adjustment method, comprising: obtaining height adjustment mode;Using the height adjustment method corresponding to height adjustment mode, the target top elevation of each photovoltaic support is calculated;In target software, the top elevation of each photovoltaic support is adjusted to the corresponding target top elevation.The present application calculates the top elevation of each photovoltaic support by using the height adjustment method matched with the height adjustment mode, so that the top elevation of the support strictly matches the selected mode, which can adapt to the structural arrangement requirements in different scenarios.After calculation, the target top elevation obtained by solving is automatically assigned to the corresponding parameters of photovoltaic support, realizing batch automatic updating of all support top elevations, without manual adjustment one by one, which not only significantly improves the design efficiency, but also effectively avoids human operation error, ensures the accuracy and consistency of elevation adjustment.
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 more specifically to a method for adjusting the top height of a photovoltaic support pillar. Background Technology

[0002] In the design of large-scale photovoltaic (PV) power plants, photovoltaic panels need to be arranged at specific tilt angles and orientations to maximize power generation efficiency. However, the site selection for PV power plants cannot be guaranteed to be an ideal flat surface, but rather involves undulating natural terrain. Because the PV pillars supporting the photovoltaic panels must be strictly adapted to the terrain changes at their base, their tops must form a continuous slope with a specific gradient along the beam direction to ensure the flat installation of the PV panels and the optimal tilt angle.

[0003] Currently, designers create realistic terrain surfaces for photovoltaic power plants in Revit software and generate a large number of photovoltaic pillars according to layout rules, manually calculating and adjusting the top height of each pillar. However, this manual adjustment method is labor-intensive, prone to errors, and makes it difficult to ensure the continuity of the slope. Summary of the Invention

[0004] This invention provides a method for adjusting the top height of a photovoltaic support column to solve the problems of manual adjustment being labor-intensive, prone to errors, and difficult to guarantee the continuity of the slope.

[0005] In a first aspect, the present invention provides a method for adjusting the top height of a photovoltaic support column, the method comprising: Get the height adjustment mode; The target top elevation of each photovoltaic support is calculated using the height adjustment method corresponding to the height adjustment mode. In the target software, adjust the top elevation of each photovoltaic pillar to the corresponding target top elevation.

[0006] This invention obtains a height adjustment mode and uses a height adjustment method that matches the mode to calculate the top elevation of each photovoltaic pillar. This ensures that the pillar top elevation strictly conforms to the selected mode, adapting to structural layout requirements in different scenarios. After calculation, the obtained target top elevation is automatically assigned to the corresponding parameters of the photovoltaic pillar, achieving batch automatic updating of the top elevation of all pillars without the need for manual adjustment. This significantly improves design efficiency and effectively avoids human error, ensuring the accuracy and consistency of elevation adjustments.

[0007] In one optional implementation, the height adjustment mode is a fixed angle adjustment mode; Using the height adjustment method corresponding to the height adjustment mode, the target top elevation of each photovoltaic support is calculated, including: Obtain the target slope, grouping mode, height difference threshold, and first column height range, and extract the bottom elevation of each photovoltaic column in the target software; For each axis along the beam direction, all photovoltaic supports on the axis are grouped according to the grouping pattern to obtain multiple support groups; For each support group, based on the target slope, the range of the first support height, and the reference height to be solved for the support group, the intra-group constraints are constructed. Based on the height benchmark, target slope, and height difference threshold of any two adjacent pillar groups, construct inter-group constraints. The objective function is constructed based on the height benchmark to be solved for all pillar groups. Under the constraints of all intra-group and inter-group constraints, the objective function is solved to obtain the target height benchmark for each pillar group. For each photovoltaic (PV) support, the target top elevation of the PV support is calculated based on the target height benchmark of the support group to which the PV support belongs, the corresponding projection distance of the PV support, and the target slope.

[0008] This invention obtains the target slope, grouping mode, height difference threshold, and first column height range when the height adjustment mode is in fixed angle adjustment mode. For each axis along the beam direction, all photovoltaic pillars on that axis are grouped according to the grouping mode, resulting in multiple pillar groups. Intra-group constraints are constructed for each pillar group to ensure that the height of each photovoltaic pillar within the group meets the structural design requirements and forms a continuous slope that conforms to the target slope. Furthermore, inter-group constraints are constructed for any two adjacent pillar groups to ensure smooth connection between slopes formed by different groups. An objective function is constructed based on the unsolved height benchmark of all pillar groups, and this objective function is solved under all constraints to obtain the target height benchmark for each pillar group, achieving optimal cost while ensuring slope continuity and column height compliance. Finally, based on the target height benchmark of each pillar group, the target top elevation of each photovoltaic pillar on the axis is calculated, and corresponding adjustments are made in the target software. By using the above method, the tops of all photovoltaic pillars along the beam axis will form a continuous slope with a consistent gradient, which meets the requirement that the photovoltaic panels be laid flat at a preset tilt angle. This provides a structural foundation for improving the power generation efficiency of the photovoltaic power station and enables automatic updating of the top elevation of all photovoltaic pillars without the need for manual adjustment, thus improving design efficiency and avoiding human error.

[0009] In one optional implementation, for each support group, based on the target slope, the first support height range, and the height benchmark to be solved for the support group, intra-group constraints are constructed, including: For each photovoltaic pillar in the pillar group, obtain the projected distance between the photovoltaic pillar and the first photovoltaic pillar on the axis; Based on the target slope, the range of the first column height, the projection distance of the photovoltaic support column, and the bottom elevation, calculate the maximum and minimum height references corresponding to the photovoltaic support column; The minimum value among the maximum height benchmarks of all photovoltaic pillars in the pillar group is determined as the maximum height benchmark of the pillar group, and the maximum value among the minimum height benchmarks of all photovoltaic pillars is determined as the minimum height benchmark of the pillar group. Based on the height datum, maximum height datum, and minimum height datum of the support group, the intra-group constraints of the support group are constructed.

[0010] This invention constructs intra-group constraints based on the target slope and the first column height range to ensure the height compliance of each photovoltaic support column within the group.

[0011] In one alternative implementation, the inter-group constraints are as follows:

[0012] In the formula, Indexes representing pillar groupings; Indicates the first The height datum to be solved for each pillar group; Indicates the first The height datum to be solved for each pillar group; Indicates the target slope; This represents the height difference threshold.

[0013] This invention constructs inter-group constraints based on height difference thresholds and target slopes to ensure that the slopes formed by all pillar groups have no abrupt slope changes and are smoothly connected, ultimately forming a continuous and uniform column top slope.

[0014] In one alternative implementation, the objective function is as follows:

[0015] In the formula, This indicates the number of pillar groups.

[0016] This invention achieves optimal cost control by minimizing the sum of all the height benchmarks to be solved.

[0017] In one optional implementation, under all intra-group and inter-group constraints, the objective function is solved to obtain the target height benchmark for each pillar group, including: Calculate the allowable difference between groups based on the height difference threshold and the target slope; Iterate through the intra-group constraints of each pillar group except the first pillar group, and optimize the maximum height benchmark of the intra-group constraints of the pillar group based on the maximum height benchmark of the previous pillar group and the allowable difference between groups. Traverse the intra-group constraints of each pillar group except the last pillar group in reverse order, and optimize the minimum height benchmark of the intra-group constraints of the pillar group based on the minimum height benchmark of the next pillar group and the allowable difference between groups. Based on the optimized intra-group constraints, inter-group constraints, and objective function for each pillar, a linear programming model is constructed. The simplex method is used to solve the linear programming model to obtain the target height benchmark for each pillar group.

[0018] This invention tightens the constraints within a group through forward-backward propagation, ensuring that the height benchmark of each group does not exceed its own group constraints, while also meeting the requirements for inter-group connection, thus laying the foundation for ensuring the continuity of slope in the future.

[0019] In one optional implementation, the height adjustment mode is a slope-adjusting mode; The target top elevation of each photovoltaic support pillar is calculated using the height adjustment method corresponding to the height adjustment mode, and also includes: Obtain the height range and extension distance of the second pillar; The photovoltaic pillars from the second to the last photovoltaic pillar along each axis of the beam direction are traversed. For each candidate photovoltaic pillar encountered, all starting photovoltaic pillars of the candidate photovoltaic pillar are enumerated. Based on the candidate photovoltaic pillars and each starting photovoltaic pillar, multiple candidate groups corresponding to the candidate photovoltaic pillars are formed. For each candidate group of candidate photovoltaic pillars, determine the starting coordinates of the candidate group, and combine them with the second pillar height range to determine the fitting slope of the candidate group; The top elevation of each photovoltaic pillar in the candidate group is calculated based on the fitted slope. The total pillar height of the candidate group is calculated, and the sum of the historical best pillar height and the total pillar height of the candidate group is determined as the total cost of the candidate group. The minimum total cost among all candidate groups corresponding to the candidate photovoltaic pillar is updated as the new historical best pillar height, and the pillar number of the starting photovoltaic pillar in the candidate group corresponding to the minimum total cost is recorded on the axis. Continue traversing the next candidate photovoltaic pillar until the last photovoltaic pillar on the axis is reached. Backtrack based on all pillar numbers to obtain multiple target groups. For each photovoltaic pillar on the axis, the target top elevation of the photovoltaic pillar is calculated based on the fitted slope, starting coordinates, and projection distance between the photovoltaic pillar and the first photovoltaic pillar corresponding to the target group to which the photovoltaic pillar belongs.

[0020] This invention, when adjusting the height in the slope-adaptive mode, achieves a smooth and continuous transition of the top elevation of the photovoltaic pillars along the beam direction axis by automatically traversing and enumerating candidate groups, deriving the fitted slope, dynamically optimizing the total column height, and accurately backtracking the target group. This is achieved while strictly adhering to the second column height range constraint and minimizing the total column height to reduce costs. The entire process eliminates the need for manual adjustment of each pillar. Furthermore, the linkage design between the starting coordinates and the extension distance ensures seamless connection of the slope between groups, adapting to different terrain conditions and design requirements. It also enables automatic updating of the top elevation of all photovoltaic pillars, eliminating the need for manual adjustment of each one, thus improving design efficiency and avoiding human error.

[0021] In one optional implementation, for each candidate group of candidate photovoltaic pillars, the starting coordinates of the candidate group are determined, and the fitted slope of the candidate group is determined in combination with the second pillar height range, including: When the starting photovoltaic pillar of a candidate group is the first photovoltaic pillar on the axis, the starting coordinates of the candidate group are represented based on the first photovoltaic pillar; Based on the starting coordinates, the top elevation of each photovoltaic pillar in the candidate group is represented; Based on the bottom and top elevations of each photovoltaic pillar in the candidate group, and under the constraint of the second pillar height range, the first pillar height inequality is constructed for each photovoltaic pillar. Based on the first column height inequality of all photovoltaic pillars in the candidate group, multiple vertices are determined. The x-coordinate of each vertex is the tangent of the fitted slope, and the y-coordinate is the top elevation of the first photovoltaic pillar. Based on the top and bottom elevations of each photovoltaic pillar in the candidate group, construct the objective function for the pillar height of the candidate group; Substitute each vertex into the target function for column height to obtain the corresponding column height value; The fitting slope of the candidate group is determined based on the vertex corresponding to the minimum column height.

[0022] This invention establishes a top elevation expression, combines it with the second column height range constraint to transform it into a column height inequality, delineates the feasible region of parameters, and ensures that all solution results meet the construction design requirements. Then, it utilizes the extreme value characteristics of linear functions to extract vertices, transforming the infinite feasible region into a finite candidate set, which greatly improves the solution efficiency. Finally, by constructing a column height objective function and substituting the vertices to select the minimum value to determine the fitted slope, the engineering goal of minimizing the total column height is achieved. This not only ensures the scientific and accurate fitting of the slope of the connection line between the tops of the photovoltaic support columns, but also effectively optimizes the column height materials and reduces engineering costs.

[0023] In an optional implementation, for each candidate group of candidate photovoltaic pillars, the starting coordinates of the candidate group are determined, and the fitted slope of the candidate group is determined in combination with the second pillar height range, further comprising: When the starting photovoltaic pillar of a candidate group is not the first photovoltaic pillar on the axis, the starting coordinate of the candidate group is determined based on the ending coordinate of the previous candidate group, and the previous candidate group is continuous with the candidate group. Based on the starting coordinates, determine the top elevation of each photovoltaic support in the candidate group; Based on the bottom and top elevations of each photovoltaic pillar in the candidate group, and under the constraint of the second pillar height range, a second pillar height inequality is constructed for each photovoltaic pillar, and the slope range of each photovoltaic pillar is calculated. The intersection of the slope ranges corresponding to each photovoltaic support in the candidate group is determined as the slope feasible region of the candidate group. The fitted slope of the candidate group is determined based on the minimum value in the feasible slope region.

[0024] This invention uses the endpoint coordinates of the previous candidate group as the starting coordinates of the current group, ensuring seamless connection of the column tops of adjacent groups and achieving a continuous and smooth transition of the segmented connection of the entire axis. Then, the top elevation of the photovoltaic pillars within the group is determined, and the column height constraint is transformed into an inequality. By deriving the individual slope range and taking the intersection, the feasible region of the slope is determined. This ensures that the fitted slope meets the column height engineering requirements of all pillars within the group, and also precisely limits the solution range, improving computational efficiency. Combining the characteristics of linear functions, the minimum value of the feasible region of the slope is selected as the optimal fitted slope, achieving the engineering goal of minimizing the total column height as much as possible, effectively optimizing engineering materials and reducing construction costs.

[0025] In one alternative implementation, the method further includes: The endpoint coordinates of the candidate groups are determined based on the fitted slope, extension distance, top elevation of the last photovoltaic pillar in the candidate group and its projected distance to the first photovoltaic pillar.

[0026] This invention derives the coordinates of the current group endpoint by combining the extension distance, providing a directly applicable benchmark for subsequent group calculations and ensuring the continuous smoothness of the connection lines between the tops of the photovoltaic pillars of all groups.

[0027] In a second aspect, the present invention provides a top height adjustment device for a photovoltaic support column, the device comprising: The acquisition module is used to acquire the height adjustment mode; The calculation module is used to calculate the target top elevation of each photovoltaic support using the height adjustment method corresponding to the height adjustment mode. The adjustment module is used to adjust the top elevation of each photovoltaic support to the corresponding target top elevation in the target software.

[0028] Thirdly, the present invention provides an electronic device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the computer instructions to perform the method for adjusting the top height of a photovoltaic support pillar as described in the first aspect or any corresponding embodiment.

[0029] Fourthly, the present invention provides a computer-readable storage medium storing computer instructions for causing a computer to perform the method for adjusting the top height of a photovoltaic support pillar according to the first aspect or any corresponding embodiment thereof. Attached Figure Description

[0030] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0031] Figure 1 This is a schematic diagram of an application scenario according to an embodiment of the present invention; Figure 2 This is a flowchart illustrating a method for adjusting the top height of a photovoltaic support column according to an embodiment of the present invention; Figure 3 This is a structural block diagram of the top height adjustment device for a photovoltaic support column according to an embodiment of the present invention; Figure 4 This is a schematic diagram of the hardware structure of an electronic device according to an embodiment of the present invention. Detailed Implementation

[0032] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0033] It is understood that before using the technical solutions disclosed in the various embodiments of the present invention, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in the present invention and their authorization should be obtained in accordance with relevant laws and regulations through appropriate means.

[0034] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this invention, "a plurality of" means two or more, unless otherwise explicitly specified.

[0035] As an optional application scenario of this invention, such as Figure 1 As shown, application 101 is installed in terminal device 110, and user 130 can interact with application 101 through terminal device 110 and / or access device of terminal device 110.

[0036] For example, application 101 can be any application that provides question-and-answer related services. For instance, application 101 could be a question-and-answer interactive application, such as a text-to-text application, an image-to-text application, etc. Figure 1 In the application scenario shown, if application 101 is active, the terminal device 110 can display the interface 102 of application 101. The interface 102 may include various pages that application 101 can provide, such as interactive pages, settings pages, query pages, etc.

[0037] In some embodiments, terminal device 110 is communicatively connected to server 120 to provide services to application 101. Terminal device 110 may be a mobile terminal, fixed terminal, or portable terminal, etc., including but not limited to mobile phones, desktop computers, laptop computers, multimedia tablets, e-book devices, gaming devices, or any combination thereof, including accessories and peripherals of these devices or any combination thereof. In some embodiments, terminal device 110 may also support any type of interface, and server 120 may be various types of computing systems or servers capable of providing computing power, including but not limited to mainframes, edge computing nodes, computing devices in cloud environments, etc.

[0038] It should be noted that, Figure 1 This is merely an example of an application scenario and does not limit the scope of protection of this invention.

[0039] The embodiments of the present invention will now be described with reference to the accompanying drawings. It should be understood that the pages shown in the drawings are merely examples, and various page designs are possible in practice. The various graphic elements on the page may have different arrangements and different visual representations; one or more elements may be omitted or replaced, and one or more other elements may also be present, without any limitation in the embodiments of the present invention. Furthermore, the embodiments described below primarily pertain to terminal device 110. It should be understood that the actions described relative to terminal device 110 can be performed by application 101 on terminal device 110, or can be performed by application 101 in conjunction with its server (e.g., server 120).

[0040] According to an embodiment of the present invention, a method for adjusting the top height of a photovoltaic support column is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0041] This embodiment provides a method for adjusting the top height of a photovoltaic support column. Figure 2 This is a flowchart illustrating a method for adjusting the top height of a photovoltaic support column according to an embodiment of the present invention, as shown below. Figure 2 As shown, the process includes the following steps: Step S201: Obtain the height adjustment mode.

[0042] Specifically, the target software is Revit, in which designers can select a height adjustment mode to specify how to determine the top height of the photovoltaic support.

[0043] Step S202: Calculate the target top elevation of each photovoltaic support using the height adjustment method corresponding to the height adjustment mode.

[0044] Specifically, the top elevation of each photovoltaic pillar is calculated according to the exclusive calculation method corresponding to the selected height adjustment mode, so as to ensure that the top elevation of the photovoltaic pillar can fit the selected mode and adapt to different structural layout requirements.

[0045] Step S203: Adjust the top elevation of each photovoltaic support to the corresponding target top elevation in the target software.

[0046] Specifically, in the target software, the corresponding Revit element is found based on the ID of each photovoltaic pillar. Through the transaction mechanism of the Revit API, the target top elevation obtained by the solution is assigned to the corresponding parameters of the photovoltaic pillar (such as top offset), so as to realize the automatic update of the top elevation of all photovoltaic pillars without the need for manual adjustment one by one. This improves design efficiency, avoids human operation errors, and ensures that the Revit model and optimization results are synchronized in real time.

[0047] This invention obtains a height adjustment mode and uses a height adjustment method that matches the mode to calculate the top elevation of each photovoltaic pillar. This ensures that the pillar top elevation strictly conforms to the selected mode, adapting to structural layout requirements in different scenarios. After calculation, the obtained target top elevation is automatically assigned to the corresponding parameters of the photovoltaic pillar, achieving batch automatic updating of the top elevation of all pillars without the need for manual adjustment. This significantly improves design efficiency and effectively avoids human error, ensuring the accuracy and consistency of elevation adjustments.

[0048] This embodiment provides a method for adjusting the top height of a photovoltaic support column. When the height adjustment mode is a fixed angle adjustment mode, the method specifically includes the following steps: Step S301: Obtain the height adjustment mode. For details, please refer to [link / reference]. Figure 2 Step S201 of the illustrated embodiment will not be described again here.

[0049] Step S302: Calculate the target top elevation of each photovoltaic support using the height adjustment method corresponding to the height adjustment mode.

[0050] Specifically, step S302 includes: Step S3021: Obtain the target slope, grouping mode, height difference threshold, and first column height range, and extract the bottom elevation of each photovoltaic column in the target software.

[0051] Specifically, when designers select the fixed angle adjustment mode, they need to input the target slope, grouping mode, height difference threshold, and first column height range. The target slope is the inclination angle of the line connecting the top heights of the photovoltaic pillars within the same axis along the beam direction, as pre-defined. The grouping mode specifies the number of photovoltaic pillars in each group. The height difference threshold is the maximum allowable vertical distance between adjacent groups along the same axis along the beam direction, used to constrain the smoothness of the connection between groups. The first column height range is the height constraint interval formed by the minimum and maximum allowable heights of the photovoltaic pillars. Furthermore, the target software's plugin memory has a built-in efficient spatial query function. This function quickly locates the terrain triangle containing any point by constructing a two-dimensional spatial index of the triangle projection, and then uses the centroid coordinate method for planar interpolation, enabling real-time and accurate return of the terrain elevation of any point. Based on the above spatial query function, the elevation corresponding to the bottom of each photovoltaic pillar is extracted.

[0052] Step S3022: For each axis along the beam direction, group all photovoltaic supports on the axis according to the grouping pattern to obtain multiple support groups.

[0053] Specifically, the cable direction is the direction in which the photovoltaic panels are laid, and the beam direction is perpendicular to the cable direction. For each axis in the beam direction, all photovoltaic supports located on that axis are sorted in ascending order of axis number. Grouping is performed according to the aforementioned grouping pattern to obtain multiple consecutive and non-overlapping support groups. If the total number of photovoltaic supports on an axis is M, and the grouping pattern is n (i.e., every n photovoltaic supports are grouped together), then the number of support groups is K = ceil(M / n). The first K-1 groups each contain n photovoltaic supports, and the number of photovoltaic supports in the last group can be ≤n, but must be ≥2 to ensure that the grouping meets the minimum number requirement for slope fitting.

[0054] For example, if the grouping pattern n=3, and there are a total of 8 photovoltaic pillars (numbered 1-8) on a certain axis, then the grouping results are [1-3] pillar group, [4-6] pillar group, and [7-8] pillar group.

[0055] Step S3023: For each support group, construct intra-group constraints based on the target slope, the range of the first support height, and the height benchmark to be solved for the support group.

[0056] Specifically, step S3023 includes: Step a1: For each photovoltaic pillar in the pillar group, obtain the projected distance between the photovoltaic pillar and the first photovoltaic pillar on the axis.

[0057] Specifically, for each photovoltaic pillar, the planar coordinates of its bottom center point are extracted. For each photovoltaic pillar in the pillar group, the projected distance between it and the first photovoltaic pillar on the axis is calculated based on their planar coordinates.

[0058] Step a2: Based on the target slope, the first column height range, the projection distance of the photovoltaic support column, and the bottom elevation, calculate the maximum height benchmark and minimum height benchmark corresponding to the photovoltaic support column.

[0059] Specifically, a line is drawn connecting the tops of all photovoltaic (PV) pillars in each pillar group. The elevation of this line, along with the apex of the first PV pillar on the axis, is used as the height benchmark for that group. Since the target slope is a fixed value specified by the designer, and the bottom elevation of different PV pillars varies with the terrain, adjusting the pillar height while maintaining this fixed benchmark would cause some PV pillars to exceed the height range of the first pillar. Therefore, the height benchmark needs to be set as a variable to be solved. By flexibly adjusting its value, the top height of the PV pillars within the group can be changed, thus driving the compliant adjustment of the top height of the PV pillars within the group without changing the target slope.

[0060] For each photovoltaic support pillar, its height is the difference between the top elevation and the bottom elevation. The top elevation can be calculated using the following formula (1): (1) In the formula, Index representing a photovoltaic support pillar; Indicates photovoltaic support pillar The top elevation; Indicates the target slope; Indicates photovoltaic support pillar Projected distance from the first photovoltaic pillar; Indicates photovoltaic support pillar The height datum to be solved for the corresponding support group.

[0061] The height of each photovoltaic support must satisfy the first column height range, that is, the difference between the above equation (1) and the bottom elevation must satisfy the first column height range. This relationship is transformed into the following equation (2) showing the inequality about the height benchmark to be solved: (2) In the formula, Indicates the range of the first column height; Indicates photovoltaic support pillar The bottom elevation.

[0062] The first column height range is the value specified by the designer. Substituting it into the above formula (2), the range of the height reference to be solved can be obtained, and the maximum height reference and the minimum height reference can be determined from it.

[0063] Step a3: Determine the minimum value among the maximum height benchmarks of all photovoltaic pillars in the pillar group as the maximum height benchmark of the pillar group, and determine the maximum value among the minimum height benchmarks of all photovoltaic pillars as the minimum height benchmark of the pillar group.

[0064] Specifically, to ensure that the height of all photovoltaic (PV) supports within a group meets the first column height range, the minimum value among the maximum height benchmarks of all PV supports within the group should be taken as the maximum height benchmark for that group; simultaneously, the maximum value among the minimum height benchmarks of all PV supports should be taken as the minimum height benchmark for that group. This value selection logic can realize the intersection operation of constraints within the group, ensuring that the height benchmark values ​​can adapt to the height requirements of all supports within the group.

[0065] Step a4: Based on the height datum to be solved, the maximum height datum, and the minimum height datum of the support group, construct the intra-group constraints of the support group.

[0066] Specifically, based on the maximum and minimum height benchmarks of the support pillar group, the intra-group constraints shown in Equation (3) are constructed. These constraints clarify the effective range of height benchmark values, ensuring that the height of each photovoltaic support pillar in the group is compliant and that a continuous slope conforming to the target slope can be formed.

[0067] (3) In the formula, The minimum height reference for indicating the column grouping; This indicates the maximum height reference for the pillar group.

[0068] Step S3024: Based on the height benchmark to be solved, target slope, and height difference threshold of any two adjacent pillar groups, construct inter-group constraints.

[0069] Specifically, by keeping the lines connecting the tops of adjacent support groups parallel and limiting their vertical distance to no more than the height difference threshold, it is ensured that the slopes formed by all support groups are free of abrupt changes in slope and are smoothly connected, ultimately forming a continuous and uniform column-top slope. Based on this, using the height reference to be solved for any two adjacent support groups, combined with the target slope and the height difference threshold, the inter-group constraint conditions shown in the following equation (4) are constructed: (4) In the formula, Indexes representing pillar groupings; Indicates the first The height datum to be solved for each pillar group; Indicates the first The height datum to be solved for each pillar group; Indicates the target slope; This represents the height difference threshold.

[0070] Step S3025: Construct an objective function based on the height datum to be solved for all pillar groups. Under the constraints of all intra-group and inter-group constraints, solve the objective function to obtain the target height datum for each pillar group.

[0071] Specifically, an objective function is constructed to optimize the cost. The key to cost optimization is to minimize the height of all photovoltaic pillars, while keeping their bottom elevations constant. This is transformed into minimizing the sum of the top elevations of all photovoltaic pillars. As shown in equation (1) above, only the height reference is unknown in the expression for the top elevation. Therefore, minimizing the sum of the top elevations is further transformed into minimizing the sum of the unsolved height references of all pillar groups. Finally, the objective function shown in equation (5) is constructed to achieve the optimal cost while ensuring slope continuity and compliance with pillar height regulations. (5) In the formula, This indicates the number of pillar groups.

[0072] Specifically, step S3025 above, under the constraints of all intra-group and inter-group constraints, solves the objective function to obtain the target height benchmark for each pillar group, including: Step b1: Calculate the allowable difference between groups based on the height difference threshold and the target slope.

[0073] Specifically, the line connecting the tops of adjacent support columns is a straight line parallel to the target slope. The difference in height benchmark to be solved is essentially the distance between the two sets of column tops along their own inclination direction. However, the height difference threshold refers to the upper limit of the vertical distance. The two have different physical meanings and geometric dimensions, and cannot be directly equivalently constrained.

[0074] To achieve a unified constraint logic, the vertical height difference threshold needs to be converted using the target slope to ensure consistency between engineering requirements and calculation logic. Specifically, this is calculated using the following formula (6): (6) Step b2: Iterate through the intra-group constraints of each pillar group except the first pillar group, and optimize the maximum height benchmark of the intra-group constraints of the pillar group based on the maximum height benchmark of the previous pillar group and the allowable difference between groups.

[0075] Specifically, the intra-group constraints of each pillar group (excluding the first pillar group) are traversed, the maximum height benchmark of the intra-group constraints of the previous pillar group is obtained, and the sum of the allowable difference between the previous and previous pillar groups is calculated. The smaller of this sum and the maximum height benchmark of the current pillar group is used as the new maximum height benchmark for the current pillar group. Through this traversal optimization, the inter-group constraints are propagated forward to the intra-group upper bound, gradually tightening the constraint boundary from the first group to the last group, laying the foundation for ensuring subsequent slope continuity.

[0076] Assume the maximum height benchmark after optimization for the second support group is 10 meters, the allowable difference between groups is 0.55 meters, and the sum of the two is 10.55 meters. The current support group is the third group, whose original maximum height benchmark within the group constraint is 11 meters. Since 10.55 meters < 11 meters, the new maximum height benchmark for the third support group is 10.55 meters to avoid the vertical distance from the previous group exceeding the height difference threshold.

[0077] Step b3: Traverse the intra-group constraints of each pillar group except the last pillar group in reverse order. Based on the minimum height benchmark of the next pillar group and the allowable difference between groups, optimize the minimum height benchmark of the intra-group constraints of the pillar group.

[0078] Specifically, the intra-group constraints of each pillar group (excluding the last pillar group) are traversed in reverse order. The minimum height benchmark of the intra-group constraints of the next pillar group is obtained, and the difference between this minimum height benchmark and the allowable difference between groups is calculated. The larger of this difference and the minimum height benchmark of the current pillar group is used as the new minimum height benchmark for the current pillar group. Through reverse traversal optimization, the constraint boundaries are gradually tightened from the last group to the first group. This ensures that the height benchmark of each group does not exceed its own intra-group constraints, while also meeting the requirements for inter-group connection. This forms a synergistic constraint with the forward propagation, laying the foundation for ensuring the continuity of slope in subsequent steps.

[0079] Assume the current group is the 4th support column, with an initial minimum height reference of 5 meters within the group. The next support column group, the 5th support column group, has an optimized minimum height reference of 6 meters, with an allowable difference of 0.55 meters between groups, resulting in a difference of 5.45 meters. Since 5 meters < 5.45 meters, the new minimum height reference for the 4th support column group is 5.45 meters to avoid exceeding the height difference threshold with the previous group in terms of vertical distance.

[0080] Optionally, the optimized intra-group constraints for each support pillar can be validated. If the maximum height datum for a given intra-group constraint is less than the minimum height datum, the solution cannot be found, and the subsequent process terminates.

[0081] Step b4: Based on the optimized intra-group constraints, inter-group constraints, and objective function for each pillar, construct a linear programming model.

[0082] Step b5: Solve the linear programming model using the simplex method to obtain the target height benchmark for each pillar group.

[0083] Specifically, by introducing slack variables, the linear programming model described above is transformed into a standard form. Then, the target height benchmark for each pillar group is obtained using the simplex method. This ensures that the pillar heights within a group comply with regulations, the slopes between groups are continuous, and the cost optimization objective is achieved. Optionally, the model construction and solution process are existing technologies and will not be elaborated here.

[0084] Step S3026: For each photovoltaic support pillar, calculate the target top elevation of the photovoltaic support pillar based on the target height benchmark of the pillar group to which the photovoltaic support pillar belongs, the projection distance corresponding to the photovoltaic support pillar, and the target slope.

[0085] Specifically, after completing the above solution, for each photovoltaic pillar, based on the target height benchmark of its pillar group, combined with its projection distance from the first photovoltaic pillar and the target slope, it is substituted into the above formula (1) to obtain the target top elevation of the photovoltaic pillar, thus realizing the accurate and intelligent solution of the top height of the photovoltaic pillar.

[0086] Step S303: In the target software, adjust the top elevation of each photovoltaic support to the corresponding target top elevation. For details, please refer to [link to relevant documentation]. Figure 2 Step S203 of the illustrated embodiment will not be described again here.

[0087] This invention obtains the target slope, grouping mode, height difference threshold, and first column height range when the height adjustment mode is in fixed angle adjustment mode. For each axis along the beam direction, all photovoltaic pillars on that axis are grouped according to the grouping mode, resulting in multiple pillar groups. Intra-group constraints are constructed for each pillar group to ensure that the height of each photovoltaic pillar within the group meets the structural design requirements and forms a continuous slope that conforms to the target slope. Furthermore, inter-group constraints are constructed for any two adjacent pillar groups to ensure smooth connection between slopes formed by different groups. An objective function is constructed based on the unsolved height benchmark of all pillar groups, and this objective function is solved under all constraints to obtain the target height benchmark for each pillar group, achieving optimal cost while ensuring slope continuity and column height compliance. Finally, based on the target height benchmark of each pillar group, the target top elevation of each photovoltaic pillar on the axis is calculated, and corresponding adjustments are made in the target software. By using the above method, the tops of all photovoltaic pillars along the beam axis will form a continuous slope with a consistent gradient, which meets the requirement that the photovoltaic panels be laid flat at a preset tilt angle. This provides a structural foundation for improving the power generation efficiency of the photovoltaic power station and enables automatic updating of the top elevation of all photovoltaic pillars without the need for manual adjustment, thus improving design efficiency and avoiding human error.

[0088] This embodiment provides a method for adjusting the top height of a photovoltaic support column. When the height adjustment mode is the slope-adjusting mode, the method specifically includes the following steps: Step S401: Obtain the height adjustment mode. For details, please refer to [link / reference]. Figure 2 Step S201 of the illustrated embodiment will not be described again here.

[0089] Step S402: Calculate the target top elevation of each photovoltaic support using the height adjustment method corresponding to the height adjustment mode.

[0090] Specifically, step S402 above also includes: Step S4021: Obtain the height range and extension distance of the second column.

[0091] Specifically, when designers select the slope-adjustable mode, this mode adapts to the terrain undulations and does not force a uniform slope, obtaining the input range of the second column height and the extension distance. Among them, the extension distance refers to the length that the end of the line connecting the tops of the photovoltaic pillars must extend outward from the top of the last photovoltaic pillar in the group along the fitted slope direction (i.e., the direction of the line connecting the tops of the pillars).

[0092] Step S4022: Traverse the photovoltaic pillars from the second photovoltaic pillar to the last photovoltaic pillar along each axis of the beam direction. For each candidate photovoltaic pillar encountered, enumerate all the starting photovoltaic pillars of the candidate photovoltaic pillar. Based on the candidate photovoltaic pillars and each starting photovoltaic pillar, form multiple candidate groups corresponding to the candidate photovoltaic pillars.

[0093] Specifically, for each axis along the beam direction, all photovoltaic (PV) supports are numbered sequentially from 1 in ascending order along the cable direction. Each PV support, from the second to the last, is traversed, and each traversed support is considered a candidate PV support. For each candidate PV support, all its starting PV supports are enumerated, i.e., all PV supports numbered before the candidate PV support. For example, candidate PV support 2 has starting PV support 1; candidate PV support 4 has starting PV supports 1, 2, and 3. Each candidate PV support, its starting PV support, and the PV supports in between are grouped into a candidate group. That is, the number of candidate groups corresponds to the number of starting PV supports a candidate PV support. For example, candidate PV support 4 corresponds to the candidate groups [1, 4], [2, 4], and [3, 4].

[0094] Step S4023: For each candidate group of candidate photovoltaic pillars, determine the starting coordinates of the candidate group, and combine them with the second pillar height range to determine the fitting slope of the candidate group.

[0095] Specifically, when the starting photovoltaic pillar of the candidate group is the first photovoltaic pillar on the axis, the above step S4023 includes: Step c1: When the starting photovoltaic pillar of the candidate group is the first photovoltaic pillar on the axis, the starting coordinate of the candidate group is represented based on the first photovoltaic pillar.

[0096] Specifically, the starting coordinates represent the coordinates of the starting point of the line connecting the tops of the photovoltaic pillars in the candidate group. If the starting photovoltaic pillar of a certain candidate group is the first photovoltaic pillar, then the x-coordinate of the starting coordinates is 0, and the y-coordinate is the top elevation of the first photovoltaic pillar, which is the unknown quantity to be solved.

[0097] Step c2, based on the starting coordinates, represents the top elevation of each photovoltaic pillar in the candidate group.

[0098] Specifically, the top elevation of each photovoltaic pillar in the current candidate group is represented by the following formula (7): (7) In the formula, Index representing a photovoltaic support pillar; Indicates photovoltaic support pillar The top elevation; This indicates the elevation of the top of the first photovoltaic support pillar; This represents the fitting slope of the candidate group, which is the tilt angle at which the top of the photovoltaic support column within the candidate group is fitted into a straight line. Indicates photovoltaic support pillar The projected distance between the first photovoltaic pillar and the first photovoltaic support pillar.

[0099] Step c3: Based on the bottom and top elevations of each photovoltaic pillar in the candidate group, and under the constraint of the second pillar height range, construct the first pillar height inequality for each photovoltaic pillar.

[0100] Specifically, the second column height range has the same meaning as the first column height range, constraining the height of the photovoltaic pillars. Substituting the bottom and top elevations of each photovoltaic pillar into the constraint of the second column height range, we can obtain the first column height inequality shown in equation (8): (8) In the formula, Indicates photovoltaic support pillar The bottom elevation; This indicates the range of the second column height.

[0101] Step c4: Based on the first column height inequality of all photovoltaic pillars in the candidate group, determine multiple vertices. The x-coordinate of each vertex is the tangent of the fitted slope, and the y-coordinate is the top elevation of the first photovoltaic pillar.

[0102] Specifically, as shown in equation (8) above, each photovoltaic support includes an upper bound straight line: And a lower bound line: These straight lines collectively define the intersection region of the inequalities in the first column height of all photovoltaic pillars. This region is a convex polygon with three types of vertices: the intersection of any two lower bound lines; the intersection of any two upper bound lines; and the intersection of any upper bound line and any lower bound line. From this, all vertices of the convex polygon can be obtained. The x-coordinate of each vertex is the tangent of the fitted slope, and the y-coordinate is the top elevation of the first photovoltaic pillar.

[0103] Step c5: Based on the top and bottom elevations of each photovoltaic pillar in the candidate group, construct the objective function for the pillar height of the candidate group.

[0104] Specifically, the selection of the fitting slope takes minimizing the total column height as the core objective. The difference between the top elevation and the bottom elevation of the photovoltaic pillar is the column height, and the top elevation is represented by the above formula (7). The sum of the column heights of all photovoltaic pillars in the candidate group is determined as the column height objective function. That is, the column height objective function is actually a linear function of the fitting slope and the top elevation of the first photovoltaic pillar.

[0105] Step c6: Substitute each vertex into the objective function for column height to obtain the corresponding column height value.

[0106] Step c7: Determine the fitting slope of the candidate group based on the vertex corresponding to the smallest column height value.

[0107] Specifically, the vertex corresponding to the smallest column height is determined, and its x-coordinate is the tangent of the fitted slope. The fitted slope of the candidate group can be obtained by arctangent calculation.

[0108] By establishing a top elevation expression and combining it with the second column height range constraint to transform it into a column height inequality, the feasible region of parameters is defined to ensure that all solution results meet the construction design requirements. Then, the extreme value characteristics of linear functions are used to extract vertices, transforming the infinite feasible region into a finite candidate set, which greatly improves the solution efficiency. Finally, by constructing a column height objective function and substituting the vertices to select the minimum value to determine the fitted slope, the engineering goal of minimizing the total column height is achieved. This not only ensures the scientificity and accuracy of the slope fitting of the connection line between the tops of the photovoltaic support columns, but also effectively optimizes the column height materials and reduces engineering costs.

[0109] Specifically, when the starting photovoltaic pillar of the candidate group is not the first photovoltaic pillar on the axis, the above step S4023 includes: Step d1: When the starting photovoltaic pillar of the candidate group is not the first photovoltaic pillar on the axis, the starting coordinate of the candidate group is determined based on the ending coordinate of the previous candidate group, and the previous candidate group is continuous with the candidate group.

[0110] Specifically, when the starting photovoltaic pillar of a candidate group is not the first photovoltaic pillar on the axis, the coordinates of the end point of the previous candidate group, that is, the coordinates of the last photovoltaic pillar in the previous candidate group, are used as the starting coordinates of the current candidate group. This ensures that the connection between the tops of the photovoltaic pillars formed by adjacent candidate groups can be smoothly connected, thus continuing the trend of the previous segment.

[0111] Step d2: Based on the starting coordinates, determine the top elevation of each photovoltaic pillar in the candidate group.

[0112] Specifically, the top elevation of each photovoltaic pillar in the candidate group is determined by the following formula (9): (9) In the formula, Indicates the starting coordinates of the candidate group.

[0113] Step d3: Based on the bottom and top elevations of each photovoltaic pillar in the candidate group, and under the constraint of the second pillar height range, construct the second pillar height inequality for each photovoltaic pillar, and calculate the slope range of each photovoltaic pillar.

[0114] Specifically, referring to step c3, construct the second column height inequality for each photovoltaic support, as shown in equation (10) below: (10) Due to photovoltaic pillars The projected distance between the first photovoltaic pillar and the last photovoltaic pillar in the previous candidate group must be greater than the projected distance between the last photovoltaic pillar and the first photovoltaic pillar in the previous candidate group. It must be greater than 0. Therefore, we divide both sides of the inequality (10) above. We can obtain the following formula (11): (11) Since only in the above formula (11) Since it is an unknown quantity, the slope range corresponding to the photovoltaic support can be obtained, that is... The range of values ​​for .

[0115] Step d4: The intersection of the slope ranges corresponding to each photovoltaic support in the candidate group is determined as the slope feasible region of the candidate group.

[0116] Specifically, from the individual slope constraints of all photovoltaic pillars within a group, a uniform slope range that simultaneously satisfies the compliance of all pillars is selected. That is, the intersection of all slope ranges is taken as the slope feasible region of the candidate group. Since the line connecting the pillar tops of the same candidate group is a single straight line, it can only correspond to a unique fitted slope. Only the slope within the intersection range can ensure that the height of all photovoltaic pillars within the group falls within the second pillar height range, avoiding some pillars being too high or too low.

[0117] Step d5: Determine the fitted slope of the candidate group based on the minimum value in the slope feasible region.

[0118] Specifically, referring to step c5, the objective function for the column height of the current candidate group can also be constructed using the above formula (9), that is, the objective function for the column height is actually about A linear function. According to the properties of linear functions, when... When the minimum value is taken, the objective function for column height is minimized, thus achieving cost optimization. Therefore, the minimum value in the feasible region of slope is determined as the slope of the fitted slope for this candidate group, and the fitted slope of this candidate group can be obtained by arctangent operation.

[0119] By using the endpoint coordinates of the previous candidate group as the starting coordinates of the current group, seamless connection of the column tops of adjacent groups is ensured, achieving a continuous and smooth transition of the segmented connection of the entire axis. Then, the top elevation of the photovoltaic pillars within the group is determined, and the column height constraint is transformed into an inequality. By deriving the individual slope range and taking the intersection, the feasible region of the slope is determined. This ensures that the fitted slope meets the column height engineering requirements of all pillars within the group, while also precisely limiting the solution range and improving computational efficiency. Combining the characteristics of linear functions, the minimum value of the feasible region of the slope is selected as the optimal fitted slope, achieving the engineering goal of minimizing the total column height as much as possible, effectively optimizing engineering materials and reducing construction costs.

[0120] Step d6: Based on the fitted slope, extension distance, top elevation of the last photovoltaic pillar in the candidate group, and its projected distance to the first photovoltaic pillar, determine the endpoint coordinates of the candidate group.

[0121] Specifically, regardless of whether the starting photovoltaic pillar of the current candidate group is the first photovoltaic pillar on the axis, the coordinates of the last photovoltaic pillar of each candidate group, i.e., the endpoint coordinates, need to be obtained as the starting coordinates of the next candidate group, thereby ensuring a smooth connection between the tops of the photovoltaic pillars formed by adjacent candidate groups. Specifically, the endpoint coordinates can be solved by the following formula (12): (12) In the formula, Indicates the number of the candidate photovoltaic support pillar; This indicates the projected distance between the candidate photovoltaic pillar and the first photovoltaic pillar; Indicates the distance extended; Indicating candidate photovoltaic pillars The top elevation, which is also the top elevation of the last photovoltaic pillar in the current candidate group.

[0122] By combining the extension distance to derive the coordinates of the current group endpoint, a directly applicable benchmark is provided for subsequent group calculations, ensuring the continuous smoothness of the connection lines between the tops of the photovoltaic pillars in all groups.

[0123] Step S4024: Calculate the top elevation of each photovoltaic pillar in the candidate group based on the fitted slope, calculate the total pillar height of the candidate group, and determine the sum of the historical best pillar height and the total pillar height of the candidate group as the total cost of the candidate group.

[0124] Specifically, if the starting photovoltaic pillar of the candidate group is the first photovoltaic pillar on the axis, the fitted slope of the candidate group is substituted into the above formula (7) to obtain the top elevation of each photovoltaic pillar in the candidate group; if the starting photovoltaic pillar of the candidate group is not the first photovoltaic pillar on the axis, the fitted slope of the candidate group is substituted into the above formula (9) to obtain the top elevation of each photovoltaic pillar in the candidate group. The difference between the top elevation and the bottom elevation is calculated to obtain the height of each photovoltaic pillar, and then the total pillar height of the candidate group is obtained. The historical optimal pillar height corresponding to the candidate group is obtained, which is the minimum value of the total pillar height of all photovoltaic pillars that have been calculated before the current candidate group (i.e., all pillars with numbers less than the starting photovoltaic pillar of the current candidate group). For example, the candidate photovoltaic pillar 6 corresponds to two candidate groups, candidate groups [4,6] and [5,6]. The historical optimal pillar height corresponding to [4,6] should be the total pillar height of the 1st to 3rd photovoltaic pillars; the historical optimal pillar height corresponding to [5,6] should be the total pillar height of the 1st to 4th photovoltaic pillars. Calculate the sum of the historical best column height and the total column height corresponding to the current candidate group, and use it as the total cost.

[0125] Optionally, if the total height of all photovoltaic pillars before the candidate group has not been calculated, then the corresponding historical best pillar height is ∞.

[0126] Step S4025: Update the minimum total cost of all candidate groups corresponding to the candidate photovoltaic pillar to the new historical best pillar height, and record the pillar number of the starting photovoltaic pillar in the candidate group corresponding to the minimum total cost on the axis.

[0127] Specifically, each candidate photovoltaic (PV) support pillar corresponds to at least one candidate group. The minimum total cost of all candidate groups is selected, and this minimum value is updated as the new historical best pillar height. This represents the starting PV support pillar up to the current candidate group that satisfies both the slope continuity requirement and the minimum total pillar height. Simultaneously, the number j of the starting PV support pillar in the candidate group corresponding to this minimum value is recorded. For example, if the total cost of [4,6] is the minimum, the pillar number 4 is recorded, providing a basis for subsequent backtracking grouping.

[0128] Optionally, if the total cost of a candidate group is ∞, then the candidate group is eliminated.

[0129] For example, candidate photovoltaic pillar 6 corresponds to two candidate groups: candidate group [4,6] has a total cost of 16.3 meters, and candidate group [5,6] has a total cost of 16.7 meters. Since 16.3 meters < 16.7 meters, the new historical best pillar height is updated to 16.3 meters, which represents the total pillar height of [1,6], and the starting pillar number j=4 is recorded.

[0130] Step S4026: Continue traversing the next candidate photovoltaic pillar until the last photovoltaic pillar on the axis is reached. Backtrack based on all pillar numbers to obtain multiple target groups.

[0131] Specifically, the process continues to iterate through the next candidate photovoltaic pillar, repeating the above steps until the last photovoltaic pillar is reached. Backtracking is then performed based on the pillar numbers of all records. Since each recorded pillar number represents the starting photovoltaic pillar in a group, all photovoltaic pillars can be divided into multiple target groups based on these pillar numbers, with the total pillar height of these target groups being minimized.

[0132] For example, suppose there are 8 photovoltaic pillars on the axis, and the pillar numbers recorded after traversal are 1, 3, and 5. The backtracking process is as follows: Starting from photovoltaic pillar 8, the first target group is [5,8] (covering photovoltaic pillars 5 to 8, including 5 and 8); starting from the first photovoltaic pillar without grouping in reverse order, namely photovoltaic pillar 4, backtracking continues to the next pillar number 3, resulting in the target group [3,4] (covering photovoltaic pillars 3 and 4); starting from the first photovoltaic pillar without grouping in reverse order, namely photovoltaic pillar 2, backtracking continues to the next pillar number 1, resulting in the target group [1,2] (covering photovoltaic pillars 1 and 2). Finally, the target groups for the entire axis are [1,2], [3,4], and [5,8], and the slopes formed by connecting the tops of the pillars in each group are seamlessly connected, minimizing the total pillar height.

[0133] Step S4027: For each photovoltaic support pillar on the axis, calculate the target top elevation of the photovoltaic support pillar based on the fitted slope, starting coordinates, and projection distance between the photovoltaic support pillar and the first photovoltaic support pillar corresponding to the target group to which the photovoltaic support pillar belongs.

[0134] Specifically, for each photovoltaic pillar on the axis, based on the fitted slope and starting coordinates corresponding to its target group, combined with its corresponding projected distance, the values ​​are substituted into equation (7) or (9) above to obtain the target top elevation of the photovoltaic pillar, thus achieving an accurate and intelligent solution for the top height of the photovoltaic pillar. That is, if the starting photovoltaic pillar in its target group is the first photovoltaic pillar, the target top elevation is calculated by substituting into equation (7) above; if the starting photovoltaic pillar in its target group is not the first photovoltaic pillar, the target top elevation is calculated by substituting into equation (9) above.

[0135] Step S403: In the target software, adjust the top elevation of each photovoltaic support to the corresponding target top elevation. For details, please refer to [link to relevant documentation]. Figure 2 Step S203 of the illustrated embodiment will not be described again here.

[0136] This invention, when adjusting the height in the slope-adaptive mode, achieves a smooth and continuous transition of the top elevation of the photovoltaic pillars along the beam direction axis by automatically traversing and enumerating candidate groups, deriving the fitted slope, dynamically optimizing the total column height, and accurately backtracking the target group. This is achieved while strictly adhering to the second column height range constraint and minimizing the total column height to reduce costs. The entire process eliminates the need for manual adjustment of each pillar. Furthermore, the linkage design between the starting coordinates and the extension distance ensures seamless connection of the slope between groups, adapting to different terrain conditions and design requirements. It also enables automatic updating of the top elevation of all photovoltaic pillars, eliminating the need for manual adjustment of each one, thus improving design efficiency and avoiding human error.

[0137] This embodiment also provides a top height adjustment device for a photovoltaic support column, which is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that performs a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0138] This embodiment provides a device for adjusting the top height of a photovoltaic support column, such as... Figure 3 As shown, it includes: The acquisition module 301 is used to acquire the height adjustment mode.

[0139] The calculation module 302 is used to calculate the target top elevation of each photovoltaic support using the height adjustment method corresponding to the height adjustment mode.

[0140] The adjustment module 303 is used to adjust the top elevation of each photovoltaic support to the corresponding target top elevation in the target software.

[0141] In some optional implementations, the height adjustment mode is a fixed angle adjustment mode; Calculation module 302 includes: The first acquisition unit is used to acquire the target slope, grouping mode, height difference threshold and first column height range, and extract the bottom elevation of each photovoltaic column in the target software.

[0142] The grouping unit is used to group all photovoltaic pillars on each axis in the beam direction according to the grouping pattern, resulting in multiple pillar groups.

[0143] The first building unit is used to construct intra-group constraints for each support group based on the target slope, the range of the first support height, and the height benchmark to be solved for the support group.

[0144] The second building unit is used to construct inter-group constraints based on the height benchmark to be solved, the target slope, and the height difference threshold of any two adjacent pillar groups.

[0145] The solver unit is used to construct the objective function based on the height datum to be solved for all pillar groups. Under the constraints of all intra-group and inter-group constraints, the objective function is solved to obtain the target height datum for each pillar group.

[0146] The first calculation unit is used to calculate the target top elevation of each photovoltaic pillar based on the target height benchmark of the pillar group to which the photovoltaic pillar belongs, the corresponding projection distance of the photovoltaic pillar, and the target slope.

[0147] In some alternative implementations, the first building unit includes: The sub-unit is used to obtain the projected distance between each photovoltaic pillar in the pillar group and the first photovoltaic pillar on the axis.

[0148] The first calculation subunit is used to calculate the maximum and minimum height references corresponding to the photovoltaic pillar based on the target slope, the first pillar height range, the projection distance of the photovoltaic pillar and the bottom elevation.

[0149] The first determining subunit is used to determine the minimum value among the maximum height references of all photovoltaic pillars in the pillar group as the maximum height reference of the pillar group, and to determine the maximum value among the minimum height references of all photovoltaic pillars as the minimum height reference of the pillar group.

[0150] The first construction sub-unit is used to construct the intra-group constraints of the support group based on the height datum to be solved, the maximum height datum, and the minimum height datum of the support group.

[0151] In some alternative implementations, the inter-group constraints are as follows:

[0152] In the formula, Indexes representing pillar groupings; Indicates the first The height datum to be solved for each pillar group; Indicates the first The height datum to be solved for each pillar group; Indicates the target slope; This represents the height difference threshold.

[0153] In some alternative implementations, the objective function is as follows:

[0154] In the formula, This indicates the number of pillar groups.

[0155] In some alternative implementations, the solving unit includes: The second calculation subunit is used to calculate the allowable difference between groups based on the height difference threshold and the target slope.

[0156] The first optimization sub-unit is used to traverse the intra-group constraints of each pillar group except the first pillar group, and optimize the maximum height benchmark of the intra-group constraints of the pillar group based on the maximum height benchmark of the previous pillar group and the allowable difference between groups.

[0157] The second optimization subunit is used to traverse the intra-group constraints of each pillar group except the last pillar group in reverse order, and optimize the minimum height benchmark of the intra-group constraints of the pillar group based on the minimum height benchmark of the next pillar group and the allowable difference between groups.

[0158] The second construction subunit is used to construct a linear programming model based on the optimized intra-group constraints, inter-group constraints, and objective function of each pillar.

[0159] The first solution sub-unit is used to solve the linear programming model using the simplex method to obtain the target height benchmark for each pillar group.

[0160] In some optional implementations, the height adjustment mode is a slope-adjusting mode; The computing module 302 also includes: The second acquisition unit is used to acquire the height range and extension distance of the second column.

[0161] The grouping unit is used to traverse the photovoltaic pillars from the second photovoltaic pillar to the last photovoltaic pillar on each axis of the beam direction. For the traversed candidate photovoltaic pillars, all the starting photovoltaic pillars of the candidate photovoltaic pillars are enumerated. Based on the candidate photovoltaic pillars and each starting photovoltaic pillar, multiple candidate groups corresponding to the candidate photovoltaic pillars are formed.

[0162] The determination unit is used to determine the starting coordinates of each candidate group of candidate photovoltaic pillars, and to determine the fitting slope of the candidate group in combination with the second pillar height range.

[0163] The second calculation unit is used to calculate the top elevation of each photovoltaic pillar in the candidate group based on the fitted slope, calculate the total pillar height of the candidate group, and determine the sum of the historical best pillar height and the total pillar height of the candidate group as the total cost of the candidate group.

[0164] The update unit is used to update the minimum total cost among all candidate groups corresponding to the candidate photovoltaic pillars to the new historical best pillar height, and record the pillar number of the starting photovoltaic pillar in the candidate group corresponding to the minimum total cost on the axis.

[0165] The backtracking unit is used to continue traversing the next candidate photovoltaic pillar until the last photovoltaic pillar on the axis is reached. Backtracking is performed based on all pillar numbers to obtain multiple target groups.

[0166] The third calculation unit is used to calculate the target top elevation of each photovoltaic pillar on the axis, based on the fitted slope, starting coordinates, and projection distance between the photovoltaic pillar and the first photovoltaic pillar corresponding to the target group to which the photovoltaic pillar belongs.

[0167] In some alternative implementations, the determining unit includes: The first subunit is used to represent the starting coordinates of the candidate group based on the first photovoltaic pillar when the starting photovoltaic pillar of the candidate group is the first photovoltaic pillar of the axis.

[0168] The second sub-unit is used to represent the top elevation of each photovoltaic pillar in the candidate group based on the starting coordinates.

[0169] The third construction subunit is used to construct the first column height inequality for each photovoltaic pillar based on the bottom and top elevations of each photovoltaic pillar in the candidate group, under the constraint of the second column height range.

[0170] The second determining sub-unit is used to determine multiple vertices based on the first column height inequality of all photovoltaic pillars in the candidate group. The x-coordinate of each vertex is the tangent of the fitted slope, and the y-coordinate is the top elevation of the first photovoltaic pillar.

[0171] The fourth construction sub-unit is used to construct the objective function for the column height of the candidate group based on the top and bottom elevations of each photovoltaic pillar in the candidate group.

[0172] The second solution sub-unit is used to substitute each vertex into the column height objective function to obtain the corresponding column height value.

[0173] The third determining sub-unit is used to determine the fitted slope of the candidate group based on the vertex corresponding to the smallest column height value.

[0174] In some alternative implementations, the determining unit further includes: The fourth determining sub-unit is used to determine the starting coordinates of the candidate group based on the end coordinates of the previous candidate group when the starting photovoltaic pillar of the candidate group is not the first photovoltaic pillar on the axis. The previous candidate group is continuous with the candidate group.

[0175] The fifth determination sub-unit is used to determine the top elevation of each photovoltaic pillar in the candidate group based on the starting coordinates.

[0176] The fourth construction sub-unit is used to construct the second column height inequality for each photovoltaic pillar based on the bottom elevation and top elevation of each photovoltaic pillar in the candidate group, under the constraint of the second column height range, and to calculate the slope range of each photovoltaic pillar.

[0177] The sixth determination subunit is used to determine the intersection of the slope ranges corresponding to each photovoltaic support in the candidate group as the slope feasible region of the candidate group.

[0178] The seventh determination sub-unit is used to determine the fitted slope of the candidate group based on the minimum value in the slope feasible region.

[0179] In some alternative embodiments, the device further includes: The determination module is used to determine the endpoint coordinates of the candidate group based on the fitted slope, extension distance, top elevation of the last photovoltaic pillar in the candidate group and its projected distance with the first photovoltaic pillar.

[0180] The photovoltaic pillar top height adjustment device provided in this embodiment of the invention can execute the photovoltaic pillar top height adjustment method provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects for executing the method. Further functional descriptions of the above modules and units are the same as in the corresponding embodiments described above, and will not be repeated here.

[0181] Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention.

[0182] The following is a detailed reference. Figure 4 This diagram illustrates a structural schematic suitable for implementing an electronic device according to embodiments of the present invention. The electronic device may include a processor (e.g., a central processing unit, graphics processor, etc.) 401, which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 402 or a program loaded from memory 408 into random access memory (RAM) 403. The RAM 403 also stores various programs and data required for the operation of the electronic device. The processor 401, ROM 402, and RAM 403 are interconnected via a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.

[0183] Typically, the following devices can be connected to I / O interface 405: input devices 406 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 407 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; memory devices 408 including, for example, magnetic tapes, hard disks, etc.; and communication devices 409. Communication device 409 allows electronic devices to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 4Electronic devices with various devices are shown, but it should be understood that it is not required to implement or have all of the devices shown, and more or fewer devices may be implemented or have instead.

[0184] In particular, according to embodiments of the present invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of the present invention include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 409, or installed from a memory 408, or installed from a ROM 402. When the computer program is executed by the processor 401, it performs the functions defined in the photovoltaic support top height adjustment method of the embodiments of the present invention.

[0185] Figure 4 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments of the present invention.

[0186] This invention also provides a computer-readable storage medium. The methods described above according to embodiments of the invention can be implemented in hardware or firmware, or implemented as computer code that can be recorded on a storage medium, or implemented as computer code downloaded via a network and originally stored on a remote storage medium or a non-transitory machine-readable storage medium and then stored on a local storage medium. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium can also include combinations of the above types of memory. It is understood that the computer, processor, microprocessor controller, or programmable hardware includes storage components capable of storing or receiving software or computer code. When the software or computer code is accessed and executed by the computer, processor, or hardware, the method for adjusting the top height of the photovoltaic support shown in the above embodiments is implemented.

[0187] Although embodiments of the invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations all fall within the scope defined by the appended claims.

Claims

1. A method for adjusting the top height of a photovoltaic support column, characterized in that, The method includes: Get the height adjustment mode; The target top elevation of each photovoltaic support is calculated using the height adjustment method corresponding to the height adjustment mode. In the target software, adjust the top elevation of each photovoltaic pillar to the corresponding target top elevation.

2. The method according to claim 1, characterized in that, The height adjustment mode is a fixed angle adjustment mode; The height adjustment method corresponding to the height adjustment mode is used to calculate the target top elevation of each photovoltaic support, including: Obtain the target slope, grouping mode, height difference threshold, and first column height range, and extract the bottom elevation of each photovoltaic column in the target software; For each axis along the beam direction, all photovoltaic supports on the axis are grouped according to the grouping pattern to obtain multiple support groups; For each support group, based on the target slope, the range of the first support height, and the height benchmark to be solved for the support group, intra-group constraints are constructed. Based on the height benchmark to be solved for any two adjacent pillar groups, the target slope, and the height difference threshold, construct inter-group constraints; Based on the height benchmark to be solved for all pillar groups, an objective function is constructed. Under the constraints of all intra-group constraints and inter-group constraints, the objective function is solved to obtain the target height benchmark for each pillar group. For each photovoltaic (PV) support, the target top elevation of the PV support is calculated based on the target height benchmark of the support group to which the PV support belongs, the projected distance of the PV support, and the target slope.

3. The method according to claim 2, characterized in that, For each support column group, based on the target slope, the first column height range, and the height benchmark to be solved for the support column group, intra-group constraints are constructed, including: For each photovoltaic pillar in the pillar group, obtain the projected distance between the photovoltaic pillar and the first photovoltaic pillar on the axis; Based on the target slope, the first column height range, the projection distance of the photovoltaic support column, and the bottom elevation, calculate the maximum height benchmark and minimum height benchmark corresponding to the photovoltaic support column; The minimum value among the maximum height benchmarks of all photovoltaic pillars in the pillar group is determined as the maximum height benchmark of the pillar group, and the maximum value among the minimum height benchmarks of all photovoltaic pillars is determined as the minimum height benchmark of the pillar group. Based on the height reference, maximum height reference, and minimum height reference of the support group, the intra-group constraints of the support group are constructed.

4. The method according to claim 2, characterized in that, The inter-group constraints are as follows: In the formula, Indexes representing pillar groupings; Indicates the first The height datum to be solved for each pillar group; Indicates the first The height datum to be solved for each pillar group; Indicates the target slope; This represents the height difference threshold.

5. The method according to claim 2, characterized in that, The objective function is as follows: In the formula, This indicates the number of pillar groups.

6. The method according to claim 3, characterized in that, Under the constraints of all intra-group constraints and inter-group constraints, the objective function is solved to obtain the target height benchmark for each pillar group, including: Based on the height difference threshold and the target slope, calculate the allowable difference between groups; Iterate through the intra-group constraints of each pillar group except the first pillar group, and optimize the maximum height benchmark of the intra-group constraints of the pillar group based on the maximum height benchmark of the previous pillar group and the inter-group allowable difference. The intra-group constraints of each pillar group except the last pillar group are traversed in reverse order. Based on the minimum height benchmark of the next pillar group and the allowable difference between the groups, the minimum height benchmark of the intra-group constraints of the pillar group is optimized. A linear programming model is constructed based on the optimized intra-group constraints for each pillar, the inter-group constraints, and the objective function. The linear programming model is solved using the simplex method to obtain the target height benchmark for each pillar group.

7. The method according to claim 1, characterized in that, The height adjustment mode is a slope-adjusting mode; The method for calculating the target top elevation of each photovoltaic pillar using the height adjustment mode also includes: Obtain the height range and extension distance of the second pillar; The photovoltaic pillars from the second to the last photovoltaic pillar along each axis of the beam direction are traversed. For each candidate photovoltaic pillar encountered, all starting photovoltaic pillars of the candidate photovoltaic pillar are enumerated. Based on the candidate photovoltaic pillars and each starting photovoltaic pillar, multiple candidate groups corresponding to the candidate photovoltaic pillars are formed. For each candidate group of the candidate photovoltaic pillars, determine the starting coordinates of the candidate group, and combine them with the second pillar height range to determine the fitting slope of the candidate group; The top elevation of each photovoltaic pillar in the candidate group is calculated based on the fitted slope, the total pillar height of the candidate group is calculated, and the sum of the historical best pillar height corresponding to the candidate group and the total pillar height is determined as the total cost of the candidate group. The minimum total cost among all candidate groups corresponding to the candidate photovoltaic pillar is updated as the new historical best pillar height, and the pillar number of the starting photovoltaic pillar in the candidate group corresponding to the minimum total cost is recorded on the axis. Continue traversing the next candidate photovoltaic pillar until the last photovoltaic pillar on the axis is reached. Backtrack based on all pillar numbers to obtain multiple target groups. For each photovoltaic pillar on the axis, the target top elevation of the photovoltaic pillar is calculated based on the fitted slope, starting coordinates, and projected distance between the photovoltaic pillar and the first photovoltaic pillar corresponding to the target group to which the photovoltaic pillar belongs.

8. The method according to claim 7, characterized in that, For each candidate group of the candidate photovoltaic pillars, determining the starting coordinates of the candidate group and, in conjunction with the second pillar height range, determining the fitted slope of the candidate group includes: When the starting photovoltaic pillar of the candidate group is the first photovoltaic pillar of the axis, the starting coordinates of the candidate group are represented based on the first photovoltaic pillar; Based on the starting coordinates, the top elevation of each photovoltaic support in the candidate group is indicated; Based on the bottom and top elevations of each photovoltaic pillar in the candidate group, and under the constraint of the second pillar height range, a first pillar height inequality is constructed for each photovoltaic pillar. Based on the first column height inequality of all photovoltaic pillars in the candidate group, multiple vertices are determined. The x-coordinate of each vertex is the tangent of the fitted slope, and the y-coordinate is the top elevation of the first photovoltaic pillar. Based on the top and bottom elevations of each photovoltaic pillar in the candidate group, a pillar height objective function is constructed for the candidate group. Substitute each vertex into the target column height function to obtain the corresponding column height value; The fitting slope of the candidate group is determined based on the vertex corresponding to the smallest column height value.

9. The method according to claim 7, characterized in that, For each candidate group of the candidate photovoltaic pillars, determining the starting coordinates of the candidate group and, in conjunction with the second pillar height range, determining the fitted slope of the candidate group, further includes: When the starting photovoltaic pillar of the candidate group is not the first photovoltaic pillar of the axis, the starting coordinate of the candidate group is determined based on the ending coordinate of the previous candidate group, and the previous candidate group is continuous with the candidate group. Based on the starting coordinates, determine the top elevation of each photovoltaic support in the candidate group; Based on the bottom and top elevations of each photovoltaic pillar in the candidate group, and under the constraint of the second pillar height range, a second pillar height inequality is constructed for each photovoltaic pillar, and the slope range of each photovoltaic pillar is calculated. The intersection of the slope ranges corresponding to each photovoltaic support in the candidate group is determined as the slope feasible region of the candidate group. The fitted slope of the candidate group is determined based on the minimum value in the slope feasible region.

10. The method according to claim 8 or 9, characterized in that, The method further includes: The endpoint coordinates of the candidate group are determined based on the fitted slope of the candidate group, the extension distance, the top elevation of the last photovoltaic pillar in the candidate group and its projected distance with the first photovoltaic pillar.