Envelope generation method and apparatus, electronic device, and storage medium

By obtaining the array position information of the photovoltaic array, the connection relationship is determined to generate a global closed region, which solves the problem of low calculation efficiency of automatic division of photovoltaic arrays in the existing technology, and realizes accurate calculation and efficient generation of the envelope.

CN116305681BActive Publication Date: 2026-03-27HEFEI SUNGROW RENEWABLE ENERGY SCI & TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-21
Publication Date
2026-03-27

AI Technical Summary

Technical Problem

In existing technologies, the rolling sphere method and Delaunay triangulation method are computationally inefficient and complex when automatically partitioning photovoltaic arrays, and cannot adapt to complex array distributions, resulting in inaccurate envelope generation.

Method used

By obtaining the array position information of the photovoltaic array, the array connection relationship is determined, a global closed region is generated, and an envelope is generated based on this. A simple calculation method is used to adapt to different scenarios.

Benefits of technology

It achieves accurate calculation of the envelope, is highly adaptable, has high computational efficiency, requires no additional parameters, and simplifies the modeling process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116305681B_ABST
    Figure CN116305681B_ABST
Patent Text Reader

Abstract

The application discloses an envelope line generation method and device, electronic equipment and storage medium, and belongs to the field of photovoltaic power station design. The envelope line generation method comprises the following steps: acquiring array position information of a plurality of photovoltaic arrays of a photovoltaic square array; determining an array connection relationship of the plurality of photovoltaic arrays based on the array position information; connecting the plurality of photovoltaic arrays based on the array connection relationship to generate a global closed region of the photovoltaic square array; and generating an envelope line of the photovoltaic square array based on the global closed region. The method determines the array connection relationship between the photovoltaic arrays by using the array position information of the photovoltaic array arrangement in the photovoltaic square array, connects the photovoltaic arrays, obtains the global closed region corresponding to the photovoltaic square array, and determines the envelope line of the photovoltaic square array. The envelope line calculation is accurate and has strong adaptability, can adapt to any scene, does not need to additionally set other input parameters, and has simple modeling method and high calculation efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application belongs to the field of photovoltaic power station design, and particularly relates to an envelope line generation method and device, an electronic device and a storage medium. BACKGROUND

[0002] With the large-scale development of photovoltaics, the design of photovoltaic power stations is becoming increasingly sophisticated and automated, and computer-aided design is being used more and more in photovoltaic power station design. When dividing photovoltaic arrays by computer, the different photovoltaic arrays are automatically divided by generating clear dividing lines (i.e. envelope lines) to identify the photovoltaic array to which the photovoltaic array belongs.

[0003] At present, photovoltaic arrays are usually automatically divided by algorithms such as the rolling ball method and the Delaunay triangulation method. Such algorithms discretize the boundaries of the array, discretize them into points, then extract the boundary points to generate a closed polygon and obtain the envelope line.

[0004] The rolling ball method requires a high rolling ball radius. When the radius is small, some photovoltaic arrays are missed, and when the radius is large, photovoltaic arrays of other arrays are included. In practical applications, the distribution of arrays in photovoltaic arrays is complex, and it is not possible to adapt the radius, and the calculation efficiency is low. The Delaunay triangulation method is complex to model and has low calculation efficiency. SUMMARY

[0005] The present application aims to at least solve one of the technical problems existing in the prior art. To this end, the present application provides an envelope line generation method, device, electronic device and storage medium, which accurately generates the envelope line of the photovoltaic array and improves the calculation efficiency of the envelope line.

[0006] In a first aspect, the present application provides an envelope line generation method, which comprises:

[0007] obtaining array position information of a plurality of photovoltaic arrays of a photovoltaic array;

[0008] determining an array connection relationship of the plurality of photovoltaic arrays based on the array position information;

[0009] connecting the plurality of photovoltaic arrays based on the array connection relationship to generate a global closed region of the photovoltaic array;

[0010] generating an envelope line of the photovoltaic array based on the global closed region.

[0011] According to the envelope generation method, the array connection relationship between the photovoltaic arrays is determined through the array position information of the photovoltaic arrays in the photovoltaic array, the photovoltaic arrays are connected, the global closed region corresponding to the photovoltaic array is obtained, and the envelope of the photovoltaic array is determined. The envelope line calculation is accurate and has strong adaptability, and can adapt to any scene without the need of additional input parameters. The method has simple modeling and high calculation efficiency.

[0012] According to an embodiment of the present application, the array connection relationship of the multiple groups of photovoltaic arrays is determined based on the array position information, including:

[0013] The array adjacent relationship of each photovoltaic array in the multiple groups of photovoltaic arrays is determined based on the array position information;

[0014] The array connection relationship is determined based on the array adjacent relationship.

[0015] According to an embodiment of the present application, the array position information includes the coordinate information, length information and width information of each photovoltaic array in the multiple groups of photovoltaic arrays, and the array adjacent relationship of each photovoltaic array in the multiple groups of photovoltaic arrays is determined based on the array position information, including:

[0016] The multiple groups of photovoltaic arrays are divided into multiple rows of photovoltaic array rows distributed along a first direction based on the coordinate information and width information of each photovoltaic array in the multiple groups of photovoltaic arrays, and the first direction is the width direction of the photovoltaic array;

[0017] The array adjacent relationship of the photovoltaic arrays in the same row of photovoltaic arrays is determined based on the length information;

[0018] The array adjacent relationship of the photovoltaic arrays in adjacent rows of photovoltaic arrays is determined based on the coordinate information;

[0019] The adjacent rows of photovoltaic arrays are determined based on a target row spacing, and the target row spacing is determined based on the array position information.

[0020] According to an embodiment of the present application, the array connection relationship is determined based on the array adjacent relationship, including:

[0021] The multiple groups of photovoltaic arrays are classified based on the array adjacent relationship to obtain multiple photovoltaic array classes;

[0022] The class connection relationship between the multiple photovoltaic array classes is determined based on the first inter-class distance between the multiple photovoltaic array classes, and the first inter-class distance is the shortest distance between the photovoltaic arrays in two photovoltaic array classes;

[0023] determine, based on a second inter-class distance between the photovoltaic array classes with the class connection relationship, a neighboring array pair between the photovoltaic array classes with the class connection relationship, a distance of photovoltaic arrays in the neighboring array pair being less than a target distance range, the target distance range being determined based on the second inter-class distance;

[0024] determine the array connection relationship based on the neighboring array pair.

[0025] According to an embodiment of the present application, the connecting the multiple groups of photovoltaic arrays based on the array connection relationship to generate the global closed region of the photovoltaic square matrix comprises:

[0026] connecting the multiple groups of photovoltaic arrays based on the array connection relationship to obtain multiple array closed regions;

[0027] performing a union set processing on the multiple array closed regions to obtain the global closed region.

[0028] According to an embodiment of the present application, the connecting the multiple groups of photovoltaic arrays based on the array connection relationship to obtain multiple array closed regions comprises:

[0029] determining that two photovoltaic arrays with the array connection relationship have an intersection part in a second direction, drawing a perpendicular line at the intersection part to obtain a first closed region, the second direction being a length direction of the photovoltaic arrays;

[0030] performing a union set processing on the first closed region and a closed region corresponding to each of the two photovoltaic arrays with the array connection relationship to obtain the array closed region.

[0031] According to an embodiment of the present application, the connecting the multiple groups of photovoltaic arrays based on the array connection relationship to obtain multiple array closed regions comprises:

[0032] determining that two photovoltaic arrays with the array connection relationship have no intersection in a second direction, connecting adjacent edges of the two photovoltaic arrays with the array connection relationship to obtain a second closed region, the second direction being a length direction of the photovoltaic arrays;

[0033] performing a union set processing on the second closed region and a closed region corresponding to each of the two photovoltaic arrays with the array connection relationship to obtain the array closed region.

[0034] According to an embodiment of the present application, the generating the envelope line of the photovoltaic square matrix based on the global closed region comprises:

[0035] obtaining multiple groups of boundary lines of the global closed region, and determining a boundary line enclosing the largest area in the multiple groups of boundary lines as the envelope line of the photovoltaic square matrix.

[0036] In a second aspect, the present application provides an envelope line generation device, the device comprising:

[0037] An acquisition module configured to acquire array position information of a plurality of photovoltaic arrays of a photovoltaic array;

[0038] A first processing module configured to determine array connection relationships of the plurality of photovoltaic arrays based on the array position information;

[0039] A second processing module configured to connect the plurality of photovoltaic arrays based on the array connection relationships, and generate a global closed region of the photovoltaic array;

[0040] A third processing module configured to generate an envelope line of the photovoltaic array based on the global closed region.

[0041] According to the envelope line generation device of the present application, the array connection relationships between photovoltaic arrays are determined based on the array position information of the photovoltaic array arrangement in the photovoltaic array, the photovoltaic arrays are connected, the global closed region corresponding to the photovoltaic array is obtained, and the envelope line of the photovoltaic array is determined. The envelope line calculation is accurate and has strong adaptability, and can adapt to any scene without the need for additional setting of other input parameters. The method modeling is simple and has high calculation efficiency.

[0042] In a third aspect, the present application provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the envelope line generation method of the first aspect described above when executing the computer program.

[0043] In a fourth aspect, the present application provides a non-transitory computer readable storage medium having a computer program stored thereon, wherein the computer program is executable by a processor to implement the envelope line generation method of the first aspect described above.

[0044] In a fifth aspect, the present application provides a computer program product comprising a computer program, wherein the computer program is executable by a processor to implement the envelope line generation method of the first aspect described above.

[0045] Additional aspects and advantages of the present application will be in part apparent and in part pointed out hereinafter. BRIEF DESCRIPTION OF DRAWINGS

[0046] The above and / or additional aspects and advantages of the present application will become apparent and be readily appreciated from the following description, including the appended drawings, wherein:

[0047] Figure 1 is a flowchart of the envelope line generation method provided by the embodiments of the present application.

[0048] Figure 2 is a position diagram of a photovoltaic array provided by an embodiment of the present application;

[0049] Figure 3 is a distribution diagram of a photovoltaic array of a photovoltaic square provided by an embodiment of the present application;

[0050] Figure 4 is a diagram of array connection relationship of a photovoltaic square provided by an embodiment of the present application;

[0051] Figure 5 is one of generation flow diagrams of an array closed region provided by an embodiment of the present application;

[0052] Figure 6 is the second of generation flow diagrams of an array closed region provided by an embodiment of the present application;

[0053] Figure 7 is a diagram of a global closed region provided by an embodiment of the present application;

[0054] Figure 8 is a diagram of an envelope of a photovoltaic square provided by an embodiment of the present application;

[0055] Figure 9 is a distribution diagram of a photovoltaic square example provided by an embodiment of the present application;

[0056] Figure 10 is Figure 9 a diagram of an envelope of a photovoltaic square example;

[0057] Figure 11 is a structural diagram of an envelope generation device provided by an embodiment of the present application;

[0058] Figure 12 is a structural diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0059] The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are some of the embodiments of the present application, but not all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art belong to the scope of protection of the present application.

[0060] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0061] The envelope generation method, envelope generation device, electronic device, and readable storage medium provided in this application will be described in detail below with reference to the accompanying drawings and through specific embodiments and application scenarios.

[0062] The envelope generation method can be applied to a terminal, specifically executed by the hardware or software within the terminal.

[0063] The terminal includes, but is not limited to, portable communication devices such as mobile phones or tablets with touch-sensitive surfaces (e.g., touchscreen displays and / or touchpads). It should also be understood that, in some embodiments, the terminal may not be a portable communication device, but rather a desktop computer with touch-sensitive surfaces (e.g., touchscreen displays and / or touchpads).

[0064] The following embodiments describe a terminal including a display and a touch-sensitive surface. However, it should be understood that the terminal may include one or more other physical user interface devices such as a physical keyboard, mouse, and joystick.

[0065] The envelope generation method provided in this application embodiment can be executed by an electronic device or a functional module or entity in an electronic device that can implement the envelope generation method. The electronic devices mentioned in this application embodiment include, but are not limited to, mobile phones, tablets, computers, cameras, and wearable devices. The envelope generation method provided in this application embodiment is described below using an electronic device as the execution subject.

[0066] like Figure 1 As shown, the envelope generation method includes steps 110 to 140.

[0067] Step 110: Obtain the array position information of multiple photovoltaic arrays in the photovoltaic array.

[0068] Among them, array position information is used to characterize information such as the arrangement and size of the photovoltaic array.

[0069] In this embodiment, the array position information can include coordinate information, length information and width information of each photovoltaic array in the plurality of groups of photovoltaic arrays.

[0070] It can be understood that one photovoltaic array includes a plurality of groups of photovoltaic arrays, each group of photovoltaic arrays has corresponding position information and size information, and the array position information of the photovoltaic array is a collection of the position information and size information of each group of photovoltaic arrays.

[0071] In actual implementation, the photovoltaic array can be built according to the array position information, and the array position information of the plurality of groups of photovoltaic arrays of the photovoltaic array can be obtained according to the information related to the building of the photovoltaic array.

[0072] Step 120, determining the array connection relationship of the plurality of groups of photovoltaic arrays based on the array position information.

[0073] It should be noted that the array connection relationship refers to the relationship between the photovoltaic arrays whether to be connected in the process of generating the envelope line.

[0074] In this embodiment, the array connection relationship between two photovoltaic arrays, in the process of generating the envelope line, the two photovoltaic arrays need to be connected.

[0075] It can be understood that two photovoltaic arrays without the array connection relationship do not need to be connected in the process of generating the envelope line.

[0076] In this embodiment, the array connection relationship of the plurality of groups of photovoltaic arrays in the photovoltaic array is determined according to the photovoltaic array arrangement in the photovoltaic array represented by the array position information, and whether the photovoltaic array needs to be connected in the process of generating the envelope line is determined on the basis of the photovoltaic array arrangement, and the two photovoltaic arrays that need to be connected belong to the same photovoltaic array.

[0077] Step 130, connecting the plurality of groups of photovoltaic arrays based on the array connection relationship to generate a global closed area of the photovoltaic array.

[0078] In this embodiment, the global closed area of the photovoltaic array refers to a closed polygonal area obtained by connecting the plurality of groups of photovoltaic arrays of the photovoltaic array according to the array connection relationship.

[0079] In this step, the global closed area of the photovoltaic array can be obtained by connecting all the groups of photovoltaic arrays with the array connection relationship in the photovoltaic array, and the global closed area of the photovoltaic array covers all the photovoltaic arrays belonging to the photovoltaic array.

[0080] Step 140, generating an envelope line of the photovoltaic array based on the global closed area.

[0081] In this embodiment, the global closed region of the photovoltaic array covers all photovoltaic arrays belonging to the photovoltaic array, and according to the global closed region of the photovoltaic array, a clear boundary of the photovoltaic array, i.e., the envelope line of the photovoltaic array, can be obtained according to the global closed region.

[0082] According to the envelope line generation method provided in the embodiments of the present application, the array connection relationship between the photovoltaic arrays is determined through the array position information of the photovoltaic arrays in the photovoltaic array, the photovoltaic arrays are connected, the global closed region corresponding to the photovoltaic array is obtained, and the envelope line of the photovoltaic array is determined. The envelope line calculation is accurate and has strong adaptability, which can adapt to any scene without the need for additional setting of other input parameters. The method modeling is simple and has high calculation efficiency.

[0083] In some embodiments, step 120 can include determining, based on the array position information, array adjacent relationships of the photovoltaic arrays in the multiple groups of photovoltaic arrays.

[0084] Based on the array adjacent relationships, the array connection relationship is determined.

[0085] In this embodiment, according to the array position information representing the arrangement of the photovoltaic arrays, the array adjacent relationships between the photovoltaic arrays in the photovoltaic array can be determined, i.e., whether two photovoltaic arrays are adjacent is determined according to the arrangement of the photovoltaic arrays.

[0086] Based on the array position information, the array adjacent relationship of whether the photovoltaic arrays are adjacent is determined, and then the array connection relationship of whether the photovoltaic arrays are connected is obtained.

[0087] In some embodiments, the array position information includes coordinate information, length information and width information of the photovoltaic arrays in the multiple groups of photovoltaic arrays, and based on the array position information, the array adjacent relationships of the photovoltaic arrays in the multiple groups of photovoltaic arrays can include:

[0088] Based on the coordinate information and the width information of the photovoltaic arrays in the multiple groups of photovoltaic arrays, the multiple groups of photovoltaic arrays are divided into multiple rows of photovoltaic arrays distributed along a first direction, and the first direction is the width direction of the photovoltaic arrays.

[0089] Based on the length information, the array adjacent relationships of the photovoltaic arrays in the same row of photovoltaic arrays are determined.

[0090] Based on the coordinate information, the array adjacent relationships of the photovoltaic arrays in adjacent rows of photovoltaic arrays are determined.

[0091] The adjacent rows of photovoltaic arrays are determined based on a target row spacing, and the target row spacing is determined based on the array position information.

[0092] In actual execution, the first direction is the width direction of the photovoltaic arrays, and the first direction can be the Y direction of the coordinate information of the photovoltaic arrays.

[0093] Based on the coordinate and width information of each photovoltaic array, multiple photovoltaic arrays are divided into multiple rows. The photovoltaic array can be divided into rows according to the Y-coordinate of the center point of each photovoltaic array. The difference in the Y-coordinate of two photovoltaic arrays can be divided into a row if the width of one photovoltaic array is one row.

[0094] It is understandable that the length and width of the photovoltaic array in a photovoltaic array can be uniform, that is, different photovoltaic arrays have the same length or width.

[0095] If the distance between adjacent edges of two photovoltaic arrays in the same row is within the length of one photovoltaic array, it proves that the two photovoltaic arrays are adjacent and have an array adjacency relationship.

[0096] Based on the array position information, the target row spacing is calculated. For a photovoltaic array row, if the difference in the Y-direction coordinate between two photovoltaic array rows is within the range of the target row spacing, they can be defined as adjacent rows, i.e., adjacent photovoltaic array rows.

[0097] For example, based on the array position information, the mode d1 or the average d2 of the front and rear row spacing between photovoltaic arrays is calculated, and the target row spacing for dividing adjacent rows is determined to be 1.5d1 or 1.5d2.

[0098] For photovoltaic arrays in adjacent rows, if two photovoltaic arrays intersect in the X direction, it proves that the two photovoltaic arrays are adjacent and have an array adjacency relationship.

[0099] For example, such as Figure 2 As shown, the first photovoltaic array row includes: photovoltaic array A, photovoltaic array B, photovoltaic array C and photovoltaic array D; the second photovoltaic array row includes: photovoltaic array E, photovoltaic array F, photovoltaic array G and photovoltaic array H.

[0100] The first photovoltaic array row and the second photovoltaic array row are adjacent photovoltaic array rows.

[0101] For photovoltaic arrays A and E, the corresponding coordinate ranges Xa and Xe intersect in the X direction, and photovoltaic arrays A and E have an array adjacency relationship, that is, photovoltaic arrays A and E are adjacent.

[0102] Similarly, for photovoltaic array A and photovoltaic array F, the corresponding coordinate ranges Xa and Xf intersect in the X direction, and photovoltaic array A and photovoltaic array F have an array adjacency relationship.

[0103] In this embodiment, based on the array position information, the array adjacent relationship of each photovoltaic array is determined, and for a certain photovoltaic array, other photovoltaic arrays adjacent thereto can be determined.

[0104] In some embodiments, determining the array connection relationship based on the array adjacent relationship can include:

[0105] Classifying the multiple groups of photovoltaic arrays based on the array adjacent relationship to obtain multiple photovoltaic array classes;

[0106] Determining a class connection relationship between the multiple photovoltaic array classes based on a first inter-class distance between the multiple photovoltaic array classes, the first inter-class distance being a shortest distance between photovoltaic arrays in two photovoltaic array classes;

[0107] Determining an adjacent array pair between photovoltaic array classes having the class connection relationship based on a second inter-class distance between the photovoltaic array classes having the class connection relationship, a distance between photovoltaic arrays in the adjacent array pair being less than a target distance range, the target distance range being determined based on the second inter-class distance;

[0108] Determining the array connection relationship based on the adjacent array pair.

[0109] In this embodiment, the multiple photovoltaic arrays are classified based on the array adjacent relationship representing whether the photovoltaic arrays are adjacent, and the array connection relationship is obtained by performing strong connectivity processing on the photovoltaic array classes.

[0110] The adjacent photovoltaic arrays can be classified into one photovoltaic array class.

[0111] The first inter-class distance between two photovoltaic array classes is determined as a shortest distance between photovoltaic arrays in the two photovoltaic array classes, i.e., a distance between the two photovoltaic arrays closest to each other in the two photovoltaic array classes.

[0112] In this embodiment, the class connection relationship between the two photovoltaic array classes, i.e., the class connection relationship between the multiple photovoltaic array classes, can be determined based on the first inter-class distance by using a minimum spanning tree method.

[0113] The two photovoltaic array classes adjacent to each other have the class connection relationship, and the two photovoltaic array classes not adjacent to each other do not have the class connection relationship.

[0114] The second inter-class distance between the two photovoltaic array classes having the class connection relationship is obtained based on the class connection relationship, and an array pair having a distance within a target distance range is found out from the two photovoltaic array classes, which is defined as an adjacent array pair.

[0115] The adjacent array pair includes two photovoltaic arrays.

[0116] The value of the target distance range of the adjacent array pair can be determined according to the second inter-array distance, for example, the second inter-array distance is D, and the value of the target distance range dist can be D+1, that is, an additional 1 meter of margin value.

[0117] In this embodiment, after the photovoltaic arrays are classified according to the array adjacency relationship, the adjacent array pairs are determined according to the distance determination, and the two photovoltaic arrays of the adjacent array pair are the photovoltaic arrays that need to be connected. According to the adjacent array pair, the array connection relationship of whether the photovoltaic arrays are connected can be obtained.

[0118] For example, for the photovoltaic arrays in the photovoltaic square array as shown in FIG. 8A, the adjacent array pairs are determined based on the array adjacency relationship, and the array connection relationship is determined, as shown in FIG. 8B. Figure 3 For example, for the photovoltaic arrays in the photovoltaic square array as shown in FIG. 8A, the adjacent array pairs are determined based on the array adjacency relationship, and the array connection relationship is determined, as shown in FIG. 8B. Figure 4 For example, for the photovoltaic arrays in the photovoltaic square array as shown in FIG. 8A, the adjacent array pairs are determined based on the array adjacency relationship, and the array connection relationship is determined, as shown in FIG. 8B.

[0119] In some embodiments, step 130 can include connecting the multiple groups of photovoltaic arrays based on the array connection relationship to obtain multiple array closed regions, and performing a set union operation on the multiple array closed regions to obtain a global closed region.

[0120] In this embodiment, based on the array connection relationship, the multiple groups of photovoltaic arrays having the array connection relationship are connected to obtain multiple array closed regions, and a set union operation is performed on all the array closed regions to obtain a global closed region.

[0121] The adjacent array pair is the two photovoltaic arrays having the array connection relationship, all the adjacent array pairs in the multiple groups of photovoltaic arrays are traversed, and the array closed region of each adjacent array pair is generated.

[0122] For example, as shown in FIG. 8B, the two photovoltaic arrays of the adjacent array pair are connected, and the line in the figure represents that the two photovoltaic arrays are the adjacent array pair, as shown in FIG. 8C. Figure 4 For example, as shown in FIG. 8B, the two photovoltaic arrays of the adjacent array pair are connected, and the line in the figure represents that the two photovoltaic arrays are the adjacent array pair, as shown in FIG. 8C. Figure 7 For example, as shown in FIG. 8B, the two photovoltaic arrays of the adjacent array pair are connected, and the line in the figure represents that the two photovoltaic arrays are the adjacent array pair, as shown in FIG. 8C.

[0123] In actual execution, different operations need to be performed according to whether the adjacent array pair has an intersection in the second direction to generate the corresponding array closed region.

[0124] In actual execution, the second direction is the length direction of the photovoltaic array, and the second direction can be the X direction of the coordinate information of the photovoltaic array.

[0125] For each photovoltaic array, based on the central point coordinates, length information and width information in the array position information, the vertex coordinates of the four vertices of the photovoltaic array can be calculated, and whether the adjacent array pair has intersection in the second direction is determined according to whether the values of the X direction of the vertex coordinates of the two photovoltaic arrays have intersection.

[0126] In some embodiments, connecting multiple groups of photovoltaic arrays based on the array connection relationship to obtain multiple array closed regions can include:

[0127] Determining that the two photovoltaic arrays having the array connection relationship have intersection in the second direction, drawing a perpendicular line at the intersection part to obtain a first closed region, and the second direction is the length direction of the photovoltaic array.

[0128] Performing a union set processing on the first closed region and the closed region corresponding to each of the two photovoltaic arrays having the array connection relationship to obtain an array closed region.

[0129] The two photovoltaic arrays having the array connection relationship are an adjacent array pair.

[0130] As shown in Figure 5 , the vertices of the first photovoltaic array are P1, P2, P3 and P4, the vertices of the second photovoltaic array are P5, P6, P7 and P8, the first photovoltaic array and the second photovoltaic array have the array connection relationship, and have intersection in the X direction.

[0131] Drawing a perpendicular line at the intersection part of the two photovoltaic arrays in the X direction to obtain a first closed region P4-P9-P6-P10-P4.

[0132] The closed region corresponding to the first photovoltaic array is P1-P2-P3-P4-P1, the closed region corresponding to the second photovoltaic array is P5-P6-P7-P8-P5, and the union set processing is performed on the first closed region and the closed region corresponding to each of the two photovoltaic arrays to obtain an array closed region P1-P2-P3-P9-P6-P7-P8-P5-P10-P4-P1.

[0133] In some embodiments, connecting multiple groups of photovoltaic arrays based on the array connection relationship to obtain multiple array closed regions can include:

[0134] Determining that the two photovoltaic arrays having the array connection relationship have no intersection in the second direction, connecting adjacent edges of the two photovoltaic arrays having the array connection relationship to obtain a second closed region, and the second direction is the length direction of the photovoltaic array.

[0135] Performing a union set processing on the second closed region and the closed region corresponding to each of the two photovoltaic arrays having the array connection relationship to obtain an array closed region.

[0136] Among them, two photovoltaic arrays that are connected by an array are adjacent array pairs.

[0137] In this embodiment, connecting the adjacent sides of two photovoltaic arrays that have an array connection relationship can connect the vertices of the two adjacent sides of the adjacent array pair to form a second closed region.

[0138] In this configuration, the vertices of two adjacent sides of an adjacent array pair are connected. A line is drawn connecting the vertices at one end of the two adjacent sides, and another line is drawn connecting the vertices at the other end of the two adjacent sides. The two lines do not intersect, and the two lines, together with the two adjacent sides, enclose a second closed region. For example... Figure 6 As shown, the vertices of the first photovoltaic array are P1, P2, P3 and P4, and the vertices of the second photovoltaic array are P5, P6, P7 and P8. The first and second photovoltaic arrays are connected and intersect in the X direction.

[0139] Connect the adjacent vertices of the two photovoltaic arrays to obtain the second closed region P2-P5-P8-P3-P2.

[0140] The closed region corresponding to the first photovoltaic array is P1-P2-P3-P4-P1, and the closed region corresponding to the second photovoltaic array is P5-P6-P7-P8-P5. The second closed region and the closed regions corresponding to the two photovoltaic arrays are combined to obtain the array closed region P1-P2-P5-P6-P7-P8-P3-P4-P1.

[0141] In some embodiments, step 140 may include: obtaining multiple sets of boundary lines of the globally closed region, and determining the boundary line with the largest enclosing area among the multiple sets of boundary lines as the envelope of the photovoltaic array.

[0142] In this embodiment, by calculating the boundary of the globally closed region, multiple sets of boundary lines can be obtained. The boundary line that encloses the largest area among the multiple sets of boundary lines is the boundary line that can enclose all photovoltaic arrays belonging to the photovoltaic array, that is, the envelope line used to divide the photovoltaic array.

[0143] like Figure 8 As shown, the envelope of this photovoltaic array is the outermost thicker line, which can surround all the photovoltaic arrays belonging to this photovoltaic array.

[0144] The following is a specific example.

[0145] like Figure 9As shown, the position information of three photovoltaic arrays of a power station is acquired, the photovoltaic array in the 6# photovoltaic array is a circular block, and is located in the upper middle of the distribution diagram of the power station; the photovoltaic array in the 7# photovoltaic array is a triangular block, and is located on the left of the distribution diagram of the power station; and the photovoltaic array in the 8# photovoltaic array is a fork-shaped block, and is located on the right of the distribution diagram of the power station.

[0146] As shown in the formula (1), for each photovoltaic array, the envelope line generation method is used to obtain the envelope line corresponding to each photovoltaic array. Figure 10

[0147] The envelope line generation method provided in the embodiments of the present application can be executed by an envelope line generation device. In the embodiments of the present application, the envelope line generation device is taken as an example to illustrate the envelope line generation device provided in the embodiments of the present application.

[0148] The embodiments of the present application further provide an envelope line generation device.

[0149] As shown in the formula (1), for each photovoltaic array, the envelope line generation method is used to obtain the envelope line corresponding to each photovoltaic array. Figure 11 The envelope line generation device comprises:

[0150] The acquisition module 1110 is configured to acquire array position information of a plurality of groups of photovoltaic arrays of a photovoltaic array;

[0151] The first processing module 1120 is configured to determine an array connection relationship of the plurality of groups of photovoltaic arrays based on the array position information.

[0152] The second processing module 1130 is configured to connect the plurality of groups of photovoltaic arrays based on the array connection relationship to generate a global closed region of the photovoltaic array.

[0153] The third processing module 1140 is configured to generate an envelope line of the photovoltaic array based on the global closed region.

[0154] According to the envelope line generation device provided in the embodiments of the present application, the array connection relationship between the photovoltaic arrays is determined based on the array position information of the photovoltaic array arrangement in the photovoltaic array, the photovoltaic arrays are connected to obtain the global closed region corresponding to the photovoltaic array, and the envelope line of the photovoltaic array is determined. The envelope line calculation is accurate and has strong adaptability, can adapt to any scene, does not need to set other input parameters, the method modeling is simple, and the calculation efficiency is high.

[0155] In some embodiments, the first processing module 1120 is configured to determine an array adjacent relationship of each photovoltaic array in the plurality of groups of photovoltaic arrays based on the array position information.

[0156] The array connection relationship is determined based on the array adjacent relationship.

[0157] ​In some embodiments, the array position information includes the coordinate information, length information and width information of each photovoltaic array in the multiple photovoltaic arrays. The first processing module 1120 is used to divide the multiple photovoltaic arrays into multiple rows of photovoltaic arrays distributed along a first direction based on the coordinate information and width information of each photovoltaic array in the multiple photovoltaic arrays. The first direction is the width direction of the photovoltaic array.

[0158] Based on length information, determine the array adjacency relationship of photovoltaic arrays in the same photovoltaic array row;

[0159] Based on coordinate information, the array adjacency relationship of photovoltaic arrays in adjacent photovoltaic array rows is determined;

[0160] The adjacent photovoltaic array rows are determined based on the target row spacing, which in turn is determined based on the array position information.

[0161] In some embodiments, the first processing module 1120 is used to classify multiple groups of photovoltaic arrays based on array adjacency relationships to obtain multiple photovoltaic array classes;

[0162] Based on the first inter-class distance between each pair of multiple photovoltaic array classes, the class connection relationship between each pair of multiple photovoltaic array classes is determined. The first inter-class distance is the shortest distance between the photovoltaic arrays in two photovoltaic array classes.

[0163] Based on the second inter-class distance between photovoltaic array classes with class connection relationship, adjacent array pairs between photovoltaic array classes with class connection relationship are determined. The distance between photovoltaic arrays in adjacent array pairs is less than the target distance range, which is determined based on the second inter-class distance.

[0164] The array connection relationship is determined based on adjacent array pairs.

[0165] In some embodiments, the second processing module 1130 is used to connect multiple photovoltaic arrays based on array connection relationships to obtain multiple array closed regions;

[0166] The global closed region is obtained by performing a union operation on multiple array closed regions.

[0167] In some embodiments, the second processing module 1130 is used to determine that two photovoltaic arrays with an array connection relationship have an intersection in a second direction, draw a perpendicular line in the intersection to obtain a first closed region, and the second direction is the length direction of the photovoltaic array;

[0168] The array closed region is obtained by performing a union operation on the first closed region and the corresponding closed regions of the two photovoltaic arrays that have an array connection relationship.

[0169] In some embodiments, the second processing module 1130 is configured to determine that the two photovoltaic arrays having the array connection relationship do not intersect in a second direction, draw a line between adjacent vertices of the two photovoltaic arrays having the array connection relationship to obtain a second closed region, and the second direction is a length direction of the photovoltaic array.

[0170] The second closed region and the respective closed regions of the two photovoltaic arrays having the array connection relationship are subjected to set operation to obtain an array closed region.

[0171] In some embodiments, the third processing module 1140 is configured to obtain a plurality of groups of boundary lines of the global closed region, and determine a boundary line enclosing the largest area in the plurality of groups of boundary lines as the envelope line of the photovoltaic array.

[0172] The envelope line generation apparatus in the embodiments of the present application can be an electronic device or a component in an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices other than a terminal. For example, the electronic device can be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a mobile Internet device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), and the like. The electronic device can also be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine, or a self-service machine, and the like. The embodiments of the present application are not limited in this regard.

[0173] The envelope line generation apparatus in the embodiments of the present application can be a device having an operating system. The operating system can be an Android operating system, an IOS operating system, or other possible operating systems, and the embodiments of the present application are not limited in this regard.

[0174] The envelope line generation apparatus provided in the embodiments of the present application can implement the method embodiments Figures 1 to 10 The method embodiments implement various processes, and details are not repeated here to avoid repetition.

[0175] In some embodiments, as Figure 12As shown, the electronic device 1200 includes a processor 1201, a memory 1202, and a computer program stored in the memory 1202 and executable on the processor 1201. The computer program is executed by the processor 1201 to implement the processes of the envelope generation method embodiments described above, and achieve the same technical effects. To avoid repetition, details are not described herein.

[0176] It should be noted that the electronic device in the embodiments of the present application includes the mobile electronic device and the non-mobile electronic device described above.

[0177] The embodiments of the present application also provide a non-transitory computer readable storage medium having a computer program stored thereon. The computer program is executed by a processor to implement the processes of the envelope generation method embodiments described above, and achieve the same technical effects. To avoid repetition, details are not described herein.

[0178] The processor is the processor in the electronic device described in the embodiments above. The readable storage medium includes a computer readable storage medium, such as a computer readable only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0179] The embodiments of the present application also provide a computer program product including a computer program. The computer program is executed by a processor to implement the envelope generation method described above.

[0180] The processor is the processor in the electronic device described in the embodiments above. The readable storage medium includes a computer readable storage medium, such as a computer readable only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0181] The embodiments of the present application also provide a chip including a processor and a communication interface. The communication interface is coupled to the processor. The processor is configured to run a program or an instruction to implement the processes of the envelope generation method embodiments described above, and achieve the same technical effects. To avoid repetition, details are not described herein.

[0182] It should be understood that the chip mentioned in the embodiments of the present application can also be referred to as a system level chip, a system chip, a chip system, or a system on chip, etc.

[0183] It should be noted that, in the present document, the terms "comprises", "comprising", or any other variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can also include other elements not expressly listed or inherent to such process, method, article, or apparatus. An element proceeded by "comprises a", "comprising", or "comprises" does not, without more constraints, preclude the existence of additional identical elements in the process, method, article, or apparatus that comprises the element. Additionally, it should be noted that the terms "one embodiment", "some embodiments", "certain embodiments", "certain examples", or "some examples" as used in the present document are intended to refer to one or more embodiments or examples that do not necessarily have to cover all embodiments or examples of the present application. In other words, use of the above terms does not necessarily refer to the same embodiment or example. Furthermore, the described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments or examples.

[0184] From the above description of the embodiments, it is apparent that the above-described method of the embodiments can be realized by means of software and general-purpose hardware platforms, of course, but in many cases, the former is a better embodiment. Based on such an understanding, the technical solutions of the present application can be embodied in the form of a computer software product, which is stored in a storage medium (such as a ROM / RAM, a magnetic disk, or an optical disk) and includes a plurality of instructions for causing a terminal (which can be a mobile phone, a computer, a server, or a network device) to perform the methods described in the various embodiments of the present application.

[0185] The embodiments of the present application are described above in conjunction with the drawings, but the present application is not limited to the above-described specific embodiments, which are merely illustrative rather than restrictive, and a person of ordinary skill in the art can make many forms without departing from the scope of the present application and the scope protected by the claims.

[0186] In the description of the present specification, the description of the terms "one embodiment", "some embodiments", "certain embodiments", "an example", "a specific example", or "some examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In the present specification, the illustrative description of the above terms does not necessarily refer to the same embodiment or example. Furthermore, the described specific features, structures, materials, or characteristics can be combined in any suitable manner in any one or more embodiments or examples.

[0187] While the embodiments of the application have been shown and described, it is to be understood that the embodiments can be varied, modified, substituted and changed by those skilled in the art without departing from the principles and spirit of the application, the scope of which is defined by the claims and their equivalents.

Claims

1. An envelope generation method characterized by, The method comprises: obtaining array position information of a plurality of photovoltaic arrays of a photovoltaic array; determining an array connection relationship of the plurality of photovoltaic arrays based on the array position information; connecting the plurality of photovoltaic arrays based on the array connection relationship to generate a global closed region of the photovoltaic array; generating an envelope line of the photovoltaic array based on the global closed region; The method comprises: determining an array adjacent relationship of each photovoltaic array in the plurality of photovoltaic arrays based on the array position information; determining the array connection relationship based on the array adjacent relationship; The array position information comprises coordinate information, length information and width information of each photovoltaic array in the plurality of photovoltaic arrays, and the method comprises: dividing the plurality of photovoltaic arrays into a plurality of rows of photovoltaic arrays distributed along a first direction based on the coordinate information and the width information of each photovoltaic array in the plurality of photovoltaic arrays, the first direction being a width direction of the photovoltaic array; determining the array adjacent relationship of the photovoltaic arrays in the same row of photovoltaic arrays based on the length information; determining the array adjacent relationship of the photovoltaic arrays in adjacent rows of photovoltaic arrays based on the coordinate information; The adjacent rows of photovoltaic arrays are determined based on a target row spacing, and the target row spacing is determined based on the array position information; for the photovoltaic arrays in the same row of photovoltaic arrays, the edges of two adjacent photovoltaic arrays are within a range of a length of a photovoltaic array, and the two photovoltaic arrays are adjacent and have an array adjacent relationship; for the photovoltaic arrays in the adjacent rows of photovoltaic arrays, the two photovoltaic arrays have an intersection in the length direction, and the two photovoltaic arrays are adjacent and have an array adjacent relationship.

2. The envelope generation method of claim 1, wherein, The method comprises: classifying the plurality of photovoltaic arrays based on the array adjacent relationship to obtain a plurality of photovoltaic array classes; determining a class connection relationship between the plurality of photovoltaic array classes based on a first inter-class distance between the plurality of photovoltaic array classes, the first inter-class distance being a shortest distance between photovoltaic arrays in two photovoltaic array classes; determining adjacent array pairs between photovoltaic array classes having the class connection relationship based on a second inter-class distance between the photovoltaic array classes, the distance between photovoltaic arrays in the adjacent array pairs being less than a target distance range, the target distance range being determined based on the second inter-class distance; determining the array connection relationship based on the adjacent array pairs.

3. The envelope generation method according to claim 1 or 2, characterized by, The method comprises: connecting the plurality of photovoltaic arrays based on the array connection relationship to obtain a plurality of array closed regions; performing a union set processing on the plurality of array closed regions to obtain the global closed region.

4. The envelope generation method of claim 3, wherein, The method comprises: determining that two photovoltaic arrays with the array connection relationship have an intersection part in a second direction, the second direction being a length direction of the photovoltaic array, and obtaining a first closed area by drawing a perpendicular line at the intersection part; performing a union set processing on the first closed area and a closed area corresponding to each of the two photovoltaic arrays with the array connection relationship, to obtain the array closed area.

5. The envelope generation method of claim 3, wherein, The connecting the multiple groups of photovoltaic arrays based on the array connection relationship to obtain multiple array closed areas comprises: determining that two photovoltaic arrays with the array connection relationship have no intersection in a second direction, the second direction being a length direction of the photovoltaic array, and obtaining a second closed area by connecting adjacent edges of the two photovoltaic arrays with the array connection relationship; performing a union set processing on the second closed area and a closed area corresponding to each of the two photovoltaic arrays with the array connection relationship, to obtain the array closed area.

6. The envelope generation method of claim 1 or 2, wherein The generating the envelope line of the photovoltaic square matrix based on the global closed area comprises: obtaining multiple groups of boundary lines of the global closed area, and determining a boundary line with the largest area as the envelope line of the photovoltaic square matrix.

7. An envelope generation apparatus characterized by comprising: comprise: an obtaining module, configured to obtain array position information of multiple groups of photovoltaic arrays of a photovoltaic square matrix; a first processing module, configured to determine an array connection relationship of the multiple groups of photovoltaic arrays based on the array position information; a second processing module, configured to connect the multiple groups of photovoltaic arrays based on the array connection relationship, and generate a global closed area of the photovoltaic square matrix; a third processing module, configured to generate an envelope line of the photovoltaic square matrix based on the global closed area; the first processing module is configured to determine an array adjacent relationship of each photovoltaic array in the multiple groups of photovoltaic arrays based on the array position information; determine the array connection relationship based on the array adjacent relationship; the array position information comprises coordinate information, length information and width information of each photovoltaic array in the multiple groups of photovoltaic arrays, and the first processing module is configured to divide the multiple groups of photovoltaic arrays into multiple rows of photovoltaic array rows distributed along a first direction based on the coordinate information and the width information of each photovoltaic array in the multiple groups of photovoltaic arrays, the first direction being a width direction of the photovoltaic array; determine the array adjacent relationship of the photovoltaic arrays in a same photovoltaic array row based on the length information; determine the array adjacent relationship of the photovoltaic arrays in adjacent photovoltaic array rows based on the coordinate information; wherein the adjacent photovoltaic array rows are determined based on a target row spacing, the target row spacing being determined based on the array position information; for the photovoltaic arrays in the same photovoltaic array row, two photovoltaic arrays adjacent in edge distance are within a range of a length of one photovoltaic array, and the two photovoltaic arrays are adjacent and have the array adjacent relationship; for the photovoltaic arrays in the adjacent photovoltaic array rows, two photovoltaic arrays have an intersection in the length direction, and the two photovoltaic arrays are adjacent and have the array adjacent relationship.

8. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, The processor implements the envelope line generation method in any one of claims 1-6 when executing the program. 9.A non-transitory computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program, which is executed by a processor, implements the envelope generation method as claimed in any of claims 1 to 6.

10. A computer program product comprising a computer program, characterized in that, The computer program, which is executed by a processor, implements the envelope generation method as claimed in any of claims 1 to 6.