Photovoltaic panel and support arrangement method and device, equipment and storage medium
By obtaining photovoltaic panel parameters and site images, the target photovoltaic panels and layout framework are generated, and brackets are generated in the initial layout drawing, which solves the problem of low efficiency in drawing photovoltaic panel and bracket layout drawings in the existing technology and achieves a more efficient design. process.
Patent Information
- Application Number
- CN202410665301.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-27
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2044-05-27
AI Technical Summary
In the existing technology, the drawing efficiency of photovoltaic panel and bracket layout drawings is low, error-prone, and the workload is large, resulting in a long design cycle.
By obtaining the parameter information of the photovoltaic panels and images of the site to be arranged, the target photovoltaic panels and layout framework are generated based on this information, and the corresponding brackets are generated in the initial photovoltaic panel layout drawing using the preset bracket layout program to form the target photovoltaic panels and brackets. Layout drawing.
It reduces the probability of drawing errors, improves the efficiency of generating layout drawings of photovoltaic panels and brackets, and simplifies the design process.
Smart Images

Figure CN118690435A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer graphics technology, and in particular to a photovoltaic panel and bracket arrangement method, device, equipment and storage medium. Background Art
[0002] Under the dual carbon policy, solar energy is becoming more and more widely used as a renewable green and clean energy, and photovoltaic panel systems are being used more and more widely in mountains, fish ponds, factories and other scenarios.
[0003] In the prior art, the layout of photovoltaic panels and brackets requires technicians to use a mouse, keyboard, and drawing software to draw the design one stroke at a time. First, draw the photovoltaic panels, panel spacing, end brackets, middle brackets, end piles, and middle piles. The workload is very large, and the layout diagram requires a long design cycle, which makes it easy to make mistakes and has low efficiency. Summary of the invention
[0004] The present invention provides a photovoltaic panel and bracket arrangement method, device, equipment and storage medium to solve the problem of low efficiency in drawing the photovoltaic panel and bracket arrangement diagram in the prior art.
[0005] A first aspect of the present invention provides a method for arranging photovoltaic panels and brackets, comprising: obtaining parameter information of photovoltaic panels and an image of a site to be arranged; generating a target photovoltaic panel based on the parameter information; determining a target arrangement framework based on the parameter information and the image; arranging based on the parameter information, the target photovoltaic panel and the target arrangement framework to obtain an initial photovoltaic panel arrangement diagram; using a preset bracket arrangement program to generate corresponding brackets in the initial photovoltaic panel arrangement diagram to obtain a target photovoltaic panel and bracket arrangement diagram.
[0006] In a feasible implementation, generating a target photovoltaic panel based on the parameter information includes: converting the parameter information into a configuration file in a format that satisfies parsing by drawing software; running the drawing software to parse the configuration file to obtain drawing parameters of the photovoltaic panel; calling a preset photovoltaic panel drawing program to generate a target photovoltaic panel based on the drawing parameters.
[0007] In a feasible implementation, determining the target layout framework based on the parameter information and the image includes: extracting the outline of the site to be arranged in the image based on an edge detection algorithm to obtain the layout range of the target photovoltaic panels and brackets; adjusting the drawing layer in the drawing software to the range line layer; determining the layout positions of the target photovoltaic panels and brackets within the layout range in the range line layer to obtain the target layout framework.
[0008] In a feasible implementation, the target photovoltaic panel and bracket layout positions within the layout range are determined in the range line layer to obtain a target layout framework, including: mapping the layout range in the range line layer; calculating a first spacing between the front and rear rows of target photovoltaic panels according to the size and installation inclination in the parameter information; generating a straight line within the layout range based on a preset photovoltaic panel installation direction and the first spacing to obtain a target layout framework, wherein the straight line represents the layout positions of the target photovoltaic panels and brackets.
[0009] In a feasible implementation, an initial photovoltaic panel layout diagram is obtained by arranging the target photovoltaic panels and the target layout framework based on the parameter information, including: arranging the target photovoltaic panels on the target photovoltaic panels and bracket layout positions in the target layout framework based on the number of blocks, the second spacing and the third spacing in the parameter information to obtain the initial photovoltaic panel layout diagram, wherein the number of blocks represents the number of target photovoltaic panels constituting a standard photovoltaic string, the second spacing represents the distance between adjacent target photovoltaic panels, and the third spacing represents the distance between adjacent standard photovoltaic strings.
[0010] In a feasible embodiment, the preset bracket arrangement program is used to generate corresponding brackets in the initial photovoltaic panel arrangement diagram to obtain a target photovoltaic panel and bracket arrangement diagram, including: generating first parameters of the end brackets and second parameters of the middle brackets based on the size of the target photovoltaic panel and the third spacing; generating a target end bracket and a target middle bracket according to the first parameter and the second parameter; identifying the installation positions of the target end brackets and the target middle brackets in the initial photovoltaic panel arrangement diagram, and generating corresponding brackets at the installation positions to obtain a target photovoltaic panel and bracket arrangement diagram.
[0011] In a feasible implementation, the identification of the installation positions of the target end brackets and the target middle brackets in the initial photovoltaic panel layout diagram, and the generation of corresponding brackets at the installation positions to obtain a target photovoltaic panel and bracket layout diagram includes: identifying the target photovoltaic strings that are in the same straight line in the initial photovoltaic panel layout diagram; determining the end positions of the target photovoltaic strings where there are no adjacent ends as the first installation positions, and determining the positions between the adjacent ends in the target photovoltaic strings as the second installation positions; generating the target end brackets at the first installation positions, and generating the target middle brackets at the second installation positions to obtain a target photovoltaic panel and bracket layout diagram.
[0012] The second aspect of the present invention provides a photovoltaic panel and bracket arrangement device, including: an acquisition module, used to acquire parameter information of the photovoltaic panel and an image of the site to be arranged; a first generation module, used to generate a target photovoltaic panel based on the parameter information; a determination module, used to determine a target arrangement framework according to the parameter information and the image; an arrangement module, used to arrange based on the parameter information, the target photovoltaic panel and the target arrangement framework to obtain an initial photovoltaic panel arrangement diagram; a second generation module, used to generate corresponding brackets in the initial photovoltaic panel arrangement diagram using a preset bracket arrangement program to obtain a target photovoltaic panel and bracket arrangement diagram.
[0013] In a feasible implementation, the first generation module is specifically used to: convert the parameter information into a configuration file in a format that satisfies the parsing of the drawing software; run the drawing software to parse the configuration file to obtain the drawing parameters of the photovoltaic panel; call a preset photovoltaic panel drawing program to generate a target photovoltaic panel based on the drawing parameters.
[0014] In a feasible implementation, the determination module includes: an extraction unit, used to extract the outline of the site to be arranged in the image based on an edge detection algorithm, and obtain the arrangement range of the target photovoltaic panels and brackets; an adjustment unit, used to adjust the drawing layer in the drawing software to the range line layer; a determination unit, used to determine the arrangement positions of the target photovoltaic panels and brackets within the arrangement range in the range line layer, and obtain the target arrangement framework.
[0015] In a feasible implementation, the determination unit is specifically used to: map the layout range in the range line layer; calculate the first spacing between the front and rear rows of target photovoltaic panels according to the size and installation inclination in the parameter information; generate a straight line within the layout range based on a preset photovoltaic panel installation direction and the first spacing to obtain a target layout framework, wherein the straight line represents the layout position of the target photovoltaic panel and the bracket.
[0016] In a feasible implementation, the arrangement module is specifically used to: arrange the target photovoltaic panel on the target photovoltaic panel and bracket arrangement position in the target arrangement frame based on the number of blocks, the second spacing and the third spacing in the parameter information, and obtain an initial photovoltaic panel arrangement diagram, wherein the number of blocks represents the number of target photovoltaic panels constituting a standard photovoltaic string, the second spacing represents the distance between adjacent target photovoltaic panels, and the third spacing represents the distance between adjacent standard photovoltaic strings.
[0017] In a feasible embodiment, the second generation module includes: a first generation unit, used to generate a first parameter of an end bracket and a second parameter of a middle bracket based on the size of the target photovoltaic panel and the third spacing; a second generation unit, used to generate a target end bracket and a target middle bracket according to the first parameter and the second parameter; a processing unit, used to identify the installation positions of the target end bracket and the target middle bracket in the initial photovoltaic panel layout diagram, and generate corresponding brackets at the installation positions to obtain a photovoltaic panel and bracket layout diagram.
[0018] In a feasible embodiment, the processing unit is specifically used to: identify the target photovoltaic strings that are in the same straight line in the initial photovoltaic panel layout diagram; determine the end position of the target photovoltaic string where there are no adjacent ends as the first installation position, and determine the position between the adjacent ends in the target photovoltaic string as the second installation position; generate the target end bracket at the first installation position, and generate the target middle bracket at the second installation position, to obtain the target photovoltaic panel and bracket layout diagram.
[0019] The third aspect of the present invention provides a photovoltaic panel and bracket arrangement device, comprising: a memory and at least one processor, wherein the memory stores instructions; the at least one processor calls the instructions in the memory so that the photovoltaic panel and bracket arrangement device executes the above-mentioned photovoltaic panel and bracket arrangement method.
[0020] A fourth aspect of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the above-mentioned photovoltaic panel and support arrangement method.
[0021] In the technical solution provided by the present invention, the parameter information of the photovoltaic panel and the image of the site to be arranged are obtained; the target photovoltaic panel is generated based on the parameter information; the target arrangement framework is determined according to the parameter information and the image; the initial photovoltaic panel arrangement diagram is obtained by arranging based on the parameter information, the target photovoltaic panel and the target arrangement framework; the corresponding brackets are generated in the initial photovoltaic panel arrangement diagram by using a preset bracket arrangement program to obtain the target photovoltaic panel and bracket arrangement diagram. In an embodiment of the present invention, by obtaining the parameter information of the photovoltaic panel and the image of the site to be arranged; the target photovoltaic panel is generated based on the parameter information; the target arrangement framework is determined according to the parameter information and the image; the initial photovoltaic panel arrangement diagram is obtained by arranging based on the parameter information, the target photovoltaic panel and the target arrangement framework; the corresponding brackets are generated in the initial photovoltaic panel arrangement diagram by using a preset bracket arrangement program to obtain the target photovoltaic panel and bracket arrangement diagram, thereby reducing the probability of drawing errors and improving the efficiency of generating photovoltaic panel and bracket arrangement diagrams. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 A schematic diagram of an embodiment of a photovoltaic panel and bracket arrangement method in an embodiment of the present invention;
[0023] Figure 2 It is a schematic diagram of another embodiment of the photovoltaic panel and bracket arrangement method in an embodiment of the present invention;
[0024] Figure 3 A schematic diagram of a standard photovoltaic string in an embodiment of the present invention;
[0025] Figure 4 A schematic diagram of the target photovoltaic panel and bracket arrangement diagram in an embodiment of the present invention;
[0026] Figure 5 A schematic diagram of an embodiment of a photovoltaic panel and bracket arrangement device in an embodiment of the present invention;
[0027] Figure 6 It is a schematic diagram of another embodiment of the photovoltaic panel and bracket arrangement device in the embodiment of the present invention;
[0028] Figure 7 It is a schematic diagram of an embodiment of a photovoltaic panel and bracket arrangement device in an embodiment of the present invention. DETAILED DESCRIPTION
[0029] The embodiments of the present invention provide a photovoltaic panel and bracket arrangement method, device, equipment and storage medium, which improve the efficiency of generating a photovoltaic panel and bracket arrangement diagram.
[0030] The terms "first", "second", "third", "fourth", etc. (if any) 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 data used in this way can be interchanged where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0031] It is understandable that the execution subject of the present invention may be a photovoltaic panel and a bracket arrangement device, or may be a terminal or a server, which is not specifically limited here. The embodiment of the present invention is described by taking a server as an execution subject as an example.
[0032] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1, an embodiment of the photovoltaic panel and bracket arrangement method in the embodiment of the present invention includes:
[0033] 101. Obtain parameter information of photovoltaic panels and an image of the site to be arranged;
[0034] A parameter file of the photovoltaic panel is created in the C disk file. The parameter file contains the initial setting parameters of the photovoltaic panel. By modifying the initial setting parameters of the photovoltaic panel in the parameter file, the parameter information of the photovoltaic panel is obtained; the parameter information includes the number of blocks, size, spacing, installation direction, installation inclination, etc.
[0035] 102. Generate a target photovoltaic panel based on the parameter information;
[0036] The parameter information is encapsulated into a configuration file that can be parsed by the drawing software. When the target command is entered in the corresponding command dialog box, the configuration file is loaded into the drawing software based on the target command. Based on the configuration file, the photovoltaic panel is drawn by a preset photovoltaic panel drawing program to obtain the target photovoltaic panel. The target command can be a "zj" command, the drawing software can be AutoCAD, etc., the photovoltaic panel drawing program can be a zj.lsp file, etc. When the drawing software is AutoCAD, the code can be written in the AutoLISP language to achieve the expansion and customization of AutoCAD. With the assistance of the AutoLISP language, the efficiency of AutoCAD drawing can be improved.
[0037] 103. Determine a target layout framework according to the parameter information and the image;
[0038] The image is loaded into the drawing software, and the outline of the frame to be arranged is extracted from the image according to the edge detection algorithm to obtain the arrangement range of the target photovoltaic panel and the bracket, and the arrangement position of the target photovoltaic panel and the bracket is determined within the arrangement range based on the parameter information;
[0039] The installation direction of the target photovoltaic panel and the first spacing between the front and rear rows of target photovoltaic panels are extracted from the parameter information, and a corresponding straight line is generated within the arrangement range based on the installation direction and the first spacing to obtain the arrangement position of the target photovoltaic panel.
[0040] Determine the drawing angle of the straight line according to the installation direction of the photovoltaic panel, and determine the starting point of each straight line according to the first spacing, automatically or manually draw the corresponding straight line within the layout range based on the drawing angle and starting point of each straight line, and trim the corresponding straight line to ensure that each straight line does not exceed the layout range.
[0041] 104. Arrange the target photovoltaic panels based on the parameter information, the target photovoltaic panels and the target layout framework to obtain an initial photovoltaic panel layout diagram;
[0042] A standard photovoltaic string is determined based on the size, number of blocks and second spacing in the parameter information, a corresponding standard photovoltaic string is generated based on the arrangement position of the standard photovoltaic string and the third spacing in the target arrangement framework, and it is determined whether there is a target position where a target photovoltaic panel is not arranged at the arrangement position; if there is a target position where a target photovoltaic panel is not arranged, a corresponding target photovoltaic panel is generated at the target position based on the target photovoltaic panel and the second spacing, thereby obtaining an initial photovoltaic panel arrangement diagram, wherein the number of blocks represents the number of target photovoltaic panels constituting the standard photovoltaic string, the second spacing represents the distance between adjacent target photovoltaic panels, and the third spacing represents the distance between adjacent standard photovoltaic strings.
[0043] 105. Generate corresponding brackets in the initial photovoltaic panel layout diagram using a preset bracket layout program to obtain a target photovoltaic panel and bracket layout diagram.
[0044] Run the preset bracket layout program, select the type of end bracket and middle bracket based on the prompt of the command window, and automatically generate the corresponding bracket in the initial photovoltaic panel layout diagram according to the selected end bracket and middle bracket type to obtain the target photovoltaic panel and bracket layout diagram. The preset bracket layout program can be a bgf.lsp file, etc. In addition, photovoltaic panels and bracket layout diagrams of different materials can be generated according to preset material properties. For example, a flexible photovoltaic panel and bracket layout diagram can be generated based on elastic or flexible materials, or a traditional photovoltaic panel and bracket layout diagram can be generated based on metal materials.
[0045] In an embodiment of the present invention, by acquiring parameter information of photovoltaic panels and an image of a site to be arranged, a target photovoltaic panel is generated based on the parameter information, a target arrangement framework is determined according to the parameter information and the image, and an initial photovoltaic panel arrangement diagram is obtained by arrangement based on the parameter information, the target photovoltaic panel and the target arrangement framework. A preset bracket arrangement program is used to generate corresponding brackets in the initial photovoltaic panel arrangement diagram to obtain a target photovoltaic panel and bracket arrangement diagram, thereby reducing the probability of drawing errors and improving the efficiency of generating photovoltaic panel and bracket arrangement diagrams.
[0046] See also Figure 2 Another embodiment of the photovoltaic panel and bracket arrangement method in the embodiment of the present invention includes:
[0047] 201. Obtain parameter information of photovoltaic panels and an image of a site to be arranged;
[0048] The user can input the parameters of the photovoltaic panel in the corresponding file location to obtain the parameter information.
[0049] 202. Generate a target photovoltaic panel based on the parameter information;
[0050] The parameter information is converted into a configuration file in a format that satisfies the parsing of the drawing software; the drawing software is run to parse the configuration file to obtain the drawing parameters of the photovoltaic panel; a preset photovoltaic panel drawing program is called to generate a target photovoltaic panel based on the drawing parameters.
[0051] The format of the configuration file is selected according to the requirements of the drawing software, the parameter information is read based on the preset program, and the parameter information is converted into a configuration file of a specified format, the drawing software is run, and the drawing layer of the drawing software is adjusted to the photovoltaic panel layer, and the configuration file is loaded into the photovoltaic panel layer of the drawing software. The drawing software parses the configuration file, reads the parameter information required for drawing the photovoltaic panel from the configuration file, obtains the drawing parameters of the photovoltaic panel, and loads the drawing parameters into the preset photovoltaic panel drawing program, thereby generating a target photovoltaic panel and displaying it in the photovoltaic panel layer of the drawing software.
[0052] After parsing the configuration file, you can also check whether the parsing result is correct. Specifically, you can obtain the log file of the drawing software and find out whether there is error or abnormal information in the log file. If there is no error or abnormal information, it is determined that the parsing result is correct. If there is error or abnormal information, make corresponding adjustments based on the error or abnormal information.
[0053] 203. Extract the outline of the site to be arranged in the image based on the edge detection algorithm to obtain the arrangement range of the target photovoltaic panels and brackets;
[0054] The image is converted into a grayscale image, and the grayscale image is processed by the Canny edge detection algorithm to obtain an edge image. The edge image is binarized and divided into an edge part and a non-edge part. Based on the edge part, continuous edge points are found and connected to obtain the contour to be selected. The contour of the site to be arranged is determined from the contour to be selected, and the arrangement range of the target photovoltaic panels and brackets is obtained.
[0055] The division of the edge image into edge parts and non-edge parts can be represented by using different colors, such as setting the edge parts to white and the non-edge parts to black.
[0056] 204. Adjust the drawing layer in the drawing software to the range line layer;
[0057] Identify the drawing layer of the current interface of the drawing software, determine whether the current layer is a range line layer, if so, keep the current layer displayed, if not, obtain the label information of the layer panel, determine the range line layer based on the label information, and adjust the drawing layer in the drawing software to the range line layer.
[0058] 205. Based on the parameter information, determine the target photovoltaic panels and bracket layout positions within the layout range in the range line layer to obtain the target layout framework;
[0059] The layout range is mapped in the range line layer; the first spacing between the front and rear rows of target photovoltaic panels is calculated according to the size and installation inclination in the parameter information; a straight line is generated within the layout range based on the preset photovoltaic panel installation direction and the first spacing to obtain the target layout framework, and the straight line represents the layout position of the target photovoltaic panel and the bracket.
[0060] The width of the photovoltaic panel is determined based on the size, the first shadow length of the photovoltaic panel is calculated according to the preset solar altitude angle, the second shadow length is calculated based on the installation inclination angle and the first shadow length, the second shadow length is the shadow length of the photovoltaic panel with an inclination angle of the installation inclination angle, and the first spacing is determined based on the second shadow length and the preset adjustment parameters.
[0061] Define the width of the photovoltaic panel as A, the solar altitude angle as α, the installation inclination angle as β, the first shadow length as L1, the second shadow length as L2, the first spacing as d, and the adjustment parameter as l, then:
[0062] L2=L1×cosβ,d=L2+l
[0063] The installation direction of the photovoltaic panel can be set according to actual needs, such as horizontal installation, vertical installation, diagonal installation, etc.; based on the installation direction of the photovoltaic panel and the first spacing, the two endpoints of each straight line within the layout range are determined, and based on the endpoints corresponding to each straight line, corresponding straight lines are generated within the layout range to obtain the target layout framework.
[0064] 206. Arrange the target photovoltaic panels based on the parameter information, the target photovoltaic panels, and the target layout framework to obtain an initial photovoltaic panel layout diagram;
[0065] Based on the number of blocks, the second spacing and the third spacing in the parameter information, the target photovoltaic panels are arranged at the arrangement positions of the target photovoltaic panels and the brackets in the target arrangement frame to obtain an initial photovoltaic panel arrangement diagram, where the number of blocks represents the number of target photovoltaic panels constituting the standard photovoltaic strings, the second spacing represents the distance between adjacent target photovoltaic panels, and the third spacing represents the distance between adjacent standard photovoltaic strings; Figure 3 As shown, Figure 3 A schematic diagram of a standard photovoltaic string.
[0066] The length of the standard photovoltaic string is determined according to the number of blocks and the second spacing, the number of standard photovoltaic strings that can be arranged in each straight line in the target arrangement framework is determined based on the third spacing and the length of the standard photovoltaic string, the standard arrangement length of all standard photovoltaic strings required to be arranged in each straight line is determined based on the number of standard photovoltaic strings in each straight line, the standard photovoltaic strings are arranged from the end of the straight line, and the non-standard arrangement length of each straight line except the standard arrangement length is extracted, the non-standard photovoltaic strings corresponding to the non-standard arrangement length are determined based on the size of the photovoltaic panels and the photovoltaic panels, the corresponding standard photovoltaic strings and non-standard photovoltaic strings are generated based on the standard arrangement length and non-standard arrangement length of each straight line to obtain an initial photovoltaic panel layout diagram.
[0067] Among them, the number of photovoltaic panels in a standard photovoltaic string is a definite factor, which is determined by the number of blocks, and the number of photovoltaic panels in a non-standard photovoltaic string is an uncertain factor. For example, if the number of blocks in the parameter information is 10, then the number of photovoltaic panels contained in each standard photovoltaic string is 10, and the number of non-standard photovoltaic panels can be 1, 2, 3, etc., which is less than 10, mainly depending on the number of photovoltaic panels that can be arranged in the non-standard arrangement length of each straight line.
[0068] 207. Generate corresponding brackets in the initial photovoltaic panel layout diagram using a preset bracket layout program to obtain a target photovoltaic panel and bracket layout diagram.
[0069] Based on the size of the target photovoltaic panel and the third spacing, a first parameter of the end bracket and a second parameter of the middle bracket are generated; a target end bracket and a target middle bracket are generated according to the first parameter and the second parameter; the installation positions of the target end bracket and the target middle bracket in the initial photovoltaic panel layout diagram are identified, and corresponding brackets are generated at the installation positions to obtain a target photovoltaic panel and bracket layout diagram; Figure 4 As shown, Figure 4 A schematic diagram of the target photovoltaic panel and bracket layout.
[0070] The installation positions of the target end brackets and the target middle brackets in the initial photovoltaic panel layout diagram are identified, and corresponding brackets are generated at the installation positions to obtain a target photovoltaic panel and bracket layout diagram, including: identifying target photovoltaic strings that are in the same straight line in the initial photovoltaic panel layout diagram; determining the end positions of the target photovoltaic strings where there are no adjacent ends as the first installation positions, and determining the positions between the adjacent ends in the target photovoltaic strings as the second installation positions; generating a target end bracket at the first installation position, and generating a target middle bracket at the second installation position to obtain a target photovoltaic panel and bracket layout diagram.
[0071] In the process of generating the target end bracket and the target middle bracket, the drawing layer of the drawing software can be adjusted to the end bracket layer, the initial photovoltaic panel layout diagram can be mapped to the end bracket layer, and the first installation position in the initial photovoltaic panel layout diagram can be identified, and the target end bracket can be generated at the first installation position. Then the drawing layer can be adjusted to the middle bracket layer, the initial photovoltaic panel layout diagram of the generated target end bracket can be mapped to the middle bracket layer, and the second installation position in the initial photovoltaic panel layout diagram of the generated target end bracket can be identified, and the target middle bracket can be generated at the second installation position to obtain the target photovoltaic panel and bracket layout diagram.
[0072] In an embodiment of the present invention, by acquiring parameter information of photovoltaic panels and an image of a site to be arranged, a target photovoltaic panel is generated based on the parameter information, and the outline of the site to be arranged in the image is extracted based on an edge detection algorithm to obtain the arrangement range of the target photovoltaic panel and the bracket, and the drawing layer in the drawing software is adjusted to the range line layer, and the arrangement positions of the target photovoltaic panels and the brackets within the arrangement range are determined in the range line layer based on the parameter information to obtain a target arrangement framework, and the arrangement is performed based on the parameter information, the target photovoltaic panels and the target arrangement framework to obtain an initial photovoltaic panel arrangement diagram, and a preset bracket arrangement program is used to generate corresponding brackets in the initial photovoltaic panel arrangement diagram to obtain a target photovoltaic panel and bracket arrangement diagram, thereby reducing the probability of drawing errors and improving the efficiency of generating photovoltaic panel and bracket arrangement diagrams.
[0073] The photovoltaic panel and bracket arrangement method in the embodiment of the present invention are described above. The photovoltaic panel and bracket arrangement device in the embodiment of the present invention are described below. Figure 5 In one embodiment of the present invention, a photovoltaic panel and bracket arrangement device includes:
[0074] An acquisition module 501 is used to acquire parameter information of photovoltaic panels and an image of a site to be arranged;
[0075] A first generating module 502, used to generate a target photovoltaic panel based on parameter information;
[0076] A determination module 503 is used to determine a target arrangement framework according to the parameter information and the image;
[0077] Arrangement module 504, used to arrange based on parameter information, target photovoltaic panels and target arrangement framework to obtain an initial photovoltaic panel arrangement diagram;
[0078] The second generation module 505 is used to generate corresponding brackets in the initial photovoltaic panel layout diagram using a preset bracket layout program to obtain a target photovoltaic panel and bracket layout diagram.
[0079] In an embodiment of the present invention, by acquiring parameter information of photovoltaic panels and an image of a site to be arranged, a target photovoltaic panel is generated based on the parameter information, a target arrangement framework is determined according to the parameter information and the image, and an initial photovoltaic panel arrangement diagram is obtained by arrangement based on the parameter information, the target photovoltaic panel and the target arrangement framework. A preset bracket arrangement program is used to generate corresponding brackets in the initial photovoltaic panel arrangement diagram to obtain a target photovoltaic panel and bracket arrangement diagram, thereby reducing the probability of drawing errors and improving the efficiency of generating photovoltaic panel and bracket arrangement diagrams.
[0080] See also Figure 6 Another embodiment of the photovoltaic panel and bracket arrangement device in the embodiment of the present invention includes:
[0081] An acquisition module 501 is used to acquire parameter information of photovoltaic panels and an image of a site to be arranged;
[0082] A first generating module 502, used to generate a target photovoltaic panel based on parameter information;
[0083] A determination module 503 is used to determine a target arrangement framework according to the parameter information and the image;
[0084] Arrangement module 504, used to arrange based on parameter information, target photovoltaic panels and target arrangement framework to obtain an initial photovoltaic panel arrangement diagram;
[0085] The second generation module 505 is used to generate corresponding brackets in the initial photovoltaic panel layout diagram using a preset bracket layout program to obtain a target photovoltaic panel and bracket layout diagram.
[0086] Optionally, the first generation module 502 can be specifically used to: convert parameter information into a configuration file in a format that meets the parsing format of the drawing software; run the drawing software to parse the configuration file to obtain the drawing parameters of the photovoltaic panel; call a preset photovoltaic panel drawing program to generate a target photovoltaic panel based on the drawing parameters.
[0087] Optionally, the determining module 503 includes:
[0088] The extraction unit 5031 is used to extract the outline of the site to be arranged in the image based on the edge detection algorithm to obtain the arrangement range of the target photovoltaic panels and brackets;
[0089] An adjustment unit 5032, used to adjust the drawing layer in the drawing software to the range line layer;
[0090] The determination unit 5033 is used to determine the target photovoltaic panel and bracket layout positions within the layout range in the range line layer based on the parameter information to obtain the target layout framework.
[0091] Optionally, the determining unit 5033 may be specifically configured to:
[0092] The layout range is mapped in the range line layer; the first spacing between the front and rear rows of target photovoltaic panels is calculated according to the size and installation inclination in the parameter information; a straight line is generated within the layout range based on the preset photovoltaic panel installation direction and the first spacing to obtain the target layout framework, and the straight line represents the layout position of the target photovoltaic panel and the bracket.
[0093] Optionally, the arrangement module 504 may be specifically used for:
[0094] Based on the number of blocks, the second spacing and the third spacing in the parameter information, the target photovoltaic panels are arranged at the target photovoltaic panels and bracket arrangement positions in the target arrangement framework to obtain an initial photovoltaic panel arrangement diagram. The number of blocks represents the number of target photovoltaic panels that make up the standard photovoltaic strings, the second spacing represents the distance between adjacent target photovoltaic panels, and the third spacing represents the distance between adjacent standard photovoltaic strings.
[0095] Optionally, the second generating module 505 includes:
[0096] The first generating unit 5051 is used to generate a first parameter of the end bracket and a second parameter of the middle bracket based on the size of the target photovoltaic panel and the third spacing;
[0097] The second generating unit 5052 is used to generate a target end bracket and a target middle bracket according to the first parameter and the second parameter;
[0098] The processing unit 5053 is used to identify the installation positions of the target end brackets and the target middle brackets in the initial photovoltaic panel layout diagram, and generate corresponding brackets at the installation positions to obtain the target photovoltaic panel and bracket layout diagram.
[0099] Optionally, the processing unit 5053 may be specifically configured to:
[0100] Identify the target photovoltaic strings that are in the same straight line in the initial photovoltaic panel layout diagram; determine the end position of the target photovoltaic string where there are no adjacent ends as the first installation position, and determine the position between the adjacent ends in the target photovoltaic string as the second installation position; generate a target end bracket at the first installation position, and generate a target middle bracket at the second installation position, and obtain a target photovoltaic panel and bracket layout diagram.
[0101] In an embodiment of the present invention, by acquiring parameter information of photovoltaic panels and an image of a site to be arranged, a target photovoltaic panel is generated based on the parameter information, and the outline of the site to be arranged in the image is extracted based on an edge detection algorithm to obtain the arrangement range of the target photovoltaic panel and the bracket, and the drawing layer in the drawing software is adjusted to the range line layer, and the arrangement positions of the target photovoltaic panels and the brackets within the arrangement range are determined in the range line layer based on the parameter information to obtain a target arrangement framework, and the arrangement is performed based on the parameter information, the target photovoltaic panels and the target arrangement framework to obtain an initial photovoltaic panel arrangement diagram, and a preset bracket arrangement program is used to generate corresponding brackets in the initial photovoltaic panel arrangement diagram to obtain a target photovoltaic panel and bracket arrangement diagram, thereby reducing the probability of drawing errors and improving the efficiency of generating photovoltaic panel and bracket arrangement diagrams.
[0102] above Figure 5 and Figure 6 The photovoltaic panel and bracket arrangement device in the embodiment of the present invention is described in detail from the perspective of modular functional entities, and the photovoltaic panel and bracket arrangement device in the embodiment of the present invention is described in detail from the perspective of hardware processing.
[0103] See also Figure 7 As shown, the photovoltaic panel and bracket arrangement device includes a processor 700 and a memory 701. The memory 701 stores machine executable instructions that can be executed by the processor 700. The processor 700 executes the machine executable instructions to implement the above photovoltaic panel and bracket arrangement method.
[0104] Further, Figure 7 The photovoltaic panel and support arrangement device shown also includes a bus 702 and a communication interface 703 , and the processor 700 , the communication interface 703 and the memory 701 are connected via the bus 702 .
[0105] The memory 701 may include a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), for example, at least one disk storage. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 703 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used. The bus 702 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0106] The processor 700 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 700. The above processor 700 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware. The methods, steps and logic block diagrams disclosed in the embodiments of the present disclosure can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in conjunction with the embodiments of the present disclosure can be directly embodied as a hardware decoding processor to be executed, or can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 701 , and the processor 700 reads the information in the memory 701 and completes the method steps of the above-mentioned embodiment in combination with its hardware.
[0107] The present invention also provides a photovoltaic panel and bracket arrangement device, wherein the computer device includes a memory and a processor, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the processor executes the steps of the photovoltaic panel and bracket arrangement method in the above-mentioned embodiments.
[0108] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the photovoltaic panel and bracket arrangement method.
[0109] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0110] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.
[0111] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A photovoltaic panel and bracket arrangement method, characterized in that: The photovoltaic panel and bracket arrangement method comprises: Obtain parameter information of photovoltaic panels and images of the site to be deployed; generating a target photovoltaic panel based on the parameter information; Determine a target arrangement framework according to the parameter information and the image; Arrange based on the parameter information, the target photovoltaic panel and the target layout framework to obtain an initial photovoltaic panel layout diagram; A preset bracket arrangement program is used to generate corresponding brackets in the initial photovoltaic panel arrangement diagram to obtain a target photovoltaic panel and bracket arrangement diagram.
2. The photovoltaic panel and bracket arrangement method according to claim 1, characterized in that: The generating a target photovoltaic panel based on the parameter information comprises: Convert the parameter information into a configuration file in a format that satisfies the parsing of the drawing software; Running the drawing software to parse the configuration file to obtain drawing parameters of the photovoltaic panel; A preset photovoltaic panel drawing program is called to generate a target photovoltaic panel based on the drawing parameters.
3. The photovoltaic panel and bracket arrangement method according to claim 1, characterized in that: The step of determining a target arrangement framework according to the parameter information and the image includes: Extracting the outline of the site to be arranged in the image based on an edge detection algorithm to obtain the arrangement range of the target photovoltaic panels and brackets; Adjust the drawing layer in the drawing software to the range line layer; Based on the parameter information, the target photovoltaic panels and bracket layout positions within the layout range are determined in the range line layer to obtain a target layout framework.
4. The photovoltaic panel and bracket arrangement method according to claim 3, characterized in that: Determining the target photovoltaic panel and bracket layout positions within the layout range in the range line layer to obtain the target layout framework includes: Mapping the layout range in the range line layer; Calculate a first spacing between the front and rear rows of target photovoltaic panels according to the size and installation inclination in the parameter information; A straight line is generated within the arrangement range based on the preset photovoltaic panel installation direction and the first spacing to obtain a target arrangement framework, wherein the straight line represents the arrangement position of the target photovoltaic panel and the bracket.
5. The photovoltaic panel and bracket arrangement method according to claim 3, characterized in that: Arrangement is performed based on the parameter information, the target photovoltaic panel and the target arrangement framework to obtain an initial photovoltaic panel arrangement diagram, including: Based on the number of blocks, the second spacing and the third spacing in the parameter information, the target photovoltaic panel is arranged at the target photovoltaic panel and bracket arrangement position in the target arrangement framework to obtain an initial photovoltaic panel arrangement diagram, wherein the number of blocks represents the number of target photovoltaic panels constituting a standard photovoltaic string, the second spacing represents the distance between adjacent target photovoltaic panels, and the third spacing represents the distance between adjacent standard photovoltaic strings.
6. The photovoltaic panel and bracket arrangement method according to claim 5, characterized in that: The method of using a preset bracket arrangement program to generate corresponding brackets in the initial photovoltaic panel arrangement diagram to obtain a target photovoltaic panel and bracket arrangement diagram includes: Based on the size of the target photovoltaic panel and the third spacing, generating a first parameter of the end bracket and a second parameter of the middle bracket; Generate a target end bracket and a target middle bracket according to the first parameter and the second parameter; The installation positions of the target end brackets and the target middle brackets in the initial photovoltaic panel layout diagram are identified, and corresponding brackets are generated at the installation positions to obtain a target photovoltaic panel and bracket layout diagram.
7. The photovoltaic panel and bracket arrangement method according to claim 6, characterized in that: The step of identifying the installation positions of the target end bracket and the target middle bracket in the initial photovoltaic panel layout diagram, and generating corresponding brackets at the installation positions to obtain the target photovoltaic panel and bracket layout diagram includes: Identify target photovoltaic strings that are in the same straight line in the initial photovoltaic panel layout diagram; Determine an end position of the target photovoltaic string where no adjacent end exists as a first installation position, and determine a position between adjacent ends of the target photovoltaic string as a second installation position; The target end bracket is generated at the first installation position, and the target middle bracket is generated at the second installation position, so as to obtain a target photovoltaic panel and bracket layout diagram.
8. A photovoltaic panel and bracket arrangement device, characterized in that: The photovoltaic panel and bracket arrangement device comprises: An acquisition module, used to acquire parameter information of photovoltaic panels and an image of the site to be arranged; A first generating module, used for generating a target photovoltaic panel based on the parameter information; A determination module, used for determining a target arrangement framework according to the parameter information and the image; An arrangement module, configured to arrange the target photovoltaic panels based on the parameter information, the target photovoltaic panels and the target arrangement framework to obtain an initial photovoltaic panel arrangement diagram; The second generation module is used to generate corresponding brackets in the initial photovoltaic panel layout diagram using a preset bracket layout program to obtain a target photovoltaic panel and bracket layout diagram.
9. A photovoltaic panel and bracket arrangement device, characterized in that: The photovoltaic panel and bracket arrangement device comprises: a memory and at least one processor, wherein the memory stores instructions; The at least one processor calls the instructions in the memory so that the photovoltaic panel and support arrangement device executes the photovoltaic panel and support arrangement method as described in any one of claims 1-7.
10. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions are executed by the processor, the photovoltaic panel and bracket arrangement method as described in any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Arrangement processing method, device and system of photovoltaic module array, and electronic equipment
CN112926183A
Component arrangement method and device of photovoltaic power station, electronic equipment and storage medium
CN116432943A
Photovoltaic module arrangement method and device and photovoltaic system
CN116702388A
