Photovoltaic cable economy optimization system
The photovoltaic cable economic optimization system automatically processes the coordinates of photovoltaic strings and equipment locations to generate the optimal cable layout scheme, solving the problems of low efficiency and insufficient economy in photovoltaic cable layout design, and achieving efficient and accurate control of cable usage and cost optimization.
Patent Information
- Application Number
- CN202611344684.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-01
- Publication Date
- 2026-11-24
AI Technical Summary
Existing technologies for photovoltaic cable layout design are characterized by low efficiency, reliance on manual experience, poor accuracy in controlling cable usage, and insufficient economic efficiency, resulting in poor design consistency and material waste.
A photovoltaic cable economic optimization system is adopted, which includes a data extraction module, a data processing module, a cable route planning module, and an economic optimization module. By automatically processing the coordinates of photovoltaic strings and equipment locations, the system generates the optimal cable layout scheme. Combined with preset constraints and cable specification parameters, the system achieves route planning and economic optimization.
Significantly improve design efficiency, enhance the accuracy of cable usage control, reduce engineering costs, ensure design consistency and path compliance, reduce cable usage, and adapt to the design needs of photovoltaic power plants of different scales.
Smart Images

Figure CN123159100A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of photovoltaic power generation technology, and is particularly applicable to an economic optimization system for cable layout planning in centralized photovoltaic power plants. Background Technology
[0002] In the planning and design phase of a centralized photovoltaic power plant, the arrangement of photovoltaic cables directly determines the amount of cables used, the construction cost, and the line loss during later operation, making it one of the core aspects of photovoltaic power plant design.
[0003] Currently, the layout design of photovoltaic cables in the industry mainly relies on designers manually drawing paths by hand or manually drawing and adjusting them using ordinary CAD software. This method has the following drawbacks: 1. Low design efficiency: Large-scale centralized photovoltaic power plants contain tens of thousands of photovoltaic strings. Manual drawing requires a lot of time and is difficult to quickly adapt to adjustments in the component layout. 2. Design quality is highly dependent on the professional experience of the designers. Different sections of the same project often have large differences in cable usage due to different designers, resulting in poor design consistency and unnecessary material waste. 3. Manual calculation of cable length and route has a large margin of error, making it impossible to accurately achieve optimal control over cable usage and cost, and making it difficult to balance route compliance and economy.
[0004] Some existing auxiliary design tools only have simple length calculation functions and lack automated path planning, equipment location optimization and economic matching functions, which cannot fundamentally solve the above problems. Summary of the Invention
[0005] The purpose of this invention is to provide an economic optimization system for photovoltaic cables, which overcomes the shortcomings of existing photovoltaic cable layout design, such as low efficiency, reliance on manual experience, poor accuracy in controlling cable usage, and insufficient economic efficiency. This system enables automated layout of photovoltaic cables, optimization of equipment locations, and economic optimization, thereby improving design efficiency and consistency, and reducing cable usage and engineering costs.
[0006] To achieve the above objectives, the photovoltaic cable economic optimization system of the present invention includes: The data extraction module is used to extract the location coordinates and quantity information of photovoltaic strings from imported CAD drawings; The data processing module is used to verify the validity of the position coordinates and quantity information of the photovoltaic strings, and to determine the layout positions of the inverter and the transformer based on a preset optimization algorithm. The cable path planning module is used to generate the DC path from the photovoltaic string to the inverter and the AC path from the inverter to the transformer based on the spatial distribution relationship of the photovoltaic string, inverter and transformer box, combined with the preset layout constraints, and to select several feasible path schemes. The economic optimization module selects the minimum cross-sectional cable based on the cable cross-sectional area, rated voltage, and unit price per unit length, according to the current carrying capacity and voltage drop specifications. It also adopts a daisy-chain connection method for the cable connection between transformer substations. With the goal of minimizing the total cost, it optimizes the cable layout path and outputs the most cost-effective cable layout scheme. The modules work together through data interaction.
[0007] Furthermore, the CAD drawing includes photovoltaic string blocks and their attribute information; the data extraction module calls the data extraction command of the CAD software to extract the insertion point coordinates and attribute information of each photovoltaic string block in the CAD drawing, and converts the extraction results into a structured data format with the component number as the primary key.
[0008] Furthermore, the data processing module performs clustering iterations using Manhattan distance as a metric, including initializing cluster centers, calculating the Manhattan distance from each sample point to each cluster center and assigning the sample points to the nearest cluster, recalculating the cluster centers based on the sample points within each cluster, and repeating the assignment and update until the cluster centers converge; with the rated capacity of a single inverter and a single transformer substation as constraints, the cluster centers of each cluster are the optimal placement locations for the inverter and transformer substation.
[0009] Furthermore, the arrangement constraints include terrain slope, obstacle location, prohibited arrangement areas, and cable turning radius restrictions.
[0010] Furthermore, the cable path planning module aims to optimize the path by minimizing the number of turns. It generates a Manhattan polyline path between the starting and ending points of the path, either by first moving horizontally and then vertically or vice versa, selecting the route with the fewest turns. When the path crosses obstacles or prohibited areas, it detours along the boundary of the passable passage and inserts the coordinates of the inflection point.
[0011] Furthermore, the economic optimization module adjusts the connection method to reduce the current distribution of each cable segment, uses smaller cross-section cables, compares the total cable procurement cost under different connection methods, and outputs the cable layout scheme with the lowest total cost.
[0012] Furthermore, it can output cable layout diagrams, cable usage statistics, and path coordinate data.
[0013] Furthermore, it supports adjustments to cable routes and equipment locations, and updates the optimization results in real time.
[0014] The advantages of this invention are: 1. By automating data extraction, equipment location optimization, path planning, and economic optimization, the traditional manual hand-drawing and calculation methods are replaced, which greatly improves the design efficiency of photovoltaic cable layout. Compared with manual design, the efficiency can be increased by more than 40%, and the design cycle of photovoltaic power plants is significantly shortened.
[0015] 2. Standardized algorithm logic enables automated design of cable layout, eliminating reliance on the personal experience of designers, ensuring consistency of design schemes across different sections of the same project, and precisely controlling cable usage. Compared to traditional manual design, cable usage can be reduced by more than 2%, effectively lowering the engineering construction cost of the power station.
[0016] 3. This invention can automatically verify the validity of parameters, avoid obstacles and invalid paths, and at the same time, through the economic optimization module, flexibly adapt to the price parameters of different cable specifications, and quickly output the layout scheme that takes into account both path compliance and cost optimization, so as to meet the design needs of centralized photovoltaic power plants of different scales.
[0017] 4. This invention can intuitively display cable layout schemes and usage data, which makes it easy for designers to quickly verify the rationality of the schemes and facilitates subsequent construction implementation, reducing construction deviations. When adjusting cable paths and equipment locations, the results can be updated and optimized in real time to meet personalized design needs. Attached Figure Description
[0018] Figure 1 This is a block diagram showing the functional modules and data flow of the photovoltaic cable economic optimization system of the present invention.
[0019] Figure 2 This is a flowchart illustrating the complete workflow of automatic photovoltaic cable layout and economic optimization in this invention. Detailed Implementation
[0020] The technical solutions in the embodiments of the present invention will be clearly and completely described below. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present invention.
[0021] Example 1 like Figure 1 As shown, the photovoltaic cable economic optimization system of the present invention includes: a data extraction module, a data processing module, a cable route planning module, and an economic optimization module. Each module interacts and processes data through a unified data interface to form a complete cable layout optimization process, realizing full-process optimization from CAD drawings, cable parameters and layout constraints to solution output.
[0022] The data extraction module receives imported CAD construction drawings of photovoltaic power plants. These drawings include photovoltaic string blocks and their attribute information. The module uses the CAD software's data extraction commands to automatically identify the photovoltaic string layers in the CAD drawings, extracting the planar coordinates, number of modules, and string division information for all photovoltaic strings. The extracted information is then converted into a structured data format and output to the data processing module. In this embodiment, the data extraction module is compatible with the drawing formats of mainstream CAD software such as AutoCAD and GstarCAD, and can automatically filter out non-photovoltaic string layer information from the drawings to ensure the accuracy of the extracted data.
[0023] The specific implementation process is as follows: S1.1 Create a photovoltaic string block in the CAD drawing and set attribute information for the photovoltaic string block. The attribute information includes photovoltaic string number, photovoltaic string model, number of components in the photovoltaic string, orientation and tilt angle.
[0024] S1.2 Call the CAD software's data extraction command (DATAEXTRACT) to traverse all photovoltaic string blocks in the drawing and extract the insertion point coordinates (X, Y) and attribute information of each photovoltaic string block.
[0025] S1.3. Convert the extracted results into a structured data format. The structured data uses the photovoltaic string number as the primary key and includes the photovoltaic string coordinates, photovoltaic string model, photovoltaic string number, and number of components within the photovoltaic string. The photovoltaic string coordinates uniformly adopt the geodetic 2000 coordinate system, and the insertion point coordinates (X, Y) of each component block in the CAD drawing correspond to the real-world coordinates. At the same time, non-photovoltaic string layer information in the drawing is automatically filtered out, and invalid data with abnormal coordinates or duplicate entries is removed.
[0026] S1.4 Output the structured photovoltaic string data to the data processing module as the data basis for subsequent photovoltaic string grouping and equipment location optimization.
[0027] The data processing module, whose input is connected to the data extraction module, receives structured photovoltaic string data, verifies the validity of the position coordinates and quantity information of the photovoltaic strings, and determines the layout positions of the inverter and transformer based on a preset optimization algorithm. The output information is a set of position coordinates for the photovoltaic strings, inverter, and transformer. The specific implementation process is as follows: S2.1 Data Validation. The received photovoltaic string coordinates, quantity, and other parameters are validated to remove invalid data with abnormal coordinates or duplicate entries.
[0028] S2.2 Calculate the number of photovoltaic modules that can be connected to an inverter based on the electrical parameters of the inverter and photovoltaic modules.
[0029] S2.3 Inverter Location Optimization. Using Manhattan distance as a metric, a clustering algorithm is employed to cluster the photovoltaic string set. The number of clusters is set to the preset number of inverters, and the number of photovoltaic modules that can be connected to one inverter within a cluster is set to the number of photovoltaic modules that can be connected to one inverter. The optimization objective is to minimize the sum of the Manhattan distances from each photovoltaic string within a cluster to the cluster center. The cluster center of each cluster is obtained through iterative calculation and serves as the optimal placement location for each inverter.
[0030] The Manhattan distance is the sum of the absolute values of the difference between the x-coordinates and the y-coordinates of the two coordinate points, i.e., D = |X1 - X2| + |Y1 - Y2|.
[0031] S2.4 Optimization of transformer substation location. Using the inverter location coordinates as samples, a clustering algorithm is used again. The number of clusters is set to the preset number of transformer substations. The optimization objective is to minimize the sum of the Manhattan distances from each inverter in the cluster to the cluster center. The cluster center of each cluster is obtained through iterative calculation and is used as the optimal placement location for each transformer substation.
[0032] S2.5 Output the coordinates of the photovoltaic string and the position coordinates of the inverter and transformer determined in steps S2.3 and S2.4 to the cable path planning module.
[0033] In this embodiment, the iterative logic of the clustering algorithm is as follows: after initializing the cluster centers, calculate the Manhattan distance from each sample point to each cluster center, and divide the sample points into the nearest clusters; recalculate the cluster centers based on the sample points within the clusters; repeat the division and update process until the cluster centers no longer change or the preset number of iterations is reached; during the clustering process, the rated capacity of a single inverter and a single transformer substation is used as a constraint to ensure that the load of the equipment corresponding to each cluster does not exceed its rated capacity.
[0034] The cable path planning module is connected to the data processing module at its input end. It receives the location coordinates of the photovoltaic string, inverter, and transformer, as well as the layout constraints preset by the user. With the goal of minimizing the total cost, it optimizes the cable layout path and outputs the cable layout scheme with the best cost.
[0035] Since the Manhattan path length of the cable laid in both horizontal and vertical directions between any two points is equal to the Manhattan distance between the two points, and the path length is independent of the direction of the broken line, this module aims to optimize the path by minimizing the number of turns. The specific implementation process is as follows: S3.1 Receive layout constraints, including terrain slope constraints, obstacle constraints, prohibited layout area constraints, and cable turning radius constraints. Specifically, the terrain slope constraint prohibits cable layout in areas where the site slope exceeds a set threshold. The obstacle constraint prohibits cable crossing areas obstructed by water bodies, buildings, existing pipelines, etc. The prohibited layout area constraint prohibits cable layout in areas such as roads, green belts, and ecological protection zones. The cable turning radius constraint requires that the cable turning radius be no less than a set multiple of the cable's outer diameter.
[0036] S3.2 DC Path Generation: For the DC cable path from the photovoltaic string to the inverter, a Manhattan broken line path is generated between the starting point and the ending point in either the horizontal-then-vertical or the vertical-then-horizontal manner. The number of turns in the two directions is compared, and the direction with fewer turns is selected as the candidate path. When the candidate path crosses an obstacle or a prohibited area, it detours along the boundary of the passable channel and inserts the coordinates of the inflection point at the turning point.
[0037] S3.3 AC Path Generation: For the AC cable path from the inverter to the transformer substation, generate the broken line path with the fewest turns using the same method as in S3.2.
[0038] S3.4 Path Filtering: Eliminate invalid paths that cross prohibited areas or obstacles, calculate the total cable length of each feasible path, filter out several feasible path schemes with the shortest length and the fewest turns, and output them to the economic optimization module.
[0039] The economic optimization module, whose input is connected to the cable route planning module, receives feasible route plans and outputs the most cost-effective cable layout plan based on cable specifications and laying requirements. The specific implementation process is as follows: S4.1 Receive cable specifications, including cable cross-sectional area, rated voltage, current carrying capacity, and unit price per unit length.
[0040] S4.2 Cable Selection: Based on the power engineering cable design specifications, the current carrying capacity and voltage drop of each feasible path are checked separately, and the smallest cross-section cable that meets the specifications for current carrying capacity and voltage drop is selected from the candidate cross-sections.
[0041] S4.3 Connection method optimization: The cable connection between the box transformers adopts a daisy-chain connection method, connecting multiple box transformers in series to the same circuit. By adjusting the connection method, the current distribution of each cable segment is reduced, so smaller cross-section cables can be used; even if the total cable length increases, the overall procurement cost can still be reduced.
[0042] S4.4 Cost Optimization: With the goal of minimizing the total procurement cost of cables along the entire route, iterative calculations are performed on different route schemes and different combinations of cable specifications. The total cost of each scheme is compared, and the final cable layout scheme with the lowest total cost is output, including cable layout illustrations, cable usage statistics, and route coordinate data.
[0043] like Figure 2 As shown, the workflow of the photovoltaic cable economic optimization system in this embodiment specifically includes the following steps: S1. Data Import and Extraction: The system obtains CAD design drawings, cable specifications, and layout constraints of the photovoltaic power station through the data import interface; the data extraction module creates photovoltaic string blocks in the CAD drawings and sets attribute information, calls the data extraction command to extract the insertion point coordinates and attribute information of each component block, removes invalid data, completes the structured data conversion, and outputs structured component data.
[0044] S2. Parameter Verification and Equipment Location Optimization: The data processing module verifies the validity of the structured component data, removes invalid data such as those with abnormal coordinates or duplicate entries, and determines the number of photovoltaic modules that can be connected to an inverter. Using Manhattan distance as a metric, a clustering algorithm is used to cluster the photovoltaic string set. The optimization objective is to minimize the sum of the Manhattan distances from each photovoltaic string within a cluster to the cluster center. The cluster center of each cluster is the optimal placement location of the inverter. The clustering is then repeated using the inverter's location coordinates as samples to determine the optimal placement location of the transformer substation. The rated capacity of a single inverter and a single transformer substation are used as constraints during the clustering process.
[0045] S3. Automatic Cable Path Planning: The cable path planning module automatically generates feasible cable layout paths based on the location distribution of photovoltaic strings, inverters, and transformer substations, combined with preset layout constraints. These constraints include: terrain slope constraints (cables are prohibited in areas where the terrain slope exceeds a set threshold); obstacle constraints (cables are prohibited from crossing areas with obstacles such as water bodies, buildings, and existing pipelines); prohibited layout area constraints (cables are prohibited in areas such as roads, green belts, and ecological protection zones); and cable turning radius constraints (the cable turning radius is not less than a set multiple of the cable's outer diameter). Path generation prioritizes minimizing the number of turns, automatically avoiding obstacles and prohibited layout areas, and selecting several feasible path schemes with the shortest cable length and the fewest turns.
[0046] S4. Economic Optimization and Solution Output: The economic optimization module checks the current carrying capacity and voltage drop of each feasible path according to the preset cable specifications and unit price parameters and cable laying specifications, and selects the smallest cross-section cable that meets the specifications. The cable connection between the transformer substations adopts a daisy-chain connection method. By adjusting the connection method, the current distribution of each cable segment is reduced and a smaller cross-section cable is selected. The total cost of different schemes is compared and the final cable layout scheme with the lowest total cost is output.
Claims
1. A photovoltaic cable economic optimization system, characterized in that, include: The data extraction module is used to extract the location coordinates and quantity information of photovoltaic strings from imported CAD drawings; The data processing module is used to verify the validity of the position coordinates and quantity information of the photovoltaic strings, and to determine the layout positions of the inverter and the transformer based on a preset optimization algorithm. The cable path planning module is used to generate the DC path from the photovoltaic string to the inverter and the AC path from the inverter to the transformer based on the location coordinates of the photovoltaic string, inverter and transformer box, combined with the preset layout constraints, and to select several feasible path schemes. The economic optimization module selects the minimum cross-sectional cable based on the cable cross-sectional area, rated voltage, and unit price per unit length, according to the current carrying capacity and voltage drop specifications. It also adopts a daisy-chain connection method for the cable connection between transformer substations. With the goal of minimizing the total cost, it optimizes the cable layout path and outputs the most cost-effective cable layout scheme. The modules work together through data interaction.
2. The photovoltaic cable economic optimization system according to claim 1, characterized in that: The CAD drawing includes photovoltaic string blocks and their attribute information; the data extraction module calls the data extraction command of the CAD software to extract the insertion point coordinates and attribute information of each photovoltaic string block in the CAD drawing, and converts the extraction results into a structured data format with the component number as the primary key.
3. The photovoltaic cable economic optimization system according to claim 1, characterized in that: The data processing module performs clustering iterations using Manhattan distance as a metric. This includes initializing cluster centers, calculating the Manhattan distance from each sample point to each cluster center and assigning the sample points to the nearest cluster, recalculating the cluster centers based on the sample points within each cluster, and repeating the assignment and update until the cluster centers converge. With the rated capacity of a single inverter and a single transformer substation as constraints, the cluster centers of each cluster represent the optimal placement locations for the inverter and transformer substation.
4. The photovoltaic cable economic optimization system according to claim 1, characterized in that: The layout constraints include terrain slope, obstacle location, prohibited layout areas, and cable turning radius restrictions.
5. The photovoltaic cable economic optimization system according to claim 1, characterized in that: The cable path planning module aims to optimize the path by minimizing the number of turns. It generates a Manhattan polyline path between the starting and ending points of the path, either by first moving horizontally and then vertically or vice versa, selecting the route with the fewest turns. When the path crosses obstacles or prohibited areas, it detours along the boundary of the passable passage and inserts the coordinates of the inflection point.
6. The photovoltaic cable economic optimization system according to claim 1, characterized in that: The economic optimization module adjusts the connection method to reduce the current distribution of each cable segment, uses smaller cross-section cables, compares the total cable procurement cost under different connection methods, and outputs the cable layout scheme with the lowest total cost.
7. The photovoltaic cable economic optimization system according to claim 1, characterized in that: It can output cable layout diagrams, cable usage statistics, and path coordinate data.
8. The photovoltaic cable economic optimization system according to claim 1, characterized in that: It supports adjustments to cable paths and equipment locations, and updates the optimization results in real time.
