Photovoltaic power station array division method, device and equipment
By automatically dividing the square array of photovoltaic power stations, the problem of messy borders of the square array in the existing technology is solved, more efficient cable management and construction convenience are achieved, and design cycle is reduced.
Patent Information
- Application Number
- CN202210005963.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-05
- Publication Date
- 2025-01-03
- Estimated Expiration
- 2042-01-05
AI Technical Summary
The existing photovoltaic power station square array division method leads to messy borders of the square array, increasing cable costs, affecting construction and operation and maintenance difficulties, and being inefficient.
By determining the initial bracket set, the number of bracket references and reference columns of the reference matrix, the bracket subsets are automatically divided and divided according to the reference matrix to realize automatic division of the square matrix to ensure that the boundaries of the square matrix are clear and close to the reference shape. .
It improves the efficiency of square matrix division, reduces the cost of cable installation, simplifies construction and operation and maintenance, and shortens the design cycle of photovoltaic power stations.
Smart Images

Figure CN114398776B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the technical field of photovoltaic power station design, and in particular to a photovoltaic power station array division method, device and equipment. Background Art
[0002] In the design process of a photovoltaic power station, after the photovoltaic area brackets are arranged, it is necessary to divide the power generation units, i.e., arrays, in the arranged photovoltaic area brackets according to the array formation quantity. Different array division results (different array shapes) correspond to different cable installation costs; if the array division result is poor, it will affect the construction and subsequent operation and maintenance of the photovoltaic power station. Therefore, it is necessary to optimize the array division.
[0003] The existing array division method is usually designed based on personal experience to give the results of the array division; however, this manual design method is based on experience, the number of comparisons is limited and the efficiency is low, and it is difficult to get the best result. The patent "Photovoltaic Power Station Area Division Method and Device" with application number CN113297712A provides a method for using clustering to divide the array. For flat-type power stations with relatively uniform bracket arrangement, the boundaries of the divided arrays are relatively messy and present a stepped shape, which increases the cable cost of the photovoltaic power station and causes technical defects such as difficulty in construction and inconvenience in operation and maintenance. Summary of the invention
[0004] The embodiments of the present invention provide a method, device and equipment for dividing a photovoltaic power station array, so as to realize automatic division of a photovoltaic power station array and solve the technical problem of disordered array boundaries in the prior art.
[0005] In a first aspect, an embodiment of the present invention provides a method for dividing a photovoltaic power station array, the method comprising:
[0006] Determine an initial bracket set to be divided, a reference number of brackets corresponding to a reference square matrix, and a reference number of columns corresponding to the reference square matrix;
[0007] Based on the reference number of brackets, the reference number of columns and the initial bracket set, determining at least one bracket subset corresponding to the initial bracket set;
[0008] At least one of the bracket subsets is divided according to the reference number of brackets, and a target matrix division result corresponding to the initial bracket set is determined based on the division result.
[0009] Optionally, determining a reference number of brackets corresponding to a reference square matrix and a reference number of columns corresponding to the reference square matrix includes:
[0010] Based on a preset capacity threshold of a reference square array and a bracket power, determining a reference number of brackets corresponding to the reference square array;
[0011] Based on the length of the bracket, the front-to-back spacing of the bracket and the reference number of the brackets, the reference column number corresponding to the reference matrix is determined.
[0012] Optionally, determining the number of reference columns corresponding to the reference matrix based on the length of the bracket, the front-to-back spacing of the bracket, and the reference number of the brackets includes:
[0013] Obtaining each preset number of columns corresponding to the reference square matrix, and determining a preset number of rows corresponding to each preset number of columns based on the reference number of brackets and the preset number of columns;
[0014] Based on the length of the bracket, the front-to-back spacing of the bracket, the preset number of columns, and the preset number of rows corresponding to each preset number of columns, the length and width deviation of the square array corresponding to each preset number of columns is calculated;
[0015] Based on the square array length and width deviations corresponding to each of the preset column numbers, a reference column number corresponding to the reference square array is determined in each of the preset column numbers.
[0016] Optionally, determining at least one bracket subset corresponding to the initial bracket set based on the reference number of brackets, the reference number of columns and the initial bracket set includes:
[0017] If the number of initial brackets corresponding to the initial bracket set is not zero, then determining the row to be judged with the largest number of brackets in the initial bracket set, and determining whether the number of row brackets in the row to be judged is less than the set number threshold corresponding to the reference column number;
[0018] If not, locating the edge bracket and the target row where the edge bracket is located in the initial bracket set based on the first preset direction, constructing a bracket division line in the initial bracket set based on the reference column number and the target row, and dividing the bracket subsets in the initial bracket set according to the first preset direction and the bracket division line;
[0019] Based on the total number of brackets corresponding to the bracket subset, the reference number of brackets and the second preset direction, the bracket subset is updated, and the bracket subset is removed from the initial bracket set.
[0020] Optionally, constructing a bracket division line in the initial bracket set based on the reference number of columns and the target row, and dividing the bracket subsets in the initial bracket set according to the first preset direction and the bracket division line, comprises:
[0021] Determine a target bracket in the target row based on the reference column number, and construct a bracket dividing line based on the center coordinates corresponding to the target bracket, wherein the bracket dividing line passes through the center coordinates;
[0022] Determine a target sub-region in the initial bracket set based on the first preset direction and the bracket dividing straight line;
[0023] In the initial support set, each support whose central coordinate is located in the target sub-region is determined, and a support subset is constructed based on each of the supports.
[0024] Optionally, constructing a bracket division line based on the central coordinates corresponding to the target bracket includes:
[0025] Acquire a preset square matrix slope, and construct bracket division lines based on the preset square matrix slope and the center coordinates; or,
[0026] A bracket dividing line perpendicular to the target row is constructed along the central coordinate.
[0027] Optionally, updating the bracket subset based on the total number of brackets corresponding to the bracket subset, the reference number of brackets, and the second preset direction includes:
[0028] Determine the number of redundant brackets corresponding to the bracket subset based on the total number of brackets corresponding to the bracket subset and the reference number of brackets;
[0029] The number of the redundant supports is compared with the number of support rows corresponding to the support subset, and based on the comparison result and the second preset direction, some supports are deleted from the support subset or some supports are added to the support subset.
[0030] Optionally, based on the comparison result and the second preset direction, deleting some brackets from the bracket subset or adding some brackets to the bracket subset includes:
[0031] If the number of the redundant brackets is less than or equal to the number of bracket rows, then determining the brackets to be deleted corresponding to the number of the redundant brackets in the bracket subset based on the second preset direction, and removing the brackets to be deleted from the bracket subset;
[0032] If the number of the redundant brackets is greater than the number of bracket rows, each bracket to be added corresponding to the number of redundant brackets is determined in the initial bracket set based on the second preset direction, and each bracket to be added is added to the bracket subset.
[0033] Optionally, the method further includes:
[0034] If the number of row brackets in the row to be judged is less than the set number threshold corresponding to the reference column number, the initial bracket set is determined as a bracket subset corresponding to the initial bracket set, and the bracket subset is removed from the initial bracket set.
[0035] Optionally, dividing at least one of the bracket subsets according to the reference number of brackets, and determining a target matrix division result corresponding to the initial bracket set based on the division result, includes:
[0036] For each of the rack subsets, performing a rack inventory operation in the rack subset based on a preset rack inventory order;
[0037] If the number of the counted brackets reaches the reference number of brackets, a target matrix is determined based on the counted brackets, the counted brackets are removed from the bracket subset, and the bracket counting operation is repeated until the number of the counted brackets is lower than the reference number of brackets;
[0038] The target matrix division result corresponding to the initial support set is determined according to each of the target matrixes.
[0039] Optionally, the first preset direction is a left direction or a right direction, the second preset direction is an upward direction or a downward direction, and the number of the target matrix division results is at least two.
[0040] Optionally, the method further includes:
[0041] For each of the target square array division results, determine the coordinates of the center point of each target square array in the target square array division result, and determine the evaluation value corresponding to the target square array division result based on the distance value between each bracket in the target square array and the coordinates of the center point of the square array;
[0042] Based on the evaluation values corresponding to the target square matrix division results, a final square matrix division result is determined from the target square matrix division results.
[0043] In a second aspect, an embodiment of the present invention further provides a photovoltaic power station array division device, the device comprising:
[0044] A determination module, used to determine an initial bracket set to be divided, a reference number of brackets corresponding to a reference square matrix, and a reference number of columns corresponding to the reference square matrix;
[0045] A first division module, configured to determine at least one bracket subset corresponding to the initial bracket set based on the reference number of brackets, the reference number of columns and the initial bracket set;
[0046] The second division module is used to divide at least one of the bracket subsets according to the reference number of brackets, and determine the target matrix division result corresponding to the initial bracket set based on the division result.
[0047] In a third aspect, an embodiment of the present invention further provides an electronic device, the electronic device comprising:
[0048] one or more processors;
[0049] a storage device for storing one or more programs,
[0050] When the one or more programs are executed by the one or more processors, the one or more processors implement the photovoltaic power station array division method provided by any embodiment of the present invention.
[0051] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a photovoltaic power station array division method as provided in any embodiment of the present invention.
[0052] The embodiments of the above invention have the following advantages or beneficial effects:
[0053] By determining the initial bracket set to be divided, the reference number of brackets corresponding to the reference square array, and the reference number of columns corresponding to the reference square array, at least one bracket subset corresponding to the initial bracket set is divided based on the reference number of brackets, the reference number of columns, and the initial bracket set, thereby realizing the preliminary regional division of the initial bracket set, and then dividing each bracket subset based on the reference number of brackets corresponding to the reference square array, so as to perform square array division in each area of the initial bracket set, obtain the target square array division result corresponding to the initial bracket set, realize the partitioned square array division of the initial bracket set, make the boundary of the divided square array obvious, closer to the reference square array, easy to construct and operate, solve the technical problem of the disordered boundary of the square array divided by the prior art, and reduce the cable installation cost. In addition, the method realizes the automatic division of the square array, improves the efficiency of square array division, and reduces the square array design cycle of the photovoltaic power station. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] In order to more clearly illustrate the technical solutions of the exemplary embodiments of the present invention, the following briefly introduces the drawings required to describe the embodiments. Obviously, the drawings introduced are only drawings of a part of the embodiments to be described in the present invention, rather than all the drawings. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0055] Figure 1A A schematic diagram of a process of dividing a photovoltaic power station array provided in the first embodiment of the present invention;
[0056] Figure 1B A schematic diagram of the arrangement of an initial bracket set provided in the first embodiment of the present invention;
[0057] Figure 1C This is a schematic diagram of the arrangement of another initial bracket set provided in the first embodiment of the present invention;
[0058] Figure 1D A schematic diagram of a target matrix division result provided in the first embodiment of the present invention;
[0059] Figure 1E A schematic diagram of another target matrix division result provided in the first embodiment of the present invention;
[0060] Figure 2 A schematic diagram of a flow chart of a photovoltaic power station array division method provided in the second embodiment of the present invention;
[0061] Figure 3 A schematic diagram of a process of dividing a photovoltaic power station array provided in Embodiment 3 of the present invention;
[0062] Figure 4 A schematic diagram of a flow chart of a photovoltaic power station array division method provided in Embodiment 4 of the present invention;
[0063] Figure 5 A schematic diagram of the structure of a photovoltaic power station array division device provided in Embodiment 5 of the present invention;
[0064] Figure 6 This is a structural schematic diagram of an electronic device provided in Embodiment 6 of the present invention. DETAILED DESCRIPTION
[0065] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0066] Embodiment 1
[0067] Figure 1A A schematic flow chart of a photovoltaic power station array division method provided in Embodiment 1 of the present invention is provided. This embodiment is applicable to the case where an array is automatically divided for an arranged initial bracket set in a flat photovoltaic power station, and is particularly applicable to the case where the initial bracket set is first partitioned and then divided into arrays according to a predefined reference array. The method can be executed by a photovoltaic power station array division device, which can be implemented by hardware and / or software. The method specifically includes the following steps:
[0068] S110, determining an initial bracket set to be divided, a reference number of brackets corresponding to a reference matrix, and a reference number of columns corresponding to the reference matrix.
[0069] The initial bracket set to be divided may be a set of brackets arranged in a flat photovoltaic power station. Specifically, the initial bracket set to be divided may include bracket position coordinates of each bracket to be divided. In this embodiment, the initial bracket set to be divided may be obtained from a CAD (Autodesk Computer Aided Design) drawing.
[0070] For example, Figure 1B As shown, a schematic diagram of the arrangement of an initial bracket set is shown. Figure 1B In the displayed initial bracket set, there is no offset angle between adjacent brackets in the same column, that is, each column of brackets is parallel to the y-axis. Figure 1C Another schematic diagram of the arrangement of the initial bracket set is shown in Figure 1C In the initial bracket set shown, there is an offset angle of 8° between adjacent brackets in the same column, that is, the angle between each column of brackets and the y-axis is 8°.
[0071] Optionally, after obtaining the initial bracket set to be divided, this embodiment can process each bracket in the initial bracket set in rows based on the bracket position coordinates of each bracket in the initial bracket set, and define the left and right adjacent relationship of each bracket in each row of brackets; it can also determine the front and rear row spacing of brackets based on the bracket position coordinates of each bracket in the initial bracket set. Among them, the front and rear row spacing of brackets can refer to the spacing between two adjacent rows of brackets; illustratively, the spacing between any two adjacent rows of brackets can be determined based on the initial bracket set, and the average value of each spacing can be used as the front and rear row spacing of brackets; or, the mode of each spacing can be used as the front and rear row spacing of brackets.
[0072] In this embodiment, the reference matrix can be a reference matrix predefined to guide matrix division; the shape of the reference matrix can be a regular shape such as a square or rectangle, or can be close to the above regular shape, that is, under the preset capacity threshold of the reference matrix, the length and width of the reference matrix are similar. The reference number of brackets corresponding to the reference matrix can be the number of brackets that can be included in a reference matrix, and the reference number of columns corresponding to the reference matrix can be the number of bracket columns that can be included in a reference matrix.
[0073] In one embodiment, the reference number of brackets corresponding to the reference matrix and the reference number of columns corresponding to the reference matrix can be set manually; in another embodiment, the reference number of brackets corresponding to the reference matrix and the reference number of columns corresponding to the reference matrix can be calculated based on a predefined capacity threshold of the reference matrix.
[0074] That is, optionally, determining the reference number of brackets corresponding to the reference array and the reference number of columns corresponding to the reference array can be: determining the reference number of brackets corresponding to the reference array based on a preset capacity threshold of the reference array and the bracket power; determining the reference number of columns corresponding to the reference array based on the bracket length, the front-to-back spacing of the bracket and the reference number of brackets.
[0075] Among them, the capacity threshold of the reference array can be the power value of all brackets that can be included in the reference array, such as 3.357MW; the bracket power can be the DC power of each bracket, that is, the DC power of a single bracket, such as 350W. Specifically, the capacity threshold can be divided by the bracket power to obtain the number of brackets required to form the reference array, that is, the reference number of brackets corresponding to the reference array. For example, if the capacity threshold is P and the bracket power is p, then the reference number of brackets m = round(P / p), where round means rounding.
[0076] Furthermore, given the reference number of brackets, bracket length (length of a single bracket), and bracket front-to-back spacing corresponding to the reference matrix, a set value can be assigned to the reference number of columns. The reference number of rows (the number of bracket rows required to form the reference matrix) is approximately equal to the ratio of the reference number of brackets to the reference number of columns. The length of the reference matrix is calculated based on the bracket length and the set value, and the width of the reference matrix is calculated based on the bracket front-to-back spacing and the reference number of rows. Considering the principle that the shape of the reference matrix must be close to a square, it can be determined whether the current set value for the reference number of columns is appropriate. If not, a set value can be reassigned to the reference number of columns and the above steps can be repeated until the shape of the reference matrix is close to a square. In this way, the number of bracket columns required to form the reference matrix, that is, the reference number of columns corresponding to the reference matrix, can be calculated.
[0077] Exemplarily, determining the reference number of columns corresponding to the reference array based on the length of the bracket, the front-to-back spacing of the bracket, and the reference number of the bracket includes: obtaining each preset number of columns corresponding to the reference array, and determining the preset number of rows corresponding to each preset number of columns based on the reference number of the bracket and each preset number of columns; calculating the array length and width deviation corresponding to each preset number of columns based on the length of the bracket, the front-to-back spacing of the bracket, each preset number of columns, and the preset number of rows corresponding to each preset number of columns; and determining the reference number of columns corresponding to the reference array in each preset number of columns based on the array length and width deviation corresponding to each preset number of columns.
[0078] The preset number of columns is the value set in advance for the reference number of columns; the value range of the preset number of columns can be [1, m], where m is the reference number of brackets. For each preset number of columns, the corresponding preset number of rows needs to be calculated; for example, if the preset number of columns is C, the preset number of rows R = ceil (m / C), where ceil means rounding up.
[0079] For each preset number of columns, the length and width of the reference square array need to be calculated based on the length of the bracket, the front-to-back spacing of the bracket, the preset number of columns, and the corresponding preset number of rows, and then the length and width deviation of the square array is calculated based on the length and width. For example, if the length of the bracket is L and the front-to-back spacing of the bracket is d, then the length and width deviation of the square array delta = |C*R-(R-1)*d|.
[0080] In this way, the square array length and width deviations corresponding to each preset number of columns (integer value) in the interval [1, m] can be calculated. Furthermore, the preset number of columns corresponding to the minimum square array length and width deviation can be determined as the reference number of columns corresponding to the reference square array, realizing the automatic determination of the number of bracket columns constituting the reference square array.
[0081] In this optional implementation, the reference number of brackets corresponding to the reference array can be determined by the preset capacity threshold of the reference array and the bracket power, and the reference number of brackets can be determined by the bracket length, the front-to-back spacing of the brackets and the reference number of brackets, thereby realizing automatic and accurate determination of the reference number of brackets and the reference number of columns of the reference array without the need for manual planning, thereby improving the array division efficiency of the photovoltaic power station, and compared with manually setting the reference number of brackets and the reference number of columns of the reference array, the accuracy of the divided reference array is improved, thereby improving the array division accuracy of the photovoltaic power station.
[0082] S120. Based on the reference number of supports, the reference number of columns and the initial support set, determine at least one support subset corresponding to the initial support set.
[0083] In this embodiment, the reference number of brackets and the reference number of columns of the reference matrix are known, and the initial bracket set can be preliminarily divided into at least one bracket subset according to the reference number of brackets and the reference number of columns of the reference matrix.
[0084] Specifically, at least one bracket subset is determined based on the reference number of brackets, the reference number of columns and the initial bracket set. The initial bracket set can be divided into at least one bracket subset based on the priority conditions that the shape of the bracket subset is similar to the shape of the reference matrix and the number of brackets in the bracket subset is equal to an integer multiple of the reference number of brackets in the reference matrix.
[0085] Through the above method, if the number of bracket subsets after division is greater than 1, then among the multiple bracket subsets, there is at least one bracket subset that meets the above priority conditions (the shape is similar to the shape of the reference matrix, and the number is equal to an integer multiple of the reference number of brackets in the reference matrix); and there may also be bracket subsets that do not meet the above priority conditions. For example, the reference number of brackets is 100, and after multiple divisions, the number of brackets in the initial bracket set is only 30. In this case, the remaining part of the brackets in the initial bracket set can be directly used as a bracket subset.
[0086] That is, if the number of bracket subsets is at least two, the at least two bracket subsets may include bracket subsets whose shapes are similar to that of the reference matrix and whose number is equal to an integer multiple of the reference number of brackets of the reference matrix.
[0087] S130, dividing at least one of the bracket subsets according to the reference number of brackets, and determining a target matrix division result corresponding to the initial bracket set based on the division result.
[0088] Specifically, after the initial bracket set is preliminarily divided to obtain at least one bracket subset, each bracket subset can be divided according to the bracket reference number of the benchmark matrix to obtain each target matrix divided from each bracket subset. Each target matrix constitutes the target matrix division result corresponding to the initial bracket set.
[0089] In this embodiment, at least one bracket subset is divided according to the reference number of brackets, which can be: for each bracket subset, a number of brackets equal to the reference number of brackets are counted from the bracket subset, each counted bracket is used as a target matrix, and each counted bracket is removed from the bracket subset; the step of counting a number of brackets equal to the reference number of brackets from the bracket subset is repeated until the number of remaining brackets in the bracket subset is less than the reference number of brackets, at which time a target matrix can be formed based on the remaining brackets.
[0090] By the above method, each target matrix divided by each bracket subset can be obtained to form a target matrix division result. That is, the target matrix division result includes each target matrix. For example, Figure 1D A schematic diagram showing the result of a target matrix partitioning is shown. Figure 1D for Figure 1B The target matrix division result corresponding to the initial bracket set is: Figure 1E A schematic diagram showing another target matrix partition result is shown. Figure 1E for Figure 1C The target matrix division result corresponding to the initial bracket set.
[0091] The technical solution of this embodiment determines the initial bracket set to be divided, the reference number of brackets corresponding to the reference array, and the reference number of columns corresponding to the reference array, and divides at least one bracket subset corresponding to the initial bracket set based on the reference number of brackets, the reference number of columns, and the initial bracket set, thereby realizing the preliminary regional division of the initial bracket set, and then divides each bracket subset based on the reference number of brackets corresponding to the reference array, so as to perform array division in each area of the initial bracket set, obtain the target array division result corresponding to the initial bracket set, realize the partitioned array division of the initial bracket set, make the divided array boundary obvious, closer to the reference array, easy to construct and operate, solve the technical problem of the disordered array boundary divided by the prior art, and reduce the cable installation cost. In addition, the method realizes the automatic array division, improves the array division efficiency, and reduces the array design cycle of the photovoltaic power station.
[0092] Embodiment 2
[0093] Figure 2 A flow chart of a photovoltaic power station array division method provided in the second embodiment of the present invention. Based on the above embodiment, this embodiment optionally determines at least one bracket subset corresponding to the initial bracket set based on the bracket reference number, the reference column number and the initial bracket set, including: if the initial bracket number corresponding to the initial bracket set is not zero, then determine the row to be judged with the largest number of brackets in the initial bracket set, and determine whether the number of row brackets in the row to be judged is less than the set number threshold corresponding to the reference column number; if not, locate the edge bracket and the target row where the edge bracket is located in the initial bracket set based on the first preset direction, construct a bracket division line in the initial bracket set based on the reference column number and the target row, and divide the bracket subsets in the initial bracket set according to the first preset direction and the bracket division line; update the bracket subset based on the total number of brackets corresponding to the bracket subset, the bracket reference number and the second preset direction, and remove the bracket subset from the initial bracket set. The explanations of the terms that are the same or corresponding to the above embodiments are not repeated here. See. Figure 2 The photovoltaic power station array division method provided in this embodiment includes the following steps:
[0094] S210, determining an initial bracket set to be divided, a reference number of brackets corresponding to a reference matrix, and a reference number of columns corresponding to the reference matrix.
[0095] S220. If the number of initial brackets corresponding to the initial bracket set is not zero, determine the row to be judged with the largest number of brackets in the initial bracket set, and determine whether the number of row brackets in the row to be judged is less than the set number threshold corresponding to the reference column number.
[0096] Among them, the number of initial brackets is the number of brackets contained in the initial bracket set. Specifically, when the number corresponding to the initial bracket set is not zero, the number of brackets in each row of the initial bracket set is determined, and then the row with the largest number of brackets in the initial bracket set is selected, that is, the row to be judged; for the row to be judged, the number of row brackets in the row to be judged is compared with the set number threshold corresponding to the reference column number.
[0097] Exemplarily, the set number threshold corresponding to the reference column number may be equal to the product of the reference column number and the set coefficient, wherein the set coefficient may be set according to actual needs. For example, if the reference column number is C_b, the set number threshold corresponding to the reference column number may be 1.5*C_b.
[0098] S230. If not, locate the edge bracket and the target row where the edge bracket is located in the initial bracket set based on the first preset direction, construct a bracket division line in the initial bracket set based on the reference column number and the target row, and divide the bracket subsets in the initial bracket set according to the first preset direction and the bracket division line.
[0099] In this embodiment, if the number of row brackets in the row to be determined is greater than or equal to the set number threshold, an edge bracket can be located in the initial bracket set according to the first preset direction, and the row where the edge bracket is located, that is, the target row, is determined.
[0100] The first preset direction may be a direction for searching for a bracket in the initial bracket set, and the first preset direction may be a left direction or a right direction. Specifically, if the first preset direction is a left direction, the edge bracket is the leftmost bracket in the initial bracket set, and if the first preset direction is a right direction, the edge bracket is the rightmost bracket in the initial bracket set.
[0101] After determining the edge bracket and the target row where the edge bracket is located, a bracket dividing line that intersects the target row can be constructed using the reference column number corresponding to the reference matrix, where the intersection point is the C_b-th bracket in the target row, and C_b is the reference column number; using the bracket dividing line as the dividing line, all brackets within the first preset direction (such as the left direction) of the bracket dividing line are determined as a bracket subset.
[0102] Exemplarily, constructing a bracket dividing line in the initial bracket set based on the reference column number and the target row, and dividing the bracket subsets in the initial bracket set according to the first preset direction and the bracket dividing line may be: determining a target bracket in the target row based on the reference column number, constructing a bracket dividing line based on the center coordinates corresponding to the target bracket, wherein the bracket dividing line passes through the center coordinates; determining a target sub-region in the initial bracket set based on the first preset direction and the bracket dividing line; determining each bracket in the initial bracket set whose center coordinates are within the target sub-region, and constructing a bracket subset based on each of the brackets.
[0103] The target bracket may be the C_b-th bracket counted in the target row according to the first preset direction. The center coordinates corresponding to the target bracket may be the coordinates of the center point of the target bracket. A bracket dividing line may be established through the center coordinates, and the bracket dividing line may be used as a dividing line to separate a target sub-region from the initial bracket set according to the first preset direction. Further, all brackets whose center coordinates are located in the target sub-region are determined as a bracket sub-set.
[0104] Exemplarily, the first preset direction is the left direction, then the bracket dividing line is used as the dividing line, the area to the left of the bracket dividing line is used as the target sub-area, and all brackets whose center coordinates are located to the left of the bracket dividing line are determined as a bracket subset.
[0105] It should be noted that the bracket division line can be perpendicular to the target line or have a certain slope. If the initial bracket set does not have an offset angle, such as Figure 1B The initial bracket set shown in the figure can construct a bracket division line perpendicular to the target line and passing through the center coordinates corresponding to the target bracket; if the initial bracket set has an offset angle, such as Figure 1C The initial bracket set shown can construct a bracket division line with a slope and passing through the center coordinates corresponding to the target bracket.
[0106] That is, optionally, constructing a support dividing line based on the central coordinates corresponding to the target support includes: obtaining a preset square matrix slope, and constructing a support dividing line based on the preset square matrix slope and the central coordinates; or, constructing a support dividing line perpendicular to the target row along the central coordinates.
[0107] The preset square array slope may be a preset slope corresponding to the offset angle of the initial bracket set; Figure 1C The offset angle of the initial bracket set in is 8°, and the corresponding preset square matrix slope can be 7.115. Specifically, the slope of the bracket division line is the preset square matrix slope, and passes through the center coordinate corresponding to the target bracket.
[0108] For example, if the center coordinates of the target bracket are (x_value, y_value), and the preset square matrix slope is k, the bracket division line can be expressed as y=k*x+y_value-k*x_value; or, the bracket division line can be expressed as x=x_value+0.5*L, where L is the bracket length. Through this optional implementation, the square matrix division of the initial bracket set with an offset angle can be achieved.
[0109] It should be noted that the above-mentioned method of dividing the bracket subsets by constructing the bracket division straight line is applicable to the situation where the number of brackets in the initial bracket set is large (the number of row brackets in the row to be judged with the largest number of brackets in the initial bracket set is not less than the set number threshold corresponding to the reference column number). Of course, if the number of row brackets in the row to be judged in the initial bracket set is less than the set number threshold corresponding to the reference column number, it can be indicated that the number of brackets in the initial bracket set is small at this time, and there is no need to construct the bracket division straight line to divide the initial bracket set, and the initial bracket set can be directly determined as a bracket subset.
[0110] That is, optionally, the method provided in this embodiment further includes: if the number of row brackets in the row to be determined is less than the set number threshold corresponding to the reference column number, the initial bracket set is determined as a bracket subset corresponding to the initial bracket set, and the bracket subset is removed from the initial bracket set. In other words, the initial bracket set at this time can be regarded as a bracket subset, and the initial bracket set can be cleared.
[0111] S240, based on the total number of brackets corresponding to the bracket subset, the reference number of brackets and the second preset direction, update the bracket subset and remove the bracket subset from the initial bracket set.
[0112] Among them, the total number of brackets corresponding to the bracket subset can be the number of all brackets contained in the bracket subset. Specifically, for the bracket subset divided by the bracket division line, considering that the total number of brackets in the bracket subset divided in this way is usually not equal to an integer multiple of the bracket reference number corresponding to the reference matrix. Therefore, the bracket subset can be adjusted so that the total number of brackets in the adjusted bracket subset is an integer multiple of the bracket reference number corresponding to the reference matrix, so that the adjusted bracket subset can be divided into an integer number of target matrices.
[0113] Exemplarily, updating the bracket subset based on the total number of brackets corresponding to the bracket subset, the bracket reference number and the second preset direction can be: calculating the remainder of the total number of brackets and the bracket reference number, that is, dividing the total number of brackets by the bracket reference number and taking the remainder, and determining the difference between the total number of brackets and a certain integer multiple of the bracket reference number through the remainder; based on the difference, determining the number of brackets that need to be deleted from the bracket subset, or determining the number of brackets that need to be added to the bracket subset; updating the bracket subset through the second preset direction and the number.
[0114] In this embodiment, the second preset direction may be a direction for counting the brackets to be added to the bracket subset from the bracket subset or for counting the brackets to be added to the bracket subset from the initial bracket set. Optionally, the second preset direction is an upward direction or a downward direction; the upward direction indicates counting the brackets from top to bottom in the bracket subset, and the downward direction indicates counting the brackets from bottom to bottom in the bracket subset.
[0115] Specifically, updating the bracket subset through the second preset direction and the number can be: if some brackets are to be deleted from the bracket subset, the last bracket of each row in the bracket subset can be deleted in turn according to the second preset direction until the number of deleted brackets is equal to the number (that is, the number of deleted brackets can be equal to the remainder); if some brackets are to be added from the bracket subset, the brackets adjacent to the last bracket of each row in the bracket subset (if the first preset direction is the left direction, then the right adjacent bracket, if the first preset direction is the right direction, then the left adjacent bracket) are added to the bracket subset in turn according to the second preset direction until the number of added brackets is equal to the number (that is, the number of added brackets can be equal to the difference between the reference number of brackets and the remainder), that is, until the total number of brackets in the bracket subset is equal to an integer multiple of the reference number of brackets.
[0116] Furthermore, after performing the above-mentioned bracket deletion or addition operation, the updated bracket subset can be removed from the initial bracket set to subtract the total number of brackets in the bracket subset from the initial number of brackets corresponding to the initial bracket set, and then continue to divide other bracket subsets from the initial bracket set.
[0117] Specifically, after the updated bracket subset is removed from the initial bracket set, the operations of S220 to S240 may be repeatedly performed until the number of initial brackets corresponding to the initial bracket set is zero, thereby obtaining a plurality of bracket subsets.
[0118] S250, dividing at least one of the bracket subsets according to the reference number of brackets, and determining a target matrix division result corresponding to the initial bracket set based on the division result.
[0119] The technical solution of this embodiment, when the initial number of brackets corresponding to the initial bracket set is not zero, determines whether the number of row brackets in the to-be-judged row with the largest number of brackets in the initial bracket set is less than the set number threshold, if not, locates the edge brackets and the target row where the edge brackets are located, and constructs a bracket division line, divides the bracket subsets based on the bracket division line, realizes the rapidity of the bracket subsets, and then updates the divided bracket subsets according to the total number of brackets, the reference number of brackets and the second preset direction, realizes the number adjustment of the bracket subsets, ensures that each target matrix with the same capacity as the reference matrix can be divided from the bracket subset, so that the boundaries of the divided matrix are obvious, which is easy to construct and maintain.
[0120] It should be noted that, in this embodiment, since the first preset direction may be the left direction or the right direction, and the second preset direction may be the upward direction or the downward direction, the embodiment may obtain multiple target square matrix division results by changing the first preset direction and / or the second preset direction. That is, optionally, the first preset direction is the left direction or the right direction, the second preset direction is the upward direction or the downward direction, and the number of the target square matrix division results is at least two.
[0121] Specifically, the first preset direction is used to locate the edge bracket in the initial bracket set, and to divide the bracket subset in combination with the bracket division line; the second preset direction is used to adjust the number of brackets in the bracket subset to update the bracket subset. Exemplarily, in this embodiment, the first preset direction can be selected as the left direction, the second preset direction can be selected as the upper direction, and a target square matrix division result can be obtained; the first preset direction can be selected as the right direction, the second preset direction can be selected as the upper direction, and a target square matrix division result can be obtained; and so on, up to four target square matrix division results can be obtained.
[0122] After obtaining multiple target array division results, the multiple target array division results can be displayed for user selection. In this optional implementation, by changing the first preset direction and / or the second preset direction, at least two target array division results can be obtained, thereby achieving diversity in the array division of the photovoltaic power station.
[0123] Of course, when there are multiple target square matrix division results, the target square matrix division result with the best effect can be automatically selected from each target square matrix division result as the final square matrix division result.
[0124] Exemplarily, the photovoltaic power station array division method provided in this embodiment may also include: determining the array center point coordinates of each target array in the target array division result for each target array division result, and determining the evaluation value corresponding to the target array division result based on the distance value between each bracket in the target array and the array center point coordinate; based on the evaluation value corresponding to each target array division result, determining the final array division result in each target array division result.
[0125] The coordinates of the center point of the array may be the coordinates corresponding to the geometric center of the target array; for example, the average value of the center point coordinates of all the brackets of the target array may be calculated and used as the coordinates of the center point of the array. Specifically, the evaluation value corresponding to the target array division result is determined based on the distance value between each bracket in the target array and the coordinates of the center point of the array, which may be: for each target array, the sum of the distance values between the center coordinates of each bracket in the target array and the coordinates of the center point of the array is determined; the sum of the distance values of each target array is added to obtain the evaluation value corresponding to the target array division result.
[0126] For example, the evaluation value corresponding to the target array division result is determined based on the distance value between each bracket in the target array and the coordinates of the center point of the array, which can satisfy the following formula:
[0127]
[0128] Among them, F represents the evaluation value corresponding to the target matrix division result, q represents the number of target matrices contained in the target matrix division result, and D i Represents the sum of the distance values between the center coordinates of each bracket in the i-th target array and the coordinates of the center point of the array.
[0129] Furthermore, after obtaining the evaluation values corresponding to the target array division results, the evaluation values can be sorted. The smaller the evaluation value, the closer the shape of each target array in the target array division result is to the reference array. Therefore, the target array division result with the smallest evaluation value can be determined as the final array division result. In this way, the automatic determination of the optimal array division result is achieved, which further ensures that the divided array is close to the reference array, making the low-voltage cable installation cost more optimal.
[0130] Embodiment 3
[0131] Figure 3A flowchart of a photovoltaic power station array division method provided in the third embodiment of the present invention, this embodiment is based on the above embodiment, and optionally, the bracket subset is updated based on the total number of brackets corresponding to the bracket subset, the reference number of brackets and a second preset direction, including: determining the number of redundant brackets corresponding to the bracket subset based on the total number of brackets corresponding to the bracket subset and the reference number of brackets; comparing the number of redundant brackets with the number of bracket rows corresponding to the bracket subset, and based on the comparison result and the second preset direction, deleting some brackets from the bracket subset or adding some brackets to the bracket subset. The explanations of the terms that are the same or corresponding to the above embodiments are not repeated here. See. Figure 3 The photovoltaic power station array division method provided in this embodiment includes the following steps:
[0132] S310, determining an initial bracket set to be divided, a reference number of brackets corresponding to a reference matrix, and a reference number of columns corresponding to the reference matrix.
[0133] S320. If the number of initial brackets corresponding to the initial bracket set is not zero, determine the row to be judged with the largest number of brackets in the initial bracket set, and determine whether the number of row brackets in the row to be judged is less than the set number threshold corresponding to the reference column number.
[0134] S330. If not, locate the edge bracket and the target row where the edge bracket is located in the initial bracket set based on the first preset direction, construct a bracket division line in the initial bracket set based on the reference column number and the target row, and divide the bracket subsets in the initial bracket set according to the first preset direction and the bracket division line.
[0135] S340. Determine the number of redundant brackets corresponding to the bracket subset based on the total number of brackets corresponding to the bracket subset and the reference number of brackets.
[0136] The number of redundant brackets may be the number of redundant brackets in the total number of brackets of the bracket subset compared to an integer multiple of the reference number of brackets of the reference matrix. Exemplarily, the number of redundant brackets may be equal to the remainder of the total number of brackets and the reference number of brackets. For example, if the reference number of brackets is m and the total number of brackets is m_t, then the number of redundant brackets n = m_t%m.
[0137] S350, compare the number of redundant brackets with the number of bracket rows corresponding to the bracket subset, and based on the comparison result and the second preset direction, delete some brackets from the bracket subset or add some brackets to the bracket subset, and remove the bracket subset from the initial bracket set.
[0138] When deleting brackets from the bracket subset in this embodiment, it is necessary to delete the end brackets of each line in the bracket subset line by line until the number of deleted brackets is equal to the number of redundant brackets. Considering that if the number of redundant brackets is large, the number of times of performing the operation of deleting brackets line by line in the bracket subset is also large. At this time, if the method of adding brackets in the initial bracket set to the bracket subset line by line is adopted, the number of times of performing the operation of adding brackets can be made less than the number of times of performing the operation of deleting brackets. Therefore, in order to improve the adjustment efficiency of the bracket subset and thus improve the square array division efficiency of the photovoltaic power station, this embodiment compares the number of redundant brackets with the number of bracket lines corresponding to the bracket subset to determine whether to delete some brackets from the bracket subset or add some brackets to the bracket subset.
[0139] Among them, the number of bracket lines corresponding to the bracket subset may be the number of lines of all brackets included in the bracket subset. Exemplarily, the step of deleting some brackets from the bracket subset or adding some brackets to the bracket subset based on the comparison result and the second preset direction may be: if the number of redundant brackets is less than or equal to the number of bracket lines, determine each bracket to be deleted corresponding to the number of redundant brackets in the bracket subset based on the second preset direction, and remove each bracket to be deleted from the bracket subset; if the number of redundant brackets is greater than the number of bracket lines, determine each bracket to be added corresponding to the number of redundant brackets in the initial bracket set based on the second preset direction, and add each bracket to be added to the bracket subset.
[0140] That is, if the comparison result is that the number of redundant brackets is less than or equal to the number of bracket lines, then some brackets are deleted from the bracket subset, where the number of deleted brackets (brackets to be deleted) is equal to the number of redundant brackets; if the comparison result is that the number of redundant brackets is greater than the number of bracket lines, then some brackets are added to the bracket subset; where the number of added brackets (brackets to be added) is equal to the difference between the bracket reference quantity and the number of redundant brackets.
[0141] For example, the number of bracket lines is r_t and the number of redundant brackets is n. If 0 < n <= r_t, then in accordance with the second preset direction, the last bracket coordinates of each of the n lines in the bracket subset are sequentially deleted. For example, if the second preset direction is the upward direction, then the last bracket coordinates of each line are sequentially deleted from top to bottom until the last bracket of the nth line sorted from top to bottom is deleted. If r_t < n, then in accordance with the second preset direction, the line data of the bracket subset is cycled, the last bracket of the bracket data of each line in the bracket subset is located, and the right neighbor or left neighbor (if the first preset direction is left, it is the right neighbor; if the first preset direction is right, it is the left neighbor) of this bracket is added to the bracket subset until the total number of brackets in the bracket subset satisfies m_t + (m - n), that is, until the number of added brackets is equal to m - n.
[0142] Furthermore, after adjusting the bracket subset, the bracket subset may be removed from the initial bracket set, and the operations of S320 to S350 may be re-executed until the number of brackets in the initial bracket set is equal to 0, that is, the initial bracket set is empty.
[0143] S360, dividing at least one of the bracket subsets according to the reference number of brackets, and determining a target matrix division result corresponding to the initial bracket set based on the division result.
[0144] The technical solution of this embodiment compares the number of redundant brackets with the number of bracket rows corresponding to the bracket subset, deletes some brackets from the bracket subset or adds some brackets to the bracket subset based on the comparison result and the second preset direction, and determines to update the bracket subset by adding brackets or deleting brackets according to the comparison result, thereby ensuring the rapid update of the bracket subset when the number of redundant brackets is large or small, improving the adjustment efficiency of the bracket subset, and thereby improving the efficiency of the array division of the photovoltaic power station.
[0145] Embodiment 4
[0146] Figure 4 A flow chart of a photovoltaic power station array division method provided in Embodiment 4 of the present invention, this embodiment is based on the above-mentioned embodiment, and optionally, at least one of the bracket subsets is divided according to the bracket reference number, and a target array division result corresponding to the initial bracket set is determined based on the division result, including: for each of the bracket subsets, a bracket inventory operation is performed in the bracket subset based on a preset bracket inventory order; if the number of counted brackets reaches the bracket reference number, a target array is determined based on the counted brackets, the counted brackets are removed from the bracket subset, and the bracket inventory operation is repeated until the number of counted brackets is lower than the bracket reference number; the target array division result corresponding to the initial bracket set is determined according to each of the target arrays.
[0147] The explanations of the terms that are the same or corresponding to the above embodiments are not repeated here. Figure 4 The photovoltaic power station array division method provided in this embodiment includes the following steps:
[0148] S410, determining an initial bracket set to be divided, a reference number of brackets corresponding to a reference matrix, and a reference number of columns corresponding to the reference matrix.
[0149] S420. Based on the reference number of supports, the reference number of columns and the initial support set, determine at least one support subset corresponding to the initial support set.
[0150] S430. For each of the rack subsets, perform a rack inventory operation in the rack subset based on a preset rack inventory order.
[0151] The preset bracket counting order may be a preset order for counting each bracket in the bracket subset. Exemplarily, the preset bracket counting order may be an S-shaped order; for example, first counting the brackets in the first row of the bracket subset from left to right, then counting the brackets in the second row of the bracket subset from right to left, and so on.
[0152] Specifically, this embodiment can perform a bracket inventory operation in a bracket subset according to a preset bracket inventory order, and the termination condition for each execution of the inventory operation may be that the number of brackets counted reaches a bracket reference number, or the termination condition may also be that the total number of brackets in the bracket subset is less than the bracket reference number.
[0153] S440. If the number of counted brackets reaches the reference number of brackets, a target matrix is determined based on the counted brackets, the counted brackets are removed from the bracket subset, and the bracket counting operation is repeated until the number of counted brackets is lower than the reference number of brackets.
[0154] Specifically, if the total number of brackets in the bracket subset is greater than or equal to the bracket reference number, the number of brackets counted this time can reach the bracket reference number. When the number of brackets counted reaches the bracket reference number, a target matrix is formed based on the counted brackets, and the counted brackets are removed from the bracket subset, and the bracket counting operation is returned to execute. If the number of brackets counted reaches the bracket reference number, a target matrix is determined based on the counted brackets, and the counted brackets are removed from the bracket subset until the number of brackets counted is lower than the bracket reference number.
[0155] In this embodiment, if the total number of brackets in the bracket subset is less than the reference number of brackets, the number of brackets counted this time cannot reach the reference number of brackets. When the number of brackets counted is lower than the reference number of brackets, a target matrix is formed based on the counted brackets, and the counted brackets are removed from the bracket subset.
[0156] S450, determining the target matrix division result corresponding to the initial support set according to each of the target matrixes.
[0157] In this embodiment, each bracket subset is divided into square arrays in the above manner to obtain target square arrays corresponding to each bracket subset; further, each target square array is used as a target square array division result.
[0158] The technical solution of this embodiment performs a bracket counting operation in the bracket subset by presetting a bracket counting order for each bracket subset obtained by dividing the initial bracket set. If the number of counted brackets reaches a bracket reference number, a target square matrix is formed based on the counted brackets, and the counted brackets are removed from the bracket subset to re-execute the bracket counting operation on the bracket subset until the number of counted brackets is lower than the bracket reference number, thereby realizing automatic division of the square matrix of the bracket subset. By presetting the bracket counting order and the bracket reference number, the divided square matrix can be close to the reference square matrix, which is easy to construct and operate, solves the technical problem of messy square matrix boundaries in the prior art, and reduces the cable installation cost.
[0159] Embodiment 5
[0160] Figure 5 A structural schematic diagram of a photovoltaic power station array division device provided in Embodiment 5 of the present invention. This embodiment is applicable to the situation where an initial bracket set to be divided is automatically divided into arrays, and is particularly applicable to the situation where an initial bracket set to be divided is first partitioned and then divided into arrays according to a predefined reference array. The device specifically includes: a determination module 510, a first division module 520, and a second division module 530.
[0161] A determination module 510 is used to determine an initial bracket set to be divided, a reference number of brackets corresponding to a reference matrix, and a reference number of columns corresponding to the reference matrix;
[0162] A first division module 520, configured to determine at least one bracket subset corresponding to the initial bracket set based on the reference number of brackets, the reference number of columns and the initial bracket set;
[0163] The second division module 530 is used to divide at least one of the bracket subsets according to the reference number of brackets, and determine the target matrix division result corresponding to the initial bracket set based on the division result.
[0164] Optionally, the determination module 510 includes a reference quantity determination unit and a reference column number determination unit; wherein,
[0165] The reference number determination unit is used to determine the reference number of brackets corresponding to the reference array based on a preset capacity threshold of the reference array and the bracket power;
[0166] The reference column number determination unit is used to determine the reference column number corresponding to the reference square array based on the length of the bracket, the front-to-back spacing of the bracket and the reference number of the bracket.
[0167] Optionally, the reference column number determination unit is specifically configured to:
[0168] Obtain each preset number of columns corresponding to the reference square matrix, and determine the preset number of rows corresponding to each preset number of columns based on the reference number of brackets and each preset number of columns; calculate the square matrix length and width deviation corresponding to each preset number of columns based on the bracket length, the front-to-back spacing of the bracket, each preset number of columns, and the preset number of rows corresponding to each preset number of columns; determine the reference number of columns corresponding to the reference square matrix in each preset number of columns based on the square matrix length and width deviation corresponding to each preset number of columns.
[0169] Optionally, the first partitioning module 520 includes a row determination unit, a subset partitioning unit, and a subset updating unit; wherein,
[0170] The row judgment unit is used to determine the row to be judged with the largest number of brackets in the initial bracket set if the number of initial brackets corresponding to the initial bracket set is not zero, and determine whether the number of row brackets in the row to be judged is less than the set number threshold corresponding to the reference column number;
[0171] The subset division unit is used for locating the edge bracket and the target row where the edge bracket is located in the initial bracket set based on the first preset direction, constructing a bracket division straight line in the initial bracket set based on the reference column number and the target row, and dividing the bracket subsets in the initial bracket set according to the first preset direction and the bracket division straight line;
[0172] The subset updating unit is used to update the bracket subset based on the total number of brackets corresponding to the bracket subset, the bracket reference number and the second preset direction, and remove the bracket subset from the initial bracket set.
[0173] Optionally, the subset division unit includes a straight line division subunit, which is used to determine the target bracket in the target row based on the reference column number, and construct a bracket division line based on the center coordinates corresponding to the target bracket, wherein the bracket division line passes through the center coordinates; determine the target sub-region in the initial bracket set based on the first preset direction and the bracket division line; determine each bracket whose center coordinate is within the target sub-region in the initial bracket set, and construct a bracket subset based on each of the brackets.
[0174] Optionally, the straight line division subunit includes a straight line construction subunit, which is used to obtain a preset square matrix slope and construct a support division line based on the preset square matrix slope and the center coordinate; or, along the center coordinate, construct a support division line perpendicular to the target row.
[0175] Optionally, the subset updating unit includes a redundant quantity determining subunit and a bracket modifying subunit; wherein,
[0176] The redundant quantity determination subunit is used to determine the redundant quantity of brackets corresponding to the bracket subset based on the total quantity of brackets corresponding to the bracket subset and the reference quantity of brackets;
[0177] The bracket modification subunit is used to compare the number of redundant brackets with the number of bracket rows corresponding to the bracket subset, and based on the comparison result and the second preset direction, delete some brackets from the bracket subset or add some brackets to the bracket subset.
[0178] Optionally, the support modification subunit is specifically used for:
[0179] Compare the number of redundant brackets with the number of bracket rows corresponding to the bracket subset. If the number of redundant brackets is less than or equal to the number of bracket rows, determine the brackets to be deleted corresponding to the number of redundant brackets in the bracket subset based on the second preset direction, and remove each bracket to be deleted from the bracket subset; if the number of redundant brackets is greater than the number of bracket rows, determine the brackets to be added corresponding to the number of redundant brackets in the initial bracket set based on the second preset direction, and add each bracket to be added to the bracket subset.
[0180] Optionally, the first division module 520 also includes a direct construction unit, which is used to determine the initial support set as a support subset corresponding to the initial support set if the number of row supports in the row to be judged is less than a set number threshold corresponding to the reference column number, and remove the support subset from the initial support set.
[0181] Optionally, the second division module 530 is specifically configured to:
[0182] For each of the bracket subsets, a bracket counting operation is performed in the bracket subset based on a preset bracket counting order; if the number of counted brackets reaches the bracket reference number, a target matrix is determined based on the counted brackets, the counted brackets are removed from the bracket subset, and the bracket counting operation is repeated until the number of counted brackets is lower than the bracket reference number; the target matrix division result corresponding to the initial bracket set is determined according to each of the target matrixes.
[0183] Optionally, the first preset direction is a left direction or a right direction, the second preset direction is an upward direction or a downward direction, and the number of the target matrix division results is at least two.
[0184] Optionally, the device also includes a result comparison module, which is used to determine the coordinates of the array center point of each target array in the target array division result, and determine the evaluation value corresponding to the target array division result based on the distance value between each bracket in the target array and the array center point coordinate; based on the evaluation value corresponding to each target array division result, determine the final array division result in each target array division result.
[0185] In this embodiment, the determination module is used to determine the initial bracket set to be divided, the reference number of brackets corresponding to the reference array, and the reference number of columns corresponding to the reference array. The first division module is used to divide at least one bracket subset corresponding to the initial bracket set based on the reference number of brackets, the reference number of columns, and the initial bracket set, thereby realizing the preliminary regional division of the initial bracket set. Then, the second division module is used to divide each bracket subset based on the reference number of brackets corresponding to the reference array, so as to perform array division in each area of the initial bracket set, obtain the target array division result corresponding to the initial bracket set, realize the partitioned array division of the initial bracket set, make the divided array boundary obvious and closer to the reference array, and be easy to construct and operate, solve the technical problem of the disordered array boundary divided by the prior art, and reduce the cable installation cost. In addition, the automatic array division is realized, the array division efficiency is improved, and the array design cycle of the photovoltaic power station is reduced.
[0186] The photovoltaic power station array division device provided in the embodiment of the present invention can execute the photovoltaic power station array division method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0187] It is worth noting that the various units and modules included in the above system are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present invention.
[0188] Embodiment 6
[0189] Figure 6 It is a structural schematic diagram of an electronic device provided in Embodiment 6 of the present invention. Figure 6 A block diagram of an exemplary electronic device 12 suitable for use in implementing embodiments of the present invention is shown. Figure 6 The electronic device 12 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention. The device 12 is typically an electronic device that performs the function of dividing the photovoltaic power station array.
[0190] like Figure 6As shown, the electronic device 12 is in the form of a general purpose computing device. The components of the electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a memory 28, and a bus 18 connecting the various components (including the memory 28 and the processing unit 16).
[0191] Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. For example, these architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
[0192] The electronic device 12 typically includes a variety of computer readable media. These media can be any available media that can be accessed by the electronic device 12, including volatile and non-volatile media, removable and non-removable media.
[0193] The memory 28 may include computer device readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. The electronic device 12 may further include other removable / non-removable, volatile / non-volatile computer storage media. By way of example only, the storage device 34 may be used to read and write non-removable, non-volatile magnetic media ( Figure 6 not shown, usually called a "hard drive"). Although Figure 6Not shown, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a read-only optical disk (Compact Disc-Read Only Memory, CD-ROM), a digital video disk (Digital Video Disc-Read Only Memory, DVD-ROM) or other optical media) may be provided. In these cases, each drive may be connected to the bus 18 via one or more data medium interfaces. The memory 28 may include at least one program product 40, which has a set of program modules 42, which are configured to perform the functions of various embodiments of the present invention. The program product 40 may be stored in, for example, the memory 28, and such program modules 42 include, but are not limited to, one or more application programs, other program modules, and program data, each of which or some combination may include the implementation of a network environment. The program module 42 generally performs the functions and / or methods in the embodiments described in the present invention.
[0194] The electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboard, mouse, camera, etc., and display), may also communicate with one or more devices that enable a user to interact with the electronic device 12, and / or communicate with any device that enables the electronic device 12 to communicate with one or more other computing devices (e.g., network card, modem, etc.). Such communication may be performed through an input / output (I / O) interface 22. In addition, the electronic device 12 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN) and / or a public network, such as the Internet) through a network adapter 20. As shown, the network adapter 20 communicates with other modules of the electronic device 12 through a bus 18. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, disk arrays (Redundant Arrays of Independent Disks, RAID) devices, tape drives, and data backup storage devices.
[0195] The processor 16 executes various functional applications and data processing by running the program stored in the memory 28, for example, implementing the photovoltaic power station array division method provided in the above embodiment of the present invention, including:
[0196] Determine an initial bracket set to be divided, a reference number of brackets corresponding to a reference square matrix, and a reference number of columns corresponding to the reference square matrix;
[0197] Based on the reference number of brackets, the reference number of columns and the initial bracket set, determining at least one bracket subset corresponding to the initial bracket set;
[0198] At least one of the bracket subsets is divided according to the reference number of brackets, and a target matrix division result corresponding to the initial bracket set is determined based on the division result.
[0199] Of course, those skilled in the art can understand that the processor can also implement the technical solution of the photovoltaic power station array division method provided by any embodiment of the present invention.
[0200] Embodiment 7
[0201] Embodiment 7 of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps of the photovoltaic power station array division method provided in any embodiment of the present invention are implemented. The method includes:
[0202] Determine an initial bracket set to be divided, a reference number of brackets corresponding to a reference square matrix, and a reference number of columns corresponding to the reference square matrix;
[0203] Based on the reference number of brackets, the reference number of columns and the initial bracket set, determining at least one bracket subset corresponding to the initial bracket set;
[0204] At least one of the bracket subsets is divided according to the reference number of brackets, and a target matrix division result corresponding to the initial bracket set is determined based on the division result.
[0205] The computer storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.
[0206] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0207] Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0208] Computer program code for performing the operation of embodiments of the present invention may be written in one or more programming languages or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0209] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A method for dividing a photovoltaic power station array, characterized in that: The method comprises: Determine an initial bracket set to be divided, a reference number of brackets corresponding to a reference square matrix, and a reference number of columns corresponding to the reference square matrix; Based on the reference number of brackets, the reference number of columns and the initial bracket set, determining at least one bracket subset corresponding to the initial bracket set; Divide at least one of the bracket subsets according to the bracket reference number, and determine the target matrix division result corresponding to the initial bracket set based on the division result; wherein the bracket reference number and the reference column number corresponding to the reference matrix are calculated based on a preset capacity threshold of the reference matrix, and the capacity threshold of the reference matrix is the power value of all the brackets contained in the reference matrix; The determining, based on the reference number of brackets, the reference number of columns, and the initial bracket set, at least one bracket subset corresponding to the initial bracket set comprises: Based on the fact that the shape of the support subset is similar to the shape of the reference matrix and the number of supports in the support subset is equal to an integer multiple of the reference number of supports in the reference matrix, the initial support set is divided into at least one support subset.
2. The method according to claim 1, characterized in that Determining a reference number of brackets corresponding to a reference square matrix and a reference number of columns corresponding to the reference square matrix includes: Based on a preset capacity threshold of a reference array and a bracket power, determining a reference number of brackets corresponding to the reference array; Based on the length of the bracket, the front-to-back spacing of the bracket and the reference number of the brackets, the reference column number corresponding to the reference matrix is determined.
3. The method according to claim 2, characterized in that The determining the reference number of columns corresponding to the reference matrix based on the length of the bracket, the front-to-back spacing of the bracket, and the reference number of the brackets includes: Obtaining each preset number of columns corresponding to the reference square matrix, and determining a preset number of rows corresponding to each preset number of columns based on the reference number of brackets and the preset number of columns; Based on the length of the bracket, the front-to-back spacing of the bracket, the preset number of columns, and the preset number of rows corresponding to each preset number of columns, the length and width deviation of the square array corresponding to each preset number of columns is calculated; Based on the square array length and width deviations corresponding to each of the preset column numbers, a reference column number corresponding to the reference square array is determined in each of the preset column numbers.
4. The method according to claim 1, characterized in that The determining, based on the reference number of brackets, the reference number of columns and the initial bracket set, at least one bracket subset corresponding to the initial bracket set specifically includes: If the number of initial brackets corresponding to the initial bracket set is not zero, then determining the row to be judged with the largest number of brackets in the initial bracket set, and determining whether the number of row brackets in the row to be judged is less than the set number threshold corresponding to the reference column number; If not, locating the edge bracket and the target row where the edge bracket is located in the initial bracket set based on the first preset direction, constructing a bracket division line in the initial bracket set based on the reference column number and the target row, and dividing the bracket subsets in the initial bracket set according to the first preset direction and the bracket division line; Based on the total number of brackets corresponding to the bracket subset, the reference number of brackets and the second preset direction, the bracket subset is updated, and the bracket subset is removed from the initial bracket set.
5. The method according to claim 4, characterized in that The step of constructing a bracket division line in the initial bracket set based on the reference number of columns and the target row, and dividing a bracket subset in the initial bracket set according to the first preset direction and the bracket division line, comprises: Determine a target bracket in the target row based on the reference column number, and construct a bracket dividing line based on the center coordinates corresponding to the target bracket, wherein the bracket dividing line passes through the center coordinates; Determine a target sub-region in the initial bracket set based on the first preset direction and the bracket dividing straight line; In the initial support set, each support whose central coordinate is located in the target sub-region is determined, and a support subset is constructed based on each of the supports.
6. The method according to claim 5, characterized in that The step of constructing a bracket division line based on the central coordinates corresponding to the target bracket includes: Acquire a preset square matrix slope, and construct bracket division lines based on the preset square matrix slope and the center coordinates; or, A bracket dividing line perpendicular to the target row is constructed along the central coordinate.
7. The method according to claim 4, characterized in that The updating of the bracket subset based on the total number of brackets corresponding to the bracket subset, the reference number of brackets and the second preset direction includes: Determine the number of redundant brackets corresponding to the bracket subset based on the total number of brackets corresponding to the bracket subset and the reference number of brackets; The number of the redundant supports is compared with the number of support rows corresponding to the support subset, and based on the comparison result and the second preset direction, some supports are deleted from the support subset or some supports are added to the support subset.
8. The method according to claim 7, characterized in that The deleting some of the supports from the support subset or adding some of the supports to the support subset based on the comparison result and the second preset direction comprises: If the number of the redundant brackets is less than or equal to the number of bracket rows, then determining the brackets to be deleted corresponding to the number of the redundant brackets in the bracket subset based on the second preset direction, and removing the brackets to be deleted from the bracket subset; If the number of the redundant brackets is greater than the number of bracket rows, each bracket to be added corresponding to the number of redundant brackets is determined in the initial bracket set based on the second preset direction, and each bracket to be added is added to the bracket subset.
9. The method according to claim 4, characterized in that The method further comprises: If the number of row brackets in the row to be judged is less than the set number threshold corresponding to the reference column number, the initial bracket set is determined as a bracket subset corresponding to the initial bracket set, and the bracket subset is removed from the initial bracket set.
10. The method according to claim 1, characterized in that The step of dividing at least one of the bracket subsets according to the reference number of brackets, and determining a target matrix division result corresponding to the initial bracket set based on the division result, includes: For each of the rack subsets, performing a rack inventory operation in the rack subset based on a preset rack inventory order; If the number of the counted brackets reaches the reference number of brackets, a target matrix is determined based on the counted brackets, the counted brackets are removed from the bracket subset, and the bracket counting operation is repeated until the number of the counted brackets is lower than the reference number of brackets; The target matrix division result corresponding to the initial support set is determined according to each of the target matrixes.
11. The method according to claim 4, characterized in that The first preset direction is a left direction or a right direction, the second preset direction is an upward direction or a downward direction, and the number of the target matrix division results is at least two.
12. The method according to claim 11, characterized in that The method further comprises: For each of the target square array division results, determine the coordinates of the center point of each target square array in the target square array division result, and determine the evaluation value corresponding to the target square array division result based on the distance value between each bracket in the target square array and the coordinates of the center point of the square array; Based on the evaluation values corresponding to the target square matrix division results, a final square matrix division result is determined from the target square matrix division results.
13. A photovoltaic power station array division device, characterized in that: The device comprises: A determination module, used to determine an initial bracket set to be divided, a reference number of brackets corresponding to a reference square matrix, and a reference number of columns corresponding to the reference square matrix; A first division module, configured to determine at least one bracket subset corresponding to the initial bracket set based on the reference number of brackets, the reference number of columns and the initial bracket set; A second division module is used to divide at least one of the bracket subsets according to the reference number of brackets, and determine the target matrix division result corresponding to the initial bracket set based on the division result; wherein the reference number of brackets and the reference number of columns corresponding to the reference matrix are calculated based on a preset capacity threshold of the reference matrix, and the capacity threshold of the reference matrix is the power value of all brackets contained in the reference matrix; The first division module is specifically used to divide the initial support set into at least one support subset based on the fact that the shape of the support subset is similar to the shape of the reference matrix and the number of supports in the support subset is equal to an integer multiple of the reference number of supports in the reference matrix.
14. An electronic device, characterized in that: The electronic device comprises: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the photovoltaic power station array division method as described in any one of claims 1-12.
