Photovoltaic system rapid layout method and device based on CAD
By building a basic database in CAD and calculating the layout spacing of photovoltaic modules, the problem of poor combination of photovoltaic design simulation software and CAD is solved, and the rapid layout of photovoltaic modules in CAD is realized, saving designer time and simplifying the formulation of photovoltaic solutions.
Patent Information
- Application Number
- CN202311824892.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-27
- Publication Date
- 2025-03-04
- Estimated Expiration
- 2043-12-27
AI Technical Summary
The existing photovoltaic design simulation software is not closely integrated with CAD and cannot be interoperable, which leads to designers wasting time on foreign software and unable to directly import CAD drawing space, resulting in wasting workload.
A method for rapid layout of photovoltaic systems based on CAD is provided. By constructing a basic database, including urban data and photovoltaic module data, the photovoltaic module layout spacing is calculated, and irregular photovoltaic areas are segmented and screened, and the photovoltaic module layout and annual average power generation are finally calculated in the CAD drawing space.
Save designers time, facilitate drawing photovoltaic modules in CAD and calculate the power generation of the photovoltaic system, making the formulation of photovoltaic solutions simple, and is suitable for designers who do not understand photovoltaic system design to complete preliminary design without professional software.
Smart Images

Figure CN117786909B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of photovoltaic system processing, and in particular relates to a photovoltaic system rapid layout method and device based on CAD. Background Art
[0002] At present, the existing distributed photovoltaic calculation and simulation solutions, such as PVSyst and PVSOL, are mostly foreign software architectures, which do not conform to the operating habits of domestic designers. These software focus more on simulation and calculation, but are not combined with building electrical design.
[0003] In China, most designers use CAD for electrical design and drawing, which cannot communicate with the results of foreign computational simulation software. In addition, foreign software is expensive, has many functions and is complicated to operate, which results in few domestic designers using it. Therefore, most still use CAD for drawing. However, CAD has few photovoltaic drawing tools, and manual drawing is relatively inconvenient.
[0004] In addition, in actual projects, the situation of building roofs is usually very complicated, with machine rooms, electromechanical equipment and roof greening all over the roof, and the area where photovoltaics can be truly deployed is limited and irregular. Engineers will waste a lot of time on modeling in foreign photovoltaic design simulation software. After the modeling is completed, the results cannot be directly imported into the CAD drawing space area, and they have to be redrawn in the CAD drawing space, resulting in a waste of workload. Summary of the invention
[0005] To this end, the present invention provides a CAD-based photovoltaic system rapid layout method and device to solve the problem that traditional photovoltaic design simulation software is not closely integrated with CAD, cannot communicate with each other, is inconvenient to use, and causes waste of workload.
[0006] In order to achieve the above object, the present invention provides the following technical solution: A CAD-based photovoltaic system rapid layout method, comprising:
[0007] Constructing a basic database, wherein the basic database includes city data and photovoltaic module data, wherein the city data includes a city name and city preset parameter data, and the photovoltaic module data includes a photovoltaic module name and photovoltaic module preset parameter data;
[0008] Retrieving the corresponding city preset parameter data according to the city name input by the user, and retrieving the corresponding photovoltaic module preset parameter data according to the photovoltaic module name input by the user;
[0009] Calculate the layout spacing of photovoltaic modules using the obtained city preset parameter data and photovoltaic module preset parameter data in accordance with the calculation method of the specified specification or atlas;
[0010] Segmenting the irregular photovoltaic area where the photovoltaic components are arranged, and selecting the final arrangement area for arranging the photovoltaic components from the segmented irregular photovoltaic area;
[0011] Combining the calculated photovoltaic module layout spacing and the screened photovoltaic module final layout area, the photovoltaic modules are arranged in the CAD drawing space of the final layout area;
[0012] According to the layout of photovoltaic modules in the CAD drawing space, the city preset parameter data and photovoltaic module preset parameter data are retrieved to calculate the average annual power generation of the photovoltaic modules.
[0013] As a preferred solution of the CAD-based photovoltaic system rapid layout method, the city preset parameter data in the city data includes the city latitude, the city solar altitude angle, the optimal inclination angle for installing the city photovoltaic modules, and the unit power generation of the photovoltaic modules under the city solar radiation intensity;
[0014] The photovoltaic component preset parameter data in the photovoltaic component type data includes the length of a photovoltaic component of a specified type, the width of a photovoltaic component of a specified type, and the installation capacity of a photovoltaic component of a specified type.
[0015] As a preferred solution for the CAD-based photovoltaic system rapid layout method, the city data and photovoltaic component data in the basic database are obtained from the specifications and sample reports;
[0016] Performing deduplication and outlier preprocessing on the city data and photovoltaic module data obtained from the basic database;
[0017] The pre-processed city data and photovoltaic module data in the basic database are converted into a SQLlittle data table format for storage.
[0018] As a preferred solution for the CAD-based photovoltaic system rapid layout method, it also includes constructing a query form, receiving query keywords or query conditions input by the user through the constructed query form, and using the established index keywords to retrieve city data and photovoltaic component data that meet the query conditions.
[0019] As a preferred solution for the CAD-based photovoltaic system rapid layout method, the calculation formula for the photovoltaic module layout spacing D is:
[0020] D=Lcosβ+Lsinβ(0.707tanφ+0.4338) / (0.707-0.4338tanφ)
[0021] Where L is the length of the PV module slope; β is the PV module installation inclination angle, and φ is the local latitude.
[0022] As a preferred solution for the CAD-based photovoltaic system rapid layout method, the calculation formula for the photovoltaic module layout spacing D is:
[0023] D ≥ H ot α cos γ
[0024] Where H is the vertical distance between the highest point of the obstacle or the front row of PV modules and the lowest point of the light-receiving surface of the PV modules, α is the solar altitude angle; γ is the installation azimuth of the PV modules.
[0025] As a preferred solution for the CAD-based photovoltaic system rapid layout method, in the process of segmenting the irregular photovoltaic area where the photovoltaic modules are arranged:
[0026] Pick up the polygonal closed contour line of the irregular photovoltaic area, segment it using the inscribed orthogonal rectangle algorithm, and use the point set matrix to generate a label matrix of 0 and 1; determine the area of the inscribed orthogonal rectangle through the label matrix, and query the rectangle with the largest area as the largest area for arranging photovoltaic modules;
[0027] The areas that do not meet the area and shape requirements are discarded after the segmentation by area and shape screening, and the final layout area for arranging photovoltaic modules is obtained; the final layout area obtained by screening is used to calculate the number of rows and columns under the specified size of photovoltaic modules and the specified spacing requirements.
[0028] As a preferred solution for the CAD-based photovoltaic system rapid layout method, the blocks of the photovoltaic components are grouped and evenly arranged according to the number of rows and columns in the CAD drawing space of the final layout area screened after segmentation.
[0029] As a preferred solution for the CAD-based rapid layout method of photovoltaic systems, the formula for calculating the average annual power generation of photovoltaic modules is:
[0030] W=P×S×K1×K2
[0031] In the formula, P is the average annual power generation of the city where the photovoltaic power plant is located; S is the total installed capacity of photovoltaic power plants; K1 is the photovoltaic installation inclination correction coefficient; and K2 is the photovoltaic type correction coefficient.
[0032] The present invention also provides a CAD-based photovoltaic system rapid layout device, which uses the above-mentioned CAD-based photovoltaic system rapid layout method, including:
[0033] A database construction module is used to construct a basic database, wherein the basic database includes city data and photovoltaic module data, wherein the city data includes a city name and city preset parameter data, and the photovoltaic module data includes a photovoltaic module name and photovoltaic module preset parameter data;
[0034] A parameter retrieval module is used to retrieve the corresponding city preset parameter data according to the city name input by the user, and retrieve the corresponding photovoltaic module preset parameter data according to the photovoltaic module name input by the user;
[0035] The arrangement spacing analysis module is used to calculate the arrangement spacing of photovoltaic modules according to the calculation method of the specified specification or atlas by using the obtained city preset parameter data and photovoltaic module preset parameter data;
[0036] A distribution area processing module is used to segment the irregular photovoltaic area where the photovoltaic components are arranged, and select the final arrangement area for arranging the photovoltaic components from the segmented irregular photovoltaic area;
[0037] A photovoltaic module layout module is used to combine the calculated photovoltaic module layout spacing and the screened photovoltaic module final layout area to arrange the photovoltaic modules in the CAD drawing space of the final layout area;
[0038] The power generation analysis module is used to retrieve the city preset parameter data and the photovoltaic module preset parameter data according to the layout of the photovoltaic modules in the CAD drawing space, and calculate the average annual power generation of the photovoltaic modules.
[0039] The beneficial effects of the present invention are as follows: a basic database is constructed, wherein the basic database includes city data and photovoltaic component data, wherein the city data includes a city name and city preset parameter data, and the photovoltaic component data includes a photovoltaic component name and photovoltaic component preset parameter data; the corresponding city preset parameter data is retrieved according to the city name input by a user, and the corresponding photovoltaic component preset parameter data is retrieved according to the photovoltaic component name input by a user; the photovoltaic component layout spacing is calculated according to the calculation method of a specified specification or atlas using the obtained city preset parameter data and photovoltaic component preset parameter data; the irregular photovoltaic area where the photovoltaic components are arranged is segmented, and the final layout area for the photovoltaic component layout is screened out from the segmented irregular photovoltaic area; the photovoltaic components are arranged in the CAD drawing space of the final layout area in combination with the calculated photovoltaic component layout spacing and the screened photovoltaic component final layout area; according to the layout of the photovoltaic components in the CAD drawing space, the city preset parameter data and the photovoltaic component preset parameter data are retrieved to calculate the annual average power generation of the photovoltaic components. The present invention saves designers' time, makes it convenient for designers to draw photovoltaic modules in CAD and calculate the power generation of photovoltaic systems, makes the formulation of photovoltaic plans fool-proof, and designers who do not understand photovoltaic system design can also easily obtain a preliminary plan for the photovoltaic system; it helps to complete the preliminary design of the photovoltaic system without the cooperation of building electrical engineers or professional software, and to grasp the photovoltaic system data and the impact of the photovoltaic system on the overall building. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the implementation methods of the present invention or the technical solutions in the prior art, the drawings required for the implementation methods or the prior art descriptions are briefly introduced below. Obviously, the drawings in the following description are only exemplary, and for ordinary technicians in this field, other implementation drawings can be derived from the provided drawings without creative work.
[0041] The structures, proportions, sizes, etc. illustrated in this specification are only used to match the contents disclosed in the specification so as to facilitate understanding and reading by persons familiar with the technology. They are not used to limit the conditions under which the present invention can be implemented, and therefore have no substantial technical significance. Any structural modification, change in proportion or adjustment of size shall still fall within the scope of the technical contents disclosed in the present invention without affecting the effects and purposes that can be achieved by the present invention.
[0042] Figure 1 A schematic diagram of a process flow of a CAD-based rapid photovoltaic system layout method provided in an embodiment of the present invention;
[0043] Figure 2 A city selection interface in a CAD-based photovoltaic system rapid layout method provided in an embodiment of the present invention;
[0044] Figure 3 An interface for adjusting city parameters in a CAD-based photovoltaic system rapid layout method provided in an embodiment of the present invention;
[0045] Figure 4 A photovoltaic component definition interface in a CAD-based photovoltaic system rapid layout method provided in an embodiment of the present invention;
[0046] Figure 5 A photovoltaic component selection interface in a photovoltaic system rapid layout method based on CAD provided by an embodiment of the present invention;
[0047] Figure 6 A regional segmentation interface in a CAD-based photovoltaic system rapid layout method provided in an embodiment of the present invention;
[0048] Figure 7 A photovoltaic assembly layout interface in a CAD-based photovoltaic system rapid layout method provided in an embodiment of the present invention;
[0049] Figure 8 A power generation analysis interface in a CAD-based photovoltaic system rapid layout method provided in an embodiment of the present invention;
[0050] Fig. 9 A schematic diagram of the architecture of a CAD-based photovoltaic system rapid layout device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0051] The following is a description of the implementation of the present invention by specific embodiments. People familiar with the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0052] Example 1
[0053] See also Figure 1 , Figure 2 , Figure 3 , Figure 4 , Figure 5 , Figure 6 , Figure 7 and Figure 8 Embodiment 1 of the present invention provides a CAD-based photovoltaic system rapid layout method, comprising the following steps:
[0054] S1. Constructing a basic database, wherein the basic database includes city data and photovoltaic module data, wherein the city data includes city names and city preset parameter data, and the photovoltaic module data includes photovoltaic module names and photovoltaic module preset parameter data;
[0055] S2. Retrieving corresponding city preset parameter data according to the city name input by the user, and retrieving corresponding photovoltaic module preset parameter data according to the photovoltaic module name input by the user;
[0056] S3, using the obtained city preset parameter data and photovoltaic module preset parameter data, and calculating the photovoltaic module layout spacing according to the calculation method of the specified specification or atlas;
[0057] S4, segmenting the irregular photovoltaic area where the photovoltaic components are arranged, and selecting a final arrangement area for arranging the photovoltaic components from the segmented irregular photovoltaic area;
[0058] S5, combining the calculated photovoltaic assembly arrangement spacing and the screened photovoltaic assembly final arrangement area, arranging the photovoltaic assembly in the CAD drawing space of the final arrangement area;
[0059] S6. According to the arrangement of the photovoltaic modules in the CAD drawing space, the city preset parameter data and the photovoltaic module preset parameter data are retrieved to calculate the average annual power generation of the photovoltaic modules.
[0060] In this embodiment, the city preset parameter data in the city data includes the city latitude, the city solar altitude angle, the optimal inclination angle for installing the city photovoltaic modules, and the unit power generation of the photovoltaic modules under the city solar radiation intensity;
[0061] The photovoltaic component preset parameter data in the photovoltaic component type data includes the length of a photovoltaic component of a specified type, the width of a photovoltaic component of a specified type, and the installation capacity of a photovoltaic component of a specified type.
[0062] Specifically, in step S1, a small basic database is constructed, and two types of data are included in the basic database. The first type is city data, which includes relevant parameters of major cities in various provinces in my country. Each city contains 5 parameters, the city name, and the city solar altitude angle corresponding to the city name, the optimal inclination angle for installing urban photovoltaic modules, and the unit power generation of photovoltaic modules under the city's solar radiation intensity. The remaining parameters can be retrieved for calculation by searching or selecting the city name. The above data are all derived from the statistical report of photovoltaic power generation data in recent years or the basic information of the city. The second type is photovoltaic module data, including photovoltaic module names, such as monocrystalline silicon, polycrystalline silicon, and cadmium telluride. The length of the specified type of photovoltaic module, the width of the specified type of photovoltaic module, and the installation capacity of the specified type of photovoltaic module corresponding to each photovoltaic module name are used as index terms for users to search.
[0063] Both city data and PV module data are user-defined. The construction of the basic database allows users to design PV systems without having to search for required data in specifications or books.
[0064] In a possible embodiment, in step S1, city data and photovoltaic module data in the basic database are obtained from specifications and sample reports;
[0065] Performing deduplication and outlier preprocessing on the city data and photovoltaic module data obtained from the basic database;
[0066] The pre-processed city data and photovoltaic module data in the basic database are converted into a SQLlittle data table format for storage.
[0067] Specifically, when establishing the basic database, first, obtain data sources from specifications and sample reports to ensure data diversity and reliability. Then, preliminarily screen these data sources and delete outliers with duplicates and excessive dispersion to maintain data quality and consistency. Next, convert the processed data into SQLlittle data table format for storage, making it easier to organize and call these data.
[0068] Among them, by using CAD's NETAPI and writing calling codes, the CAD software can be connected to the basic database. See again Figure 2 , Figure 3 , Figure 4 , Figure 5 , Figure 6 , Figure 7 and Figure 8 , which demonstrates the application interface effect of the combination of CAD software and basic database.
[0069] In this embodiment, step S2 also includes constructing a query form, receiving query keywords or query conditions input by the user through the constructed query form, and using the established index keywords to retrieve city data and photovoltaic component data that meet the query conditions.
[0070] See also Figure 2 , Figure 3 , Figure 4 , Figure 5 , Figure 6 , by creating a query form in the CAD software to receive user query requests. Users can enter keywords or conditions through this form, and the data that meets the conditions will be quickly retrieved through the established index keywords. Users can find relevant data quickly and accurately as needed.
[0071] In a possible embodiment, in step S3, the calculation formula provided in the specification "Design Specification for Photovoltaic Power Stations" GB 50797 is used, wherein the calculation formula for the photovoltaic module arrangement spacing D is:
[0072] D=Lcosβ+Lsinβ(0.707tanφ+0.4338) / (0.707-0.4338tanφ)
[0073] In the formula, L is the length of the PV module slope; β is the PV module installation inclination angle, and φ is the local latitude. This ensures that the PV modules are not blocked from 9:00 to 15:00 on the winter solstice.
[0074] In a possible embodiment, in step S3, the calculation formula provided by the atlas "Design and Installation of Building Solar Photovoltaic Systems" 16J908-5 is used, wherein the calculation formula for the photovoltaic component arrangement spacing D is:
[0075] D ≥ H ot α cos γ
[0076] In the formula, H is the vertical distance between the highest point of the obstacle or the front row of PV modules and the lowest point of the light-receiving surface of the PV modules, α is the solar altitude angle, and γ is the installation azimuth of the PV modules. Ensure that the PV modules are not blocked at 12:00 solar time on the winter solstice every year.
[0077] Among them, the calculation formula for the arrangement spacing D of two groups of photovoltaic modules is entered into the CAD software to facilitate user selection and calculation.
[0078] In this embodiment, in step S4, during the process of segmenting the irregular photovoltaic area where the photovoltaic components are arranged:
[0079] Pick up the polygonal closed contour line of the irregular photovoltaic area, segment it using the inscribed orthogonal rectangle algorithm, and use the point set matrix to generate a label matrix of 0 and 1; determine the area of the inscribed orthogonal rectangle through the label matrix, and query the rectangle with the largest area as the largest area for arranging photovoltaic modules;
[0080] The areas that do not meet the area and shape requirements are discarded after the segmentation by area and shape screening, and the final layout area for arranging photovoltaic modules is obtained; the final layout area obtained by screening is used to calculate the number of rows and columns under the specified size of photovoltaic modules and the specified spacing requirements.
[0081] In step S5, the blocks of the photovoltaic components are grouped and evenly arranged according to the number of rows and columns in the CAD drawing space of the final arrangement area screened after segmentation.
[0082] See also Figure 5 and Figure 6 Specifically, a polygonal closed contour line of an irregular area is picked up in the CAD drawing software, and the inscribed orthogonal rectangle algorithm is used for segmentation. The point set matrix is mainly used to generate a marking matrix with only 0 and 1. Then the area is judged by the marking matrix, and the largest rectangle is continuously queried. Then the largest rectangle queried is deleted (the matrix is changed to 0, and the corner points are passed to the quadtree query) to obtain the selected contour line object. The largest rectangle deleted for each selected contour line object is the largest area for arranging photovoltaic components.
[0083] Among them, the area after segmentation is screened by area and shape, and the area where photovoltaic modules cannot be arranged is discarded. The number of rows and columns of photovoltaic modules of set size and set spacing requirements are calculated from the screened area. The method is to subtract the spacing space around the length and width of the row, divided by the length and width of each group of modules plus the spacing, and the real number is rounded down. At the same time, the projection area of PV modules at different installation angles should also be calculated. The blocks of PV modules should be prepared in advance, and the corresponding calculation parameters should be entered. The blocks of PV modules are inserted into the CAD software through software commands, and the blocks are evenly arranged in groups according to the number of rows and columns in the CAD drawing space of the final arrangement area screened after segmentation, and scaled to the projected area. Then, the command is executed in a loop to complete the uniform layout on the remaining irregular areas after segmentation, and the entire space that can be arranged is arranged. The entire command is completed.
[0084] Among them, quadtree query is a method for quickly searching spatial data, which uses a quadtree structure to divide the space. Quadtree is a data structure in which each node has up to four subtrees. It usually subdivides the two-dimensional space into four quadrants or regions, and stores the relevant information in the region into the quadtree node. These regions can be square, rectangular or any shape. When performing a quadtree query, the spatial data to be searched is first converted into a quadtree structure, and then searched according to the hierarchical structure of the quadtree. By comparing the coordinates of the target data and the node coordinates of the quadtree, it is determined which node the target data is located at, thereby narrowing the search range and improving the search efficiency.
[0085] In this embodiment, in step S6, the relevant parameters of the city selected by the user are called from the basic database. The number of different photovoltaic modules is counted, the installation inclination angle and the installation capacity of the photovoltaic modules are read, and the total photovoltaic capacity at different inclination angles is calculated. The general photovoltaic power generation is calculated using the formula provided in the "Design Specifications for Photovoltaic Power Stations" GB 50797, which is calculated by the power generation per unit capacity of the photovoltaic modules in the city. The data comes from the statistical data report on the power generation of photovoltaic power stations in different cities in previous years. This data is combined with the photovoltaic installation inclination angle and the total photovoltaic installed capacity. The corresponding correction and reduction are made to obtain the total power generation of the photovoltaic system of this project, where the formula for calculating the average annual power generation of photovoltaic modules is:
[0086] W=P×S×K1×K2
[0087] In the formula, P is the average annual power generation of the city where the photovoltaic is located; S is the total installed capacity of photovoltaics; K1 is the photovoltaic installation inclination correction coefficient; K2 is the photovoltaic type correction coefficient. Finally, the calculation results are displayed to the user through the corresponding window to help the user quickly arrange photovoltaic modules and understand their corresponding power generation.
[0088] In summary, the present invention constructs a basic database, wherein the basic database includes city data and photovoltaic component data, wherein the city data includes a city name and a city preset parameter data, and the photovoltaic component data includes a photovoltaic component name and a photovoltaic component preset parameter data; retrieves the corresponding city preset parameter data according to the city name input by the user, and retrieves the corresponding photovoltaic component preset parameter data according to the photovoltaic component name input by the user; calculates the photovoltaic component layout spacing according to the calculation method of the specified specification or atlas using the obtained city preset parameter data and photovoltaic component preset parameter data; segments the irregular photovoltaic area where the photovoltaic components are arranged, and selects the final layout area for the photovoltaic component layout from the segmented irregular photovoltaic area; arranges the photovoltaic components in the CAD drawing space of the final layout area in combination with the calculated photovoltaic component layout spacing and the selected photovoltaic component final layout area; retrieves the city preset parameter data and the photovoltaic component preset parameter data according to the layout of the photovoltaic components in the CAD drawing space, and calculates the average annual power generation of the photovoltaic components. The present invention saves the designer's time, facilitates the designer to draw photovoltaic components in CAD and calculate the power generation of the photovoltaic system, makes the formulation of photovoltaic schemes foolproof, and designers who do not understand the design of photovoltaic systems can also easily obtain preliminary schemes of photovoltaic systems; it helps to complete the preliminary design of photovoltaic systems without the cooperation of building electrical engineers or professional software, and master the photovoltaic system data and the impact of the photovoltaic system on the overall building. With the help of the present invention, there is no need to laboriously find the parameters and calculation parameters, data and formulas required for the layout of photovoltaic components in specifications and books; after selecting the key design parameters in the CAD software, the spacing can be calculated with one key, the irregular layout space can be decomposed and the layout can be completed, saving the designer's time. At the same time, it is convenient for designers to draw photovoltaic components in CAD and calculate the power generation of photovoltaic systems, making the formulation of photovoltaic schemes foolproof; for designers who do not understand the design of photovoltaic systems, it is also convenient to obtain preliminary schemes of photovoltaic systems, which helps them to complete the preliminary design of photovoltaic systems by themselves without the cooperation of building electrical engineers or professional software, and master the photovoltaic system data and the impact of the photovoltaic system on the overall building.
[0089] It should be noted that the method of the embodiment of the present disclosure can be performed by a single device, such as a computer or a server. The method of the present embodiment can also be applied in a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present disclosure, and the multiple devices will interact with each other to complete the described method.
[0090] It should be noted that the above describes some embodiments of the present disclosure. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0091] Example 2
[0092] See also Fig. 9 Embodiment 2 of the present invention provides a CAD-based photovoltaic system rapid layout device, which adopts the CAD-based photovoltaic system rapid layout method of embodiment 1 above, including:
[0093] Database construction module 001 is used to construct a basic database, wherein the basic database includes city data and photovoltaic module data, wherein the city data includes city names and city preset parameter data, and the photovoltaic module data includes photovoltaic module names and photovoltaic module preset parameter data;
[0094] The parameter retrieving module 002 is used to retrieve the corresponding city preset parameter data according to the city name input by the user, and retrieve the corresponding photovoltaic module preset parameter data according to the photovoltaic module name input by the user;
[0095] The arrangement spacing analysis module 003 is used to calculate the arrangement spacing of photovoltaic modules according to the calculation method of the specified specification or atlas by using the obtained city preset parameter data and photovoltaic module preset parameter data;
[0096] The distribution area processing module 004 is used to segment the irregular photovoltaic area where the photovoltaic components are arranged, and select the final arrangement area for arranging the photovoltaic components from the segmented irregular photovoltaic area;
[0097] The photovoltaic assembly layout module 005 is used to combine the calculated photovoltaic assembly layout spacing and the screened photovoltaic assembly final layout area to arrange the photovoltaic assembly in the CAD drawing space of the final layout area;
[0098] The power generation analysis module 006 is used to retrieve the city preset parameter data and the photovoltaic module preset parameter data according to the layout of the photovoltaic modules in the CAD drawing space, and calculate the average annual power generation of the photovoltaic modules.
[0099] In this embodiment, in the database construction module 001, the city preset parameter data in the city data includes the city latitude, the city solar altitude angle, the optimal inclination angle for installing the city photovoltaic modules, and the unit power generation of the photovoltaic modules under the city solar radiation intensity;
[0100] The photovoltaic component preset parameter data in the photovoltaic component type data includes the length of a photovoltaic component of a specified type, the width of a photovoltaic component of a specified type, and the installation capacity of a photovoltaic component of a specified type.
[0101] In this embodiment, in the database construction module 001, the city data and photovoltaic module data in the basic database are obtained from the specifications and sample reports;
[0102] Performing deduplication and outlier preprocessing on the city data and photovoltaic module data obtained from the basic database;
[0103] The pre-processed city data and photovoltaic module data in the basic database are converted into a SQLlittle data table format for storage.
[0104] In this embodiment, in the parameter retrieval module 002, a query form is constructed, and query keywords or query conditions input by the user are received through the constructed query form, and the established index keywords are used to retrieve city data and photovoltaic component data that meet the query conditions.
[0105] In a possible embodiment, in the arrangement spacing analysis module 003, the calculation formula for the photovoltaic assembly arrangement spacing D is:
[0106] D=Lcosβ+Lsinβ(0.707tanφ+0.4338) / (0.707-0.4338tanφ)
[0107] Where L is the length of the PV module slope; β is the PV module installation inclination angle, and φ is the local latitude.
[0108] In a possible embodiment, in the arrangement spacing analysis module 003, the calculation formula for the photovoltaic assembly arrangement spacing D is:
[0109] D ≥ H ot α cos γ
[0110] Where H is the vertical distance between the highest point of the obstacle or the front row of PV modules and the lowest point of the light-receiving surface of the PV modules, α is the solar altitude angle; γ is the installation azimuth of the PV modules.
[0111] In this embodiment, in the distribution area processing module 004:
[0112] Pick up the polygonal closed contour line of the irregular photovoltaic area, segment it using the inscribed orthogonal rectangle algorithm, and use the point set matrix to generate a label matrix of 0 and 1; determine the area of the inscribed orthogonal rectangle through the label matrix, and query the rectangle with the largest area as the largest area for arranging photovoltaic modules;
[0113] The areas that do not meet the area and shape requirements are discarded after the segmentation by area and shape screening, and the final layout area for arranging photovoltaic modules is obtained; the final layout area obtained by screening is used to calculate the number of rows and columns under the specified size of photovoltaic modules and the specified spacing requirements.
[0114] In this embodiment, in the photovoltaic assembly arrangement module 005, the blocks of the photovoltaic assembly are grouped and evenly arranged according to the number of rows and columns in the CAD drawing space of the final arrangement area selected after segmentation.
[0115] In this embodiment, in the power generation analysis module 006, the formula for calculating the average annual power generation of the photovoltaic module is:
[0116] W=P×S×K1×K2
[0117] In the formula, P is the average annual power generation of the city where the photovoltaic power plant is located; S is the total installed capacity of photovoltaic power plants; K1 is the photovoltaic installation inclination correction coefficient; and K2 is the photovoltaic type correction coefficient.
[0118] It should be noted that the information interaction, execution process and other contents between the modules of the above-mentioned device are based on the same concept as the method embodiment in Example 1 of the present application, and the technical effects they bring are the same as those of the method embodiment of the present application. For specific contents, please refer to the description in the method embodiment shown in the previous part of the present application, and will not be repeated here.
[0119] Example 3
[0120] Embodiment 3 of the present invention provides a non-transitory computer-readable storage medium, in which a program code of a CAD-based rapid layout method for a photovoltaic system is stored, and the program code includes instructions for executing the CAD-based rapid layout method for a photovoltaic system of Embodiment 1 or any possible implementation thereof.
[0121] The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center that includes one or more available media. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)).
[0122] Example 4
[0123] Embodiment 4 of the present invention provides an electronic device, including: a memory and a processor;
[0124] The processor and the memory communicate with each other via a bus; the memory stores program instructions that can be executed by the processor, and the processor calls the program instructions to execute the CAD-based photovoltaic system rapid layout method of Example 1 or any possible implementation thereof.
[0125] Specifically, the processor can be implemented by hardware or by software. When implemented by hardware, the processor can be a logic circuit, an integrated circuit, etc.; when implemented by software, the processor can be a general-purpose processor implemented by reading software codes stored in a memory. The memory can be integrated in the processor or can be located outside the processor and exist independently.
[0126] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center.
[0127] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
[0128] Although the present invention has been described in detail above by general description and specific embodiments, it is obvious to those skilled in the art that some modifications or improvements can be made to the present invention. Therefore, these modifications or improvements made without departing from the spirit of the present invention all belong to the scope of protection claimed by the present invention.
Claims
1. A CAD-based photovoltaic system rapid layout method, characterized in that: include: Constructing a basic database, wherein the basic database includes city data and photovoltaic module data, wherein the city data includes a city name and city preset parameter data, and the photovoltaic module data includes a photovoltaic module name and photovoltaic module preset parameter data; Retrieving the corresponding city preset parameter data according to the city name input by the user, and retrieving the corresponding photovoltaic module preset parameter data according to the photovoltaic module name input by the user; Calculate the layout spacing of photovoltaic modules using the obtained city preset parameter data and photovoltaic module preset parameter data in accordance with the calculation method of the specified specification or atlas; Segmenting the irregular photovoltaic area where the photovoltaic components are arranged, and selecting the final arrangement area for arranging the photovoltaic components from the segmented irregular photovoltaic area; Combining the calculated photovoltaic module layout spacing and the screened photovoltaic module final layout area, the photovoltaic modules are arranged in the CAD drawing space of the final layout area; According to the arrangement of photovoltaic modules in the CAD drawing space, the city preset parameter data and photovoltaic module preset parameter data are retrieved to calculate the average annual power generation of the photovoltaic modules; The calculation formula for the spacing D of photovoltaic modules is: D ≥ H ot α cos γ Where H is the vertical distance between the highest point of the obstacle or the front row of photovoltaic modules and the lowest point of the light-receiving surface of the photovoltaic module, α is the solar altitude angle; γ is the installation azimuth angle of the photovoltaic module; During the segmentation of irregular photovoltaic areas where photovoltaic modules are arranged: Pick up the polygonal closed contour line of the irregular photovoltaic area, segment it using the inscribed orthogonal rectangle algorithm, and use the point set matrix to generate a label matrix of 0 and 1; determine the area of the inscribed orthogonal rectangle through the label matrix, and query the rectangle with the largest area as the largest area for arranging photovoltaic modules; The segmented areas are screened by area and shape, and the areas that do not meet the area and shape requirements are discarded to obtain the final layout area for arranging photovoltaic modules; the number of rows and columns of photovoltaic modules of a specified size and a specified spacing requirement are calculated using the final layout area obtained by screening; The blocks of the photovoltaic modules are evenly arranged in groups according to the number of rows and columns in the CAD drawing space of the final arrangement area selected after segmentation; The length and width of the row minus the spacing around it is divided by the length and width of each group of components plus the spacing, and the real number is rounded down; at the same time, the projected area of the photovoltaic components at different installation angles is calculated, the blocks of the photovoltaic components are prepared in advance, and the corresponding calculation parameters are entered, and the blocks of the photovoltaic components are inserted into the CAD software through software commands, and the blocks are evenly arranged in groups according to the number of rows and columns in the CAD drawing space of the final layout area screened after segmentation, and scaled to the projected area; then the command is executed in a loop to complete the uniform layout on the remaining irregular areas after segmentation, and the entire space that can be arranged is arranged; the entire command is completed; The formula for calculating the average annual power generation of photovoltaic modules is: W=P×S×K1×K2 In the formula, P is the average annual power generation of the city where the photovoltaic power plant is located; S is the total installed capacity of photovoltaic power plants; K1 is the photovoltaic installation inclination correction coefficient; K2 is the photovoltaic type correction factor.
2. The CAD-based photovoltaic system rapid layout method according to claim 1, characterized in that: The city preset parameter data in the city data include the city latitude, the city solar altitude angle, the optimal inclination angle for installing the city photovoltaic modules, and the unit power generation of the photovoltaic modules under the city solar radiation intensity; The photovoltaic component preset parameter data in the photovoltaic component type data includes the length of a photovoltaic component of a specified type, the width of a photovoltaic component of a specified type, and the installation capacity of a photovoltaic component of a specified type.
3. The CAD-based rapid photovoltaic system layout method according to claim 1, characterized in that: Obtain city data and photovoltaic module data from the basic database from the specifications and sample reports; Performing deduplication and outlier preprocessing on the city data and photovoltaic module data obtained from the basic database; The pre-processed city data and photovoltaic module data in the basic database are converted into a SQLlittle data table format for storage.
4. The CAD-based rapid photovoltaic system layout method according to claim 3, characterized in that: The method also includes constructing a query form, receiving query keywords or query conditions input by a user through the constructed query form, and using the established index keywords to retrieve city data and photovoltaic component data that meet the query conditions.
5. The CAD-based rapid photovoltaic system layout method according to claim 1, characterized in that: The calculation formula for the spacing D of photovoltaic modules is: D=Lcosβ+Lsinβ(0.707tanφ+0.4338) / (0.707-0.4338tanφ) Where L is the length of the PV module slope; β is the PV module installation inclination angle, and φ is the local latitude.
6. A CAD-based photovoltaic system rapid layout device, using the CAD-based photovoltaic system rapid layout method according to any one of claims 1 to 5, characterized in that: include: A database construction module is used to construct a basic database, wherein the basic database includes city data and photovoltaic module data, wherein the city data includes a city name and city preset parameter data, and the photovoltaic module data includes a photovoltaic module name and photovoltaic module preset parameter data; A parameter retrieval module is used to retrieve the corresponding city preset parameter data according to the city name input by the user, and retrieve the corresponding photovoltaic module preset parameter data according to the photovoltaic module name input by the user; The arrangement spacing analysis module is used to calculate the arrangement spacing of photovoltaic modules according to the calculation method of the specified specification or atlas by using the obtained city preset parameter data and photovoltaic module preset parameter data; A distribution area processing module is used to segment the irregular photovoltaic area where the photovoltaic components are arranged, and select the final arrangement area for arranging the photovoltaic components from the segmented irregular photovoltaic area; A photovoltaic module layout module is used to combine the calculated photovoltaic module layout spacing and the screened photovoltaic module final layout area to arrange the photovoltaic modules in the CAD drawing space of the final layout area; The power generation analysis module is used to retrieve the city preset parameter data and the photovoltaic module preset parameter data according to the layout of the photovoltaic modules in the CAD drawing space, and calculate the average annual power generation of the photovoltaic modules.
Citation Information
Patent Citations
Improving designing and installation quoting for solar energy systems
CN105917337A
Building roof photovoltaic panel arrangement method
CN113221222A
Roof photovoltaic visual design method, system, equipment and medium
CN117010071A