A method, device and storage medium for calculating the length of photovoltaic power station cables
By obtaining the bracket assembly layout information and pile foundation point set of photovoltaic power stations, determining the series wiring method and calculating the cable length, the error problem of calculating the length of the complex layout cable in the prior art is solved, and the calculation accuracy and applicability are improved.
Patent Information
- Application Number
- CN202110847476.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-27
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2041-07-27
AI Technical Summary
The existing photovoltaic power station cable length calculation method is difficult to accurately calculate the cable length between the strands on the brackets with a component layout of more than three layers and photovoltaic equipment, and the error is large and cannot meet the needs of complex layouts.
By obtaining the component arrangement information of the bracket and the pile base point set, determining the wiring methods of each string, generating the string outlet points and the bracket outlet points, and calculating the cable length based on different wiring methods, it is suitable for brackets for various component layouts.
It improves the accuracy of cable length calculation, simplifies the calculation of cable length for complex component layout, avoids conflicts between string outlets and brackets, is suitable for different wiring methods, and reduces the error in cable length calculation.
Smart Images

Figure CN113609432B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of photovoltaic power station design and layout, and in particular to a photovoltaic power station cable length calculation method, device and storage medium. Background Art
[0002] In the design and layout of photovoltaic power stations, the length of the cable will not only affect the loss of power generation, but also the construction cost of the photovoltaic power station. Among them, there is a lot of room for optimization in the amount of cable used between the string on the bracket and the combiner box or inverter.
[0003] At present, the commonly used method for calculating the cable length of a photovoltaic power station is to select a typical array from the array layout diagram of the photovoltaic power station, and estimate the total length of the cables from each string to the combiner box or inverter in the typical array based on the positions of the components, combiner boxes / inverters and box transformers arranged in the typical array. This method is suitable for calculating the cable usage from the strings to the combiner box or inverter on a bracket with one or two rows of components.
[0004] However, as land resources become increasingly scarce, in order to reduce land occupation, brackets with more than three rows of components are increasingly used, and the existing cable length calculation method is difficult to use to calculate the cable length between the string and the junction box or inverter on the bracket with complex component layout. At the same time, the estimation method used in the existing technology has large errors and low accuracy. Summary of the invention
[0005] The problem solved by the present invention is how to improve the application scope of the cable length calculation method so that it can calculate the cable length between the string on the bracket of the component layout with more than three layers to the photovoltaic device and improve the calculation accuracy.
[0006] In order to solve the above problems, the present invention provides a method, device and storage medium for calculating the cable length of a photovoltaic power station.
[0007] In a first aspect, the present invention provides a method for calculating the cable length of a photovoltaic power station, comprising:
[0008] Acquire the bracket information and photovoltaic equipment position of each bracket in the photovoltaic power station, wherein the bracket information includes component arrangement information and pile foundation point set on the bracket;
[0009] Determine the wiring mode of each string on the bracket according to the component arrangement information;
[0010] Generate a unified outlet point for each row of the brackets according to the pile foundation point set and the photovoltaic device position, generate a string outlet point for each string according to the wiring mode, the unified outlet point and the photovoltaic device position, and generate a bracket wiring point for each bracket according to the photovoltaic device position;
[0011] The length of the cable between each of the strings and the photovoltaic device is calculated respectively according to the wiring mode, the unified outlet point, the bracket outlet point and the string outlet point.
[0012] Optionally, the component arrangement information includes the number of components included in the corresponding bracket, and determining the wiring mode of each string on the bracket according to the component arrangement information includes:
[0013] Determining whether each of the brackets needs to be merged according to the number of components, wherein the brackets include brackets that need to be merged and brackets that do not need to be merged;
[0014] Merge the stents that need to be merged according to the judgment result to obtain a merged stent;
[0015] For any of the brackets that do not need to be combined or the combined brackets, the wiring method of each string on the bracket is determined according to the number of strings included in the bracket.
[0016] Optionally, judging whether each of the brackets needs to be merged according to the number of components includes:
[0017] For any of the brackets, determining whether the number of components included in the bracket is an integer multiple of the number of components required to form a string;
[0018] If yes, it means that the bracket is the bracket that does not need to be merged; if no, it means that the bracket is the bracket that needs to be merged;
[0019] The merging process of the brackets to be merged according to the judgment result includes:
[0020] The bracket to be merged is merged with the adjacent bracket until the number of components included in the merged bracket is an integer multiple of the number of components required to form a string.
[0021] Optionally, merging the bracket to be merged with an adjacent bracket includes:
[0022] Acquire the first center point coordinates of the bracket to be merged and the second center point coordinates of the bracket adjacent to the bracket to be merged;
[0023] Determining whether the bracket to be merged and the adjacent bracket are in the same row according to the first center point coordinates and the second center point coordinates;
[0024] If so, the bracket to be merged and the adjacent bracket are horizontally merged; if not, the bracket to be merged and the adjacent bracket are vertically merged.
[0025] Optionally, determining the wiring mode of each string on the bracket according to the number of strings included in the bracket includes:
[0026] Determining whether the number of strings included in the bracket is an even number;
[0027] If so, it is determined that the wiring mode of each of the strings on the bracket is C-shaped wiring; if not, all components on the bracket are sorted, and the wiring mode of each of the strings is determined according to the sorting result.
[0028] Optionally, determining the connection mode of each string according to the sorting result includes:
[0029] Determining whether the number of rows of the components after sorting is an odd number;
[0030] If so, it is determined that the strings in the uppermost or lowermost row on the bracket are connected in a straight line, and the other strings are connected in a C-line; if not, it is determined that all the strings on the bracket are connected in a C-line.
[0031] Optionally, the pile foundation point set includes all pile foundation points of the corresponding brackets, and generating unified outlet points of each row of the brackets according to the pile foundation point set and the photovoltaic device position includes:
[0032] For any row of the brackets, the pile foundation point closest to the photovoltaic device position is determined in the pile foundation point concentration of the brackets in the row as the unified line outlet point of the brackets in the row.
[0033] Optionally, generating a string outlet point of each string according to the wiring mode, the unified outlet point and the photovoltaic device position includes:
[0034] For any of the strings, if the connection mode of the string is C-shaped connection, determining whether the horizontal coordinate of the position of the photovoltaic device is within the horizontal coordinate range of the bracket;
[0035] If yes, the string outlet point of the string is the same as the unified outlet point corresponding to the bracket where the string is located; if no, the string edge center point of the string closest to the photovoltaic device is determined as the string outlet point according to the position of the photovoltaic device, wherein the string edge center point is calculated in advance according to the coordinates of each vertex of the string and the string length;
[0036] If the connection mode of the strings is straight-line connection, the center point of the edge of the string of the string closest to the photovoltaic device is determined as the string outlet point according to the position of the photovoltaic device.
[0037] Optionally, generating a bracket connection point of each bracket according to the position of the photovoltaic device includes:
[0038] According to the position of the photovoltaic device, the center point of the bracket edge of the bracket closest to the photovoltaic device is determined as the bracket outlet point of the bracket, wherein the center point of the bracket edge is pre-calculated based on the positions of the four vertices of the bracket and the bracket length.
[0039] Optionally, the calculating the cable lengths between each of the strings and the photovoltaic device according to the wiring mode, the unified outlet point, the bracket outlet point and the string outlet point respectively includes:
[0040] For the group string of C-shaped connection, according to the unified outlet point, the bracket outlet point and the group string outlet point, a first formula is used to determine the cable length between the group string and the photovoltaic device, and the first formula includes:
[0041] The cable length between the string and the photovoltaic device = (the cable length between the string outlet point and the bracket outlet point + the cable length between the bracket outlet point and the unified bracket outlet point of each row + the cable length between the unified bracket outlet point of each row and the photovoltaic device) × 2;
[0042] For the group of strings with straight wiring, a second formula is used to determine the cable length between the group of strings and the photovoltaic device according to the unified outlet point, the bracket outlet point and the group of strings outlet point, and the second formula includes:
[0043] The cable length between the string and the photovoltaic device is (the cable length between the string outlet point and the bracket outlet point + the cable length between the bracket outlet point and the unified bracket outlet point of each row + the cable length between the unified bracket outlet point of each row and the photovoltaic device) × 2 + string length.
[0044] Optionally, assuming that there are n straight-line connected strings and m C-shaped connected strings on one bracket, a third formula is used to calculate the total length of cables between each string on the bracket and the photovoltaic device according to the length of cables between each string and the photovoltaic device. The third formula includes:
[0045]
[0046] Among them, L 总 is the total length of the cable, L 一 is the cable length between any one of the straight-line strings and the photovoltaic device, L C The length of the cable between any C-type connected string and the photovoltaic device.
[0047] Optionally, before acquiring the bracket information and photovoltaic equipment position of each bracket in the photovoltaic power station, the method further includes:
[0048] Obtaining the support position and support length, pile foundation spacing and pile foundation margin of each support in the photovoltaic power station;
[0049] For any of the supports, the pile foundation points of the support are generated according to the pile foundation spacing, the pile foundation margin, the support position and the support length, and all the pile foundation points constitute the pile foundation point set.
[0050] In a second aspect, the present invention provides a photovoltaic power station cable length calculation device, comprising:
[0051] An acquisition module, used to acquire the bracket information and photovoltaic equipment position of each bracket in the photovoltaic power station, wherein the bracket information includes the component arrangement information and pile foundation point set on the bracket;
[0052] An analysis module, used to determine the wiring mode of each string on the bracket according to the component arrangement information;
[0053] A processing module, used to generate a unified outlet point of each row of the brackets according to the pile foundation point set and the photovoltaic device position, generate a string outlet point of each string according to the wiring mode, the unified outlet point and the photovoltaic device position, and generate a bracket wiring point of each bracket according to the photovoltaic device position;
[0054] The calculation module is used to calculate the cable length between each of the strings and the photovoltaic device according to the wiring mode, the unified outlet point, the bracket outlet point and the string outlet point.
[0055] In a third aspect, the present invention provides an electronic device, including a memory and a processor;
[0056] The memory is used to store computer programs;
[0057] The processor is used to implement the above-mentioned method for calculating the cable length of a photovoltaic power station when executing the computer program.
[0058] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for calculating the cable length of a photovoltaic power station as described above is implemented.
[0059] The photovoltaic power station cable length calculation method, device and storage medium of the present invention have the following beneficial effects: according to the component arrangement information on the bracket in the photovoltaic power station, the wiring mode of each group string on the bracket can be determined, the wiring mode of the group string under different component layout conditions can be determined, the calculation problem of the cable length between the group string and the photovoltaic device in the bracket with complex component layout is simplified, the influence of different wiring modes on the cable length on the bracket with complex component layout is considered, and the cable length between the group string and the photovoltaic device under different wiring modes is calculated in a targeted manner, and it is suitable for brackets with various component layouts. The group string outlet point of each group string is generated in the group string unit, the bracket outlet point of each bracket is generated in the bracket unit, and the unified outlet point of each row of brackets is generated in each row of brackets. Combined with the influence of different wiring modes on the cable length, the cable length between each group string and the photovoltaic device can be calculated, and the key outlet point is determined to determine the outlet path, and the cable length is calculated, which can avoid the conflict between the group string outlet and the bracket, and the cable length is calculated for different wiring modes in a targeted manner, thereby improving the calculation accuracy of the cable length. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] Figure 1 A schematic diagram of a method for calculating the cable length of a photovoltaic power station according to an embodiment of the present invention;
[0061] Figure 2 It is a top view schematic diagram of two brackets horizontally merged in the first embodiment of the present invention;
[0062] Figure 3 It is a top view schematic diagram of two brackets vertically merged in the first embodiment of the present invention;
[0063] Figure 4 It is a schematic top view of a bracket in Embodiment 2 of the present invention;
[0064] Figure 5 The present invention is a schematic diagram of the structure of a photovoltaic power station cable length calculation device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0065] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0066] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein.
[0067] A photovoltaic power station refers to a power generation system that uses the photovoltaic effect of solar cells to directly convert solar radiation energy into electrical energy.
[0068] A photovoltaic power station includes multiple brackets. Brackets refer to special brackets designed for placing, installing, and fixing photovoltaic modules in photovoltaic power generation systems, also known as photovoltaic brackets. The brackets are arranged in an array, each bracket is fixed on the ground through pile foundations, and each bracket is provided with multiple strings, each string consisting of multiple modules connected in series. Photovoltaic equipment such as combiner boxes or inverters are set on pile foundations or brackets.
[0069] A module refers to the smallest indivisible solar cell combination device with packaging and internal connections that can independently provide direct current output. It is also called a photovoltaic module or solar cell module.
[0070] like Figure 1 As shown, a method for calculating the cable length of a photovoltaic power station provided by an embodiment of the present invention can be used to calculate the 4mm cable length from the string on the bracket to the combiner box or inverter. 2 The length of the DC cable can be determined by:
[0071] Step S110, obtaining the bracket information and photovoltaic equipment position of each bracket in the photovoltaic power station, wherein the bracket information includes the component arrangement information and the pile foundation point set on the bracket.
[0072] It should be noted that the photovoltaic equipment in the present invention refers to the photovoltaic equipment connected to the string on the bracket. For different types of photovoltaic power stations, the photovoltaic equipment connected to the string on the bracket is different. For a centralized photovoltaic power station, the photovoltaic equipment includes a combiner box, and correspondingly, the position of the photovoltaic equipment is the position where the combiner box is located; for a string photovoltaic power station, the photovoltaic equipment includes an inverter, and correspondingly, the position of the photovoltaic equipment is the position where the inverter is located.
[0073] Optionally, before acquiring the bracket information and photovoltaic equipment position of each bracket in the photovoltaic power station, the method further includes:
[0074] Obtaining the support position and support length, pile foundation spacing and pile foundation margin of each support in the photovoltaic power station;
[0075] For any of the supports, the pile foundation points of the support are generated according to the pile foundation spacing, the pile foundation margin, the support position and the support length, and all the pile foundation points constitute the pile foundation point set.
[0076] Specifically, assuming that the pile foundation spacing is L1, the pile foundation margin is L2, and the bracket length is L, the pile foundation points can be generated in the planar arrangement diagram of the photovoltaic power station according to the on-site pile foundation data, the bracket position and the bracket length, including:
[0077] Step S101, dividing the photovoltaic power station into confluence areas in the plane layout diagram to obtain a plurality of confluence areas, each of which includes a plurality of brackets;
[0078] Step S102, numbering all the brackets in sequence, setting the number of the first bracket to be i=1, and the bracket position to be (x1, y1);
[0079] Step S103, determining the left edge center point coordinates (x1-0.5L, y1) and the right edge center point coordinates (x1+0.5L, y1) of the current bracket according to the pile foundation spacing L1, the pile foundation spacing L2, the bracket length L and the current bracket position (x1, y1);
[0080] Step S104, generating a first pile point according to the coordinates of the left edge center point (x1-0.5L, y1), the position of the first pile point is (x1-0.5L+L2, y1), and the horizontal coordinate of the first pile point is X=x1-0.5L+L2;
[0081] Step S105, determine whether X is less than x1+0.5L, if so, go to step S106; if not, go to step S107;
[0082] Step S106, generating the next pile base point according to the position of the first pile base point (x1-0.5L+L2, y1), the position of the next pile base point is (x1-0.5L+L2+L1, y1), at this time X=
[0083] x1-0.5L+L2+L1, return to step S105;
[0084] Step S107, setting the support position of the next support to be the current support position, i.e., i=i+1, and returning to step S103 until all the pile foundation points of each support are generated, i.e., i≥n, where n is the number of all supports.
[0085] By dividing the busbar area according to the location range of the box-type transformer, multiple busbar areas can be obtained. Each busbar area is numbered in sequence. At the same time, the brackets in each busbar area are processed in rows. Each bracket is bound to the corresponding busbar area number, and each bracket and the strings on the bracket are numbered separately.
[0086] Step S120, determining the connection mode of each string on the bracket according to the component arrangement information.
[0087] Optionally, the component arrangement information includes the number of components included in the corresponding bracket, and determining the wiring mode of each string on the bracket according to the component arrangement information includes:
[0088] Step S121, judging whether each of the brackets needs to be merged according to the number of components, wherein the brackets include brackets that need to be merged and brackets that do not need to be merged.
[0089] Specifically, the component arrangement information on each bracket can be obtained in advance. The components on the bracket are arranged in an array. The component arrangement information includes the number of components, that is, the number of rows (number of rows) and columns of components. Combined with the preset number of components each string is composed of, it is determined whether the components on the bracket can form an integer number of strings. If so, it means that the bracket does not need to be merged; if not, it means that the bracket needs to be merged.
[0090] Optionally, judging whether each of the brackets needs to be merged according to the number of components includes:
[0091] For any of the brackets, determining whether the number of components included in the bracket is an integer multiple of the number of components required to form a string;
[0092] If yes, it means that the bracket is the bracket that does not need to be merged; if no, it means that the bracket is the bracket that needs to be merged;
[0093] Specifically, determine whether all components included in the bracket form an integer number of strings. If so, the bracket does not need to be merged; if not, it means that the bracket is a special bracket in which the number of strings composed of all components is not an integer, and the special bracket needs to be merged with the adjacent special bracket.
[0094] Optionally, merging the bracket to be merged with an adjacent bracket includes:
[0095] Acquire the first center point coordinates of the bracket to be merged and the second center point coordinates of the bracket adjacent to the bracket to be merged;
[0096] Determining whether the bracket to be merged and the adjacent bracket are in the same row according to the first center point coordinates and the second center point coordinates;
[0097] If so, the bracket to be merged and the adjacent bracket are horizontally merged; if not, the bracket to be merged and the adjacent bracket are vertically merged.
[0098] Specifically, if the brackets to be merged include multiple adjacent brackets, the bracket closest to the bracket to be merged can be selected as the adjacent bracket, the first center point coordinates of the bracket to be merged are obtained, and the second center point coordinates of each bracket around the bracket to be merged are obtained, and the distances from each second center point coordinate to the first center point coordinate are calculated respectively, and the bracket corresponding to the second center point coordinate closest to the bracket is selected as the adjacent bracket. And according to the first center point coordinate and the second center point coordinate, it is judged whether the two brackets are in the same row. For example, if a coordinate system is established for the area where the photovoltaic power station is located, so that the vertical coordinates of each row of brackets are the same, and / or the horizontal coordinates of each column of brackets are the same, etc., the vertical coordinates of the first center point coordinate and the second center point coordinate can be directly compared. If they are the same, the two brackets are in the same row, and if they are different, they are not in the same row.
[0099] Step S122, merging the brackets to be merged according to the judgment result to obtain a merged bracket.
[0100] Optionally, the merging process of the stents to be merged according to the judgment result includes:
[0101] The bracket to be merged is merged with the adjacent bracket until the number of components included in the merged bracket is an integer multiple of the number of components required to form a string.
[0102] Specifically, if there is a special bracket whose number of strings is not an integer, multiple adjacent special brackets are merged vertically or horizontally according to the arrangement of the brackets until all components included in the merged new bracket can form an integer number of strings. All the strings participating in the merger are bound to the merged new bracket, and all the strings participating in the merger belong to the merged new bracket.
[0103] In this optional embodiment, assuming that a string needs to be composed of X components, if the number of components in the string is less than X, the voltage, current, etc. output by the string will not meet the specified output requirements. Therefore, the brackets whose number of components cannot form an integer number of strings are merged so that the number of strings on the merged brackets is an integer, so that the specified power generation requirements are met, the processing requirements of the brackets in the case of complex component layouts are met, it is closer to the actual situation on site, and can improve the calculation accuracy of the cable length between the string and the photovoltaic equipment.
[0104] Step S123, for any of the brackets that do not need to be merged or the brackets after being merged, determine the wiring method of each string on the bracket according to the number of strings included in the bracket.
[0105] Optionally, determining the wiring mode of each string on the bracket according to the number of strings included in the bracket includes:
[0106] Determining whether the number of strings included in the bracket is an even number;
[0107] If so, it is determined that the wiring mode of each of the strings on the bracket is C-shaped wiring; if not, all components on the bracket are sorted, and the wiring mode of each of the strings is determined according to the sorting result.
[0108] Specifically, C-type wiring refers to two adjacent rows of components forming a string, with the positive and negative poles on the same side, and less cable is used.
[0109] Optionally, determining the connection mode of each string according to the sorting result includes:
[0110] Determining whether the number of rows of the components after sorting is an odd number;
[0111] If so, it is determined that the strings in the uppermost or lowermost row on the bracket are connected in a straight line, and the other strings are connected in a C-line; if not, it is determined that all the strings on the bracket are connected in a C-line.
[0112] Specifically, the straight-line wiring refers to two adjacent rows of components connected to each other in a string. For example, for a single-row component bracket, a row of components constitutes a string. When the front row of components blocks the back row of components, a shadow will be formed on the back row of components, but it will not affect the front row of components. The positive and negative poles of the string are at the head and tail ends of the bracket.
[0113] In this optional embodiment, the wiring method of the strings is determined according to the number of strings on the bracket and the arrangement of the components. Different wiring methods have different outlet terminal positions. Therefore, the cable length from each string to the photovoltaic device is calculated in a targeted manner according to different wiring methods, which can improve the calculation accuracy of the cable length.
[0114] Step S130, generating a unified outlet point for each row of the brackets according to the pile foundation point set and the photovoltaic device position, generating a string outlet point for each string according to the wiring method, the unified outlet point and the photovoltaic device position, and generating a bracket wiring point for each bracket according to the photovoltaic device position.
[0115] Optionally, the pile foundation point set includes all pile foundation points of the corresponding brackets, and generating unified outlet points of each row of the brackets according to the pile foundation point set and the photovoltaic device position includes:
[0116] For any row of the brackets, the pile foundation point closest to the photovoltaic device position is determined in the pile foundation point concentration of the brackets in the row as the unified line outlet point of the brackets in the row.
[0117] In this optional embodiment, for any row of brackets, the pile foundation point closest to the photovoltaic device is selected from the pile foundation points composed of all the pile foundation points of the row of brackets as the unified outlet point of the row of brackets. This can reduce the cable length between the unified outlet point and the photovoltaic device, reduce the required cable length, and thus reduce costs. Therefore, the unified outlet point is the most economical cable outlet end for each row of brackets.
[0118] Optionally, generating a string outlet point of each string according to the wiring mode, the unified outlet point and the photovoltaic device position includes:
[0119] For any of the strings, if the wiring method of the string is C-shaped wiring, it is determined whether the horizontal coordinate of the position of the photovoltaic device is within the horizontal coordinate range of the bracket; the horizontal coordinate range of the bracket is the range from the minimum horizontal coordinate to the maximum horizontal coordinate among the four vertices of the bracket.
[0120] If yes, the string outlet point of the string is the same as the unified outlet point corresponding to the bracket where the string is located; if no, the string edge center point of the string closest to the photovoltaic device is determined as the string outlet point according to the position of the photovoltaic device, wherein the string edge center point is calculated in advance according to the coordinates of each vertex of the string and the string length;
[0121] If the connection mode of the strings is straight-line connection, the center point of the edge of the string of the string closest to the photovoltaic device is determined as the string outlet point according to the position of the photovoltaic device.
[0122] In this optional embodiment, since the positions of the incoming and outgoing terminals of strings with different wiring methods are different, corresponding string outgoing points are determined for strings with different wiring methods respectively, which is more targeted and can improve the calculation accuracy of the cable length.
[0123] Optionally, generating a bracket connection point of each bracket according to the position of the photovoltaic device includes:
[0124] According to the position of the photovoltaic device, the center point of the bracket edge of the bracket closest to the photovoltaic device is determined as the bracket outlet point of the bracket, wherein the center point of the bracket edge is pre-calculated based on the positions of the four vertices of the bracket and the bracket length.
[0125] Specifically, taking the generation process of the pile foundation point set in the above text as an example, the bracket edge center point includes the left edge center point (x1-0.5L, y1) and the right edge center point (x1+0.5L, y1). Similarly, the four vertex coordinates of each string can be obtained, and the coordinates of the center point of the string can be calculated. Combined with the 1 / 2 length of the string, the coordinates of the edge center point of the string are calculated, and the edge center point of the string also includes the left edge center point and the right edge center point.
[0126] Step S140, respectively calculating the length of the cable between each of the strings and the photovoltaic device according to the wiring mode, the unified outlet point, the bracket outlet point and the string outlet point.
[0127] Optionally, the calculating the cable lengths between each of the strings and the photovoltaic device according to the wiring mode, the unified outlet point, the bracket outlet point and the string outlet point respectively includes:
[0128] For the group string of C-shaped connection, according to the unified outlet point, the bracket outlet point and the group string outlet point, a first formula is used to determine the cable length between the group string and the photovoltaic device, and the first formula includes:
[0129] The cable length between the string and the photovoltaic device = (the cable length between the string outlet point and the bracket outlet point + the cable length between the bracket outlet point and the unified bracket outlet point of each row + the cable length between the unified bracket outlet point of each row and the photovoltaic device) × 2. (Formula 1)
[0130] For the group of strings with straight wiring, a second formula is used to determine the cable length between the group of strings and the photovoltaic device according to the unified outlet point, the bracket outlet point and the group of strings outlet point, and the second formula includes:
[0131] The cable length between the string and the photovoltaic device = (the cable length between the string outlet point and the bracket outlet point + the cable length between the bracket outlet point and the unified bracket outlet point of each row + the cable length between the unified bracket outlet point of each row and the photovoltaic device) × 2 + string length. (Formula 2)
[0132] In this optional embodiment, the influence of different outlet terminals and terminal connections of different wiring methods on the cable length is fully considered, and the cable length between the string group and the photovoltaic device under different wiring methods is calculated in a targeted manner. The cable length between the string group and the photovoltaic device under complex component structures can be calculated, and the calculation accuracy of the cable length is improved.
[0133] Optionally, assuming that there are n strings with straight-line connections and m strings with C-line connections on the bracket, a third formula is used to calculate the total length of cables between each string on the bracket and the photovoltaic device according to the length of cables between each string and the photovoltaic device. The third formula includes:
[0134]
[0135] Among them, L 总 is the total length of the photovoltaic cable, L 一is the cable length between any one of the straight-line strings and the photovoltaic device, L C The length of the cable between any C-type connected string and the photovoltaic device.
[0136] Specifically, the lengths of the cables from each string on the bracket to the photovoltaic device are added together, and the sum is the total amount of photovoltaic cables to be calculated.
[0137] The photovoltaic power station cable length calculation method of the present invention determines the wiring mode of each string on the bracket according to the component arrangement information on the bracket in the photovoltaic power station, can determine the wiring mode of the string under different component layout conditions, simplifies the calculation problem of the cable length between the string and the photovoltaic device in the bracket with complex component layout, considers the influence of different wiring modes on the cable length on the bracket with complex component layout, and is convenient for targeted calculation of the cable length between the string and the photovoltaic device under different wiring modes, and is suitable for brackets with various component layouts. The string outlet point of each string is generated in the unit of the string, the bracket outlet point of each bracket is generated in the unit of the bracket, and the unified outlet point of each row of brackets is generated in the unit of each row of brackets. Combined with the influence of different wiring modes on the cable length, the cable length between each string and the photovoltaic device can be calculated, and the key outlet point is determined to determine the outlet path, and the cable length is calculated, which can avoid the conflict between the string outlet and the bracket, and the cable length is calculated for different wiring modes respectively, thereby improving the calculation accuracy of the cable length.
[0138] In order to further illustrate a method for calculating the cable length of a photovoltaic power station of the present invention, the technical solution of the invention is specifically described below with two specific embodiments.
[0139] Embodiment 1:
[0140] like Figure 2 As shown, assuming that the total number of rows of components included in the brackets in the photovoltaic power station is 3 and the number of columns is 14, and a string needs to be composed of 28 components, it can be determined that the brackets of the photovoltaic power station are 3 rows, and each row has 0.5 strings, that is, 14 components in each row form 0.5 strings, that is, the strings of each bracket are arranged as 3*0.5, so the brackets need to be merged before calculation.
[0141] Get the center point coordinates of each bracket. Assume that the center point coordinates of the brackets where two adjacent strings are located are CenterPlotP = (xP, yP) and CenterPlotQ = (xQ, yQ), respectively. Determine whether the vertical coordinates yP and yQ in the center point coordinates of the two brackets are the same. If they are the same, merge the two brackets horizontally, otherwise merge the two brackets vertically.
[0142] Case 1:
[0143] If yP=yQ, the two brackets are horizontally merged to determine the number of strings included in the new bracket obtained after the two brackets are merged. If the number of strings in the new bracket is an integer of 3, the merging is stopped. Figure 2 The middle bracket 1 and bracket 2 are merged into a new bracket. At the same time, it is determined that the number of strings included in the new bracket is an odd number, and the number of component rows is 3, which is an odd number of rows. Therefore, it can be determined that the first and second rows of strings on the new bracket are C-shaped wiring, and the third row of strings is a straight-line wiring, where the strings are sorted from top to bottom. After the components are connected according to the corresponding wiring method, string A, string B and string C are obtained, where string A and string B are C-shaped wiring, and string C is a straight-line wiring.
[0144] Get the coordinates of the four vertices of each string respectively, and obtain the coordinates of the center point of the string by calculation. According to the 1 / 2 length of the string, expand the coordinates of the center point of the string to the edge center point of the string, and obtain the coordinate point set composed of the edge center points of all strings by calculation.
[0145] According to the margin, spacing and bracket length of each bracket, the pile foundation point set of each bracket is obtained by calculation.
[0146] In this embodiment, the photovoltaic device is a combiner box. According to the position of the combiner box, the pile foundation point closest to the combiner box on each row of brackets is selected from the pile foundation points as the unified outlet point of each row of brackets. Figure 2 In the example, the pile foundation point in bracket 1 is closest to the combiner box, so this pile foundation point is selected as the unified line outlet point for the row where brackets 1 and 2 are located.
[0147] Assume that the coordinates of the four vertices of the bracket are (xA, yA), (xB, yB), (xC, yC), and (xD, yD). Determine the minimum value of the horizontal coordinate xmin=min(xA~xD) and the maximum value of the horizontal coordinate xmax=max(xA~xD) among the four vertex coordinates.
[0148] because Figure 2 If the horizontal coordinate X of the combiner box in the middle meets x min≤X≤x max of bracket 1, the string outlet point of the string A with C-shaped wiring on the bracket is consistent with the unified outlet point of each row. If the horizontal coordinate X of the combiner box is not within the horizontal coordinate range of bracket 2, the string outlet point of string B is the center point of the string edge. Since string C is a straight-line connection, the string outlet point of string C is the center point of the string edge closest to the combiner box.
[0149] From the two center points of the bracket edges of each bracket, select the center point of the bracket edge closest to the combiner box as the bracket outlet point, and determine the bracket outlet points of bracket 1 and bracket 2.
[0150] The cable length from string A to the combiner box is LA = distance (cable length between the string outlet point of string A and the outlet point of bracket 1 + cable length between the outlet point of the bracket and the outlet point of the unified bracket of the row + cable length between the outlet point of the unified bracket of the row and the combiner box) * 2;
[0151] The cable length from string B to the combiner box is LB = distance (cable length between the string outlet point of string B and the bracket outlet point + cable length between the bracket outlet point and the unified bracket outlet point of the row + cable length between the unified bracket outlet point of the row and the combiner box) * 2;
[0152] The cable length from string C to the combiner box is LC = distance (cable length between the string outlet point of string C and the bracket outlet point + cable length between the bracket outlet point and the unified bracket outlet point of the row + cable length between the unified bracket outlet point of the row and the combiner box) * 2 + string C length l;
[0153] The total amount of photovoltaic cables from the string to the combiner box is L=LA+LB+LC.
[0154] Case 2:
[0155] like Figure 3 As shown, if yP>yQ, the two brackets are vertically merged, and after determining that the number of strings contained in the merged bracket is an integer of 3 after the two brackets are merged, the merging is stopped. Figure 3 The middle bracket 1 and bracket 2 are combined into a new bracket. At the same time, since the number of strings contained in the new bracket is an odd number, and the number of component rows is 3, which is an odd number, after the components are wired according to the corresponding wiring method, the obtained strings A, B, and C are all C-shaped wiring.
[0156] The coordinates of the four vertices of each string are obtained respectively, and the coordinates of the center point of the string are obtained by calculation. According to the 1 / 2 length of the string, the coordinates of the center point of the string are extended to the edge center point of the string, and the coordinate point set composed of the edge center points of all strings is obtained by calculation.
[0157] According to the margin, spacing and bracket length of each bracket, the coordinates of the pile foundation point set of each bracket can be obtained by calculation.
[0158] First, according to the location of the combiner box, select the pile foundation point closest to the combiner box on each row of brackets from the pile foundation point set as the unified line outlet point for each row of brackets, such as Figure 3 As shown, the unified outlet point is the unified outlet point of the row where the new bracket composed of bracket 1 and bracket 2 is located.
[0159] The coordinates of the four vertices of the bracket are (xA, yA), (xB, yB), (xC, yC), and (xD, yD). Determine that the minimum value of the horizontal coordinate is xmin=min(xA~xD), and the maximum value of the horizontal coordinate is xmax=max(xA~xD). Since the horizontal coordinate X of the junction box does not satisfy x min≤X≤x max, the string outlet points on brackets 1 and 2 are both the center points of the string edges closest to the junction box. Figure 3 As shown. And from the center points of the two bracket edges of the bracket, select the center point of the bracket edge closest to the combiner box as the bracket outlet point.
[0160] The cable length from string A to the combiner box is LA = distance (cable length from the outlet point of string A to the outlet point of the bracket + cable length from the outlet point of the bracket to the outlet point of the unified bracket of the row + cable length from the outlet point of the unified bracket of the row to the combiner box) * 2;
[0161] The cable length from string B to the combiner box is LB = distance (cable length from string B outlet to bracket outlet + cable length from bracket outlet to the unified bracket outlet of the row + cable length from the unified bracket outlet of the row to the combiner box) * 2;
[0162] The cable length from string C to the combiner box is LC = distance (cable length from the outgoing point of string A to the outgoing point of the bracket + cable length from the outgoing point of the bracket to the outgoing point of the unified bracket of the row + cable length from the outgoing point of the unified bracket of the row to the combiner box) * 2;
[0163] The total amount of photovoltaic cables from the string to the combiner box is L=LA+LB+LC.
[0164] Embodiment 2:
[0165] like Figure 4 As shown in the figure, assuming that the number of rows of components contained in the bracket is 4 and the number of columns is 14, that is, a bracket with a four-row component structure, each string needs to be composed of 28 components. It can be judged that the bracket has 4 rows, and each row has 0.5 strings, that is, the bracket string arrangement is 4*0.5. Since the number of strings contained in the bracket is an integer, there is no need to merge the brackets. Figure 4 In the middle is a bracket that does not need to be merged. At the same time, since the number of strings contained is an even number and the number of component rows is an even number, it is determined that the two strings on the bracket are both C-shaped, that is, the first and second rows of strings are C-shaped, and the third and fourth rows of strings are C-shaped.
[0166] The coordinates of the center point of each string are calculated based on the coordinates of the four vertices of the four strings. According to the 1 / 2 length of the string, the coordinates of the center point of the string are extended to the center point of the edge of the string, and the coordinate point set consisting of the center points of the edge of all strings is obtained by calculation.
[0167] The coordinates of the pile foundation point set can be obtained by calculation based on the margin, spacing and bracket length of each bracket.
[0168] First, according to the location of the combiner box, find the pile foundation point closest to the equipment on each row of brackets from the pile foundation point collection, which will be used as the unified outlet point for each row of brackets. The unified outlet point for this row of brackets is as follows: Figure 4 shown.
[0169] The four vertex coordinates of the bracket are (xA, yA), (xB, yB), (xC, yC), and (xD, yD). Determine that the minimum value of the horizontal coordinate is xmin=min(xA~xD), and the maximum value of the horizontal coordinate is xmax=max(xA~xD). Since the horizontal coordinate X of the junction box does not satisfy xmin≤X≤xmax, the string outlet points on the bracket are all the edge center points of the strings closest to the junction box. From the two edge center points of the bracket, select the point closest to the junction box as the bracket outlet point.
[0170] The cable length from string A to the combiner box is LA = distance (cable length from the outlet point of string A to the outlet point of the bracket + cable length from the outlet point of the bracket to the outlet point of the unified bracket of the row + cable length from the outlet point of the unified bracket of the row to the combiner box) * 2;
[0171] The cable length from string B to the combiner box is LB = distance (cable length from string B outlet to bracket outlet + cable length from bracket outlet to the unified bracket outlet of the row + cable length from the unified bracket outlet of the row to the combiner box) * 2;
[0172] The cable length from string C to the combiner box is LC = distance (cable length from string C outlet to bracket outlet + cable length from bracket outlet to the unified bracket outlet of the row + cable length from the unified bracket outlet of the row to the combiner box) * 2;
[0173] The cable length from string D to the combiner box is LD = distance (cable length from the outlet point of string D to the outlet point of the bracket + cable length from the outlet point of the bracket to the outlet point of the unified bracket of the row + cable length from the outlet point of the unified bracket of the row to the combiner box) * 2;
[0174] The total amount of photovoltaic cables from the string to the combiner box is L=LA+LB+LC+LD.
[0175] Figures 2 to 4 In the figure, the dot "×" represents the pile foundation point, the smaller circle represents the group string lead-out point, the larger circle represents the bracket lead-out point, and the solid dot represents the unified lead-out point.
[0176] like Figure 5 As shown, an embodiment of the present invention provides a photovoltaic power station cable length calculation device, comprising:
[0177] An acquisition module, used to acquire the bracket information and photovoltaic equipment position of each bracket in the photovoltaic power station, wherein the bracket information includes the component arrangement information and pile foundation point set on the bracket;
[0178] An analysis module, used to determine the wiring mode of each string on the bracket according to the component arrangement information;
[0179] A processing module, used to generate a unified outlet point of each row of the brackets according to the pile foundation point set and the photovoltaic device position, generate a string outlet point of each string according to the wiring mode, the unified outlet point and the photovoltaic device position, and generate a bracket wiring point of each bracket according to the photovoltaic device position;
[0180] The calculation module is used to calculate the cable length between each of the strings and the photovoltaic device according to the wiring mode, the unified outlet point, the bracket outlet point and the string outlet point.
[0181] Another embodiment of the present invention provides an electronic device including a memory and a processor; the memory is used to store a computer program; the processor is used to implement the above-mentioned method for calculating the cable length of a photovoltaic power station when executing the computer program.
[0182] A computer-readable storage medium provided in another embodiment of the present invention stores a computer program, and when the computer program is executed by a processor, the above-mentioned method for calculating the cable length of a photovoltaic power station is implemented.
[0183] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc. In the present application, the unit described as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, it may be located in one place, or it may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment of the present invention. In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
[0184] Although the present invention is disclosed as above, the protection scope of the present invention is not limited thereto. Those skilled in the art may make various changes and modifications without departing from the spirit and scope of the present invention, and these changes and modifications will fall within the protection scope of the present invention.
Claims
1. A method for calculating the cable length of a photovoltaic power station, characterized in that: include: Acquire the bracket information and photovoltaic equipment position of each bracket in the photovoltaic power station, wherein the bracket information includes the component arrangement information and the pile foundation point set on the bracket; Determine the wiring mode of each string on the bracket according to the component arrangement information; Generate a unified outlet point of each row of the brackets according to the pile foundation point set and the photovoltaic device position, generate a string outlet point of each string according to the wiring mode, the unified outlet point and the photovoltaic device position, and generate a bracket wiring point of each bracket according to the photovoltaic device position, wherein the unified outlet point is a pile foundation point on a row of the brackets closest to the photovoltaic device, the string outlet point is the unified outlet point on the bracket where the string is located or the center point of the edge of the string on the string closest to the photovoltaic device, and the bracket wiring point is the center point of the edge of the bracket on the bracket closest to the photovoltaic device; According to the wiring mode, the unified outlet point, the bracket outlet point and the string outlet point, the cable length between each string and the photovoltaic device is calculated respectively; The component arrangement information includes the number of components included in the corresponding bracket, and the determining the wiring mode of each string on the bracket according to the component arrangement information includes: judging whether each bracket needs to be merged according to the number of components, and the bracket includes brackets that need to be merged and brackets that do not need to be merged; merging the brackets that need to be merged according to the judgment result to obtain a merged bracket; for any of the brackets that do not need to be merged or the merged bracket, determining the wiring mode of each string on the bracket according to the number of strings included in the bracket; The determining whether each of the brackets needs to be merged according to the number of components includes: for any of the brackets, determining whether the number of components included in the bracket is an integer multiple of the number of components required to form a string; if so, it indicates that the bracket is the bracket that does not need to be merged; if not, it indicates that the bracket is the bracket that needs to be merged; the merging of the brackets that need to be merged according to the determination result includes: merging the bracket that needs to be merged with the adjacent bracket until the number of components included in the merged bracket is an integer multiple of the number of components required to form a string; For the brackets that need to be merged among the brackets, the brackets that need to be merged are merged with adjacent brackets, including: obtaining the first center point coordinates of the brackets that need to be merged, and the second center point coordinates of the brackets adjacent to the brackets that need to be merged; judging whether the brackets that need to be merged and the adjacent brackets are in the same row according to the first center point coordinates and the second center point coordinates; if so, horizontally merging the brackets that need to be merged and the adjacent brackets; if not, vertically merging the brackets that need to be merged and the adjacent brackets.
2. The method for calculating the length of photovoltaic power station cables according to claim 1, characterized in that: The method of determining the wiring mode of each string on the bracket according to the number of strings included in the bracket includes: Determining whether the number of strings included in the bracket is an even number; If so, it is determined that the wiring mode of each of the strings on the bracket is C-shaped wiring; if not, all components on the bracket are sorted, and the wiring mode of each of the strings is determined according to the sorting result.
3. The method for calculating the length of photovoltaic power station cables according to claim 2, characterized in that: Determining the connection mode of each string according to the sorting result includes: Determining whether the number of rows of the components after sorting is an odd number; If so, it is determined that the strings in the uppermost or lowermost row on the bracket are connected in a straight line, and the other strings are connected in a C-line; if not, it is determined that all the strings on the bracket are connected in a C-line.
4. The method for calculating the cable length of a photovoltaic power station according to any one of claims 1 to 3, characterized in that: The pile foundation point set includes all the pile foundation points of the corresponding brackets, and the generating of the unified outlet points of each row of the brackets according to the pile foundation point set and the photovoltaic device position includes: For any row of the brackets, the pile foundation point closest to the photovoltaic device position is determined in the pile foundation point concentration of the brackets in the row as the unified line outlet point of the brackets in the row.
5. The method for calculating the cable length of a photovoltaic power station according to any one of claims 1 to 3, characterized in that: The step of generating a string outlet point for each string according to the wiring mode, the unified outlet point and the photovoltaic device position comprises: For any of the strings, if the connection mode of the string is C-shaped connection, determining whether the horizontal coordinate of the position of the photovoltaic device is within the horizontal coordinate range of the bracket; If yes, the string outlet point of the string is the same as the unified outlet point corresponding to the bracket where the string is located; if no, the string edge center point of the string closest to the photovoltaic device is determined as the string outlet point according to the position of the photovoltaic device, wherein the string edge center point is calculated in advance according to the coordinates of each vertex of the string and the string length; If the connection mode of the strings is straight-line connection, the center point of the edge of the string of the string closest to the photovoltaic device is determined as the string outlet point according to the position of the photovoltaic device.
6. The method for calculating the cable length of a photovoltaic power station according to any one of claims 1 to 3, characterized in that: Generating the support connection point of each support according to the position of the photovoltaic device comprises: According to the position of the photovoltaic device, the center point of the bracket edge of the bracket closest to the photovoltaic device is determined as the bracket outlet point of the bracket, wherein the center point of the bracket edge is pre-calculated based on the positions of the four vertices of the bracket and the bracket length.
7. The method for calculating the cable length of a photovoltaic power station according to any one of claims 1 to 3, characterized in that: The calculating of the cable lengths between each of the strings and the photovoltaic device according to the wiring mode, the unified outlet point, the bracket outlet point and the string outlet point comprises: For the group string of C-shaped connection, according to the unified outlet point, the bracket outlet point and the group string outlet point, a first formula is used to determine the cable length between the group string and the photovoltaic device, and the first formula includes: The cable length between the string and the photovoltaic device = (the cable length between the string outlet point and the bracket outlet point + the cable length between the bracket outlet point and the unified bracket outlet point of each row + the cable length between the unified bracket outlet point of each row and the photovoltaic device) × 2; For the group of strings with straight wiring, a second formula is used to determine the cable length between the group of strings and the photovoltaic device according to the unified outlet point, the bracket outlet point and the group of strings outlet point, and the second formula includes: The cable length between the string and the photovoltaic device is (the cable length between the string outlet point and the bracket outlet point + the cable length between the bracket outlet point and the unified bracket outlet point of each row + the cable length between the unified bracket outlet point of each row and the photovoltaic device) × 2 + string length.
8. The method for calculating the length of photovoltaic power station cables according to claim 7, characterized in that: Assuming that there are n straight-line connected strings and m C-shaped connected strings on one bracket, the total length of the cables between each string and the photovoltaic device is calculated using a third formula according to the length of the cables between each string and the photovoltaic device. The third formula includes: Among them, L 总 is the total length of the cable, L 一 is the cable length between any one of the straight-line strings and the photovoltaic device, L C The length of the cable between any C-type connected string and the photovoltaic device.
9. The method for calculating the cable length of a photovoltaic power station according to any one of claims 1 to 3, characterized in that: Before obtaining the bracket information and photovoltaic equipment position of each bracket in the photovoltaic power station, the method further includes: Obtaining the support position and support length, pile foundation spacing and pile foundation margin of each support in the photovoltaic power station; For any of the supports, the pile foundation points of the support are generated according to the pile foundation spacing, the pile foundation margin, the support position and the support length, and all the pile foundation points constitute the pile foundation point set.
10. A photovoltaic power station cable length calculation device, characterized in that: include: An acquisition module is used to acquire the bracket information and photovoltaic equipment position of each bracket in the photovoltaic power station, wherein the bracket information includes the component arrangement information and pile foundation point set on the bracket; An analysis module is used to determine the wiring mode of each string on the bracket according to the component arrangement information; the component arrangement information includes the number of components included in the corresponding bracket, and the wiring mode of each string on the bracket according to the component arrangement information includes: judging whether each bracket needs to be merged according to the number of components, and the bracket includes brackets that need to be merged and brackets that do not need to be merged; merging the brackets that need to be merged according to the judgment result to obtain the merged brackets; for any of the brackets that do not need to be merged or the merged brackets, determining the bracket according to the number of strings included in the bracket The wiring mode of each string above; the judging whether each bracket needs to be merged according to the number of components includes: for any bracket, judging whether the number of components included in the bracket is an integer multiple of the number of components required to form a string; if so, it means that the bracket is the bracket that does not need to be merged; if not, it means that the bracket is the bracket that needs to be merged; the merging processing of the brackets that need to be merged according to the judgment result includes: merging the brackets that need to be merged with adjacent brackets until the number of components included in the merged bracket is an integer multiple of the number of components required to form a string; A processing module, used to generate a unified outlet point of each row of the brackets according to the pile foundation point set and the photovoltaic device position, generate a string outlet point of each string according to the wiring mode, the unified outlet point and the photovoltaic device position, and generate a bracket wiring point of each bracket according to the photovoltaic device position, wherein the unified outlet point is a pile foundation point on a row of the brackets closest to the photovoltaic device, the string outlet point is the unified outlet point on the bracket where the string is located or the center point of the edge of the string on the string closest to the photovoltaic device, and the bracket wiring point is the center point of the edge of the bracket on the bracket closest to the photovoltaic device; For the brackets that need to be merged among the brackets, the brackets that need to be merged are merged with adjacent brackets, including: obtaining the first center point coordinates of the brackets that need to be merged and the second center point coordinates of the brackets adjacent to the brackets that need to be merged; judging whether the brackets that need to be merged and the adjacent brackets are in the same row according to the first center point coordinates and the second center point coordinates; if so, merging the brackets that need to be merged and the adjacent brackets horizontally; if not, merging the brackets that need to be merged and the adjacent brackets vertically; The calculation module is used to calculate the cable length between each of the strings and the photovoltaic device according to the wiring mode, the unified outlet point, the bracket outlet point and the string outlet point.
11. An electronic device, characterized in that: including memory and processor; The memory is used to store computer programs; The processor is used to implement the photovoltaic power station cable length calculation method according to any one of claims 1 to 9 when executing the computer program.
12. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method for calculating the cable length of a photovoltaic power station according to any one of claims 1 to 9 is implemented.
