Material list generation method and device, electronic equipment and storage medium
By obtaining the construction environment and component parameters of the photovoltaic power station, determining the component layout plan and generating the target power station data model, the problem of time-consuming and low efficiency in the existing technology is solved, and the generation of the material list with high efficiency and low professional requirements is achieved.
Patent Information
- Application Number
- CN202411953647.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-27
- Publication Date
- 2025-04-25
AI Technical Summary
In the prior art, when generating a photovoltaic power station material list, staff need to have high professional skills and experience, which takes a long time, is inefficient and has great pressure on human labor.
By obtaining the construction environmental parameters and component parameters of the photovoltaic power station to be built input by the user, the component arrangement plan is determined, and the target power station data model is determined from the pre-stored power station data model, thereby generating a material list.
It reduces professional requirements for staff, improves the efficiency of material list generation, and reduces the pressure on human labor.
Smart Images

Figure CN119887059A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a material list generation method, device, electronic device and storage medium. Background Art
[0002] At present, when building a photovoltaic power station, a list of materials needs to be generated first. In the existing technology, workers are often required to draw the design drawings of the photovoltaic power station first, such as CAD design drawings, and then calculate the quantity of various materials required for the construction of the photovoltaic power station according to the design drawings to generate a list of materials. However, this method has high professional requirements for workers, often requiring workers to have corresponding professional skills and experience, and is time-consuming, with low efficiency in list generation and high labor pressure. Summary of the invention
[0003] One or more embodiments of the present application provide a material list generation method, device, electronic device and storage medium to solve or at least partially alleviate the problems of high professional requirements for staff, long time consumption and high labor pressure when generating material lists in the prior art.
[0004] The technical solutions adopted by one or more embodiments of the present application are as follows:
[0005] In a first aspect, the present application provides a method for generating a bill of materials, the method comprising:
[0006] Obtain construction environment parameters and component parameters of the photovoltaic power station to be built input by the user;
[0007] Determining a component arrangement scheme of the photovoltaic power station to be built according to the construction environment parameters and the component parameters;
[0008] According to the construction environment parameters and the component arrangement scheme, a target power station data model corresponding to the photovoltaic power station to be built is determined from a plurality of pre-stored power station data models; the power station data model is used to characterize the construction standard of the photovoltaic power station.
[0009] A material list corresponding to the photovoltaic power station to be built is generated according to the target power station data model.
[0010] In an optional implementation manner, the construction environment parameters include roof parameters, and determining the component arrangement scheme of the photovoltaic power station to be built according to the construction environment parameters and the component parameters includes:
[0011] Determining the power station type of the photovoltaic power station to be built according to the roof parameters;
[0012] Determining the arrangement type of the photovoltaic power station to be built according to the power station type and the roof parameters;
[0013] The component arrangement scheme is determined according to the roof parameters, the component parameters and the arrangement type.
[0014] In an optional embodiment, the roof parameters include roof type, roof size, roof shape and roof obstacle parameters;
[0015] The step of determining the type of the photovoltaic power station to be built according to the roof parameters includes:
[0016] Determining the type of the photovoltaic power station to be built according to the roof type;
[0017] The determining the arrangement type of the photovoltaic power station to be built according to the power station type and the roof parameters includes:
[0018] Determining the arrangement type of the photovoltaic power station to be built according to the power station type and the roof shape;
[0019] The determining the component arrangement scheme according to the roof parameters, the component parameters and the arrangement type includes:
[0020] The component arrangement scheme is determined according to the roof size, the roof obstacle parameters, the component parameters and the arrangement type.
[0021] In an optional implementation manner, determining the component arrangement scheme according to the roof size, the roof obstacle parameter, the component parameter and the arrangement type includes:
[0022] Calculate the projection size of the component according to the component parameters;
[0023] Determining an initial component arrangement scheme according to the component projection size, the roof size, the preset arrangement parameters and the arrangement type;
[0024] Calculating the roof obstacle projection range according to the roof obstacle parameters;
[0025] The component arrangement scheme is determined according to the roof obstacle projection range and the initial component arrangement scheme.
[0026] In an optional implementation, the power station data model includes a material list and a material data model, and the construction environment parameters also include environmental parameters of the roof location;
[0027] The step of determining a target power station data model corresponding to the photovoltaic power station to be built from a plurality of power station data models according to the construction environment parameters and the component arrangement scheme includes:
[0028] According to the power station type of the photovoltaic power station to be built, the environmental parameters and the component arrangement scheme, a target material list and a target material data model corresponding to the photovoltaic power station to be built are determined from the plurality of power station data models.
[0029] In an optional embodiment, the target material list includes multiple materials required for the photovoltaic power station to be built and usage calculation formulas corresponding to each of the materials, and the target material data model includes material standard parameters corresponding to each material required for the photovoltaic power station to be built;
[0030] The step of generating a material list corresponding to the photovoltaic power station to be built according to the target power station data model includes:
[0031] For each of the materials, calculate the usage of the material according to the usage calculation formula and material standard parameters;
[0032] A material list corresponding to the photovoltaic power station to be built is generated according to each of the materials and the corresponding usage amounts of the materials.
[0033] In a second aspect, one or more embodiments of the present application provide a material list generating device, the device comprising:
[0034] An acquisition module is used to acquire the construction environment parameters and component parameters of the photovoltaic power station to be built input by the user;
[0035] A determination module, used to determine a component arrangement scheme of the photovoltaic power station to be built according to the construction environment parameters and the component parameters;
[0036] The determination module is also used to determine the target power station data model corresponding to the photovoltaic power station to be built from multiple pre-stored power station data models according to the construction environment parameters and the component arrangement plan; the power station data model is used to characterize the construction standard of the photovoltaic power station.
[0037] A generation module is used to generate a material list corresponding to the photovoltaic power station to be built according to the target power station data model.
[0038] In an optional embodiment, the photovoltaic power station to be built is a household photovoltaic power station, and the construction environment parameters include roof parameters; the determination module is also used to determine the power station type of the photovoltaic power station to be built according to the roof parameters; determine the arrangement type of the photovoltaic power station to be built according to the power station type and the roof parameters; determine the component arrangement plan according to the roof parameters, the component parameters and the arrangement type.
[0039] In a third aspect, one or more embodiments of the present application provide an electronic device, comprising a processor and a memory, wherein the memory stores a computer program that can be executed by the processor, and the processor can execute the computer program to implement any of the methods described in the aforementioned embodiments.
[0040] In a fourth aspect, one or more embodiments of the present application provide a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method described in any of the foregoing embodiments.
[0041] One or more embodiments of the present application provide a method, device, electronic device, and storage medium for generating a bill of materials. The electronic device can obtain the construction environment parameters and component parameters of the photovoltaic power station to be built input by the user, determine the component arrangement scheme according to the construction environment parameters and component parameters, and determine the target power station data model corresponding to the photovoltaic power station to be built from multiple pre-stored power station data models according to the construction environment parameters and component arrangement scheme, thereby generating a bill of materials corresponding to the photovoltaic power station to be built according to the target power station data model. In this way, the user only needs to input the construction environment parameters and component parameters of the photovoltaic power station to be built, and the electronic device can generate a bill of materials corresponding to the photovoltaic power station to be built according to the construction environment parameters and component parameters and the power station data model stored in the electronic device. Therefore, there is no need for the staff to provide design drawings, which reduces the professional requirements for the staff, improves the efficiency of generating the bill of materials, and reduces the pressure of human labor.
[0042] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0044] Figure 1 A block diagram of an electronic device provided by an embodiment of the present application is shown;
[0045] Figure 2 A schematic diagram of a process flow of a method for generating a bill of materials provided in an embodiment of the present application is shown;
[0046] Figure 3 An example diagram of component projection size calculation is shown;
[0047] Figure 4An example diagram of an initial component arrangement scheme is shown;
[0048] Figure 5 A schematic diagram of the formula configuration interface is shown;
[0049] Figure 6 A functional module diagram of a material bill generating device provided in an embodiment of the present application is shown.
[0050] Icon of this application: 100 - memory; 110 - processor; 120 - communication module; 200 - acquisition module; 210 - determination module; 220 - generation module. DETAILED DESCRIPTION
[0051] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.
[0052] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.
[0053] It should be noted that relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0054] Figure 1 For a block diagram of an electronic device provided in an embodiment of the present application, please refer to Figure 1 , the electronic device includes a memory 100, a processor 110 and a communication module 120. The memory 100, the processor 110 and the communication module 120 are electrically connected to each other directly or indirectly to achieve data transmission or interaction. For example, these components can be electrically connected to each other through one or more communication buses or signal lines.
[0055] The memory 100 is used to store programs or data. The memory 100 may be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), etc.
[0056] The processor 110 is used to read / write data or programs stored in the memory and execute corresponding functions.
[0057] The communication module 120 is used to establish a communication connection between the electronic device and other communication terminals through a network, and to send and receive data through the network.
[0058] It should be understood that Figure 1 The structure shown is only a schematic diagram of the structure of the electronic device. The electronic device may also include Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown. Figure 1 Each component shown in the figure can be implemented by hardware, software or a combination thereof.
[0059] In a possible implementation manner, a database may be provided in the electronic device, and a plurality of power station data models are stored in the database.
[0060] In another possible implementation, the electronic device may also be connected to an external database for communication, and the database may store a plurality of power station data models.
[0061] Optionally, the electronic device may be provided with a list generation software, and in order to improve the scalability and maintainability of the software, the software may adopt a modular design.
[0062] In one example, the software may include an operation module, an inventory calculation module, a formula calculation module, a data operation module, a power plant data model management module, etc., and each module may implement different functions.
[0063] In this example, the operation module can be used to provide an operation interface for users or staff, such as a data model configuration interface, a calculation formula configuration interface, a data input interface, a list display interface, etc. The list calculation module can be used to implement functions such as list model management, calculation formula call, list generation, and list export. The formula calculation module can be used to implement functions such as formula management, formula parsing, and expression specification management. The data operation module can be used to implement functions such as model query, model modification, and model export. The power plant data model management module can be used to implement management functions for different models.
[0064] Next, Figure 1 The electronic device in the embodiment is the execution subject, and the material list generation method provided in the embodiment of the present application is exemplarily introduced in combination with the flow chart.
[0065] Specifically, Figure 2 A schematic diagram of a process for generating a bill of materials provided in an embodiment of the present application is shown in FIG. Figure 2 , the method comprising:
[0066] Step S20, obtaining the construction environment parameters and component parameters of the photovoltaic power station to be built input by the user.
[0067] Optionally, the user may input construction environment parameters and component parameters of the photovoltaic power station to be built based on the data input interface.
[0068] In this embodiment, the photovoltaic power station to be built may be a household photovoltaic power station or an industrial photovoltaic power station.
[0069] Step S21, determining a component arrangement plan of the photovoltaic power station to be built according to construction environment parameters and component parameters.
[0070] Optionally, the component arrangement scheme is a specific arrangement of components of the photovoltaic power station to be built within a construction environment.
[0071] Step S22, determining a target power station data model corresponding to the photovoltaic power station to be built from a plurality of pre-stored power station data models according to the construction environment parameters and the component arrangement plan.
[0072] Optionally, the power station data model is used to characterize the construction standard of the photovoltaic power station.
[0073] Optionally, there is a corresponding relationship between the power station data model and the construction environment parameters and the component arrangement plan. Therefore, the electronic device can determine the target power station data model corresponding to the photovoltaic power station to be built based on the construction environment parameters and the component arrangement plan input by the user, thereby determining the construction standards corresponding to the photovoltaic power station to be built.
[0074] Step S23, generating a material list corresponding to the photovoltaic power station to be built according to the target power station data model.
[0075] In this embodiment, the electronic device may generate a material list corresponding to the photovoltaic power station to be built based on the construction standard corresponding to the photovoltaic power station to be built.
[0076] Optionally, the material list includes materials required for the photovoltaic power station to be built and the corresponding usage of the materials, such as columns and their corresponding usage.
[0077] The material list generation method provided in the embodiment of the present application is that the electronic device can obtain the construction environment parameters and component parameters of the photovoltaic power station to be built input by the user, determine the component arrangement scheme according to the construction environment parameters and component parameters, and determine the target power station data model corresponding to the photovoltaic power station to be built from multiple pre-stored power station data models according to the construction environment parameters and component arrangement scheme, so as to generate the material list corresponding to the photovoltaic power station to be built according to the target power station data model. In this way, the user only needs to input the construction environment parameters and component parameters of the photovoltaic power station to be built, and the electronic device can generate the material list corresponding to the photovoltaic power station to be built according to the construction environment parameters and component parameters and the power station data model stored in the electronic device. Therefore, there is no need for the staff to provide design drawings, which reduces the professional requirements for the staff, improves the efficiency of generating the material list, and reduces the pressure of human labor.
[0078] Next, the bill of materials generation method provided in the embodiment of the present application is introduced by taking a household photovoltaic power station as an example.
[0079] Optionally, considering that household photovoltaic power stations are generally built on rooftops, the construction environment parameters may include rooftop parameters.
[0080] On this basis, the electronic equipment can determine the power station type of the photovoltaic power station to be built according to the roof parameters, and then determine the layout type of the photovoltaic power station to be built according to the power station type and roof parameters, and then determine the component layout plan according to the roof parameters, component parameters and layout type.
[0081] In one possible implementation, the roof parameters may include roof type, roof size, roof shape, and roof obstacle parameters.
[0082] Among them, roof types may include flat roofs, pitched roofs, etc.; roof dimensions may include the length and width of the roof; roof shapes may include rectangular, L-shaped, concave, convex, etc.; roof obstacle parameters may include specific obstacles and the size, position, etc. of the obstacles.
[0083] In this embodiment, the electronic device can determine the power station type corresponding to the photovoltaic power station to be built according to the roof type, determine the layout type of the photovoltaic power station to be built according to the power station type and the roof shape, and then determine the component layout plan according to the roof size, roof obstacle parameters, component parameters and layout type.
[0084] Optionally, different roof types may correspond to different power station types. For example, a flat roof may correspond to an array photovoltaic power station, and a sloping roof may correspond to a single-slope sloping roof power station or a double-slope sloping roof power station.
[0085] Optionally, different power station types may correspond to different installation types, and different roof shapes may correspond to different arrangement methods. The corresponding arrangement type may be determined based on the installation type and the arrangement method.
[0086] For example, the installation types corresponding to the array type may include expansion bolt method and counterweight block method; the installation types corresponding to the sloping roof single-slope power station type may include hooking and front pulling and rear pulling; the arrangement method corresponding to the rectangular roof may be a rectangular arrangement; and the arrangement method of the L-shaped roof may be a double rectangular arrangement.
[0087] Optionally, if a certain roof may correspond to multiple power station types, or a certain power station type may correspond to multiple installation types, the electronic device may feed back the multiple power station types or multiple installation types to the user for the user to select.
[0088] In this embodiment, after determining the arrangement type, the electronic device can determine a specific component arrangement scheme in combination with the roof size, roof obstacle parameters and component parameters.
[0089] In one possible implementation, the component arrangement scheme may include row and column information of a specific component arrangement.
[0090] In this embodiment, the electronic device may first calculate the component projection size according to the component parameters, and then determine the initial component arrangement plan according to the component projection size, the roof size, the preset arrangement parameters and the arrangement type.
[0091] In this embodiment, the component parameters may include a component inclination angle and a component model, and the component projection size may include a component projection length and a component projection width.
[0092] Optionally, the size corresponding to the component, such as length, width and other information, may be determined according to the component model.
[0093] In one example, Figure 3 For example diagrams of component projection size calculations, see Figure 3 , the projection length h2 of the component can be calculated based on the component inclination angle a and the component length h1 combined with the trigonometric function formula. Similarly, the projection width w2 of the component can be calculated based on the component inclination angle a and the component width w1 combined with the trigonometric function formula.
[0094] Optionally, the roof size may include the length and width of the roof, and specifically may include the longest side of the roof in the north-south direction and the longest side of the roof in the east-west direction.
[0095] Optionally, the preset arrangement parameters may be set in advance according to the construction standard of the photovoltaic power station or user requirements.
[0096] In this embodiment, the preset arrangement parameters may include the allowable projection distance of the roof and the component gap distance.
[0097] In one possible implementation, the preset layout parameters may include the allowable protrusion distance on the north side of the roof, the allowable protrusion distance on the south side of the roof, the north-south gap distance of the vertically mounted components, the east-west gap distance of the vertically mounted components, the north-south gap distance of the horizontally mounted components, and the east-west gap distance of the horizontally mounted components.
[0098] In one example, Figure 4 For an example of the initial component layout, see Figure 4 , where a represents the projection width of the component, b represents the projection length of the component, c represents the longest side of the roof in the north-south direction, f represents the longest side of the roof in the east-west direction, e represents the allowable projection distance on the north side of the roof, d represents the allowable projection distance on the south side of the roof, g represents the north-south gap distance of the vertically mounted component, h represents the east-west gap distance of the vertically mounted component, i represents the north-south gap distance of the horizontally mounted component, and j represents the east-west gap distance of the horizontally mounted component.
[0099] In this example, the number of rows x of component arrangement can be calculated by the formula x=int((c+e+d+g) / (b+g))
[0100] It is calculated that the number of columns y of the component arrangement can be calculated by the formula y=int(f / (a+h)).
[0101] In this example, the initial component arrangement scheme may include the number of rows x of component arrangement and the number of columns y of component arrangement.
[0102] Optionally, considering that the component arrangement needs to avoid obstacles, the electronic device may also calculate the roof obstacle projection range according to the roof obstacle parameters, thereby determining the component arrangement plan according to the roof obstacle projection range and the initial component arrangement plan.
[0103] Optionally, the roof obstacles may include multiple ones, such as parapets, turrets, chimneys, openings, etc. The electronic device can calculate the obstacle projection range corresponding to each roof obstacle, and then remove the components within the obstacle projection range in the initial component arrangement plan, so as to obtain the corresponding component arrangement plan.
[0104] Optionally, the obstacle projection range may be calculated according to the size of the obstacle and a preset distance coefficient.
[0105] In an example, the obstacle projection range may be a projection range on the winter solstice, and the length of the projection range may be the sum of the product of the height of the obstacle and a preset distance coefficient and the width of the obstacle.
[0106] Optionally, for the convenience of configuration and storage, the power plant data model may include a material list and a material data model.
[0107] The materials required for the photovoltaic power station and the corresponding usage calculation formulas of each material may be recorded in the material list, and the standard parameters corresponding to the materials required for the photovoltaic power station may be recorded in the material data model. Optionally, in the prior art, the usage of materials often needs to be calculated by the user manually, but considering that the usage of some materials may be related, that is, the usage of material A needs to be determined based on the usage of material B, if the manual calculation method in the prior art is used, it is easy to cause calculation errors and other problems.
[0108] The material list generation method provided in the embodiment of the present application can pre-configure the usage calculation formula corresponding to each material in the material list, so that the relationship between materials can be directly defined through the usage calculation formula, thereby improving the calculation accuracy of material usage.
[0109] Optionally, the staff may configure the power plant data model based on the data model configuration interface in advance, and configure the usage calculation formula based on the calculation formula configuration interface.
[0110] In one example, Figure 5 For a schematic diagram of the formula configuration interface, see Figure 5 The formula configuration interface includes relational logic, judgment statements, symbols, operation symbols, judgment symbols, calculation functions, and variable descriptions.
[0111] In this example, the staff can select the corresponding component configuration usage calculation formula by themselves, and the electronic device can store the character string corresponding to the formula based on the component selected by the staff.
[0112] For example, the function corresponding to floor rounding is Math.floor, the function corresponding to ceiling rounding is Math.ceil, the function corresponding to rounding is Math.round, the function corresponding to square root is Math.sqrt, and the function corresponding to power operation is Math.pow. The judgment statement can be expressed by if(){}else{}.
[0113] In addition, the number of component rows can be represented as moduleRow, the number of vertically installed component rows can be represented as moduleRowNum, the number of horizontally installed component blocks can be represented as moduleAcrossNum, the number of vertically installed component columns can be represented as moduleColumnNum, whether there is a seamless installation can be represented as isSeamless, where the parameter is 1 for a seamless installation and 2 for a seamless installation, the installation method can be represented as installType, where the parameter is 1 for an expansion bolt and 2 for a counterweight, the total length of the column can be represented as pillarTotal, the total length of the main beam can be represented as girderTotal, the total length of the purlin can be represented as purlineTotal, the total length of the diagonal brace can be represented as inclinedstrutTotal, and the total length of the back pull can be represented as backTotal.
[0114] In this example, the quantity of the referenced material can be represented by the material code, and the referenced material needs to be calculated first, that is, there is an association relationship between the referenced material and the material that references it.
[0115] In this example, the electronic device can generate a corresponding calculation formula according to the above content.
[0116] For example, the calculation formula for the number of purlin connectors can be represented as: Math.floor(girderLength / 6305)*pillarColumnNum+Math.floor(purlineLength / 6305)*pillarRowNum+if(moduleRow>=2&&moduleColumnNum==11){Math.ceil(moduleRow);}else{0;}.
[0117] The meaning is: (the result of dividing the length of 1 main beam by 6305 and rounding it down multiplied by the number of column rows) plus (the result of dividing the length of 1 purlin by 6305 and rounding it down multiplied by the number of column rows). When the number of component rows is greater than or equal to 2 and the number of component rows is 11, add the result of rounding up the number of component rows.
[0118] Furthermore, considering that the local environment may also have a certain impact on the construction of a photovoltaic power station, the construction environment parameters also include the environmental parameters of the roof location.
[0119] In one possible implementation, the environmental parameter may be wind pressure and snow pressure at the location of the roof.
[0120] Next, a possible implementation method is provided for determining the target power station data model corresponding to the photovoltaic power station to be built from multiple power station data models according to the construction environment parameters and component arrangement plan.
[0121] Specifically, the electronic device can determine the target material list and target material data model corresponding to the photovoltaic power station to be built from multiple power station data models according to the power station type, environmental parameters and component arrangement scheme of the photovoltaic power station to be built.
[0122] Optionally, there is an association relationship between the power plant data model and the power plant type, environmental parameters and component arrangement scheme.
[0123] In this embodiment, the power station type, environmental parameters, and component arrangement scheme may also be stored as data models in a relational database. That is to say, there is an association relationship between the power station type data model, the environmental parameter data model, the component arrangement scheme data model, and the power station data model. Therefore, the target power station data model may be obtained by searching in the relational database.
[0124] It can be understood that the target material list includes multiple materials required for the photovoltaic power station to be built and the usage calculation formulas corresponding to each material, and the target material data model includes material standard parameters corresponding to each material required for the photovoltaic power station to be built.
[0125] In this embodiment, the electronic device can calculate the usage of each material according to the usage calculation formula and material standard parameters, and generate a material list corresponding to the photovoltaic power station to be built according to each material and the corresponding usage.
[0126] Optionally, the electronic device may substitute the material standard parameters into the corresponding usage calculation formula for calculation, thereby calculating the corresponding usage of the material. For example, the material standard parameters corresponding to the purlin connector are substituted into the usage calculation formula of the number of purlin connectors for calculation, thereby obtaining the corresponding usage of the purlin connector.
[0127] It can be understood that the material list may include each material and the corresponding usage amount of each material.
[0128] In order to execute the corresponding steps in the above embodiments and various possible methods, a method for implementing a material list generation device is provided below. Optionally, the material list generation device can adopt the above Figure 1 For further information, please refer to Figure 6 , Figure 6A functional module diagram of a bill of materials generating device provided in an embodiment of the present application. It should be noted that the basic principle and technical effects of the bill of materials generating device provided in this embodiment are the same as those of the above embodiments. For the sake of brief description, for parts not mentioned in this embodiment, reference can be made to the corresponding contents in the above embodiments. The bill of materials generating device includes: an acquisition module 200, a determination module 210, and a generation module 220.
[0129] The acquisition module 200 is used to acquire the construction environment parameters and component parameters of the photovoltaic power station to be built input by the user.
[0130] It can be understood that the acquisition module 200 can also be used to execute the above step S20.
[0131] The determination module 210 is used to determine a component arrangement scheme of the photovoltaic power station to be built according to the construction environment parameters and component parameters.
[0132] It can be understood that the determination module 210 can also be used to execute the above step S21.
[0133] The determination module 210 is also used to determine a target power station data model corresponding to the photovoltaic power station to be built from a plurality of pre-stored power station data models according to the construction environment parameters and the component arrangement plan; the power station data model is used to characterize the construction standard of the photovoltaic power station.
[0134] It can be understood that the determination module 210 can also be used to execute the above step S22.
[0135] The generation module 220 is used to generate a material list corresponding to the photovoltaic power station to be built according to the target power station data model.
[0136] It can be understood that the generation module 220 can also be used to execute the above step S23.
[0137] Optionally, the determination module 210 is also used to determine the power station type of the photovoltaic power station to be built according to the roof parameters; determine the layout type of the photovoltaic power station to be built according to the power station type and the roof parameters; determine the component layout plan according to the roof parameters, component parameters and layout type.
[0138] Optionally, the determination module 210 is also used to determine the power station type of the photovoltaic power station to be built according to the roof type; determine the layout type of the photovoltaic power station to be built according to the power station type and the roof shape; determine the component layout plan according to the roof size, roof obstacle parameters, component parameters and layout type.
[0139] Optionally, the determination module 210 is also used to calculate the component projection size according to the component parameters; determine the initial component arrangement plan according to the component projection size, the roof size, preset arrangement parameters and arrangement type; calculate the roof obstacle projection range according to the roof obstacle parameters; determine the component arrangement plan according to the roof obstacle projection range and the initial component arrangement plan.
[0140] Optionally, the determination module 210 is further used to determine a target material list and a target material data model corresponding to the photovoltaic power station to be built from multiple power station data models according to the power station type, environmental parameters and component arrangement plan of the photovoltaic power station to be built.
[0141] Optionally, the determination module 210 is further used to calculate the usage of each material according to the usage calculation formula and material standard parameters; and generate a material list corresponding to the photovoltaic power station to be built according to each material and the corresponding usage.
[0142] Optionally, the above modules can be stored in the form of software or firmware. Figure 1 The memory shown in the figure or solidified in the operating system (OS) of the electronic device, and can be Figure 1 Meanwhile, the data and program codes required for executing the above modules can be stored in the memory.
[0143] An embodiment of the present application also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the material list generation method provided in the embodiment of the present application is implemented.
[0144] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and a part of the module, program segment or code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0145] In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
[0146] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0147] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A method for generating a bill of materials, characterized in that: The method comprises: Obtain construction environment parameters and component parameters of the photovoltaic power station to be built input by the user; Determining a component arrangement scheme of the photovoltaic power station to be built according to the construction environment parameters and the component parameters; According to the construction environment parameters and the component arrangement scheme, a target power station data model corresponding to the photovoltaic power station to be built is determined from a plurality of pre-stored power station data models; the power station data model is used to characterize the construction standard of the photovoltaic power station; A material list corresponding to the photovoltaic power station to be built is generated according to the target power station data model.
2. The method according to claim 1, characterized in that The construction environment parameters include roof parameters, and determining the component arrangement scheme of the photovoltaic power station to be built according to the construction environment parameters and the component parameters includes: Determining the power station type of the photovoltaic power station to be built according to the roof parameters; Determining the arrangement type of the photovoltaic power station to be built according to the power station type and the roof parameters; The component arrangement scheme is determined according to the roof parameters, the component parameters and the arrangement type.
3. The method according to claim 2, characterized in that The roof parameters include roof type, roof size, roof shape and roof obstacle parameters; The step of determining the type of the photovoltaic power station to be built according to the roof parameters includes: Determining the type of the photovoltaic power station to be built according to the roof type; The determining the arrangement type of the photovoltaic power station to be built according to the power station type and the roof parameters includes: Determining the arrangement type of the photovoltaic power station to be built according to the power station type and the roof shape; The determining the component arrangement scheme according to the roof parameters, the component parameters and the arrangement type includes: The component arrangement scheme is determined according to the roof size, the roof obstacle parameters, the component parameters and the arrangement type.
4. The method according to claim 3, characterized in that The determining the component arrangement scheme according to the roof size, the roof obstacle parameter, the component parameter and the arrangement type includes: Calculate the projection size of the component according to the component parameters; Determining an initial component arrangement scheme according to the component projection size, the roof size, the preset arrangement parameters and the arrangement type; Calculating the roof obstacle projection range according to the roof obstacle parameters; The component arrangement scheme is determined according to the roof obstacle projection range and the initial component arrangement scheme.
5. The method according to claim 1, characterized in that The power station data model includes a material list and a material data model, and the construction environment parameters also include environmental parameters of the roof location; The step of determining a target power station data model corresponding to the photovoltaic power station to be built from a plurality of power station data models according to the construction environment parameters and the component arrangement scheme includes: According to the power station type of the photovoltaic power station to be built, the environmental parameters and the component arrangement scheme, a target material list and a target material data model corresponding to the photovoltaic power station to be built are determined from the plurality of power station data models.
6. The method according to claim 5, characterized in that The target material list includes a plurality of materials required for the photovoltaic power station to be built and a usage calculation formula corresponding to each of the materials, and the target material data model includes material standard parameters corresponding to each material required for the photovoltaic power station to be built; The step of generating a material list corresponding to the photovoltaic power station to be built according to the target power station data model includes: For each of the materials, calculate the usage of the material according to the usage calculation formula and material standard parameters; A material list corresponding to the photovoltaic power station to be built is generated according to each of the materials and the corresponding usage amounts of the materials.
7. A material list generating device, characterized in that: The device comprises: An acquisition module is used to acquire the construction environment parameters and component parameters of the photovoltaic power station to be built input by the user; A determination module, used to determine a component arrangement scheme of the photovoltaic power station to be built according to the construction environment parameters and the component parameters; The determination module is further used to determine a target power station data model corresponding to the photovoltaic power station to be built from a plurality of pre-stored power station data models according to the construction environment parameters and the component arrangement scheme; the power station data model is used to characterize the construction standard of the photovoltaic power station; A generation module is used to generate a material list corresponding to the photovoltaic power station to be built according to the target power station data model.
8. The device according to claim 7, characterized in that The photovoltaic power station to be built is a household photovoltaic power station, and the construction environment parameters include roof parameters; the determination module is also used to determine the power station type of the photovoltaic power station to be built according to the roof parameters; determine the arrangement type of the photovoltaic power station to be built according to the power station type and the roof parameters; determine the component arrangement plan according to the roof parameters, the component parameters and the arrangement type.
9. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores a computer program executable by the processor, and the processor can execute the computer program to implement any one of the methods described in claims 1-6.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.