Photovoltaic panel and support arrangement method, device, equipment and storage medium
By acquiring the photovoltaic panel parameters and site images, the photovoltaic panels and layout frames are generated, and the photovoltaic panels and support are automatically arranged using the bracket layout program, the problem of low efficiency in drawing of photovoltaic panel layout diagrams in the prior art is solved, and more efficient and accurate layout diagram generation is achieved.
Patent Information
- Application Number
- CN202410665301.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-27
- Publication Date
- 2025-06-20
- Estimated Expiration
- 2044-05-27
AI Technical Summary
In the prior art, photovoltaic panels and bracket layout drawings are inefficient, error-prone, and require a long design cycle.
By obtaining the parameter information of the photovoltaic panel and the image of the site to be arranged, the target photovoltaic panel and the target layout frame are generated, and the corresponding brackets are generated in the initial photovoltaic panel layout diagram using the preset bracket layout program to obtain the target photovoltaic panel and the bracket layout diagram.
It reduces the probability of drawing errors, improves the efficiency of generating photovoltaic panels and bracket layout diagrams, and shortens the design cycle.
Smart Images

Figure CN118690435B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of computer graphics, and particularly to a method, device, equipment and storage medium for arranging photovoltaic panels and brackets. Background Art
[0002] Under the dual-carbon policy, solar energy, as a renewable green clean energy, is increasingly widely used, and photovoltaic panel systems are increasingly widely applied in scenarios such as mountains, fish ponds, factories, etc.
[0003] In the prior art, for the arrangement of photovoltaic panels and brackets, technicians need to draw and design stroke by stroke through mouse, keyboard, and drawing software commands. First, draw photovoltaic panels, panel spacing, end brackets, middle brackets, end piles, and middle piles. The workload is very large, and the design cycle of the scheme layout drawing is long, resulting in easy errors and low efficiency. Summary of the Invention
[0004] The present invention provides a method, device, equipment and storage medium for arranging photovoltaic panels and brackets to solve the problem of low drawing efficiency of photovoltaic panel and bracket layout drawings in the prior art.
[0005] In a first aspect of the present invention, a method for arranging photovoltaic panels and brackets is provided, including: obtaining parameter information of photovoltaic panels and an image of a site to be arranged; generating target photovoltaic panels based on the parameter information; determining a target layout framework according to the parameter information and the image; arranging based on the parameter information, the target photovoltaic panels and the target layout framework to obtain an initial photovoltaic panel layout drawing; and generating corresponding brackets in the initial photovoltaic panel layout drawing by using a preset bracket arrangement program to obtain a target photovoltaic panel and bracket layout drawing.
[0006] In a feasible implementation manner, the generating target photovoltaic panels based on the parameter information includes: converting the parameter information into a configuration file in a format that can be parsed by a drawing software; running the drawing software to parse the configuration file to obtain drawing parameters of the photovoltaic panels; and calling a preset photovoltaic panel drawing program to generate target photovoltaic panels based on the drawing parameters.
[0007] In a feasible implementation manner, the determining a target layout framework according to the parameter information and the image includes: extracting the contour 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; adjusting the drawing layer in the drawing software to the range line layer; and determining the layout positions of the target photovoltaic panels and brackets within the arrangement range in the range line layer to obtain a target layout framework.
[0008] In a feasible implementation manner, determining the arrangement positions of target photovoltaic panels and brackets within the arrangement range in the range line layer to obtain a target arrangement framework includes: mapping the arrangement range in the range line layer; calculating a first spacing between front and rear rows of target photovoltaic panels according to the dimensions and installation inclination angles in the parameter information; generating a straight line within the arrangement range based on the preset installation direction of the photovoltaic panels and the first spacing to obtain a target arrangement framework, where the straight line represents the arrangement positions of the target photovoltaic panels and brackets.
[0009] In a feasible implementation manner, arranging based on the parameter information, the target photovoltaic panels, and the target arrangement framework to obtain an initial photovoltaic panel layout diagram includes: arranging the target photovoltaic panels at the arrangement positions of the target photovoltaic panels and brackets in the target arrangement framework based on the number of blocks, the second spacing, and the third spacing in the parameter information to obtain an initial photovoltaic panel layout diagram, where 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 implementation manner, generating corresponding brackets in the initial photovoltaic panel layout diagram by using a preset bracket arrangement program to obtain a target photovoltaic panel and bracket layout diagram includes: generating a first parameter of an end bracket and a second parameter of a middle bracket based on the dimensions of the target photovoltaic panels 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 bracket and the target middle bracket in the initial photovoltaic panel layout diagram, and generating corresponding brackets at the installation positions to obtain a target photovoltaic panel and bracket layout diagram.
[0011] In a feasible implementation manner, 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 a target photovoltaic panel and bracket layout diagram includes: identifying target photovoltaic strings that are in the same straight line in the initial photovoltaic panel layout diagram; determining the end positions without adjacent ends in the target photovoltaic strings as the first installation positions, and determining the positions between adjacent ends in the target photovoltaic strings as the second installation positions; generating the target end bracket at the first installation position and generating the target middle bracket at the second installation position to obtain a target photovoltaic panel and bracket layout diagram.
[0012] The second aspect of the present invention provides a photovoltaic panel and support arrangement device, including: an acquisition module for acquiring parameter information of the photovoltaic panel and an image of the site to be arranged; a first generation module for generating a target photovoltaic panel based on the parameter information; a determination module for determining a target arrangement framework according to the parameter information and the image; an arrangement module for arranging 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 for generating corresponding supports in the initial photovoltaic panel arrangement diagram using a preset support arrangement program to obtain a target photovoltaic panel and support arrangement diagram.
[0013] In a feasible implementation manner, the first generation module is specifically configured to: convert the parameter information into a configuration file in a format that can be parsed by a drawing software; run the drawing software to parse the configuration file to obtain 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 manner, the determination module includes: an extraction unit for extracting the contour of the site to be arranged in the image based on an edge detection algorithm to obtain the arrangement range of the target photovoltaic panel and the support; an adjustment unit for adjusting the drawing layer in the drawing software to the range line layer; a determination unit for determining the arrangement positions of the target photovoltaic panel and the support within the arrangement range in the range line layer to obtain a target arrangement framework.
[0015] In a feasible implementation manner, the determination unit is specifically configured to: map the arrangement range in the range line layer; calculate a first distance between the front and rear row target photovoltaic panels according to the size and installation inclination angle in the parameter information; generate a straight line within the arrangement range based on the preset installation direction of the photovoltaic panel and the first distance to obtain a target arrangement framework, and the straight line represents the arrangement positions of the target photovoltaic panel and the support.
[0016] In a feasible implementation manner, the arrangement module is specifically configured to: arrange the target photovoltaic panels at the arrangement positions of the target photovoltaic panel and the support in the target arrangement framework based on the number of blocks, a second distance, and a third distance in the parameter information to obtain an initial photovoltaic panel arrangement diagram, where the number of blocks represents the number of target photovoltaic panels constituting a standard photovoltaic string, the second distance represents the distance between adjacent target photovoltaic panels, and the third distance represents the distance between adjacent standard photovoltaic strings.
[0017] In a feasible implementation manner, the second generation module includes: a first generation unit, configured 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, configured to generate a target end bracket and a target middle bracket according to the first parameter and the second parameter; and a processing unit, configured to identify 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 implementation manner, the processing unit is specifically configured to: identify target photovoltaic strings that are on the same straight line in the initial photovoltaic panel layout diagram; determine an end position without adjacent ends in the target photovoltaic string as a first installation position, and determine a position between adjacent ends in the target photovoltaic string as a 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 a target photovoltaic panel and bracket layout diagram.
[0019] A third aspect of the present invention provides a photovoltaic panel and bracket layout device, including: a memory and at least one processor, where instructions are stored in the memory; the at least one processor calls the instructions in the memory to enable the photovoltaic panel and bracket layout device to execute the above-mentioned photovoltaic panel and bracket layout method.
[0020] A fourth aspect of the present invention provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions run on a computer, the computer is enabled to execute the above-mentioned photovoltaic panel and bracket layout method.
[0021] In the technical solution provided by the present invention, parameter information of a photovoltaic panel and an image of a site to be arranged are obtained; a target photovoltaic panel is generated based on the parameter information; a target layout frame is determined according to the parameter information and the image; arrangement is performed based on the parameter information, the target photovoltaic panel, and the target layout frame to obtain an initial photovoltaic panel layout diagram; and a corresponding bracket is generated in the initial photovoltaic panel layout diagram by using a preset bracket layout program to obtain a target photovoltaic panel and bracket layout 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; generating the target photovoltaic panel based on the parameter information; determining the target layout frame according to the parameter information and the image; performing arrangement based on the parameter information, the target photovoltaic panel, and the target layout frame to obtain the initial photovoltaic panel layout diagram; and generating the corresponding bracket in the initial photovoltaic panel layout diagram by using the preset bracket layout program to obtain the target photovoltaic panel and bracket layout diagram, the probability of drawing errors is reduced, and the efficiency of generating the photovoltaic panel and bracket layout diagram is improved. Description of the Drawings
[0022] Figure 1 Schematic diagram of an embodiment of the photovoltaic panel and support arrangement method in an embodiment of the present invention;
[0023] Figure 2 Schematic diagram of another embodiment of the photovoltaic panel and support arrangement method in an embodiment of the present invention;
[0024] Figure 3 Schematic diagram of a standard photovoltaic string in an embodiment of the present invention;
[0025] Figure 4 Schematic diagram of a target photovoltaic panel and support layout in an embodiment of the present invention;
[0026] Figure 5 Schematic diagram of an embodiment of the photovoltaic panel and support arrangement device in an embodiment of the present invention;
[0027] Figure 6 Schematic diagram of another embodiment of the photovoltaic panel and support arrangement device in an embodiment of the present invention;
[0028] Figure 7 Schematic diagram of an embodiment of the photovoltaic panel and support arrangement equipment in an embodiment of the present invention. Detailed implementation manners
[0029] The embodiments of the present invention provide a photovoltaic panel and support arrangement method, device, equipment and storage medium, which improve the efficiency of generating the photovoltaic panel and support layout.
[0030] It should be understood that the terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above drawings are used to distinguish similar objects, and do not have to be used to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "comprising" or "having" and any deformation thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or equipment comprising a series of steps or units does not have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or equipment.
[0031] It can be understood that the execution subject of the present invention can be a photovoltaic panel and support arrangement device, or a terminal or a server, and is not specifically limited herein. The embodiments of the present invention are described by taking the server as the execution subject as an example.
[0032] For ease of understanding, the specific process of the embodiments of the present invention is described below. Please refer to Figure 1, an embodiment of the photovoltaic panel and support arrangement method in the embodiments of the present invention includes:
[0033] 101. Obtain the parameter information of the photovoltaic panel and the image of the site to be arranged;
[0034] Establish a parameter file of the photovoltaic panel 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] Encapsulate the parameter information into a configuration file that can be parsed by the drawing software. When a target command is input in the corresponding command dialog box, based on the target command, load the configuration file into the drawing software. Based on the configuration file, draw the photovoltaic panel through a preset photovoltaic panel drawing program to obtain the target photovoltaic panel. The target command can be the "zj" command, the drawing software can be AutoCAD, etc., and the photovoltaic panel drawing program can be the zj.lsp file, etc. When the drawing software is AutoCAD, code can be written through the AutoLISP language to achieve the extension and customization of AutoCAD. With the assistance of the AutoLISP language, the efficiency of AutoCAD drawing can be improved.
[0037] 103. Determine the target arrangement framework according to the parameter information and the image;
[0038] Load the image into the drawing software, extract the contour of the arrangement framework to be arranged from the image according to the edge detection algorithm to obtain the arrangement range of the target photovoltaic panel and the support, and determine the arrangement position of the target photovoltaic panel and the support within the arrangement range based on the parameter information.
[0039] Extract the installation direction of the target photovoltaic panel and the first spacing between the front and rear rows of target photovoltaic panels from the parameter information, and generate corresponding straight lines 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 lines within the arrangement range based on the drawing angle and starting point of each straight line, and trim the corresponding straight lines to ensure that each straight line does not exceed the arrangement range.
[0041] 104. Arrange based on the parameter information, the target photovoltaic panel and the target arrangement framework to obtain the initial photovoltaic panel arrangement diagram;
[0042] Determine a standard photovoltaic string based on the dimensions, number of blocks, and second spacing in the parameter information, generate a corresponding standard photovoltaic string based on the standard photovoltaic string and the layout position in the target layout frame, determine whether there is a target position where the target photovoltaic panel is not arranged, and if there is a target position where the target photovoltaic panel is not arranged, generate a corresponding target photovoltaic panel at the target position based on the target photovoltaic panel and the second spacing, so as to obtain an initial photovoltaic panel layout diagram, where the number of blocks represents the number of target photovoltaic panels that make up 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. Use a preset bracket layout program to generate corresponding brackets in the initial photovoltaic panel layout diagram to obtain a target photovoltaic panel and bracket layout diagram.
[0044] Run a preset bracket layout program, based on the prompts in the command window, select the types of end brackets and middle brackets, and automatically generate corresponding brackets in the initial photovoltaic panel layout diagram according to the selected types of end brackets and middle brackets to obtain a target photovoltaic panel and bracket layout diagram. The preset bracket layout program can be a bgf.lsp file, etc. In addition, different material photovoltaic panels and bracket layout diagrams can also be generated according to the 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 the embodiment of the present invention, by obtaining the parameter information of the photovoltaic panel and the image of the site to be arranged, generating a target photovoltaic panel based on the parameter information, determining a target layout frame according to the parameter information and the image, arranging based on the parameter information, the target photovoltaic panel and the target layout frame to obtain an initial photovoltaic panel layout diagram, and using a preset bracket layout program to generate corresponding brackets in the initial photovoltaic panel layout diagram to obtain a target photovoltaic panel and bracket layout diagram, the probability of drawing errors is reduced, and the efficiency of generating the photovoltaic panel and bracket layout diagram is improved.
[0046] Please refer to Figure 2 , another embodiment of the photovoltaic panel and bracket layout method in the embodiment of the present invention includes:
[0047] 201. Obtain the parameter information of the photovoltaic panel and the image of the site to be arranged;
[0048] The parameter information can be obtained by the user inputting the parameters of the photovoltaic panel at the corresponding file location.
[0049] 202. Generate a target photovoltaic panel based on the parameter information;
[0050] Convert the parameter information into a configuration file in a format that can be parsed by the drawing software; run the drawing software to parse the configuration file to obtain the drawing parameters of the photovoltaic panel; call the preset photovoltaic panel drawing program to generate the target photovoltaic panel based on the drawing parameters.
[0051] Select the format of the configuration file according to the requirements of the drawing software, read the parameter information based on the preset program, convert the parameter information into a configuration file in the specified format, run the drawing software, adjust the drawing layer of the drawing software to the photovoltaic panel layer, load the configuration file 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 to obtain the drawing parameters of the photovoltaic panel, and loads the drawing parameters into the preset photovoltaic panel drawing program, thereby generating the target photovoltaic panel and displaying it in the photovoltaic panel layer of the drawing software.
[0052] After parsing the configuration file, it is also possible to check whether the parsing result is correct. Specifically, the log file of the drawing software can be obtained, and whether there is error or exception information is searched in the log file. If there is no error or exception information, it is determined that the parsing result is correct. If there is error or exception information, corresponding adjustments are made based on the error or exception information.
[0053] 203. Extract the contour of the site to be arranged in the image based on the edge detection algorithm to obtain the layout range of the target photovoltaic panel and the bracket;
[0054] Convert the image into a grayscale image, process the grayscale image through the Canny edge detection algorithm to obtain an edge image, perform binary processing on the edge image, divide the edge image into an edge part and a non-edge part, find continuous edge points based on the edge part, and connect the continuous edge points to obtain the contour to be selected, determine the contour of the site to be arranged from the contour to be selected, and obtain the layout range of the target photovoltaic panel and the bracket.
[0055] The edge image can be divided into an edge part and a non-edge part by using different colors. For example, the edge part is set to white and the non-edge part is set 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 the range line layer. If so, keep the display of the current layer. 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 layout positions of the target photovoltaic panels and brackets within the layout range in the range line layer to obtain the target layout framework;
[0059] 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 dimensions and installation inclination angles in the parameter information; generate a straight line within the layout range based on the preset installation direction of the photovoltaic panels and the first spacing to obtain the target layout framework, where the straight line represents the layout positions of the target photovoltaic panels and brackets.
[0060] Determine the width of the photovoltaic panel based on the dimensions, calculate the first shadow length of the photovoltaic panel according to the preset solar altitude angle, calculate the second shadow length based on the installation inclination angle and the first shadow length, where the second shadow length is the shadow length of the photovoltaic panel with an inclination angle of the installation inclination angle, and determine the first spacing based on the second shadow length and the preset adjustment parameter.
[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.; determine the two endpoints of each straight line within the layout range based on the installation direction of the photovoltaic panel and the first spacing, and generate the corresponding straight line within the layout range based on the endpoints corresponding to each straight line to obtain the target layout framework.
[0064] 206. Arrange based on the parameter information, the target photovoltaic panels, and the target layout framework to obtain the initial photovoltaic panel layout diagram;
[0065] Based on the number of blocks, the second spacing, and the third spacing in the parameter information, arrange the target photovoltaic panels at the layout positions of the target photovoltaic panels and brackets in the target layout framework to obtain the initial photovoltaic panel layout diagram, where the number of blocks represents the number of target photovoltaic panels that make up 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; as Figure 3 shown, Figure 3 is a schematic diagram of a standard photovoltaic string.
[0066] Determine the length of the standard PV string according to the number of blocks and the second spacing. Based on the third spacing and the length of the standard PV string, determine the number of standard PV strings that can be arranged in each straight line in the target layout frame. Based on the number of standard PV strings in each straight line, determine the standard layout length of all the standard PV strings to be arranged in each straight line. The arrangement method of the standard PV strings is to start from the end of the straight line, and extract the non-standard layout length in each straight line except the standard layout length. Based on the PV panels and the size of the PV panels, determine the non-standard PV strings corresponding to the non-standard layout length. Based on the standard layout length and the non-standard layout length of each straight line, generate the corresponding standard PV strings and non-standard PV strings, and obtain the initial PV panel layout diagram.
[0067] Among them, the number of PV panels in the standard PV string is a determining factor, which is determined by the number of blocks. The number of PV panels in the non-standard PV string is an uncertain factor. For example, if the number of blocks in the parameter information is 10, then the number of PV panels in each standard PV string is 10, and the number of non-standard PV panels can be a number less than 10, such as 1, 2, 3, etc., mainly depending on the number of PV panel blocks that can be arranged in the non-standard layout length of each straight line.
[0068] 207. Use a preset bracket layout program to generate corresponding brackets in the initial PV panel layout diagram to obtain the target PV panel and bracket layout diagram.
[0069] Based on the size of the target PV panel and the third spacing, generate the first parameter of the end bracket and the second parameter of the middle bracket; generate the target end bracket and the target middle bracket according to the first parameter and the second parameter; identify the installation positions of the target end bracket and the target middle bracket in the initial PV panel layout diagram, and generate corresponding brackets at the installation positions to obtain the target PV panel and bracket layout diagram; as Figure 4 shown, Figure 4 is a schematic diagram of a target PV panel and bracket layout diagram.
[0070] Identify the installation positions of the target end bracket and the target middle bracket in the initial PV panel layout diagram, and generate corresponding brackets at the installation positions to obtain the target PV panel and bracket layout diagram, including: identifying the target PV strings in the same straight line in the initial PV panel layout diagram; determining the end positions without adjacent ends in the target PV strings as the first installation positions, and determining the positions between adjacent ends in the target PV 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 the target PV 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 is mapped to the end bracket layer, and the first installation position in the initial photovoltaic panel layout diagram is identified. The target end bracket is generated at the first installation position. Then, the drawing layer is adjusted to the middle bracket layer, the initial photovoltaic panel layout diagram with the generated target end bracket is mapped to the middle bracket layer, and the second installation position in the initial photovoltaic panel layout diagram with the generated target end bracket is identified. The target middle bracket is generated at the second installation position to obtain the target photovoltaic panel and bracket layout diagram.
[0072] In the embodiment of the present invention, by obtaining the parameter information of the photovoltaic panel and the image of the site to be arranged, generating the target photovoltaic panel based on the parameter information, extracting the contour of the site to be arranged in the image based on the edge detection algorithm to obtain the layout range of the target photovoltaic panel and the bracket, adjusting the drawing layer in the drawing software to the range line layer, determining the layout positions of the target photovoltaic panel and the bracket within the layout range in the range line layer based on the parameter information to obtain the target layout framework, arranging based on the parameter information, the target photovoltaic panel and the target layout framework to obtain the initial photovoltaic panel layout diagram, and generating the corresponding bracket in the initial photovoltaic panel layout diagram by using the preset bracket layout program to obtain the target photovoltaic panel and bracket layout diagram, the probability of drawing errors is reduced, and the efficiency of generating the photovoltaic panel and bracket layout diagram is improved.
[0073] The method for arranging the photovoltaic panel and the bracket in the embodiment of the present invention is described above. Next, the device for arranging the photovoltaic panel and the bracket in the embodiment of the present invention will be described. Please refer to Figure 5 , an embodiment of the device for arranging the photovoltaic panel and the bracket in the embodiment of the present invention includes:
[0074] An acquisition module 501, configured to acquire the parameter information of the photovoltaic panel and the image of the site to be arranged;
[0075] A first generation module 502, configured to generate a target photovoltaic panel based on the parameter information;
[0076] A determination module 503, configured to determine a target layout framework according to the parameter information and the image;
[0077] An arrangement module 504, configured to arrange based on the parameter information, the target photovoltaic panel and the target layout framework to obtain an initial photovoltaic panel layout diagram;
[0078] A second generation module 505, configured to generate a corresponding bracket in the initial photovoltaic panel layout diagram by 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 obtaining parameter information of a photovoltaic panel and an image of a site to be arranged, a target photovoltaic panel is generated based on the parameter information, a target layout frame is determined according to the parameter information and the image, and an initial photovoltaic panel layout diagram is obtained through arrangement based on the parameter information, the target photovoltaic panel and the target layout frame. A corresponding support is generated in the initial photovoltaic panel layout diagram by using a preset support layout program, and a target photovoltaic panel and support layout diagram is obtained, reducing the probability of drawing errors and improving the efficiency of generating the photovoltaic panel and support layout diagram.
[0080] Please refer to Figure 6 , another embodiment of the photovoltaic panel and support layout device in the embodiment of the present invention includes:
[0081] An acquisition module 501, configured to acquire parameter information of a photovoltaic panel and an image of a site to be arranged;
[0082] A first generation module 502, configured to generate a target photovoltaic panel based on the parameter information;
[0083] A determination module 503, configured to determine a target layout frame according to the parameter information and the image;
[0084] An arrangement module 504, configured to perform arrangement based on the parameter information, the target photovoltaic panel and the target layout frame to obtain an initial photovoltaic panel layout diagram;
[0085] A second generation module 505, configured to generate a corresponding support in the initial photovoltaic panel layout diagram by using a preset support layout program to obtain a target photovoltaic panel and support layout diagram.
[0086] Optionally, the first generation module 502 may specifically be configured to: convert the parameter information into a configuration file in a format that can be parsed by a drawing software; run the drawing software to parse the configuration file to obtain 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 determination module 503 includes:
[0088] An extraction unit 5031, configured to extract the contour of the site to be arranged in the image based on an edge detection algorithm to obtain the layout range of the target photovoltaic panel and the support;
[0089] An adjustment unit 5032, configured to adjust the drawing layer in the drawing software to the range line layer;
[0090] A determination unit 5033, configured to determine the layout positions of the target photovoltaic panel and the support within the layout range in the range line layer based on the parameter information to obtain a target layout frame.
[0091] Optionally, the determination unit 5033 may specifically be configured to:
[0092] Map the layout range in the range line layer; calculate the first spacing between the front and rear target photovoltaic panels according to the dimensions and installation inclination angles in the parameter information; generate a straight line within the layout range based on the preset installation direction of the photovoltaic panels and the first spacing to obtain the target layout framework, where the straight line represents the layout positions of the target photovoltaic panels and brackets.
[0093] Optionally, the arrangement module 504 may be specifically configured to:
[0094] Based on the number of blocks, the second spacing, and the third spacing in the parameter information, arrange the target photovoltaic panels at the layout positions of the target photovoltaic panels and brackets in the target layout framework to obtain the initial photovoltaic panel layout diagram, where the number of blocks represents the number of target photovoltaic panels that make up 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.
[0095] Optionally, the second generation module 505 includes:
[0096] The first generation unit 5051 is configured to generate the first parameters of the end brackets and the second parameters of the middle brackets based on the dimensions of the target photovoltaic panels and the third spacing;
[0097] The second generation unit 5052 is configured to generate the target end brackets and the target middle brackets according to the first parameters and the second parameters;
[0098] The processing unit 5053 is configured 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 positions without adjacent ends in the target photovoltaic strings as the first installation positions, and determine the positions between adjacent ends in the target photovoltaic strings as the second installation positions; generate the target end brackets at the first installation positions and generate the target middle brackets at the second installation positions to obtain the target photovoltaic panel and bracket layout diagram.
[0101] In an embodiment of the present invention, by obtaining parameter information of a photovoltaic panel and an image of a site to be arranged, a target photovoltaic panel is generated based on the parameter information, the contour 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, the drawing layer in the drawing software is adjusted to the range line layer, based on the parameter information, the arrangement positions of the target photovoltaic panel and the bracket within the arrangement range are determined in the range line layer to obtain a target arrangement framework, and based on the parameter information, the target photovoltaic panel and the target arrangement framework are arranged to obtain an initial photovoltaic panel arrangement diagram. A corresponding bracket is generated in the initial photovoltaic panel arrangement diagram by using a preset bracket arrangement program to obtain a target photovoltaic panel and bracket arrangement diagram, reducing the probability of drawing errors and improving the efficiency of generating the photovoltaic panel and bracket arrangement diagram.
[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. Below, 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 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, and the processor 700 executes the machine-executable instructions to implement the above-mentioned photovoltaic panel and bracket arrangement method.
[0104] Furthermore, Figure 7 The shown photovoltaic panel and bracket arrangement device further includes a bus 702 and a communication interface 703. The processor 700, the communication interface 703, and the memory 701 are connected through the bus 702.
[0105] Among them, the memory 701 may include a high-speed random access memory (Random Access Memory, RAM), and may also include a non-volatile memory, for example, at least one disk memory. Through at least one communication interface 703 (which can be wired or wireless), a communication connection between the system network element and at least one other network element is realized, and the Internet, wide area network, local area network, metropolitan area network, etc. can be used. The bus 702 can be an ISA bus, a PCI bus, an EISA bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For the sake of representation, Figure 7 only a bidirectional arrow is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0106] The processor 700 may be an integrated circuit chip with the ability to process signals. In the implementation process, each step of the above method can be completed by the integrated logic circuit in the hardware of the processor 700 or the instructions in the form of software. The above-mentioned processor 700 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may 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 gate or transistor logic devices, discrete hardware. It can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present disclosure. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in combination with the embodiments of the present disclosure can be directly embodied as being executed and completed by the hardware decoding processor, or executed and completed by a combination of the hardware and software modules in the decoding processor. The software module may be located in a mature storage medium in the art 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. This storage medium is located in the memory 701, and the processor 700 reads the information in the memory 701 and combines its hardware to complete the method steps of the foregoing embodiments.
[0107] The present invention also provides a photovoltaic panel and bracket arrangement device. The computer device includes a memory and a processor. When the computer-readable instructions stored in the memory are executed by the processor, the processor is caused to execute the steps of the photovoltaic panel and bracket arrangement method in the above-mentioned various embodiments.
[0108] The present invention also provides a computer-readable storage medium. The computer-readable storage medium may be a non-volatile computer-readable storage medium, and the computer-readable storage medium may also be a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are run on a computer, the computer is caused to execute 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 foregoing method embodiments and will not be elaborated herein.
[0110] When 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 such an understanding, the technical solution of the present invention, in essence, 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 and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The foregoing storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs.
[0111] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments or perform equivalent replacements for some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the various 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, and calculate a first spacing between front and rear rows of target photovoltaic panels according to the size and installation inclination in the parameter information; Arrange based on the parameter information, the target photovoltaic panel and the target arrangement framework to obtain an initial photovoltaic panel arrangement diagram, wherein the parameter information includes a second spacing and a third spacing, the second spacing represents the distance between adjacent target photovoltaic panels, and the third spacing represents the distance between adjacent standard photovoltaic strings; 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; 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: generating 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; 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 bracket and the target middle bracket 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.
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; 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 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, wherein the number of blocks represents the number of target photovoltaic panels constituting a standard photovoltaic string.
6. The photovoltaic panel and bracket arrangement method according to claim 1, 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.
7. 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 images 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, configured to determine a target arrangement framework according to the parameter information and the image, and calculate a first spacing between front and rear rows of target photovoltaic panels according to the size and installation inclination in the parameter information; an arrangement module, configured to arrange based on the parameter information, the target photovoltaic panel and the target arrangement framework to obtain an initial photovoltaic panel arrangement diagram, wherein the parameter information includes a second spacing and a third spacing, wherein the second spacing represents the distance between adjacent target photovoltaic panels, and the third spacing represents the distance between adjacent standard photovoltaic strings; A 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; The second generation module is specifically used to: generate the first parameter of the end bracket and the second parameter of the middle bracket based on the size of the target photovoltaic panel and the third spacing; generate the target end bracket and the target middle bracket according to the first parameter and the second parameter; 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 the 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: 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-6.
9. 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-6 is implemented.
Citation Information
Patent Citations
Photovoltaic module arrangement method and device and photovoltaic system
CN116702388A