A photovoltaic flexible support spatial configuration optimization method

By optimizing the layout of flexible photovoltaic brackets through centroid calculation, rotation alignment, and circular arc intersection tracking algorithms, the problem of insufficient terrain adaptability in existing technologies is solved, and efficient, stable, and automated layout of photovoltaic systems is achieved.

CN122333706APending Publication Date: 2026-07-03HUANENG POWER INT INC HEBEI CLEAN ENERGY BRANCH +1
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
HUANENG POWER INT INC HEBEI CLEAN ENERGY BRANCH
Filing Date
2026-02-25
Publication Date
2026-07-03

AI Technical Summary

Technical Problem

Existing flexible photovoltaic support methods fail to effectively adapt to terrain features, resulting in irregular component arrangement, power generation loss, and construction infeasibility, as well as a lack of automation and space utilization.

Method used

By using centroid calculation and rotation alignment, and arc intersection tracking algorithms, a safe layout boundary and a continuous central column positioning sequence are generated. Combined with short span vector calculation to optimize the number of components and tilt angle, the three-dimensional terrain-adaptive layout of the flexible support is realized.

Benefits of technology

It improves the power generation efficiency of photovoltaic systems, reduces the impact of shading, and enhances the structural stability and construction adaptability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122333706A_ABST
    Figure CN122333706A_ABST
Patent Text Reader

Abstract

This invention proposes a method for optimizing the spatial configuration of flexible photovoltaic (PV) support structures, comprising: obtaining the flexible support layout parameters; dynamically shrinking the layout area based on the centroid calculation and rotation alignment of CAD convex polygons to generate a safe layout boundary; determining the insertion point position of the end column and generating three-dimensional terrain profile data of the flexible support axis according to the safe layout boundary and the rotated terrain features; using an arc intersection tracking algorithm to iteratively calculate the spacing between the middle columns with the end column position as the initial point, forming a continuous middle column positioning sequence; and generating a short-span structural layout table containing the number of components, tilt angle, and three-dimensional coordinate information by combining short-span vector calculation and plane normal direction determination. This invention enables the optimal spatial configuration of flexible PV support structures within complex terrain-defined areas, effectively improving power generation efficiency, reducing the impact of shading, and enhancing the overall stability of the system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of spatial configuration technology for flexible photovoltaic supports, and in particular to a method for optimizing the spatial configuration of flexible photovoltaic supports. Background Technology

[0002] Photovoltaic power generation, as an important component of renewable energy, is widely used in distributed energy systems and large-scale ground-mounted power plant construction. Among related technologies, a technical system for photovoltaic support system design has been constructed through the collaborative work of parametric modeling, geometric constraint optimization, and spatial topology analysis. Specifically, this technical system covers the entire process from terrain data analysis to component layout planning, including key aspects such as CAD boundary extraction, centroid calculation, rotation alignment, and spacing optimization. As photovoltaic technology extends to complex terrain scenarios, flexible support systems are gradually becoming a core technology for improving land utilization. Their design methods must simultaneously meet structural mechanical constraints, optical performance optimization, and construction economic requirements, involving a systematic solution that integrates multiple disciplines.

[0003] However, existing flexible support system deployment methods directly adopt a fixed-axis arrangement mode without establishing a dynamic adaptation mechanism to terrain features. This may lead to power generation losses due to irregular component arrangement, or construction infeasibility due to the support structure exceeding the usable area boundary, thus affecting the overall stability and economy of the system. Specifically, related technologies typically employ a deployment strategy dominated by manual experience, but this has limitations such as the lack of quantitative avoidance of shadow occlusion and the lack of mathematical model support for terrain boundary processing. In particular, the polygon centroid calculation formula is often used in isolation in existing technologies, failing to form a synergistic optimization system with dynamic shrinkage algorithms, iterative models for center column positioning, etc., resulting in the inability to meet engineering requirements for the automation level and space utilization of support deployment in complex terrain. Summary of the Invention

[0004] The present invention aims to at least partially solve one of the technical problems in the related art.

[0005] Therefore, the first objective of this invention is to propose a method for optimizing the spatial configuration of photovoltaic flexible support structures.

[0006] The second objective of this invention is to provide a device for optimizing the spatial configuration of a photovoltaic flexible support structure.

[0007] The third objective of this invention is to provide an electronic device.

[0008] The fourth objective of this invention is to provide a computer-readable storage medium.

[0009] The fifth objective of this invention is to provide a computer program product.

[0010] To achieve the above objectives, a first aspect of the present invention proposes a method for optimizing the spatial configuration of a photovoltaic flexible support structure, comprising:

[0011] Obtain the flexible support layout parameters for photovoltaic flexible supports; Based on the centroid calculation and rotation alignment of CAD convex polygons, the layout area is dynamically shrunk to generate a safe layout boundary. Based on the safety layout boundary and the rotated terrain features, the location of the end column insertion point is determined and three-dimensional terrain profile data of the flexible support axis is generated. An arc intersection tracking algorithm is used to iteratively calculate the spacing between the middle columns, starting from the position of the end column, to form a continuous middle column positioning sequence; By combining short-span vector calculation and plane normal direction determination, a short-span structural layout table containing component quantity, tilt angle, and three-dimensional coordinate information is generated.

[0012] Optionally, the calculation and rotation alignment of the centroid based on the CAD convex polygon, and the dynamic shrinking of the arrangement area to generate a safe arrangement boundary, further includes: Calculate the centroid coordinates of the polygon When using this formula, the following method is employed:

[0013]

[0014] Among them, the first Point 1; According to the inward spacing Adjust the coordinates of the vertices of the polygon: if the y-coordinate of a vertex is greater than the y-coordinate of the centroid, move it downward by d; if the vertex moves downward and passes through the centroid, set the y-coordinate of the centroid. If the y-coordinate of a vertex is less than the y-coordinate of the centroid, move it upward by d; if the vertex moves upward and passes through the centroid, set the y-coordinate of the centroid.

[0015] Optionally, the step of using the arc intersection tracking algorithm to iteratively calculate the spacing between the middle columns, with the end column position as the initial point, to form a continuous middle column positioning sequence further includes: Calculate the spacing between the middle columns ,in For the shorter span and longer side dimensions, The distance on one side of the central column in the short span; Using the starting point of the terrain polyline as the initial center, draw a line with a radius of... The circle is used to calculate the intersection point of the circle and the right side of the broken line as the position of the middle pillar. The next middle pillar position is calculated iteratively with this intersection point as the center of the circle until the circle and the right side of the broken line have no intersection point.

[0016] Optionally, the step of combining short-span vector calculation and plane normal direction determination to generate a short-span structural layout table containing component quantity, tilt angle, and three-dimensional coordinate information further includes: When calculating the short span vector, the direction vector is determined by the orientation angle and inclination angle of the column, and the projection length of the short span on the XY plane is calculated. The number of components is determined based on the ratio of the short span length to the length of a single component, using a custom rounding function: when the decimal part is less than 0.3, it is rounded down; otherwise, it is rounded up.

[0017] Optionally, it also includes: data preprocessing and grouping of the generated short-span structural layout information, specifically including: Perform a deep copy of the input data to avoid contaminating the original data; Sort by "long string number" and "number within long string", group all columns by "long string number", each group represents a continuous column, and process the short span connection relationship for each group separately.

[0018] To achieve the above objectives, a second aspect of the present invention provides a photovoltaic flexible support spatial configuration optimization device, comprising: The parameter acquisition module is used to acquire the flexible support arrangement parameters of the photovoltaic flexible support. The safety boundary generation module is used for centroid calculation and rotation alignment based on CAD convex polygons, and performs dynamic shrinkage processing on the layout area to generate a safe layout boundary. The end column positioning and terrain profile generation module is used to determine the position of the end column insertion point and generate three-dimensional terrain profile data of the flexible support axis based on the safety layout boundary and the rotated terrain features. The center column positioning sequence generation module is used to iteratively calculate the center column spacing using the arc intersection tracking algorithm, with the end column position as the initial point, to form a continuous center column positioning sequence; The short-span structure layout table generation module is used to combine short-span vector calculation and plane normal direction determination to generate a short-span structure layout table containing component quantity, tilt angle and three-dimensional coordinate information.

[0019] To achieve the above objectives, a third aspect of the present invention provides an electronic device, comprising: a processor, and a memory communicatively connected to the processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the method as described in any one of the first aspects.

[0020] To achieve the above objectives, a fourth aspect of the present invention provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of the first aspects.

[0021] To achieve the above objectives, a fifth aspect of the present invention provides a computer program product that, when executed by a processor, implements the method described in any one of the first aspects.

[0022] The technical solutions provided by the embodiments of the present invention bring at least the following beneficial effects: they can achieve the optimal spatial configuration of photovoltaic flexible brackets within areas limited by complex terrain, effectively improve power generation efficiency, reduce the impact of shading, and enhance the structural stability of the system.

[0023] Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description

[0024] The above and / or additional aspects and advantages of the present invention will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, wherein: Figure 1 This is a flowchart illustrating a method for optimizing the spatial configuration of a photovoltaic flexible support according to an embodiment of the present invention. Figure 2 This is a schematic diagram of the spatial configuration process of the photovoltaic flexible support provided in an embodiment of the present invention; Figure 3 This is a schematic diagram illustrating the acquisition of the layout area from CAD, provided in an embodiment of the present invention. Figure 4 This is a schematic diagram of the reverse arrangement direction rotation arrangement area provided in an embodiment of the present invention; Figure 5 This is a schematic diagram of the reduced layout area provided in an embodiment of the present invention; Figure 6 This is a schematic diagram illustrating the determination of the end post position according to an embodiment of the present invention; Figure 7 This is a schematic diagram of the process for determining the middle bead provided in an embodiment of the present invention; Figure 8 This is a schematic diagram of the process for determining the middle bead provided in an embodiment of the present invention. Detailed Implementation

[0025] Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain the present invention, and should not be construed as limiting the present invention.

[0026] Figure 1 This is a flowchart illustrating a method for optimizing the spatial configuration of a photovoltaic flexible support system according to an embodiment of the present invention. (Refer to...) Figures 1-8 The method includes the following steps: S1, obtain the flexible support layout parameters of the photovoltaic flexible support.

[0027] Specifically, in the photovoltaic flexible support layout algorithm, obtaining parameters such as the layout direction, spacing between long strings, end column dimensions, short span dimensions, and module spacing of the photovoltaic flexible support is a fundamental step in the entire system design and optimization. This step provides accurate input data for subsequent support layout, terrain adaptation, and 3D modeling by extracting key geometric and structural parameters.

[0028] In some implementations, the arrangement direction is defined as the long axis of the flexible support relative to... The axis deflection angle, measured in degrees (°), is positive counterclockwise and negative clockwise. This parameter directly affects the spatial distribution and orientation of the support structure within the installation area, thus influencing the light-gathering efficiency and shading of the photovoltaic modules. The string spacing refers to the horizontal distance between the axes of adjacent flexible support structures, usually measured in meters (m). Its value needs to be determined comprehensively based on factors such as module density, terrain undulations, and wind load, and is generally within a certain range. Within the range of m.

[0029] In CAD, the end post dimension is defined as the distance between the edge of the end post and the insertion point. This parameter determines the reserved space for the end post at the boundary of the layout area, and is usually set to... m, to ensure structural stability and construction feasibility. The short span dimension is determined by the number of standard components. Its long side dimension is the length of the long side of the component, and the short side dimension is the short side length of the component multiplied by the number of components, plus the spacing between components multiplied by (number of components - 1), that is: Component spacing is typically set to... m, to avoid shadow occlusion between components and to meet installation specifications.

[0030] Furthermore, in practical applications, this step typically involves extracting terrain and structural parameters using CAD software or a GIS system, and combining these with the physical dimensions and installation requirements of the photovoltaic modules to construct a standardized set of input parameters. These parameters will serve as the basis for subsequent calculations of the positions of the central and end columns, terrain profile analysis, and 3D structural modeling, ensuring that the flexible support structure achieves optimal placement in complex terrain and improving the system's power generation efficiency and structural stability.

[0031] S2, based on the centroid calculation and rotation alignment of CAD convex polygons, dynamically shrinks the layout area to generate a safe layout boundary.

[0032] Specifically, the step of "calculating the centroid and rotating the alignment based on the CAD convex polygon to dynamically shrink the arrangement area to generate a safe arrangement boundary" is a key geometric preprocessing step for achieving a reasonable arrangement of photovoltaic flexible supports. This step ensures the safety and feasibility of the support structure in complex terrain through geometric transformation and boundary adjustment.

[0033] At the technical implementation level, the geometric boundary of the layout area is first read from the CAD file, which is typically a convex polygon. This polygon consists of a series of ordered vertices. This indicates that the vertex order can be clockwise or counterclockwise. To align the support axis with the arrangement area, the geometric centroid of the polygon needs to be calculated. The calculation formula is as follows:

[0034]

[0035] in, The area of ​​the polygon. , The arrangement area is a closed polygon. After the centroid calculation is completed, the arrangement area is rotated around its centroid by an angle equal to the deviation of the long axis of the flexible support. The angle of the axis, i.e. the direction of arrangement. This rotation operation ensures that the support axis is consistent with the terrain, improving the rationality of the arrangement.

[0036] Furthermore, to prevent the end columns and middle columns from exceeding the boundary of the layout area, dynamic inward adjustment is required. Inward spacing... The distance is determined by the sum of the distance between the end post insertion point and the edge, and the distance between the end post and the arrangement area. Specifically, for each vertex... The coordinates are adjusted if they are greater than the centroid. If the coordinates are correct, then move downwards. If it is less than, move it upwards. If the movement passes through the center of mass, then that center of mass is set as the center of mass. Coordinates. The adjusted vertex sequence reconstructs a new indented polygon, serving as a safety boundary for subsequent scaffold placement.

[0037] In application scenarios, this step is suitable for the deployment of flexible photovoltaic supports in complex terrains (such as mountains, rooftops, and irregular plots). Especially in CAD-aided design systems, it provides precise geometric constraints for subsequent end column positioning, middle column spacing calculation, and 3D structure generation. Through centroid calculation and rotational alignment, conflicts between the support and terrain edges can be effectively reduced, improving overall deployment efficiency and safety.

[0038] The technical effect of this step is that, through geometric transformation and boundary shrinkage, the integrity and stability of the support structure within the arrangement area are ensured, providing a reliable foundation for the subsequent positioning of the central and end columns, thereby improving the power generation efficiency and engineering feasibility of the photovoltaic system.

[0039] S3. Based on the safety layout boundary and the terrain features after rotation, determine the position of the end column insertion point and generate three-dimensional terrain profile data of the flexible support axis.

[0040] Specifically, in the "Photovoltaic Flexible Support Layout Algorithm" of this invention, the step of "determining the insertion point position of the end column and generating three-dimensional terrain profile data of the flexible support axis based on the safety layout boundary and the rotated terrain features" is a key step in achieving efficient and stable layout of the flexible support system in complex terrain. This step combines terrain data processing, geometric transformation, and engineering layout rules to ensure that the support structure can adapt to actual terrain changes while meeting safety boundary constraints, thereby improving the power generation efficiency and structural stability of the photovoltaic system.

[0041] At the technical implementation level, this step first involves using the layout area (usually a convex polygon) read from CAD to rotate the flexible support axis to align with the specified layout direction. The layout direction is defined as the deviation of the flexible support's major axis from the specified layout direction. The angle of the axis is positive counterclockwise and negative clockwise. After rotation, to prevent the end posts and center posts from exceeding the boundary of the arrangement area, the polygon needs to be shrunk. Shrunk spacing The distance between the end post insertion point and the edge, and the distance between the end post and the layout area are determined by the sum of these two distances, i.e., d = distance between the end post insertion point and the edge + distance between the end post and the layout area. By adjusting the coordinates of each vertex individually, it is ensured that all posts are within the safe layout boundary.

[0042] Subsequently, based on the shrunken layout area, the values ​​of all vertices are extracted. and The maximum and minimum coordinates are used to construct a rectangular boundary. Along this rectangle... Along the axial direction, several grid lines are generated according to the "inter-string spacing" parameter. The intersections of these grid lines with the arrangement area are the insertion positions of the end columns on both sides of the flexible support. To ensure that the end column positions are consistent with the overall arrangement direction, these intersection points need to be rotated around the center of the arrangement area by the arrangement direction angle.

[0043] When generating 3D terrain profile data, a linear interpolation method is used to generate evenly spaced intermediate points between the start and end points of each end column segment. Based on the coordinates of these points, the corresponding elevation values ​​are extracted from the digital elevation model (DEM) data, thereby constructing a 3D terrain profile of the flexible support axis. This profile is not only used for visualization but also provides elevation data for subsequent short-span structure design and component placement, ensuring that the support structure maintains a reasonable tilt angle and support stability at different terrain heights.

[0044] In practical applications, this step is suitable for complex terrain environments such as mountainous areas, slopes, and rooftops. By precisely controlling the matching relationship between the end column insertion point and terrain features, construction difficulty can be effectively reduced, damage to the terrain can be minimized, and the installation efficiency and power generation performance of photovoltaic modules can be improved. Its technical value lies in enabling the adaptive arrangement of flexible support systems in irregular terrains, providing a reliable data foundation and algorithmic support for the automated design of photovoltaic projects.

[0045] S4 employs an arc intersection tracking algorithm, using the end post position as the initial point to iteratively calculate the spacing between the middle posts, forming a continuous middle post positioning sequence.

[0046] Specifically, in the photovoltaic flexible support arrangement algorithm of this invention, the step of "using the arc intersection tracking algorithm to iteratively calculate the spacing between the middle columns with the end column position as the initial point to form a continuous middle column positioning sequence" is a key step in achieving a reasonable layout of the support structure. Based on geometric topological relationships and preset structural parameters, this step achieves continuous positioning of the middle columns on the long axis through iterative tracking of arc intersections, thereby ensuring stable support and efficient arrangement of photovoltaic modules on complex terrain.

[0047] In some implementations, the algorithm uses the determined end post position as the initial center and draws a circle with a radius of... The circle, in which Indicates the length of the shorter span. This represents the distance on one side of the central column in the short span. The radius is set to fully consider the geometric characteristics of the short span structure, ensuring that the spacing between the central columns meets the component installation requirements while avoiding stability issues caused by excessively dense or sparse structures. The circular arc intersection tracking algorithm determines the insertion position of the central column by calculating the right-side intersection point of the circle and the broken line of the long string axis. If multiple intersection points exist, one is selected. The intersection point with the largest value is taken as the position of the central column to ensure the continuity and uniformity of the support along the layout direction.

[0048] Furthermore, the algorithm employs an iterative approach, repeatedly drawing circles and calculating intersections with the current center column position as the new center, until the circle and the polyline have no intersection on the right side. This process effectively adapts to changes in terrain undulations, ensuring that the center columns maintain a reasonable spacing distribution across different elevation sections. In practical applications, this step is typically performed in a CAD system, combined with terrain DEM data, to achieve center column positioning in three-dimensional space, meeting the layout requirements of complex terrains such as mountainous areas and rooftops.

[0049] The technical advantage of this step lies in achieving automated and continuous arrangement of the central column positions through a combination of geometric constraints and iterative calculations, thereby improving the structural stability and installation efficiency of the photovoltaic flexible support system. Simultaneously, this method avoids errors caused by manual intervention, enhances the algorithm's adaptability and repeatability, and provides reliable basic data for subsequent component placement and structural optimization.

[0050] Furthermore, S4 includes: S41, Calculate the spacing between the center columns ,in For the shorter span and longer side dimensions, It is the distance on one side of the middle column in the short span.

[0051] Specifically, in the "Photovoltaic Flexible Support Layout Algorithm" of this invention, the step "determining the position of the central column" is a key step in achieving a reasonable layout of the support structure. Its core lies in ensuring, through geometric calculations and terrain adaptation, that the distribution of the central columns within the layout area meets both structural stability requirements and complies with the installation specifications of photovoltaic modules. Specifically, the spacing between the central columns... The calculation is the basis of this step, in which This indicates the length of the longer side of the shorter span. This indicates the distance on one side of the column in the short span.

[0052] From a technical implementation perspective, this formula is designed based on the geometric characteristics of the photovoltaic flexible support structure. The long side dimension of the short span... It is typically composed of the product of the shorter side dimension of the component and the number of standard components, plus the linear sum of the spacing between the components. This is based on the minimum safe distance between the central column and the edge of the short span in the support structure design, which is usually set in engineering practice as follows: This is to ensure that the support structure has sufficient wind and pressure resistance in complex terrain.

[0053] In practice, the arrangement of the central pillars adopts an iterative method: taking the first end pillar as the initial center, a radius of [missing information] is drawn. Find the circle and calculate the right intersection point of the circle and the terrain polygon. If multiple intersection points exist, select the one that intersects the circle. The intersection point with the largest value is used as the position of the central column to ensure that the supports are evenly distributed along the layout direction. This process is implemented through geometric algorithms in CAD or GIS systems, typically using line segment and circle intersection detection algorithms, such as geometric solution methods based on vector projection and distance judgment.

[0054] From an application perspective, this step is suitable for the deployment of flexible photovoltaic support systems in complex terrains (such as mountains, rooftops, and slopes). By dynamically calculating the spacing between the central columns, the system can adapt to different slopes, curvatures, and space constraints, thereby improving the adaptability and installation efficiency of the support system. Furthermore, this method supports three modes: "full deployment," "half-module deployment," and "no deployment," meeting flexible configuration requirements for different engineering needs.

[0055] The technical advantage of this step lies in achieving the optimal distribution of the central columns along the terrain's zigzag lines through precise geometric modeling and spacing control, thereby improving the structural stability and power generation efficiency of the photovoltaic support system. Combined with subsequent three-dimensional layout calculations for short-span structures, this method provides reliable technical support for the automated design of flexible photovoltaic supports.

[0056] S42, with the starting point of the terrain polyline as the initial center, draws a circle with a radius of... For each circle, calculate the intersection point between the circle and the right side of the broken line (if there are multiple intersection points, select the intersection point with the largest x value) as the position of the middle pillar, and continue to iterate and calculate the position of the next middle pillar with this intersection point as the center of the circle, until the loop stops when there is no intersection point between the circle and the right side of the broken line.

[0057] Specifically, in the "Photovoltaic Flexible Support Layout Algorithm" of this invention, "determining the position of the central column" is a key geometric planning step for achieving efficient and stable layout of the flexible support on complex terrain. This step, based on the geometric features of the terrain polygonal lines, uses an iterative circular intersection method to gradually determine the layout position of the central column, thereby achieving an adaptive layout of the support structure.

[0058] At the technical implementation level, this step first uses the starting point of the terrain polyline (i.e., the position of the first end post) as the initial center, and draws a radius of... The circle, in which The calculation formula is: , Indicates the length of the shorter span. This represents the unilateral distance of the central column in the short span. This circle is used to simulate the projection range of the central column onto the terrain polygon. Then, the intersection point of this circle with the right side of the terrain polygon is calculated; if multiple intersection points exist, one is selected. The intersection point with the largest value is used as the current insertion position of the central column. This selection strategy ensures the continuity and uniformity of the central column along the arrangement direction (usually the long axis of the photovoltaic support), avoiding structural misalignment or overlap caused by terrain undulations.

[0059] Furthermore, this step employs an iterative approach, using the current central pillar position as the new center point, and continuing to draw circles with a radius of... The algorithm calculates the intersection points of the current circle with the right side of the terrain polyline to determine the position of the next center column. This process continues until the current circle has no intersection points with the right side of the terrain polyline, indicating that the boundary of the placement area has been reached or that terrain changes have made it impossible to place the center column further. Based on CAD terrain polyline data, this algorithm combines geometric projection and circle intersection detection to achieve automatic identification and optimized layout of center column positions.

[0060] In terms of parameter indicators, the spacing between the center columns The design directly affects the structural stability of the photovoltaic support system and the module arrangement density. Through... The formula ensures geometric compatibility between the central column and the short-span structure, avoiding structural conflicts or excessive space waste caused by insufficient spacing. Furthermore, the selection of intersection points is based on... The principle of maximizing value aligns with the engineering logic of prioritizing the extension of photovoltaic brackets along the layout direction.

[0061] At the application level, this step is suitable for the deployment of flexible photovoltaic supports in irregular terrains such as mountainous areas, slopes, and rooftops. By extracting terrain polyline data from CAD and combining it with preset deployment direction and spacing parameters, the system can automatically complete the layout planning of the central column, significantly improving design efficiency and engineering feasibility.

[0062] The technical effect of this step is that by combining geometric constraints with iterative algorithms, the adaptive arrangement of the central column on complex terrain is achieved, which improves the space utilization and structural stability of the photovoltaic support system and provides a precise geometric basis for subsequent 3D modeling and component layout.

[0063] S5, combining short-span vector calculation and plane normal direction determination, generates a short-span structural layout table containing component quantity, tilt angle and three-dimensional coordinate information.

[0064] Specifically, in the "Photovoltaic Flexible Support Layout Algorithm" of this invention, the step of "combining short-span vector calculation and plane normal direction determination to generate a short-span structural layout table containing component quantity, tilt angle, and three-dimensional coordinate information" is a key step in realizing the three-dimensional spatial layout modeling of flexible supports. This step transforms two-dimensional layout information into three-dimensional structural parameters through geometric vector analysis and plane normal determination, providing accurate data support for subsequent support structure design and component arrangement.

[0065] At the technical implementation level, this step first iterates through the column columns under each group of "long string numbers," calculating the short span vector for each pair of adjacent columns (end column and middle column, or middle column and middle column). The short span vector is defined as the difference vector between the coordinates of the bases of adjacent columns, denoted as . ,in , These represent the indices of adjacent pillars. This vector can be used to further calculate the length of the short span. and its unit vector This is used to determine the direction of subsequent component arrangement.

[0066] Furthermore, through the azimuth angle of the pillar With tilt angle It can construct the projection direction vector of the short span on the XY plane. And calculate the projected length of the short span in the XY plane. The projection length is used to determine the scaling ratio of short-span components in the horizontal direction, thereby ensuring the proper arrangement of components on the actual terrain.

[0067] The number of components is calculated using the formula: Number of components = Short span length ÷ Length of a single component. A custom rounding function is introduced to round down when the decimal part is less than 0.3, to better reflect the component cutting and installation requirements in actual engineering. Simultaneously, the normal direction of the short span plane can be calculated by the cross product of the short span vector and the short side direction vector. It is used to determine the tilt direction of the short span, thereby assisting in setting the tilt angle of the component.

[0068] In terms of parameters, the length of the shorter span and the longer side. The spacing between the central columns is determined by the short side dimension of the component, the number of standard components, and the spacing between components. The calculation, where It is the distance on one side of the middle column in the short span.

[0069] This step is widely used in the deployment of flexible photovoltaic supports in complex terrains (such as mountains, slopes, and rooftops). Through precise calculation of three-dimensional coordinates and tilt angles, it can effectively reduce the risk of shading and improve the stability of the support structure and the rationality of the module arrangement. Its technical value lies in combining geometric modeling with engineering parameters to achieve automated and high-precision flexible support layout design, providing a reliable data foundation for photovoltaic system optimization.

[0070] S51, when calculating the short span vector, the direction vector is determined by the direction angle and inclination angle of the column, and the projection length of the short span on the XY plane is calculated.

[0071] Specifically, in the photovoltaic flexible support layout algorithm of this invention, calculating the short-span vector by determining the direction vector through the orientation angle and tilt angle of the column, and calculating the projected length of the short span on the XY plane, is one of the key steps to achieve a reasonable layout of components in three-dimensional space. This step is based on the principles of geometric modeling and vector analysis, combined with actual engineering parameters, to ensure the adaptability and stability of the short-span structure in complex terrain.

[0072] In some implementations, this step first constructs the direction vector of the short span using the column's orientation angle (i.e., the angle by which the flexible support axis deviates from the x-axis, counterclockwise being positive and clockwise being negative) and tilt angle (i.e., the angle between the support and the horizontal plane). Specifically, the orientation angle is used to determine the support's orientation in the horizontal plane (XY plane), while the tilt angle is used to calculate the support's inclination in the vertical direction. These two angular parameters allow the construction of the direction vector in three-dimensional space. Its projection vector on the XY plane is This is used for subsequent component layout and size adjustment.

[0073] Furthermore, the calculation of the short span vector involves the following specific indicators and parameters: column base coordinates, column height, orientation angle, tilt angle, component long side dimension, component short side dimension, and component spacing. The column head coordinates are obtained by multiplying the column base coordinates and column height by the orientation vector. The short span vector is composed of the difference in column head coordinates between adjacent columns, and its length is the Euclidean distance between the two points. The unit vector is used for subsequent normal direction determination and component layout orientation correction.

[0074] In practical applications, this step is typically performed after the CAD layout area has been rotated, scaled inward, and the positions of the end and center columns determined. By calculating the projected length of the short span on the XY plane, the scaling ratio in the X direction can be obtained, thereby adjusting the dimensions of the short span components to maintain structural rationality and component alignment under different terrain conditions. The formula for calculating this projected length is the horizontal distance between two points on the XY plane, i.e. ,in and These are the projected coordinates of the column heads of adjacent columns on the XY plane.

[0075] The technical advantage of this step lies in its ability to effectively control the geometry of short-span structures through precise calculation of direction vectors and projection lengths, ensuring a reasonable distribution of components in three-dimensional space and reducing component misalignment or shadow occlusion caused by terrain undulations. Furthermore, the use of a custom rounding function (allowing decimals less than 0.3 to be rounded down) further enhances the engineering practicality and accuracy of component quantity calculations, providing a reliable data foundation for subsequent 3D modeling and structural optimization.

[0076] S52, determine the number of components based on the ratio of the short span length to the length of a single component, and use a custom rounding function: round down when the decimal part is less than 0.3, otherwise round up.

[0077] Specifically, in the photovoltaic flexible support system layout algorithm, determining the number of modules based on the ratio of the shorter span length to the length of a single module is one of the key steps in achieving optimized support structure configuration. This step employs a custom rounding function to improve the engineering applicability and computational efficiency of the module layout.

[0078] At the technical implementation level, this step first calculates the projected length of the shorter span on the XY plane, denoted as . Its value is determined by the geometric relationship between adjacent pillars. This length is then compared to the standard length of a single photovoltaic module. Perform ratio calculations to obtain the theoretical number of components. Since the number of components must be an integer in actual engineering projects, a custom rounding function is introduced. Its definition is: when If the decimal part is less than 0.3, round down; otherwise, round up. The mathematical expression of this function is:

[0079] in, express The decimal part, This is the floor function. This is the rounding up function. The introduction of this function makes the calculation of component counts more closely reflect actual engineering needs, avoiding problems such as component misalignment or excessive gaps that may occur with traditional rounding.

[0080] At the parameter level, short span length The length of a single component is calculated from the coordinate difference between adjacent columns. This is typically the length of the longer side of a standard photovoltaic module, for example. or The spacing between components is generally set to... to This is to meet installation and heat dissipation requirements. The custom rounding function ensures that the number of components is within the acceptable range. Based on this, reasonable rounding is performed to optimize the structural stability and space utilization of the support structure.

[0081] In application scenarios, this step is widely used in the design of flexible photovoltaic support systems for complex terrains (such as mountains, rooftops, and slopes). By accurately calculating the number of modules within a short span, redundant design of the support structure can be effectively reduced, improving the power generation efficiency and economy of the photovoltaic system. Especially in situations with significant terrain undulations and irregular layout areas, this method can ensure the uniform distribution of modules across the short span, avoiding shading and structural imbalance caused by module misalignment.

[0082] The technical effect of this step is that by introducing engineering-oriented custom rounding rules, the accuracy and practicality of component quantity calculation are improved, providing a reliable data foundation for subsequent 3D structural modeling and support optimization, and enhancing the adaptability and deployment efficiency of photovoltaic flexible support systems.

[0083] The photovoltaic flexible support spatial configuration optimization method of this invention enables automated and optimized arrangement of photovoltaic flexible supports in complex terrain areas, improves power generation efficiency and reduces the impact of shading, while enhancing system structural stability and construction adaptability.

[0084] Furthermore, embodiments of the present invention also perform data preprocessing and grouping processing on the generated short-span structural layout information, specifically including: Specifically, in the "Photovoltaic Flexible Support Layout Algorithm" of this invention, data preprocessing and grouping of the generated short-span structural layout information are key steps in realizing the three-dimensional modeling and component layout of the flexible support. This step aims to structure and organize the initially generated column data, providing a clear and orderly data foundation for the subsequent establishment of short-span connection relationships and component parameter calculations.

[0085] At the technical implementation level, this step first performs a deep copy of the input end-column data to ensure that the original data is not modified, thereby guaranteeing data integrity and traceability. Then, the columns are sorted according to "long string number" and "number within the long string" to ensure spatial continuity and logical order. After sorting, all columns are grouped according to "long string number," with each group representing a continuous long string of flexible supports, facilitating subsequent processing of short-span connections group by group.

[0086] Furthermore, within each column group, the short spans between adjacent columns are traversed, with each short span consisting of the coordinates of the bases of two columns. The coordinates of the column head are calculated using the column's orientation angle and inclination angle, expressed as: The direction vector, determined by both the azimuth and inclination angles, describes the column's orientation in three-dimensional space. Simultaneously, the short span vector, length, and unit vector are calculated to determine the spatial orientation and inclination angle of the short span segment. By calculating the projection length of the short span onto the XY plane, the scaling factor in the X direction can be further calculated, allowing for adjustments to the dimensions of the short span components to adapt to the actual terrain and layout requirements.

[0087] At the parameter level, the relationship between the short span length and the number of components is determined by the following formula: To meet practical engineering needs, this invention introduces a custom rounding function that rounds down when the decimal part is less than 0.3, in order to avoid unreasonable increases or decreases in the number of components due to minor errors.

[0088] In application scenarios, this step is widely used in photovoltaic flexible support systems with complex terrain (such as mountains, rooftops, and slopes) to provide accurate geometric and topological data for subsequent modules such as component layout, shadow analysis, and structural stability assessment. Through this preprocessing and grouping mechanism, the system can efficiently process large-scale layout data, improving the robustness and computational efficiency of the algorithm.

[0089] In summary, this step, through structured data processing and geometric parameter calculation, provides solid data support for the 3D modeling and component layout of flexible supports, and is a crucial step in realizing the automated design and optimized layout of photovoltaic systems.

[0090] Specifically, in the photovoltaic flexible support layout algorithm of this invention, the "deep copy of input data to avoid contaminating the original data" in data preprocessing is a key step to ensure the integrity and traceability of data in the subsequent layout calculation process. This step is technically implemented based on a data structure copying mechanism. Its core lies in copying the original input data (such as the vertex coordinates of the layout area read from CAD, flexible support parameters, etc.) to a new memory space through a deep copy operation. This prevents irreversible modification or overwriting of the original data during subsequent operations such as rotation, scaling, grouping, and calculation.

[0091] In some implementations, this deep copy operation can be implemented using the `copy.deepcopy()` function in Python, or recursively copying structure pointers in C++. Specifically, input data is typically stored in structured data formats (such as DataFrames, nested dictionaries, JSON objects, etc.) containing multiple fields, such as "long string number," "intra-long string number," "base coordinates," "height," "direction angle," and "inclination angle." Through deep copying, the system creates a copy completely independent of the original data structure, ensuring that any modifications to the copy during subsequent processing (such as coordinate transformations or field updates) do not affect the integrity of the original data.

[0092] At the parameter level, the performance of deep copy operations is closely related to the data size. In this invention, the input data is typically a set of polygon vertex coordinates (e.g., ...). The data volume for the deep copy operation, including the geometric parameters of the flexible support (such as end column dimensions, short span dimensions, and long string spacing), depends on the complexity of the layout area and the number of components. In practical applications, to ensure the real-time performance and stability of the algorithm, the deep copy operation should be controlled within a reasonable time complexity, typically requiring... or Completed within the scope, of which The number of elements in the input data.

[0093] At the application level, this step is widely used in the automation process of photovoltaic system design. For example, polygon boundary data and component parameter tables read from CAD systems often need to be referenced and processed in multiple algorithm modules. If deep copying is not performed and operations are performed directly on the original data, it may lead to data consistency issues, affecting the accuracy of subsequent critical steps such as center column and end column positioning, terrain profile generation, and short-span structure calculation. Therefore, deep copying plays an irreplaceable role in the data preprocessing stage.

[0094] From a technical perspective, this step effectively ensures the reversibility and verifiability of data processing, providing a stable data foundation for subsequent geometric transformations, grouping processes, and short-span connection calculations. Simultaneously, by preventing modification of the original data, the system exhibits greater flexibility and reliability in scenarios such as debugging, backtracking, and multi-scheme comparison, thereby enhancing the engineering practicality and maintainability of the entire photovoltaic flexible support deployment algorithm.

[0095] Specifically, embodiments of the present invention also support sorting by "long string number" and "number within long string", grouping all columns by "long string number", with each group representing a continuous column, and processing short span connection relationships for each group separately.

[0096] Specifically, in the photovoltaic flexible support layout algorithm of this invention, the step of "sorting all columns according to 'long string number' and 'number within the long string', grouping all columns according to 'long string number', with each group representing a continuous column, and processing the short span connection relationship for each group" is one of the key steps in realizing the three-dimensional layout of the flexible support. This step, through a combination of structured data processing and geometric modeling, ensures the reasonable distribution and connection of the support system in complex terrain.

[0097] At the technical implementation level, this step first sorts the input column data. Specifically, the system performs a primary sort based on "long string numbers" to ensure the continuity of column columns within each long string in the data structure. Secondly, a secondary sort is performed according to "intra-long string numbers" to clarify the order of columns within each long string. After sorting, the system groups all columns by "long string numbers," with each group corresponding to a continuous column column, i.e., the longitudinal support structure of the flexible scaffold. This grouping operation provides a clear topological foundation for subsequent processing of short-span connection relationships.

[0098] At the parameter level, key parameters involved in this step include "long string numbering," "numbering within the long string," and the geometric properties of the columns (such as column base coordinates, column height, orientation angle, and tilt angle). The "long string numbering" identifies different flexible support axes, while the "numbering within the long string" identifies the relative positions of columns within the same axis. Sorting and grouping operations must meet certain data structure requirements, such as using Pandas DataFrames for data management and implementing grouping by "long string numbering" using the `groupby` method. Furthermore, the handling of short-span connections depends on the geometric relationships between adjacent columns, including short-span vectors, lengths, and unit vectors; these parameters are used for subsequent component placement and shading analysis.

[0099] At the application level, this step is widely applicable to the deployment of flexible photovoltaic support systems in complex terrains, such as mountains, rooftops, and irregular ground. By grouping the columns into long strings with numbered groups, the system can independently handle the short-span connections of each long string, thereby achieving flexible adaptation to different terrain areas. For example, in sloping terrain deployments, each long string may have different tilt angles and orientation angles; grouping ensures that the short-span connections of each column group meet the actual installation conditions.

[0100] From a technical perspective, this step improves the executability and computational efficiency of the algorithm through structured grouping and sorting mechanisms. Simultaneously, it provides clear data input for subsequent calculations of short-span information (such as short-span vectors, projection lengths, and component numbers), ensuring the continuity and rationality of component placement. Furthermore, this step lays the foundation for generating the final 3D layout information and output table (DataFrame), facilitating the automated design and optimization of photovoltaic support systems.

[0101] The photovoltaic flexible support spatial configuration optimization method of this invention effectively avoids data pollution and improves the logical clarity of layout processing by performing deep copying of short-span structural layout information and sorting and grouping based on "long string number" and "long string intra-number". This further improves the accuracy of column connection relationship and automated layout efficiency of photovoltaic flexible supports in complex terrain, and enhances the structural coordination and construction feasibility of the system.

[0102] To achieve the above embodiments, the present invention also proposes a photovoltaic flexible support space configuration optimization device, which includes: The parameter acquisition module is used to acquire the flexible support arrangement parameters of the photovoltaic flexible support. The safety boundary generation module is used for centroid calculation and rotation alignment based on CAD convex polygons, and performs dynamic shrinkage processing on the layout area to generate a safe layout boundary. The end column positioning and terrain profile generation module is used to determine the position of the end column insertion point and generate three-dimensional terrain profile data of the flexible support axis based on the safety layout boundary and the rotated terrain features. The center column positioning sequence generation module is used to iteratively calculate the center column spacing using the arc intersection tracking algorithm, with the end column position as the initial point, to form a continuous center column positioning sequence; The short-span structure layout table generation module is used to combine short-span vector calculation and plane normal direction determination to generate a short-span structure layout table containing component quantity, tilt angle and three-dimensional coordinate information.

[0103] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.

[0104] To implement the above embodiments, the present invention also proposes an electronic device, including: a processor and a memory communicatively connected to the processor; the memory stores computer execution instructions; the processor executes the computer execution instructions stored in the memory to implement the method provided in the foregoing embodiments.

[0105] To implement the above embodiments, the present invention also proposes a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the methods provided in the foregoing embodiments.

[0106] To implement the above embodiments, the present invention also proposes a computer program product, including a computer program that, when executed by a processor, implements the methods provided in the foregoing embodiments.

[0107] The collection, storage, use, processing, transmission, provision, and disclosure of user personal information involved in this invention all comply with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0108] It should be noted that personal information collected from users should be used for legitimate and reasonable purposes and should not be shared or sold outside of these legitimate uses. Furthermore, such collection / sharing should only be conducted after receiving the user's informed consent, including but not limited to notifying the user to read the user agreement / user notice and sign an agreement / authorization that includes authorization of relevant user information before the user uses the function. In addition, any necessary steps must be taken to protect and safeguard access to such personal information data and ensure that others with access to personal information data comply with their privacy policies and procedures.

[0109] This invention is intended to provide implementation schemes for users to selectively prevent the use or access to personal information data. That is, this disclosure is intended to provide hardware and / or software to prevent or block access to such personal information data. Once personal information data is no longer needed, risks can be minimized by restricting data collection and deleting data. Furthermore, where applicable, such personal information can be de-identified to protect user privacy.

[0110] In the foregoing descriptions of the embodiments, the terms "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.

[0111] Furthermore, 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 at least one of that feature. In the description of this invention, "a plurality of" means at least two, such as two, three, etc., unless otherwise explicitly specified.

[0112] Any process or method description in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing custom logic functions or processes, and the scope of preferred embodiments of the invention includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as should be understood by those skilled in the art to which embodiments of the invention pertain.

[0113] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include: an electrical connection having one or more wires (electronic device), a portable computer disk drive (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Alternatively, the computer-readable medium may be paper or other suitable media on which the program can be printed, since the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in a computer memory.

[0114] It should be understood that various parts of the present invention can be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware as in another embodiment, it can be implemented using any of the following techniques known in the art, or a combination thereof: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.

[0115] Those skilled in the art will understand that all or part of the steps of the methods in the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.

[0116] Furthermore, the functional units in the various embodiments of the present invention can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into a module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.

[0117] The storage medium mentioned above can be a read-only memory, a disk, or an optical disk, etc. Although embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Those skilled in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of the present invention.

[0118] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.

[0119] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.

Claims

1. A method for optimizing the spatial configuration of a photovoltaic flexible support structure, characterized in that, include: Obtain the flexible support layout parameters for photovoltaic flexible supports; Based on the centroid calculation and rotation alignment of CAD convex polygons, the layout area is dynamically shrunk to generate a safe layout boundary. Based on the safety layout boundary and the rotated terrain features, the location of the end column insertion point is determined and three-dimensional terrain profile data of the flexible support axis is generated. An arc intersection tracking algorithm is used to iteratively calculate the spacing between the middle columns, starting from the position of the end column, to form a continuous middle column positioning sequence; By combining short-span vector calculation and plane normal direction determination, a short-span structural layout table containing component quantity, tilt angle, and three-dimensional coordinate information is generated.

2. The method as described in claim 1, characterized in that, The centroid calculation and rotation alignment based on CAD convex polygons, and the dynamic shrinking of the layout area to generate a safe layout boundary, also include: Calculate the centroid coordinates of the polygon When using this formula, the following method is employed: Among them, the first Point 1; According to the inward spacing Adjust the coordinates of the vertices of the polygon: if the y-coordinate of a vertex is greater than the y-coordinate of the centroid, move it downward by d; if the vertex moves downward and passes through the centroid, set the y-coordinate of the centroid. If the y-coordinate of a vertex is less than the y-coordinate of the centroid, move it upward by d; if the vertex moves upward and passes through the centroid, set the y-coordinate of the centroid.

3. The method as described in claim 1, characterized in that, The method of using the arc intersection tracking algorithm to iteratively calculate the spacing between the middle columns, starting from the end column position, to form a continuous middle column positioning sequence also includes: Calculate the spacing between the middle columns ,in For the shorter span and longer side dimensions, The distance on one side of the central column in the short span; Using the starting point of the terrain polyline as the initial center, draw a line with a radius of... The circle is used to calculate the intersection point of the circle and the right side of the broken line as the position of the middle pillar. The next middle pillar position is calculated iteratively with this intersection point as the center of the circle until the circle and the right side of the broken line have no intersection point.

4. The method as described in claim 1, characterized in that, The method of generating a short-span structure layout table containing component quantity, tilt angle, and three-dimensional coordinate information by combining short-span vector calculation and plane normal direction determination also includes: When calculating the short span vector, the direction vector is determined by the orientation angle and inclination angle of the column, and the projection length of the short span on the XY plane is calculated. The number of components is determined based on the ratio of the short span length to the length of a single component, using a custom rounding function: when the decimal part is less than 0.3, it is rounded down; otherwise, it is rounded up.

5. The method as described in claim 1, characterized in that, Also includes: The generated short-span structural layout information undergoes data preprocessing and grouping, specifically including: Perform a deep copy of the input data to avoid contaminating the original data; Sort by "long string number" and "number within long string", group all columns by "long string number", each group represents a continuous column, and process the short span connection relationship for each group separately.

6. A photovoltaic flexible support spatial configuration optimization device, characterized in that, include: The parameter acquisition module is used to acquire the flexible support arrangement parameters of the photovoltaic flexible support. The safety boundary generation module is used for centroid calculation and rotation alignment based on CAD convex polygons, and performs dynamic shrinkage processing on the layout area to generate a safe layout boundary. The end column positioning and terrain profile generation module is used to determine the position of the end column insertion point and generate three-dimensional terrain profile data of the flexible support axis based on the safety layout boundary and the rotated terrain features. The center column positioning sequence generation module is used to iteratively calculate the center column spacing using the arc intersection tracking algorithm, with the end column position as the initial point, to form a continuous center column positioning sequence; The short-span structure layout table generation module is used to combine short-span vector calculation and plane normal direction determination to generate a short-span structure layout table containing component quantity, tilt angle and three-dimensional coordinate information.

7. An electronic device, characterized in that, include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the method as described in any one of claims 1-6.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1-6.

9. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the method of any one of claims 1-6.