Photovoltaic component coding method, device and equipment based on Revit

By adopting an automated photovoltaic component encoding method in Revit software, the problem of manual labeling of parameters is solved, and the design efficiency and accuracy are improved.

CN119576335APending Publication Date: 2025-03-07HUADIAN HEAVY IND CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411437034.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-15
Publication Date
2025-03-07

AI Technical Summary

Technical Problem

In the prior art, engineers need to manually mark various parameters of flexible photovoltaic brackets, resulting in low design efficiency and error-prone, especially in large-scale photovoltaic power plant projects.

Method used

The photovoltaic component encoding method based on Revit is adopted to automatically determine component encoding, cross-section encoding, length and angle in response to user operations, and these parameters are marked in the plan view of the Revit software.

Benefits of technology

Improves design efficiency, accuracy and reliability, and reduces the time and error rate for engineers to manually mark parameters.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119576335A_ABST
    Figure CN119576335A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of photovoltaic component coding, and discloses a Revit-based photovoltaic component coding method, device and equipment, and the method comprises the steps: responding to a structural column selection operation triggered by a user, and carrying out the component coding according to the land parcel number-axis number-serial number of a structural column on an axis; performing structural column section coding according to a preset section coding principle; determining the length and angle of the structural column according to the actual length of the structural column and the angles of the two groups of photovoltaic modules at the top of the structural column; according to the method, component coding, structural column section coding and structural column length and angle determination are automatically carried out according to the component coding rule, parameters of the column are annotated in the plane view, the process of manually annotating the parameters is omitted, and the efficiency is improved. The possibility of manual parameter labeling errors is avoided, and the design efficiency, accuracy and reliability are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of photovoltaic component coding, and in particular to a photovoltaic component coding method, device and equipment based on Revit. Background Art

[0002] Flexible photovoltaic supports are structures used to support solar panels. Their design needs to consider a variety of factors, including material strength, wind load, terrain adaptability, etc. The design of flexible photovoltaic supports usually involves complex engineering calculations and detailed drawing annotations, especially for large-scale photovoltaic power station projects, where the accuracy and efficiency of the design are crucial.

[0003] In the existing technology, engineers need to manually mark various parameters of the bracket in the traditional design process, which is time-consuming and labor-intensive. The traditional marking method is inefficient, especially for large-scale photovoltaic power station projects with a large number of columns. Manual marking takes a long time and is prone to errors. Summary of the invention

[0004] In view of this, the present invention provides a photovoltaic component coding method, device and equipment based on Revit to solve the problem that manual parameter marking is time-consuming, labor-intensive and error-prone.

[0005] In a first aspect, the present invention provides a photovoltaic component coding method based on Revit, the method comprising:

[0006] In response to the structural column selection operation triggered by the user, component coding is performed according to the plot number-axis number-structural column number on the axis;

[0007] Structural column section coding is performed according to the pre-set section coding principle;

[0008] Determine the length and angle of the structural column according to the actual length of the structural column and the angles of the two groups of photovoltaic modules at the top of the structural column;

[0009] Mark the component code, section code, length and angle of the structural column in the plan view of the Revit software.

[0010] The present invention responds to the structural column selection operation through Revit software, automatically performs component coding according to component coding rules, performs structural column cross-section coding, and determines the length and angle of the structural column, so as to annotate the parameters of the column in the plan view of Revit software, thereby eliminating the process of engineers manually marking parameters and avoiding the possibility of engineers making mistakes in manually marking parameters, thereby improving design efficiency, accuracy and reliability.

[0011] In an optional implementation, component coding is performed according to the plot number-axis number-number of the structural column on the axis, including:

[0012] According to the layout direction of the photovoltaic modules, the component coding program is automatically run, and the component coding is performed according to the component coding rule of plot number-axis number-structure column number on the axis;

[0013] When the Revit software interface prompts that the coding is completed and the number of coded components is shown, the component coding is completed.

[0014] The present invention automatically runs a component coding program according to the arrangement direction of the photovoltaic components, runs different component coding programs according to the arrangement direction of the photovoltaic components, automatically codes the components, and assigns component numbers, thereby eliminating the step of manually marking component numbers by engineers and improving parameter marking efficiency.

[0015] In an optional implementation, the cross-section coding of the structural column is performed according to a preset cross-section coding principle, including:

[0016] According to the relative position of the end column and the axis, determine the project mode in the coding mode selection of Revit software;

[0017] According to the layout direction of the photovoltaic modules, determine the axis direction in the coding mode selection of the Revit software;

[0018] When the Revit software interface prompts that the coding is completed and the number of coded components is shown, the structural column section coding is completed.

[0019] When encoding the cross section of a structural column, the present invention selects a corresponding option in the encoding mode of the Revit software according to the relative position of the end column and the axis and the arrangement direction of the photovoltaic module to perform automatic cross section encoding of the structural column, thereby eliminating the step of manually encoding the cross section of the structural column by the engineer and improving the efficiency of parameter encoding.

[0020] In an optional implementation, according to the relative positions of the end column and the axis, the project mode is determined in the coding mode selection of the Revit software, including:

[0021] If there are two end columns, which are symmetrically arranged on the upper and lower sides of the axis, select the double end column mode in the coding mode selection of the Revit software;

[0022] If both the end columns and the middle columns are arranged on the axis, select the single end column mode in the coding mode selection of the Revit software.

[0023] According to the relative positions of the end columns and the axis, the present invention selects a double-end column mode or a single-end column mode in the coding mode selection of the Revit software, so as to select a coding mode that matches the relative positions of the end columns and the axis, thereby avoiding coding failure caused by incompatibility.

[0024] In an optional implementation, according to the arrangement direction of the photovoltaic modules, the axis direction is determined in the coding mode selection of the Revit software, including:

[0025] If the photovoltaic modules are arranged in the horizontal direction, select along the X-axis direction in the coding mode selection of the Revit software;

[0026] If the photovoltaic panels are arranged in a vertical direction, select along the Y axis in the coding mode selection of the Revit software.

[0027] According to the arrangement direction of the photovoltaic components, the present invention selects the encoding mode along the X-axis direction or along the Y-axis direction in the Revit software to select the encoding mode that matches the arrangement direction of the photovoltaic components, thereby avoiding the situation of encoding failure caused by incompatibility.

[0028] In an optional embodiment, the method further includes:

[0029] In response to a parameter reset operation triggered by a user, determining a target structural column for parameter reset;

[0030] Clear the structural column section code, structural column length and angle corresponding to the target structural column.

[0031] The present invention responds to a parameter reset operation through Revit software, clears the structural column section code, structural column length and angle corresponding to the structural column that needs parameter reset, so as to facilitate recoding of the structural column section code, structural column length and angle.

[0032] In a second aspect, the present invention provides a photovoltaic component encoding device based on Revit, the device comprising:

[0033] The first coding module is used to respond to the structural column selection operation triggered by the user and perform component coding according to the plot number-axis number-structural column number on the axis;

[0034] The second coding module is used to code the cross-section of the structural column according to a preset cross-section coding principle;

[0035] The third encoding module is used to determine the length and angle of the structural column according to the actual length of the structural column and the angles of the two groups of photovoltaic modules at the top of the structural column;

[0036] The marking module is used to mark the component code, section code, length and angle of the structural column in the plan view of the Revit software.

[0037] In a third aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the Revit-based photovoltaic component coding method of the above-mentioned first aspect or any corresponding embodiment thereof by executing the computer instructions.

[0038] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the Revit-based photovoltaic component coding method of the above-mentioned first aspect or any corresponding embodiment thereof.

[0039] In a fifth aspect, the present invention provides a computer program product, comprising computer instructions for causing a computer to execute the Revit-based photovoltaic component coding method of the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0041] Figure 1 is a flow chart of a photovoltaic component coding method based on Revit according to an embodiment of the present invention;

[0042] Figure 2 is a schematic diagram of a photovoltaic coding tab interface of Revit software according to an embodiment of the present invention;

[0043] Figure 3 is a schematic diagram of horizontal arrangement of photovoltaic modules according to an embodiment of the present invention;

[0044] Figure 4 is a schematic diagram of a prompt dialog box showing that encoding is completed according to an embodiment of the present invention;

[0045] Figure 5 is a schematic diagram of a non-horizontal arrangement of photovoltaic components according to an embodiment of the present invention;

[0046] Figure 6 is a schematic diagram of a structural column property interface according to an embodiment of the present invention;

[0047] Figure 7 is a schematic diagram of a prompt dialog box for a column section coding function reminder according to an embodiment of the present invention;

[0048] Figure 8 is a schematic diagram of a coding mode selection interface in column section coding according to an embodiment of the present invention;

[0049] Fig. 9 is a schematic diagram of an angle selection rule according to an embodiment of the present invention;

[0050] Fig.10 is a schematic diagram of a property interface of a structural column section number, a structural column length and an angle according to an embodiment of the present invention;

[0051] Fig.11 is a schematic diagram of a column parameter reset interface according to an embodiment of the present invention;

[0052] Fig.12 is a structural block diagram of a photovoltaic component encoding device based on Revit according to an embodiment of the present invention;

[0053] Fig.13 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0054] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. 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 those skilled in the art without creative work are within the scope of protection of the present invention.

[0055] According to an embodiment of the present invention, a photovoltaic component coding method embodiment based on Revit is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0056] In this embodiment, a photovoltaic component coding method based on Revit is provided. The method is applied to a photovoltaic component coding system based on Revit. The system is based on secondary development of Revit software and adopts C# language under the Visual Studio platform. A plug-in for photovoltaic coding is developed with the help of Revit API and WPF. The plug-in can assign component numbers, section codes, lengths and angle parameters to structural columns. The plug-in interface is intuitive and easy to use, and the operation is convenient, and the coding of structural columns can be processed in batches.

[0057] The system supports axis coding of the end columns and middle columns of flexible brackets for easy installation and positioning; the cross-section code, length and cable angle information of the end columns and middle columns of flexible brackets are assigned according to the project numbering principle for structural layout and construction drawing design. The main functions include: transverse axis component coding, component coding, column section coding, column overall coding and resetting column parameters.

[0058] Specifically, the system installation process is: place the plug-in DLL file and addin file in the C:\ProgramData\Autodesk\Revit\Addins\{RevitVersion} directory, and the plug-in will be automatically loaded when Revit starts. You need to create a blank TXT file named RevitPara in the D:\RevitPara path to store shared parameters. Here is only the name of the shared parameter.

[0059] Figure 1 is a flow chart of a photovoltaic component coding method based on Revit according to an embodiment of the present invention, such as Figure 1 As shown, the process includes the following steps:

[0060] Step S101, in response to a structural column selection operation triggered by a user, component coding is performed according to the plot number-axis line number-structural column number on the axis line.

[0061] In the embodiment of the present invention, after the user opens the Revit software, the user can click the photovoltaic coding tab in the function area panel of the Revit software, select the structural column to be coded, and perform component coding. The format of the component coding is "plot number-axis number-number of the structural column on the axis", for example, the component number is 4-3A-41-005, where 4 represents the plot number, 3A-41 represents the axis number where the structural column is located, and 41-005 represents the number of the structural column on this axis.

[0062] Step S102, encoding the cross-section of the structural column according to a preset cross-section encoding principle.

[0063] In the embodiment of the present invention, when coding the structural columns on an axis network, the cross-section coding of the structural columns is performed, and the cross-section number of the structural column is the cross-section number assigned to the structural column according to the pre-set cross-section coding principle. When coding the cross-section of the structural column, the Revit software needs to provide a function reminder, reminding that when using this function, it is necessary to select a complete structural column according to the actual layout and an axis network, otherwise it will affect the judgment of the column cross-section type, and the cross-section coding of the structural column is performed after the reminder.

[0064] Step S103, determining the length and angle of the structural column according to the actual length of the structural column and the angles of the two groups of photovoltaic modules at the top of the structural column.

[0065] In an embodiment of the present invention, when determining the length and angle of the structural column, the length of the structural column is the actual length of the structural column itself, in mm, and the angle is the angle between the two groups of photovoltaic components at the top of the structural column. It should be noted that when assigning the angle attribute to the structural column, the angle range is 0°-360°.

[0066] Step S104, marking the component code, section code, length and angle of the structural column in the plan view of the Revit software.

[0067] In an embodiment of the present invention, after the component code, structural column section code, and determination of the length and angle of the structural column, the component code, section code, structural column length, and angle of the structural column are marked in the plan view of the Revit software to intuitively display the information of all structural columns.

[0068] The Revit-based photovoltaic component coding method provided in this embodiment responds to the structural column selection operation through the Revit software, automatically codes the component according to the component coding rules, codes the structural column cross-section, and determines the length and angle of the structural column, so as to annotate the column parameters in the plan view of the Revit software, eliminating the process of engineers manually marking parameters and avoiding the possibility of engineers making mistakes in manually marking parameters, thereby improving design efficiency, accuracy and reliability.

[0069] In this embodiment, a photovoltaic component coding method based on Revit is provided, and the process includes the following steps:

[0070] Step S201, in response to a structural column selection operation triggered by a user, component coding is performed according to the plot number-axis line number-structural column number on the axis line.

[0071] Specifically, the above step S201 includes:

[0072] Step S2011, automatically running the component coding program according to the arrangement direction of the photovoltaic modules, and coding the components according to the component coding rule of plot number-axis line number-number of the structural column on the axis line.

[0073] Step S2012, when the Revit software interface prompts that the coding is completed and the number of coded components, the component coding is completed.

[0074] In the embodiment of the present invention, Figure 2 As shown, the photovoltaic coding tab of Revit software includes horizontal axis component coding, component coding, etc.

[0075] When the arrangement direction of the PV modules is horizontal, the transverse axis component coding program is automatically run. When the transverse axis component coding function is used, the arrangement direction of the PV modules is horizontal. Figure 3The specific operation process is as follows: first select the structural column to be coded, click the horizontal axis component coding button, and the horizontal axis component coding program will automatically run, and the component coding will be performed according to the component coding rule of plot number-axis line number-structural column number on the axis line. After the program runs, Figure 4 As shown in the figure, when the Revit software interface displays "Coding completed! The number of coded components is: XXX", it means that the coding is completed. After the coding is completed, select a column and you can see the properties containing the component number in the properties, which include the plot number, axis number and the number of the structural column on the axis.

[0076] When the arrangement direction of the PV modules is not horizontal, the component coding program is automatically run. Using the component coding function, the arrangement direction of the PV modules is horizontal. Figure 5 The specific operation process is as follows: first select the structural column to be coded, click the component coding button, and the component coding program will automatically run. The component coding rule is plot number-axis number-structural column number on the axis. After the program runs, the Revit software interface displays "Coding completed! The number of coded components is: XXX", indicating that the coding is completed. After the coding is completed, select a column, such as Figure 6 As shown, you can see the attributes containing the component number in the properties, and its attributes include the plot number, axis number and the number of the structural column on the axis.

[0077] By automatically running the component coding program according to the layout direction of the photovoltaic modules, different component coding programs can be run according to the layout direction of the photovoltaic modules to automatically code the components and assign component numbers, thereby eliminating the step of engineers manually marking component numbers and improving parameter marking efficiency.

[0078] Step S202, encoding the structural column sections according to a preset section encoding principle.

[0079] Specifically, the above step S202 includes:

[0080] Step S2021, determine the project mode in the coding mode selection of the Revit software according to the relative positions of the end column and the axis.

[0081] Step S2022, according to the arrangement direction of the photovoltaic components, determine the axis direction in the coding mode selection of the Revit software.

[0082] Step S2023, when the Revit software interface prompts that the coding is completed and the number of coded components, the structural column section coding is completed.

[0083] In the embodiment of the present invention, Figure 2As shown in the figure, the photovoltaic coding tab of Revit software also includes column section coding, etc. When coding the structural columns on a grid, use the column section coding function.

[0084] The specific operation process is as follows: first select the structural column to be coded, click the column section coding button, and a function reminder will appear. The function reminder content is as follows: Figure 7 As shown, close the function reminder dialog box. The coding mode selection dialog box pops up. According to the relative position of the end column and the axis, determine the project mode in the coding mode selection of the Revit software. According to the layout direction of the photovoltaic module, determine the axis direction in the coding mode selection of the Revit software. After the selection is completed, the column section coding program runs automatically. After the operation is completed, when the Revit software interface prompts "Coding is completed! The number of coded components is: XXX", it means that the coding is completed. After the coding is completed, select a column and you can see the structural column section number in the properties.

[0085] When coding the cross-section of the structural columns, select the corresponding option in the coding mode of the Revit software according to the relative position of the end column and the axis and the layout direction of the photovoltaic modules to automatically code the cross-section of the structural columns, thereby eliminating the need for engineers to manually code the cross-section of the structural columns and improving parameter coding efficiency.

[0086] Specifically, the above step S2021 includes:

[0087] Step S20211, if the number of end columns is two and they are symmetrically arranged on the upper and lower sides of the axis, select the double end column mode in the coding mode selection of the Revit software.

[0088] Step S20212, if the end columns and the middle columns are arranged on the axis, select the single end column mode in the coding mode selection of the Revit software.

[0089] In the embodiment of the present invention, Figure 8 As shown, the coding mode of Revit software includes project mode, specifically double-end column mode and single-end column mode. Specifically, if there are two end columns, symmetrically arranged on the upper and lower sides of the axis, the double-end column mode is selected in this mode. The cross-section codes of the two end columns at the same axis are the same, and the larger cross-section is selected when each is judged. When selecting structural columns in this mode, it is necessary to ensure that the end columns on the same axis are at both ends, and there cannot be end columns in the middle, otherwise it will affect the cross-section judgment. If the end columns and the middle columns are arranged on the axis, the single-end column mode is selected in this mode.

[0090] According to the relative position of the end column and the axis, select the double end column mode or the single end column mode in the coding mode selection of the Revit software to select the coding mode that matches the relative position of the end column and the axis to avoid coding failure due to incompatibility.

[0091] Specifically, the above step S2022 includes:

[0092] Step S20221, if the arrangement direction of the photovoltaic components is horizontal, select along the X-axis direction in the encoding mode selection of the Revit software.

[0093] Step S20222: If the arrangement direction of the photovoltaic components is vertical, select along the Y-axis direction in the encoding mode selection of the Revit software.

[0094] In the embodiment of the present invention, Figure 8 As shown, the coding mode of Revit software also includes axis mode, specifically including along the X-axis direction and along the Y-axis direction. If the arrangement direction of the photovoltaic module is horizontal, select along the X-axis direction. If the arrangement direction of the photovoltaic module is vertical, select along the Y-axis direction.

[0095] It should be noted that if the layout direction of the PV panels is neither horizontal nor vertical, you can select either one, and the coordinates of the structural columns will be sorted from small to large according to the selected direction.

[0096] According to the layout direction of the PV panels, select the coding mode along the X-axis or along the Y-axis in the Revit software to select the coding mode that matches the layout direction of the PV panels to avoid coding failures caused by incompatibility.

[0097] Step S203, determining the length and angle of the structural column according to the actual length of the structural column and the angles of the two groups of photovoltaic modules at the top of the structural column.

[0098] For details, please see Figure 1 Step S103 of the embodiment shown is not described in detail here. The angle selection rule is as follows: Fig. 9 As shown in the figure, the property interface of the structural column section number, structural column length and angle is as follows Fig.10 shown.

[0099] Step S204, marking the component code, section code, length and angle of the structural column in the plan view of the Revit software.

[0100] For details, please see Figure 1 Step S104 of the illustrated embodiment will not be described in detail here.

[0101] Step S205 , in response to the parameter reset operation triggered by the user, determining a target structural column for parameter reset.

[0102] Step S206, clearing the structural column section code, structural column length and angle corresponding to the target structural column.

[0103] In the embodiment of the present invention, Figure 2 As shown, the PV coding tab of Revit software also includes resetting column parameters, etc.

[0104] When you need to reset the column section number, length and angle parameters of the structural column, use the reset column parameters function. The specific operation process is: first select the structural column whose column parameters need to be reset, click the reset column parameters button, and the Revit software will prompt a function reminder, reminding "Reset the selected structural column's column section number, length, angle and other parameter values!" Close the function reminder dialog box, and a pop-up "Coding completed! Reset component quantity to: XXX" will pop up, indicating that the reset is complete. After the reset is completed, select a column, such as Fig.11 As shown, you can see in the properties that the attribute values ​​containing the structural column section number, structural column length and angle have been cleared.

[0105] The Revit-based photovoltaic component coding method provided in this embodiment responds to the parameter reset operation through the Revit software, clears the structural column cross-section code, structural column length and angle corresponding to the structural column that needs parameter reset, so as to facilitate the recoding of the structural column cross-section code, structural column length and angle.

[0106] As a specific application example of the embodiment of the present invention, the photovoltaic component coding method based on Revit includes the following steps:

[0107] 1. Get the selected structural column;

[0108] 2. Get all the axis grids and only keep the linear axis grids with "-" in their names;

[0109] 3. Traverse the columns and group them by axis grid name, so that the columns on the same axis grid are grouped together;

[0110] 4. Create coded shared parameters to save the required column information;

[0111] 5. Sort each group of columns according to the selected direction and assign corresponding values ​​to the parameters;

[0112] 6. The component number consists of three parts: plot number, axis number, and serial number on the axis;

[0113] 7. The cross-section number of the structural column is assigned to the cross-section number of the structural column according to the set cross-section numbering principle. There are two cases: a. The cross-section of the structural column is only related to the length of the structural column. b. The cross-section of the structural column is related to the length of the structural column and the cable angle. First determine the concave and convex angle, and then determine the cross-section number according to the length of the structural column;

[0114] 8. The length of the structural column is the length of the structural column itself, in mm;

[0115] 9. The angle is the included angle between two groups of photovoltaic modules at the top of the structural column. The angle range is 0°-180° when it is a concave angle and 180°-360° when it is a convex angle.

[0116] After assigning the shared parameters, marking these parameters of the structural columns in the plan view can intuitively display the information of all columns, facilitate model adjustment, and directly produce drawings.

[0117] In this embodiment, a photovoltaic component encoding device based on Revit is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware for a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0118] This embodiment provides a photovoltaic component encoding device based on Revit, such as Fig.12 As shown, including:

[0119] The first coding module 1201 is used to respond to the structural column selection operation triggered by the user and perform component coding according to the plot number-axis line number-structural column number on the axis line.

[0120] The second coding module 1202 is used to encode the cross-section of the structural column according to a preset cross-section coding principle.

[0121] The third encoding module 1203 is used to determine the length and angle of the structural column according to the actual length of the structural column and the angles of the two groups of photovoltaic modules at the top of the structural column.

[0122] The marking module 1204 is used to mark the component code, section code, length and angle of the structural column in the plan view of the Revit software.

[0123] In some optional implementations, the first encoding module 1201 includes:

[0124] The first coding unit is used to automatically run the component coding program according to the arrangement direction of the photovoltaic components, and to perform component coding according to the component coding rule of plot number-axis line number-number of the structural column on the axis line.

[0125] The first prompt unit is used to complete the component coding when the Revit software interface prompts that the coding is completed and the number of coded components.

[0126] In some optional implementations, the second encoding module 1202 includes:

[0127] The first determining unit is used to determine the project mode in the coding mode selection of the Revit software according to the relative positions of the end column and the axis line.

[0128] The second determining unit is used to determine the axis direction in the coding mode selection of the Revit software according to the arrangement direction of the photovoltaic components.

[0129] The second prompt unit is used to complete the coding of the structural column section when the Revit software interface prompts that the coding is completed and the number of coded components is completed.

[0130] In some optional implementations, the first determining unit includes:

[0131] The first selected sub-unit is used if the number of end columns is two and they are symmetrically arranged on the upper and lower sides of the axis. In this case, the double end column mode is selected in the coding mode selection of the Revit software.

[0132] The second selected sub-unit is used to select the single end column mode in the coding mode selection of the Revit software if both the end columns and the middle columns are arranged on the axis.

[0133] In some optional implementations, the second determining unit includes:

[0134] The third selection subunit is used to select along the X-axis direction in the encoding mode selection of the Revit software if the arrangement direction of the photovoltaic components is horizontal.

[0135] The fourth selected subunit is used to select along the Y-axis direction in the encoding mode selection of the Revit software if the arrangement direction of the photovoltaic components is the vertical direction.

[0136] In some optional embodiments, the device further comprises:

[0137] The determination module is used to determine a target structural column for parameter reset in response to a parameter reset operation triggered by a user.

[0138] The clearing module is used to clear the structural column section code, structural column length and angle corresponding to the target structural column.

[0139] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.

[0140] The Revit-based photovoltaic component encoding device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above-mentioned functions.

[0141] The embodiment of the present invention also provides a computer device having the above Fig.12 The Revit-based photovoltaic component encoding device is shown.

[0142] See also Fig.13 , Fig.13 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Fig.13 As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Fig.13 A processor 10 is taken as an example.

[0143] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.

[0144] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.

[0145] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0146] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.

[0147] The computer device also includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30 and the output device 40 may be connected via a bus or other means. Fig.13 The example of connecting through bus is taken in the following.

[0148] The input device 30 can receive input digital or character information and generate key signal input related to user settings and function control of the computer device, such as a touch screen, etc. The output device 40 can include a display device, etc.

[0149] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.

[0150] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.

[0151] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations all fall within the scope of the present application.

Claims

1. A photovoltaic component coding method based on Revit, characterized in that: The method comprises: In response to the structural column selection operation triggered by the user, component coding is performed according to the plot number-axis number-structural column number on the axis; Structural column section coding is performed according to the pre-set section coding principle; Determine the length and angle of the structural column according to the actual length of the structural column and the angles of the two groups of photovoltaic modules at the top of the structural column; Mark the component code, section code, length and angle of the structural column in the plan view of the Revit software.

2. The method according to claim 1, characterized in that The component coding according to the plot number-axis number-number of the structural column on the axis line includes: According to the layout direction of the photovoltaic modules, the component coding program is automatically run, and the component coding is performed according to the component coding rule of plot number-axis number-structure column number on the axis; When the Revit software interface prompts that the coding is completed and the number of coded components is shown, the component coding is completed.

3. The method according to claim 1, characterized in that The section coding of the structural column according to the preset section coding principle includes: According to the relative position of the end column and the axis, determine the project mode in the coding mode selection of Revit software; According to the layout direction of the photovoltaic modules, determine the axis direction in the coding mode selection of the Revit software; When the Revit software interface prompts that the coding is completed and the number of coded components is shown, the structural column section coding is completed.

4. The method according to claim 3, characterized in that: According to the relative position of the end column and the axis, the project mode is determined in the coding mode selection of the Revit software, including: If there are two end columns, which are symmetrically arranged on the upper and lower sides of the axis, select the double end column mode in the coding mode selection of the Revit software; If both the end columns and the middle columns are arranged on the axis, select the single end column mode in the coding mode selection of the Revit software.

5. The method according to claim 3, characterized in that: Determining the axis direction in the coding mode selection of the Revit software according to the arrangement direction of the photovoltaic components includes: If the photovoltaic modules are arranged in the horizontal direction, select along the X-axis direction in the coding mode selection of the Revit software; If the photovoltaic panels are arranged in a vertical direction, select along the Y axis in the coding mode selection of the Revit software.

6. The method according to claim 1, characterized in that The method further comprises: In response to a parameter reset operation triggered by a user, determining a target structural column for parameter reset; Clear the structural column section code, structural column length and angle corresponding to the target structural column.

7. A photovoltaic component encoding device based on Revit, characterized in that: The device comprises: The first coding module is used to respond to the structural column selection operation triggered by the user and perform component coding according to the plot number-axis number-structural column number on the axis; The second coding module is used to code the cross-section of the structural column according to a preset cross-section coding principle; The third encoding module is used to determine the length and angle of the structural column according to the actual length of the structural column and the angles of the two groups of photovoltaic modules at the top of the structural column; The marking module is used to mark the component code, section code, length and angle of the structural column in the plan view of the Revit software.

8. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the Revit-based photovoltaic component coding method described in any one of claims 1 to 6 by executing the computer instructions.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the photovoltaic component coding method based on Revit according to any one of claims 1 to 6.

10. A computer program product, characterized in that The invention comprises computer instructions, wherein the computer instructions are used to make a computer execute the photovoltaic component coding method based on Revit according to any one of claims 1 to 6.