Estimation method for engineering parameters of AC / DC cable in photovoltaic field area
By obtaining latitude and equipment parameters in the photovoltaic field, dividing unit power generation units, determining array layout mode and coordinates, and using the K-means clustering algorithm, the problems of low efficiency and large error in cable engineering parameters in the photovoltaic field are solved, and the problem of low efficiency and large error in estimation of cable engineering in the photovoltaic field is realized. Accurate and fast cable length and cross-sectional diameter calculations are suitable for complex site layouts.
Patent Information
- Application Number
- CN202411119632.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-15
- Publication Date
- 2024-11-22
AI Technical Summary
The estimation of cable engineering parameters in the existing photovoltaic field area depends on manual measurement, which is inefficient and prone to errors, affecting the quality of the project.
Using a method of estimating engineering parameters of AC and DC cables in photovoltaic field area, by obtaining latitude information and photovoltaic equipment parameters, dividing unit power generation units, determining array layout mode and coordinates, using the constraint K-means clustering algorithm to calculate the cables Length and cross-sectional diameter.
It improves the accuracy and efficiency of cable engineering parameter estimation, reduces the time and cost of manual measurement, is suitable for complex site layout, and ensures project quality.
Smart Images

Figure CN119005907A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of photovoltaic power station cable statistics, and in particular to a method and system for estimating engineering parameters of AC and DC cables in a photovoltaic field. Background Art
[0002] With the transformation of energy structure and the improvement of environmental protection requirements, photovoltaic power generation has been widely promoted and applied as a clean and renewable energy source. Photovoltaic power generation system can not only reduce dependence on fossil energy, but also help reduce greenhouse gas emissions and combat global climate change.
[0003] At present, the scale of photovoltaic fields is constantly expanding, and the electrical systems inside them are becoming more and more complex, especially for cables that are widely used, and their layout and management methods are becoming more and more complicated. In photovoltaic systems, AC cables are mainly responsible for transmitting the AC power generated by the inverter to the power grid. The accurate statistics of their engineering parameters are directly related to the budget, design, construction and subsequent maintenance of photovoltaic field projects. Therefore, it is necessary to accurately estimate and count the engineering parameters of cables, such as the length and model of cables, to facilitate the subsequent construction of photovoltaic fields.
[0004] In the related art, the estimation of the parameters of photovoltaic field cable engineering mainly relies on the method of manual measurement and calculation of the application environment on site. However, in actual application, the above manual estimation method is not only time-consuming and labor-intensive, but also has low statistical efficiency. It is also easy to cause errors due to human factors, affecting the accuracy of the estimation and the overall quality of the project. Summary of the invention
[0005] The present application aims to solve one of the technical problems in the related art at least to some extent.
[0006] To this end, the first purpose of this application is to propose a method for estimating the engineering parameters of AC and DC cables in a photovoltaic field. The method can automatically calculate and count engineering parameters such as the type and length of the cable, improve the accuracy, convenience and applicability of the estimation of AC and DC cable engineering parameters, and improve the statistical efficiency of cable engineering quantities.
[0007] The second objective of the present application is to provide a system for estimating engineering parameters of AC and DC cables in a photovoltaic field.
[0008] A third object of the present application is to provide a non-transitory computer-readable storage medium.
[0009] To achieve the above-mentioned purpose, the first aspect of the present application proposes a method for estimating engineering parameters of AC and DC cables in a photovoltaic field, comprising the following steps:
[0010] Acquire latitude information of a photovoltaic field and parameters of photovoltaic equipment in the field, divide the photovoltaic field into a plurality of unit power generation units, and determine design parameters of each of the unit power generation units;
[0011] For each of the unit power generation units, determine the arrangement of the photovoltaic array according to the latitude information, the parameters of the photovoltaic device and the design parameters, arrange multiple photovoltaic arrays according to the arrangement, and calculate the coordinates of each photovoltaic array, wherein the arrangement includes the spacing between arrays;
[0012] The plurality of photovoltaic arrays are grouped by a constrained K-means clustering algorithm, and the coordinates of the inverter corresponding to each group of arrays are calculated based on the coordinates of each photovoltaic array in each group of arrays, and the lengths of the AC cables and DC cables corresponding to each group of arrays are estimated according to the coordinates of the inverters and the spacing between the arrays;
[0013] The voltage drop ranges corresponding to AC cables and DC cables of different diameters are obtained, and the estimated cross-sectional diameters that need to be configured for AC cables and DC cables of different lengths are determined according to the voltage drop ranges.
[0014] Optionally, in one embodiment of the present application, the parameters of the photovoltaic device include photovoltaic component parameters and photovoltaic array design parameters, the photovoltaic array design parameters include array inclination, and the arrangement of the photovoltaic array is determined according to the latitude information, the parameters of the photovoltaic device and the design parameters, including: calculating the long side length and the short side length of the photovoltaic array according to the photovoltaic component parameters and the photovoltaic array design parameters; calculating the north-south spacing between photovoltaic arrays according to the short side length, the latitude information and the array inclination, and calculating the east-west spacing between photovoltaic arrays based on the long side length; calculating the number of photovoltaic arrays to be arranged according to the design parameters of the unit power generation unit, and calculating the number of photovoltaic arrays arranged horizontally and the number of photovoltaic arrays arranged vertically in the unit power generation unit according to the number of photovoltaic arrays, the north-south spacing and the east-west spacing.
[0015] Optionally, in one embodiment of the present application, the photovoltaic component parameters include the length and width of the photovoltaic component, the photovoltaic array design parameters also include the number of horizontal row components and the number of vertical components, the design parameters of the unit power generation unit include the number of connected inverters and the number of inverter connected strings, and the calculation of the long side length and short side length of the photovoltaic array includes: multiplying the width of the photovoltaic component by the number of horizontal row components to obtain the long side length; multiplying the length of the photovoltaic component by the number of vertical components to obtain the short side length; calculating the number of photovoltaic arrays to be arranged according to the design parameters of the unit power generation unit includes: multiplying the number of connected inverters by the number of inverter connected strings to obtain the number of photovoltaic arrays.
[0016] Optionally, in one embodiment of the present application, the calculation of the number of photovoltaic arrays arranged horizontally and the number of photovoltaic arrays arranged vertically in the unit power generation unit includes: calculating the product of the number of photovoltaic arrays and the east-west spacing, dividing the product by the north-south spacing and taking the square root, rounding the square root result, and taking the obtained integer as the number of photovoltaic arrays arranged horizontally; dividing the number of photovoltaic arrays by the number of photovoltaic arrays arranged horizontally, taking the integer in the calculation result as the number of photovoltaic arrays arranged vertically, and taking the remainder in the calculation result as the remaining number of arrays.
[0017] Optionally, in one embodiment of the present application, the calculation of the coordinates of each photovoltaic array includes: obtaining the position of the box-type substation corresponding to the unit power generation unit, and taking the position of the box-type substation as the origin coordinate; determining the array matrix according to the number of photovoltaic arrays arranged horizontally and the number of photovoltaic arrays arranged vertically, determining the remaining matrix according to the remaining number of arrays, and splicing the array matrix and the remaining matrix; determining the coordinates of each photovoltaic array in the unit power generation unit according to the positional relationship between each photovoltaic array in the spliced matrix and the origin coordinate.
[0018] Optionally, in one embodiment of the present application, the number of clusters divided in the constrained K-means clustering algorithm is the number of connected inverters, and the constraint condition is that the number of individuals in each cluster is equal to the number of inverter connected strings.
[0019] Optionally, in one embodiment of the present application, the coordinates of the inverter corresponding to each group of arrays are calculated based on the coordinates of each photovoltaic array in each group of arrays, including: for each group of arrays, calculating the sum of the absolute value of the horizontal coordinate and the absolute value of the vertical coordinate of each photovoltaic array; determining the minimum value of the sum corresponding to each photovoltaic array by comparison, and taking the coordinates of the photovoltaic array corresponding to the minimum value as the coordinates of the corresponding inverter.
[0020] Optionally, in one embodiment of the present application, estimating the length of the AC cable and the DC cable corresponding to each group of arrays based on the coordinates of the inverter and the spacing between the arrays includes: for each group of arrays, respectively calculating the absolute value of the difference between the coordinates of each photovoltaic array and the coordinates of the corresponding inverter, and calculating the first product of the east-west spacing and the absolute value of the difference in the horizontal coordinate, calculating the second product of the north-south spacing and the absolute value of the difference in the vertical coordinate, adding the first product to the second product, and using the obtained sum as the DC cable length corresponding to each photovoltaic array; summing up the DC cable length corresponding to each photovoltaic array to obtain a list of DC cable lengths corresponding to this group of arrays; calculating the third product of the east-west spacing and the horizontal coordinate of the corresponding inverter, calculating the fourth product of the north-south spacing and the vertical coordinate of the corresponding inverter, and using the sum of the third product and the fourth product as the list of AC cable lengths corresponding to this group of arrays.
[0021] To achieve the above-mentioned purpose, the second aspect of the present application proposes a system for estimating engineering parameters of AC and DC cables in a photovoltaic field, comprising the following modules:
[0022] An acquisition module is used to acquire the latitude information of the photovoltaic field and the parameters of the photovoltaic equipment in the field, and divide the photovoltaic field into a plurality of unit power generation units, and determine the design parameters of each of the unit power generation units;
[0023] A calculation module, for determining, for each of the unit power generation units, an arrangement of a photovoltaic array according to the latitude information, the parameters of the photovoltaic device and the design parameters, and arranging a plurality of photovoltaic arrays according to the arrangement, and calculating the coordinates of each photovoltaic array, wherein the arrangement includes a spacing between arrays;
[0024] A clustering module, used to group the multiple photovoltaic arrays by using a constrained K-means clustering algorithm, and calculate the coordinates of the inverter corresponding to each group of arrays based on the coordinates of each photovoltaic array in each group of arrays, and estimate the length of the AC cable and the DC cable corresponding to each group of arrays according to the coordinates of the inverter and the spacing between the arrays;
[0025] The estimation module is used to obtain the voltage drop range corresponding to the AC cables and DC cables of different diameters, and determine the estimated cross-sectional diameters that need to be configured for the AC cables and DC cables of different lengths according to the voltage drop range.
[0026] In order to implement the above-mentioned embodiments, the third aspect of the present application further proposes a non-temporary computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the method for estimating the engineering parameters of the AC and DC cables in the photovoltaic field in the above-mentioned first aspect is implemented.
[0027] The technical solution provided by the embodiment of the present application brings at least the following beneficial effects: the present application first calculates the array spacing and the number of arrays according to the parameters of the photovoltaic modules and the parameters of the cables in the photovoltaic field, and then arranges the array according to the spacing and number of the arrays and determines the two-dimensional coordinates of the arrays. Then the arrays are grouped by the constrained kmeans clustering algorithm to obtain the coordinates of the arrays in each group of arrays, and the coordinates of the inverters corresponding to each group of arrays are calculated according to the coordinates of the arrays in each group of arrays. Finally, the engineering parameters such as the length and cross-sectional diameter of the AC and DC cables are calculated according to the coordinates of the inverters, the array coordinates and the array spacing. Thus, the present application can automatically calculate the length, type and other relevant engineering parameters of the AC and DC cables according to the existing photovoltaic field and cable parameters, and then can automatically count the engineering quantity of the AC cables in the photovoltaic field, form a list, and can be applied to work scenarios for processing various complex site layouts. As a result, the present application improves the accuracy, convenience and applicability of the AC and DC cable engineering parameter estimation, reduces the time and cost of cable engineering data estimation, improves the statistical efficiency of the cable engineering quantity, reduces the complexity of the estimation process, is easy to implement in practical applications, and is conducive to ensuring the engineering quality of the photovoltaic field.
[0028] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, wherein
[0030] Figure 1 A flow chart of a method for estimating engineering parameters of AC and DC cables in a photovoltaic field area proposed in an embodiment of the present application;
[0031] Figure 2 A flow chart of a photovoltaic array arrangement method proposed in an embodiment of the present application;
[0032] Figure 3 A schematic diagram of a photovoltaic array clustering result proposed in an embodiment of the present application;
[0033] Figure 4 A schematic diagram of the structure of a system for estimating engineering parameters of AC and DC cables in a photovoltaic field, as proposed in an embodiment of the present application. DETAILED DESCRIPTION
[0034] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.
[0035] It should be noted that the statistical method of the cable engineering quantity in the relevant embodiments mainly relies on manual measurement and calculation, which has low accuracy and efficiency. With the development of information technology, although some automatic statistical tools based on CAD or GIS have emerged, these tools often require professional operating skills, and are still incapable of processing large-scale or complex site data, and are difficult to implement in practical applications.
[0036] To this end, the present application proposes a method for estimating engineering parameters of AC and DC cables in a photovoltaic field, which can efficiently and accurately estimate various engineering parameters of AC and DC cables to be arranged in a photovoltaic field.
[0037] A method and system for estimating engineering parameters of AC and DC cables in a photovoltaic field according to an embodiment of the present invention will be described below with reference to the accompanying drawings.
[0038] Figure 1 A flowchart of a method for estimating engineering parameters of AC and DC cables in a photovoltaic field area proposed in an embodiment of the present application, such as Figure 1 The method comprises the following steps:
[0039] Step S101, obtaining the latitude information of the photovoltaic field and the parameters of the photovoltaic equipment in the field, dividing the photovoltaic field into a plurality of unit power generation units, and determining the design parameters of each unit power generation unit.
[0040] Specifically, the parameters of the photovoltaic equipment in the field include the parameters of various photovoltaic power generation related equipment such as photovoltaic modules, photovoltaic arrays, inverters and cables arranged in the photovoltaic field. The parameters of the photovoltaic equipment in the field are known values that have been confirmed in the photovoltaic field design and can be obtained by consulting relevant materials. This application divides the photovoltaic field into multiple unit power generation units, and the design parameters of each unit power generation unit are known, so that the engineering parameters of the DC cables and AC cables to be arranged in each unit power generation unit can be estimated separately for each unit power generation unit.
[0041] In one embodiment of the present application, the parameters of the photovoltaic equipment obtained include photovoltaic module parameters and photovoltaic array design parameters. The photovoltaic module parameters include the power, length and width of the photovoltaic module, and a plurality of horizontal and vertical rows of photovoltaic modules are combined into a photovoltaic array. The photovoltaic array design parameters obtained include the number of horizontal modules, the number of vertical modules and the array inclination of an array. The design parameters of the unit power generation unit obtained include the number of inverters connected to a unit power generation unit and the number of photovoltaic strings connected to each inverter.
[0042] In addition, according to the requirements of different estimation methods, inverter parameters can also be obtained, such as the power of the inverter, the allowable voltage drop range of DC cables and AC cables with different diameters, and other parameters.
[0043] Step S102, for each unit power generation unit, determine the layout of the photovoltaic array according to the latitude information, the parameters of the photovoltaic equipment and the design parameters of the unit power generation unit, arrange multiple photovoltaic arrays according to the layout, and calculate the coordinates of each photovoltaic array, wherein the layout includes the spacing between arrays.
[0044] Specifically, as described above, the present application estimates the engineering parameters of the AC and DC cables configured in each unit power generation unit, and the present application will subsequently use any of the unit power generation units as an example to illustrate the estimation method. The present application first determines the arrangement of each photovoltaic array in the unit power generation unit based on the acquired parameter information, and estimates the engineering parameters of the AC and DC cables corresponding to each photovoltaic array based on the determined array arrangement.
[0045] In order to more clearly illustrate the detailed process of arranging multiple photovoltaic arrays in a unit power generation unit of the present application, an array arrangement determination method proposed in an embodiment of the present application is exemplified below.
[0046] Figure 2 A flow chart of a photovoltaic array arrangement method proposed in an embodiment of the present application, such as Figure 2 As shown, the method comprises the following steps:
[0047] Step S201, calculating the long side length and the short side length of the photovoltaic array according to the photovoltaic module parameters and the photovoltaic array design parameters.
[0048] Specifically, the photovoltaic module parameters obtained in this step include the length and width of the photovoltaic module, and the photovoltaic array design parameters obtained in this step include: the number of horizontal modules, the number of vertical modules and the inclination angle of the array after being arranged at the same angle.
[0049] In this embodiment, the long side length and the short side length of the photovoltaic array are calculated, including: firstly multiplying the width of the photovoltaic module by the number of the horizontal modules to obtain the long side length; and then multiplying the length of the photovoltaic module by the number of the vertical modules to obtain the short side length.
[0050] That is, the long side of the array is calculated by the following formula: component width * number of horizontal rows of components; the short side of the array is calculated by the following formula: component length * number of vertical rows of components.
[0051] Step S202 , calculating the north-south spacing between photovoltaic arrays based on the short side length, latitude information and array inclination, and calculating the east-west spacing between photovoltaic arrays based on the long side length.
[0052] Specifically, the distance between two adjacent photovoltaic arrays is calculated by combining the calculated long side length and short side length of a photovoltaic array and the obtained array inclination angle and other information, including the east-west spacing between two adjacent arrays on the left and right, and the north-south spacing between two adjacent arrays on the top and bottom. The spacing can be expressed as the distance between the same side corresponding to the two adjacent photovoltaic arrays.
[0053] In this embodiment, the north-south spacing between photovoltaic arrays can be calculated by the following formula:
[0054] North-south spacing = array short side * cos (array tilt angle) + array short side * cos (array tilt angle) * sin (array tilt angle) *
[0055] (0.707*tan(latitude)+0.4338) / (0.707-0.4338*tan(latitude)).
[0056] The east-west spacing between photovoltaic arrays can be calculated by the following formula: east-west spacing = long side of array + spacing between arrays, where the spacing between arrays in the formula can be regarded as the gap area between the east and west arrays.
[0057] Step S203, calculating the number of photovoltaic arrays to be arranged according to the design parameters of the unit power generation unit, and calculating the number of photovoltaic arrays arranged horizontally and the number of photovoltaic arrays arranged vertically in the unit power generation unit according to the number of photovoltaic arrays, north-south spacing and east-west spacing.
[0058] Specifically, the design parameters of the unit power generation unit obtained in this step include the number of connected inverters and the number of inverter connected strings. After determining the spacing between the arrays arranged in the unit power generation unit in the previous step, this step also determines the number of photovoltaic arrays arranged in each horizontal row and each vertical row in the unit power generation unit.
[0059] In this embodiment, the number of photovoltaic arrays to be arranged is first calculated according to the design parameters of the unit power generation unit. This number is the total number of arrays arranged in the unit and can be calculated by the following formula:
[0060] The number of PV arrays = the number of connected inverters * the number of inverter strings connected.
[0061] Furthermore, the number of photovoltaic arrays arranged horizontally and the number of photovoltaic arrays arranged vertically in the unit power generation unit is calculated. As a possible implementation method, the following steps may be included: first, the product of the number of photovoltaic arrays and the east-west spacing is calculated, the product is divided by the north-south spacing, and then the square root is taken, and the square root result is rounded, and the obtained integer is used as the number of photovoltaic arrays arranged horizontally; then, the number of photovoltaic arrays is divided by the number of photovoltaic arrays arranged horizontally, and the integer in the calculation result is taken as the number of photovoltaic arrays arranged vertically, and the remainder in the calculation result is taken as the remaining number of arrays.
[0062] Specifically, the number of arrays*east-west spacing / north-south spacing is calculated first, the calculation result is squared and rounded, and the obtained integer is used as the number of horizontally arranged photovoltaic arrays.
[0063] Then, the number of arrays is divided by the calculated number of photovoltaic arrays arranged horizontally, and the calculated result is rounded, and the obtained integer is used as the number of photovoltaic arrays arranged vertically, and the obtained remainder is used as the remaining number of arrays.
[0064] Therefore, according to the arrangement of the photovoltaic arrays determined in the above embodiment, multiple photovoltaic arrays can be arranged in the unit power generation unit, and the horizontal number, vertical number and array spacing of the arranged arrays are determined according to the above calculation results.
[0065] Furthermore, after the photovoltaic arrays are arranged, the coordinates of each photovoltaic array are determined based on the positional relationship of each array in the unit power generation unit.
[0066] In one embodiment of the present application, the coordinates of each photovoltaic array are calculated, including: first obtaining the position of the box-type substation corresponding to the unit power generation unit, and taking the position of the box-type substation as the origin coordinate; then determining the array matrix according to the number of photovoltaic arrays arranged horizontally and the number of photovoltaic arrays arranged vertically, determining the remaining matrix according to the remaining number of arrays, and splicing the array matrix and the remaining matrix; finally, determining the coordinates of each photovoltaic array in the unit power generation unit according to the positional relationship between each photovoltaic array in the spliced matrix and the origin coordinate.
[0067] Specifically, in this embodiment, each unit power generation unit corresponds to a box-type substation, and the position of the box-type substation is set to the origin coordinate (0,0) in the coordinate system corresponding to the unit power generation unit. Then, after arranging the photovoltaic array according to the arrangement method of the above embodiment, an array matrix of the number of photovoltaic arrays arranged horizontally * the number of photovoltaic arrays arranged vertically can be formed, and a matrix of the number of remaining arrays * 1 can be formed. This matrix is named the remaining matrix, and then the two matrices are spliced. Furthermore, the layout position of each photovoltaic array is determined in the spliced matrix, and the position of the box-type substation is determined. According to the distance parameter between the position of each photovoltaic array and the position of the box-type substation, combined with the position of the box-type substation as the origin coordinate (0,0), the two-dimensional coordinates (xn,yn) of each point (i.e., each photovoltaic array) in the spliced matrix can be calculated respectively.
[0068] Step S103, grouping the multiple photovoltaic arrays by a constrained K-means clustering algorithm, and calculating the coordinates of the inverter corresponding to each group of arrays based on the coordinates of each photovoltaic array in each group of arrays, and estimating the lengths of the AC cables and DC cables corresponding to each group of arrays according to the coordinates of the inverters and the spacing between the arrays.
[0069] Specifically, after the coordinates of each photovoltaic array in the spliced matrix are determined, the photovoltaic arrays in the matrix are grouped. The present application determines the number of groups based on the number of inverters in the unit power generation unit. After grouping using a constrained K-means clustering algorithm, each inverter corresponds to a group of photovoltaic arrays.
[0070] In one embodiment of the application, the number of clusters divided in the constrained K-means clustering algorithm is the number of connected inverters, and the constraint condition is that the number of individuals in each cluster is equal to the number of inverter connected strings. That is, after grouping according to the number of inverters, the number of arrays in each group is the number of inverter connected strings. In the constrained kmeans clustering algorithm, the Kmeans clustering algorithm needs to determine how many clusters to divide, and the number of clusters is the number of inverters. The constraint is to constrain the number in each cluster, that is, the number of inverter connected strings.
[0071] Among them, the constrained k-means clustering algorithm is a variant of the k-means algorithm, which is used to add prior knowledge or specific constraints in the clustering process. These constraints are generally divided into two categories: must-link constraints and cannot-link constraints. Through these constraints, the algorithm can better meet the specific needs in practical applications and improve the availability and accuracy of clustering results. Must-link constraint: The must-link constraint specifies that certain data points must belong to the same cluster. For example, if it is known that two data points represent different manifestations of the same entity, this constraint can be used to force the algorithm to assign these two points to the same cluster. Cannot-link constraint: The cannot-link constraint specifies that certain data points cannot belong to the same cluster. This constraint is used for data points that are clearly known not to be grouped together, helping the algorithm avoid mistakenly grouping essentially different data points together. The constrained k-means algorithm used in this application takes the above constraints into account during execution.
[0072] As an example, when the present application performs array grouping by using a constrained K-means clustering algorithm, it can be implemented by the following steps:
[0073] First, perform initialization. Select K initial cluster centers. This step can be selected randomly or through some heuristic method to meet some constraints.
[0074] Next, the assignment step is performed. Each data point is assigned to the nearest cluster center, while ensuring that this assignment does not violate any set must-link or unlink constraints. If the direct nearest center assignment violates the constraint, it is necessary to find the next closest cluster center until a cluster center that meets all constraints is found.
[0075] Once all data points have been assigned to clusters, the new center of each cluster (i.e., the mean of all points in the cluster) is calculated as the new representative of the cluster.
[0076] Finally, a loop iteration is performed. Repeat the above assignment and update steps until the cluster center no longer changes or the preset number of iterations is reached.
[0077] Therefore, all photovoltaic arrays arranged in the unit power generation unit can be grouped. For example, the grouping result is as follows: Figure 3 As shown, Figure 3 Different colors are used to represent different clusters after clustering, and each cluster contains multiple individuals.
[0078] Furthermore, in each group of photovoltaic arrays after clustering, the coordinates of the inverter of the group of arrays are determined. Specifically, the coordinates of the inverter can be located according to the coordinates of each photovoltaic array in the group.
[0079] In one embodiment of the present application, the coordinates of the inverter corresponding to each group of arrays are calculated based on the coordinates of each photovoltaic array in each group of arrays, including: for each group of arrays, calculating the sum of the absolute value of the horizontal coordinate and the absolute value of the vertical coordinate of each photovoltaic array; determining the minimum value of the sum corresponding to each photovoltaic array by comparison, and using the coordinates of the photovoltaic array corresponding to the minimum value as the coordinates of the corresponding inverter.
[0080] Specifically, in this embodiment, in each group of arrays, the sum of the absolute value of xn and the absolute value of yn in each array coordinate (xn, yn) is calculated, where the absolute value of xn and the absolute value of yn refer to the absolute value of the difference between the coordinate of the array and the coordinate of the origin. Then, the sum of the absolute values in the group of arrays is compared, and the minimum value is taken. The array corresponding to the minimum value is the coordinate (xj, yj) of the inverter installation position.
[0081] Furthermore, in each group of photovoltaic arrays, the length of the AC and DC cables corresponding to each array in each group of arrays is calculated according to the coordinates (xj, yj) of the inverters corresponding to each group of arrays and the spacing between arrays calculated in the above embodiment.
[0082] In one embodiment of the present application, the lengths of the AC cables and DC cables corresponding to each group of arrays are estimated based on the coordinates of the inverter and the spacing between the arrays, including: for each group of arrays, respectively calculating the absolute value of the difference between the coordinates of each photovoltaic array and the coordinates of the corresponding inverter, and calculating the first product of the east-west spacing and the absolute value of the difference in the horizontal coordinate, calculating the second product of the north-south spacing and the absolute value of the difference in the vertical coordinate, adding the first product and the second product, and using the obtained sum as the DC cable length corresponding to each photovoltaic array; summing up the DC cable length corresponding to each photovoltaic array to obtain a list of DC cable lengths corresponding to this group of arrays; calculating the third product of the east-west spacing and the horizontal coordinate of the corresponding inverter, calculating the fourth product of the north-south spacing and the vertical coordinate of the corresponding inverter, and using the sum of the third product and the fourth product as the list of AC cable lengths corresponding to this group of arrays.
[0083] Specifically, in this embodiment, when calculating the DC cable length, for each array in each group of arrays, the DC cable length corresponding to each array can be calculated by the following formula:
[0084] DC cable length = absolute value of array east-west spacing*(xn-xj) + absolute value of array north-south spacing*(yn-yj)
[0085] Among them, the east-west spacing of the arrays*|(xn-xj)| is the first product, xn represents the horizontal coordinate of a photovoltaic array, and xj is the horizontal coordinate of the inverter corresponding to the array. The north-south spacing of the arrays*|(yn-yj)| is the second product. For all arrays in each group of arrays, the above method is calculated, and a list of DC current lengths corresponding to each group of photovoltaic arrays can be formed through statistical summary.
[0086] When calculating the length of the AC cable, you can use the following formula to calculate the length of the AC cable for each array:
[0087] AC cable length = array east-west spacing * absolute value of xj + array north-south east-west spacing * absolute value of yj
[0088] Among them, the east-west spacing of the array *|xj| is the third product, |xj| represents the absolute value between the horizontal coordinate of the inverter corresponding to the group of arrays and the horizontal coordinate of the origin, and the same applies to |yj|.
[0089] Furthermore, the DC cable lists of each group may be summarized to form a DC cable list of the power generation unit, and the AC cable lists of each group may be summarized to form a DC cable list and an AC cable list of the unit power generation unit.
[0090] Step S104, obtaining voltage drop ranges corresponding to AC cables and DC cables of different diameters, and determining estimated cross-sectional diameters to be configured for AC cables and DC cables of different lengths according to the voltage drop ranges.
[0091] It should be noted that in actual applications, AC cables and DC cables of different diameters have corresponding allowable voltage drop ranges. The voltage drop of the cable can be calculated based on the resistance of the cable and the current connected. The smaller the cross-sectional area of the cable, the greater the voltage drop.
[0092] Specifically, the AC cables and DC cables of different estimated lengths are selected, that is, the cross-sectional diameter of each cable is determined. When selecting the DC cable, the maximum distance that DC cables of different diameters meet the voltage drop requirements is calculated based on the actual allowable voltage drop range, and then the DC cable list of the unit power generation unit obtained in the previous step is divided according to the maximum distance allowed by different cross-sectional diameters to determine the cross-sectional diameters of DC cables of different lengths. It is necessary to ensure that after the cross-sectional diameter of DC cables of different lengths is determined, the voltage drop range can meet the actual voltage drop requirements.
[0093] When selecting AC cables, the longest distance that AC cables of different diameters can meet the voltage drop requirements is calculated based on the voltage drop range. The AC cable list of the unit power generation unit obtained in the previous step is divided according to the longest distance allowed by different cross-sectional diameters to determine the cross-sectional diameters of AC cables of different lengths. It is necessary to ensure that the voltage drop range of AC cables of different lengths can meet the actual voltage drop requirements after selecting the cross-sectional diameter.
[0094] Finally, based on the selection results, the cross-sectional diameters corresponding to each length of DC cable and AC cable in the cable list are improved to generate a cable list for the power generation unit.
[0095] Thus, the present application can automatically count the engineering quantity of AC and DC cables in the photovoltaic field, and the cable inventory can be used for subsequent engineering construction in the photovoltaic field. The present application can automatically estimate and statistically summarize the engineering parameters such as the length and type of the cable by obtaining the design parameters of the field, and can be applied to photovoltaic power stations with various complex site layouts, and can adapt to photovoltaic projects of different scales and complexities. In addition, the embodiments of the present application can also develop a good user interaction interface, so that non-professionals can also easily operate and manage, and improve the efficiency and accuracy of engineering design and construction.
[0096] In summary, the method for estimating the engineering parameters of AC and DC cables in the photovoltaic field of the embodiment of the present application can automatically calculate the length, type and other relevant engineering parameters of the AC and DC cables according to the parameters of the existing photovoltaic field and cables, and then automatically count the engineering quantity of the AC cables in the photovoltaic field to form a list, and can be applied to work scenarios for handling various complex site layouts. As a result, the method improves the accuracy, convenience and applicability of the estimation of AC and DC cable engineering parameters, reduces the time and cost of cable engineering data estimation, improves the statistical efficiency of cable engineering quantities, reduces the complexity of the estimation process, is easy to implement in practical applications, and is conducive to ensuring the engineering quality of the photovoltaic field.
[0097] In order to implement the above-mentioned embodiment, the present application also proposes a system for estimating engineering parameters of AC and DC cables in a photovoltaic field. Figure 4 A schematic diagram of the structure of a system for estimating engineering parameters of AC and DC cables in a photovoltaic field, as proposed in an embodiment of the present application.
[0098] like Figure 4 As shown, the system includes an acquisition module 100 , a calculation module 200 , a clustering module 300 and an estimation module 400 .
[0099] The acquisition module 100 is used to acquire the latitude information of the photovoltaic field and the parameters of the photovoltaic equipment in the field, and divide the photovoltaic field into a plurality of unit power generation units to determine the design parameters of each unit power generation unit.
[0100] The calculation module 200 is used to determine the arrangement of the photovoltaic array for each unit power generation unit according to the latitude information, the parameters of the photovoltaic equipment and the design parameters, and arrange multiple photovoltaic arrays according to the arrangement, and calculate the coordinates of each photovoltaic array, wherein the arrangement includes the spacing between the arrays;
[0101] The clustering module 300 is used to group the multiple photovoltaic arrays by using a constrained K-means clustering algorithm, and calculate the coordinates of the inverter corresponding to each group of arrays based on the coordinates of each photovoltaic array in each group of arrays, and estimate the length of the AC cable and the DC cable corresponding to each group of arrays according to the coordinates of the inverter and the spacing between the arrays.
[0102] The estimation module 400 is used to obtain the voltage drop ranges corresponding to AC cables and DC cables of different diameters, and determine the estimated cross-sectional diameters that need to be configured for AC cables and DC cables of different lengths according to the voltage drop ranges.
[0103] It should be noted that the description of the above-mentioned embodiment of the method for estimating the engineering parameters of AC and DC cables in a photovoltaic field is also applicable to the system of this embodiment, and the implementation principle is the same. The functions implemented by each module can refer to the relevant description in the above-mentioned method embodiment, and will not be repeated here.
[0104] In summary, the estimation system of the engineering parameters of the AC and DC cables in the photovoltaic field of the embodiment of the present application can automatically calculate the length, type and other relevant engineering parameters of the AC and DC cables according to the parameters of the existing photovoltaic field and cables, and then automatically count the engineering quantity of the AC cables in the photovoltaic field to form a list, and can be applied to work scenarios for handling various complex site layouts. As a result, the system improves the accuracy, convenience and applicability of the estimation of AC and DC cable engineering parameters, reduces the time and cost of cable engineering data estimation, improves the statistical efficiency of cable engineering quantities, reduces the complexity of the estimation process, is easy to implement in practical applications, and is conducive to ensuring the engineering quality of the photovoltaic field.
[0105] In order to implement the above-mentioned embodiments, the present invention also proposes a non-temporary computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, it implements the method for estimating the engineering parameters of the AC and DC cables in the photovoltaic field area described in the embodiment of the first aspect of the present application.
[0106] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, if schematic expressions of the above terms are used in multiple embodiments or examples, it does not mean that these embodiments or examples are the same. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.
[0107] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0108] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0109] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute the instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
[0110] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0111] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0112] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0113] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present application. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A method for estimating engineering parameters of AC and DC cables in a photovoltaic field, characterized in that: The following steps are involved: Acquire latitude information of a photovoltaic field and parameters of photovoltaic equipment in the field, divide the photovoltaic field into a plurality of unit power generation units, and determine design parameters of each of the unit power generation units; For each of the unit power generation units, determine the arrangement of the photovoltaic array according to the latitude information, the parameters of the photovoltaic device and the design parameters, arrange multiple photovoltaic arrays according to the arrangement, and calculate the coordinates of each photovoltaic array, wherein the arrangement includes the spacing between arrays; The plurality of photovoltaic arrays are grouped by a constrained K-means clustering algorithm, and the coordinates of the inverter corresponding to each group of arrays are calculated based on the coordinates of each photovoltaic array in each group of arrays, and the lengths of the AC cables and DC cables corresponding to each group of arrays are estimated according to the coordinates of the inverters and the spacing between the arrays; The voltage drop ranges corresponding to AC cables and DC cables of different diameters are obtained, and the estimated cross-sectional diameters that need to be configured for AC cables and DC cables of different lengths are determined according to the voltage drop ranges.
2. The estimation method according to claim 1, characterized in that: The parameters of the photovoltaic device include photovoltaic component parameters and photovoltaic array design parameters, the photovoltaic array design parameters include array inclination, and the arrangement of the photovoltaic array is determined according to the latitude information, the parameters of the photovoltaic device and the design parameters, including: Calculating the length of the long side and the short side of the photovoltaic array according to the photovoltaic component parameters and the photovoltaic array design parameters; Calculate the north-south spacing between photovoltaic arrays based on the short side length, the latitude information and the array inclination, and calculate the east-west spacing between photovoltaic arrays based on the long side length; The number of photovoltaic arrays to be arranged is calculated according to the design parameters of the unit power generation unit, and the number of photovoltaic arrays arranged horizontally and the number of photovoltaic arrays arranged vertically in the unit power generation unit are calculated according to the number of photovoltaic arrays, the north-south spacing and the east-west spacing.
3. The estimation method according to claim 2, characterized in that: The photovoltaic module parameters include the length and width of the photovoltaic module, the photovoltaic array design parameters also include the number of horizontal modules and the number of vertical modules, the design parameters of the unit power generation unit include the number of connected inverters and the number of inverter connected strings, and the calculation of the long side length and the short side length of the photovoltaic array includes: Multiply the width of the photovoltaic module by the number of modules in the horizontal row to obtain the length of the long side; Multiplying the length of the photovoltaic module by the number of longitudinal modules to obtain the short side length; The calculating the number of photovoltaic arrays to be arranged according to the design parameters of the unit power generation unit includes: The number of photovoltaic arrays is obtained by multiplying the number of connected inverters by the number of inverter connected strings.
4. The estimation method according to claim 2, characterized in that: The calculating the number of photovoltaic arrays arranged horizontally and the number of photovoltaic arrays arranged vertically in the unit power generation unit includes: Calculate the product of the number of photovoltaic arrays and the east-west spacing, divide the product by the north-south spacing, take a square root, round the square root result, and use the obtained integer as the number of photovoltaic arrays arranged horizontally; The number of photovoltaic arrays is divided by the number of photovoltaic arrays arranged horizontally, an integer in the calculation result is taken as the number of photovoltaic arrays arranged vertically, and a remainder in the calculation result is taken as the number of remaining arrays.
5. The estimation method according to claim 4, characterized in that: The calculating the coordinates of each photovoltaic array comprises: Obtain the location of the box-type substation corresponding to the unit power generation unit, and use the location of the box-type substation as the origin coordinate; Determine an array matrix according to the number of photovoltaic arrays arranged horizontally and the number of photovoltaic arrays arranged vertically, determine a remaining matrix according to the number of remaining arrays, and splice the array matrix and the remaining matrix; The coordinates of each photovoltaic array in the unit power generation unit are determined according to the positional relationship between each photovoltaic array in the spliced matrix and the origin coordinates.
6. The estimation method according to claim 3, characterized in that: The number of clusters divided in the constrained K-means clustering algorithm is the number of connected inverters, and the constraint condition is that the number of individuals in each cluster is equal to the number of connected inverter strings.
7. The estimation method according to claim 1, characterized in that: The calculating the coordinates of the inverter corresponding to each group of arrays based on the coordinates of each photovoltaic array in each group of arrays includes: For each group of arrays, the sum of the absolute value of the horizontal coordinate and the absolute value of the vertical coordinate of each photovoltaic array is calculated; The minimum value of the sum values corresponding to each photovoltaic array is determined by comparison, and the coordinates of the photovoltaic array corresponding to the minimum value are used as the coordinates of the corresponding inverter.
8. The estimation method according to claim 2, characterized in that: The estimating the length of the AC cable and the DC cable corresponding to each group of arrays according to the coordinates of the inverter and the spacing between the arrays includes: For each group of arrays, respectively calculate the absolute value of the difference between the coordinates of each photovoltaic array and the coordinates of the corresponding inverter, and calculate the first product of the absolute value of the east-west spacing and the difference of the horizontal coordinate, and calculate the second product of the absolute value of the north-south spacing and the difference of the vertical coordinate, add the first product and the second product, and use the obtained sum as the DC cable length corresponding to each photovoltaic array; Summarize the DC cable lengths corresponding to each photovoltaic array to obtain a list of DC cable lengths corresponding to this group of arrays; The third product of the east-west spacing and the horizontal coordinate of the corresponding inverter is calculated, and the fourth product of the north-south spacing and the vertical coordinate of the corresponding inverter is calculated, and the sum of the third product and the fourth product is used as the AC cable length list corresponding to this group of arrays.
9. A system for estimating engineering parameters of AC and DC cables in photovoltaic fields, characterized in that: include: An acquisition module is used to acquire the latitude information of the photovoltaic field and the parameters of the photovoltaic equipment in the field, and divide the photovoltaic field into a plurality of unit power generation units, and determine the design parameters of each of the unit power generation units; A calculation module, for determining, for each of the unit power generation units, an arrangement of a photovoltaic array according to the latitude information, the parameters of the photovoltaic device and the design parameters, and arranging a plurality of photovoltaic arrays according to the arrangement, and calculating the coordinates of each photovoltaic array, wherein the arrangement includes a spacing between arrays; A clustering module, used to group the multiple photovoltaic arrays by using a constrained K-means clustering algorithm, and calculate the coordinates of the inverter corresponding to each group of arrays based on the coordinates of each photovoltaic array in each group of arrays, and estimate the length of the AC cable and the DC cable corresponding to each group of arrays according to the coordinates of the inverter and the spacing between the arrays; The estimation module is used to obtain the voltage drop range corresponding to the AC cables and DC cables of different diameters, and determine the estimated cross-sectional diameters that need to be configured for the AC cables and DC cables of different lengths according to the voltage drop range.
10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for estimating engineering parameters of AC and DC cables in a photovoltaic field according to any one of claims 1 to 8 is implemented.
Citation Information
Cited By
Method and device for determining installation position of roof inverter and storage medium
CN121118157A
