A model construction method for automated modeling and engineering quantity calculation of wind power concrete towers
By writing plug-ins on the Revit platform, the automatic modeling and engineering volume calculation of wind power concrete towers is solved, and the problem of inefficiency of traditional modeling methods is achieved, fast and accurate model generation and engineering volume statistics are achieved, and design efficiency and data accuracy are improved.
Patent Information
- Application Number
- CN202411200022.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-29
- Publication Date
- 2025-09-02
- Estimated Expiration
- 2044-08-29
AI Technical Summary
The traditional wind power concrete tower modeling method relies on manual operations, resulting in inefficiency. Design changes require repeated operations and calculations. Information transmission and collaborative work are prone to data errors and communication delays.
Based on the Revit platform, automatic modeling and engineering volume calculation of wind power concrete towers are realized by writing plug-ins. Revit can be used to write C language to recognize files, automatically read and generate BIM models, and complete engineering volume statistics.
It realizes rapid and accurate modeling and engineering volume calculation of wind power concrete towers, improves design efficiency and accuracy, reduces human errors, and ensures the consistency and accuracy of design data.
Smart Images

Figure CN119129058B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of modeling of construction engineering, and in particular to a model building method for automatic modeling of wind power concrete towers and engineering quantity calculation. Background Art
[0002] As a core component of wind turbines, traditional modeling methods for concrete towers often rely on manual labor, which is cumbersome and requires repeated operations and calculations for design changes, resulting in low efficiency. Furthermore, information transfer and collaborative work pose challenges, leading to data errors and communication delays.
[0003] Based on secondary development of Revit, automatic modeling and quantity calculation of wind turbine concrete towers are achieved by writing plug-ins, and Building Information Modeling (BIM) technology is introduced into wind turbine tower design, which can improve design efficiency and accuracy and reduce human errors.
[0004] Therefore, there is an urgent need for a method for automatic modeling and quantity calculation of wind power concrete towers based on Revit secondary development to improve the above problems. Summary of the Invention
[0005] To solve the above problems, this application provides a fast and accurate method for automatic modeling and quantity calculation of wind turbine concrete towers, creates a parametric family of wind turbine concrete tower pipe sections based on the Revit platform, uses C language to write Revit-recognizable files, uses Revit to automatically read and generate BIM models, and completes quantity statistics at the same time.
[0006] In this application, a model construction method for automatic modeling and engineering quantity calculation of wind power concrete tower is provided, comprising the following steps:
[0007] S1. A parametric family of wind power concrete tower tube segments based on the Revit platform is preset, wherein the parametric family of wind power concrete tower tube segments includes tube segment shape parameters and tube segment attribute parameters;
[0008] S2. Use the parametric family of wind turbine concrete tower tube segments as a resource embedded in the program. When the program is running, it will obtain the byte array of the .rfa file from the embedded resource and save it locally. Then, it will read the local file path and load the parametric family types C1 to C2 into the Revit project file. n ;
[0009] S3. A wind power concrete tower body parameter table is preset, and a wind power concrete tower model is generated according to the number of tower sections and the wind power concrete tower body parameter table;
[0010] S4. Calculate the engineering quantity of the wind power concrete tower model and export the data.
[0011] Preferably, S1 is operated in a Revit family environment, and S2-S4 are operated in a Revit project environment.
[0012] Preferably, the construction content of the wind turbine concrete tower tube segment parametric family based on the Revit platform of S1 is as follows:
[0013] In the Revit family environment, a parametric family of wind turbine concrete tower tube segments is created based on the shape characteristics of the wind turbine concrete tower tube segments.
[0014] The parameters for creating a parametric family of wind turbine concrete tower tube segments include height, bottom inner diameter, bottom outer diameter, top inner diameter, and top outer diameter.
[0015] Preferably, in S2, the parametric family of wind power concrete tower tube segments is used as a resource embedded in the program. When the program is running, the byte array of the .rfa file is obtained from the embedded resource and saved locally. The specific contents include:
[0016] Place the wind turbine concrete tower tube segment parametric family described in S1 into the WPF project program file of Visual Studio and set it as "embedded resource".
[0017] Determine whether the embedded resource exists. If so, get the byte array of the .rfa file directly from the embedded resource. If not, the program will be interrupted.
[0018] Preferably, S2 reads the local .rfa file path and loads the specific content of the parametric family into the Revit project file as follows:
[0019] In Visual Studio, use C language programming according to Revit syntax rules and use Revit transactions to load family files into Revit project files.
[0020] Preferably, the specific steps of generating a wind power concrete tower model according to the number of tower sections and the wind power concrete tower body parameter table in S3 are as follows:
[0021] Design a WPF page and use ScrollViewer and WarpPanel to create a page that can read and input C1~C n Wind turbine concrete tower pipe segment parameter table;
[0022] Use C language programming to read the Excel spreadsheet of concrete tower design parameters, match each parameter to the pipe segment parameter table, and obtain the target pipe segment parameter table;
[0023] Input the number of target concrete tower tube segments to be created, program in C language, use the filter to search for the family type loaded in S2, copy the family type with the corresponding serial number according to the number of tube segments, and automatically update the target tube segment parameter table according to the tube segment serial number;
[0024] Use C programming language in Visual Studio to calculate the placement coordinates (X, Y, Z) of the current tower tube segment and execute the placement command to generate the current tower tube segment model. Modify the parameters of the current tube segment according to the concrete tower body parameter table.
[0025] Determine whether all tower tube sections have been created. If so, generate a wind turbine concrete tower model.
[0026] If all tower tube sections have not been created, the height parameter of the current tower tube section is obtained and the placement coordinates of the next tower tube section are calculated based on this parameter until all tower tube sections are created.
[0027] Preferably, the specific contents of the engineering quantity calculation and data export of the wind power concrete tower model in S4 are:
[0028] Create an Excel template and set it as an embedded resource in the program;
[0029] Filter all tower tube segment instances in the project file and obtain the shape parameters and volume parameters of the tower tube segment instances;
[0030] Extract the shape parameters and volume parameters of all tower tube sections into the database;
[0031] Retrieve the embedded Excel template file, select the target storage location, and write the parameters in the database into the template file.
[0032] In summary, the model construction method for automatic modeling and engineering quantity calculation of wind power concrete towers of the present invention, compared with the modeling technology of traditional construction projects, uses C language to write Revit-recognizable files, uses Revit to automatically read and generate BIM models, and completes engineering quantity statistics at the same time, so as to overcome the shortcomings of traditional modeling such as long cycle, low accuracy, cumbersome calculation, poor flexibility and adjustability, and achieve the purpose of one-click rapid modeling and quantity calculation.
[0033] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 This is a modeling flow chart of a model building method for automated modeling and engineering quantity calculation of a wind power concrete tower according to the present invention;
[0035] Figure 2This is a calculation flow chart of a model construction method for automatic modeling and engineering quantity calculation of a wind power concrete tower according to the present invention. DETAILED DESCRIPTION
[0036] The technical solutions of the present invention are further described below through the accompanying drawings and embodiments. It should be noted that unless otherwise specifically stated, the relative arrangements of components and steps, numerical expressions and values described in these embodiments do not limit the scope of this application.
[0037] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present disclosure, its application, or uses.
[0038] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, they should be considered part of the specification.
[0039] In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not limiting. Therefore, other examples of the exemplary embodiments may have different values.
[0040] Unless otherwise defined, technical or scientific terms used in the present invention shall have the same meaning as commonly understood by one of ordinary skill in the art to which the present invention belongs.
[0041] The wind turbine concrete tower is composed of multiple pipe segments arranged in a regular and repetitive manner according to a certain proportion. The geometric characteristics of each component can be accurately described by defining different parameters. This design allows the establishment of a three-dimensional scene using a parameter-driven model. Users can set the parameters of each pipe segment by uploading an Excel spreadsheet, thereby realizing the automatic generation of the entire concrete tower model. Parametric modeling summarizes the changing geometric features from similar models and abstracts them into controllable mathematical parameters. By adjusting these parameters, different geometric models can be generated. For complex engineering building models, a combined modeling method is usually used to decompose the entire model into a series of components according to architectural rules, and use combined parameters to describe their arrangement and splicing. In contrast, simple models only need to calculate parameters to obtain the shape of the model.
[0042] like Figure 1 and Figure 2 As shown, the present invention provides a model construction method for automatic modeling and engineering quantity calculation of a wind power concrete tower, which is specifically as follows: S1, a wind power concrete tower pipe segment parametric family based on the Revit platform is preset, the wind power concrete tower pipe segment parametric family includes pipe segment shape parameters and pipe segment attribute parameters, and the wind power concrete tower pipe segment parametric family refers to a plurality of wind power concrete tower pipe segment models;
[0043] Furthermore, S1 is operated in the Revit family environment, and S2-S4 are operated in the Revit project environment.
[0044] Furthermore, the construction content of S1's wind turbine concrete tower tube segment parametric family based on the Revit platform is as follows:
[0045] In the Revit family environment, a parametric family of wind turbine concrete tower tube segments is created based on the shape characteristics of the wind turbine concrete tower tube segments.
[0046] The parameters for creating a parametric family of wind turbine concrete tower tube segments include height, bottom inner diameter, bottom outer diameter, top inner diameter, and top outer diameter.
[0047] S2. Use the parametric family of wind turbine concrete tower tube segments as a resource embedded in the program. When the program is running, it will obtain the byte array of the .rfa file from the embedded resource and save it locally. Then, it will read the local file path and load the parametric family types C1 to C2 into the Revit project file. n ;
[0048] Furthermore, S2 uses the parametric family of wind turbine concrete tower tube segments as a program embedded resource. When the program runs, it obtains the byte array of the .rfa file from the embedded resource and saves it locally. The specific contents include:
[0049] Place the wind turbine concrete tower tube segment parametric family described in S1 into the WPF project program file of Visual Studio and set it as "embedded resource".
[0050] Determine whether the embedded resource exists. If so, get the byte array of the .rfa file directly from the embedded resource. If not, the program will be interrupted.
[0051] The code is shown as:
[0052]
[0053] Furthermore, S2 reads the local .rfa file path and loads the specific content of the parametric family into the Revit project file as follows:
[0054] In Visual Studio, use C language programming according to Revit syntax rules and use Revit transactions to load family files into Revit project files.
[0055] The code is shown as:
[0056]
[0057]
[0058] S3. A wind power concrete tower body parameter table is preset, and a wind power concrete tower model is generated according to the number of tower sections and the wind power concrete tower body parameter table;
[0059] Furthermore, the specific steps for generating a wind turbine concrete tower model according to the number of tower sections and the parametric family of wind turbine concrete tower tube sections in S3 are as follows:
[0060] Design a WPF page and use ScrollViewer and WarpPanel to create a page that can read and input C1~C n Wind turbine concrete tower pipe segment parameter table;
[0061] Use C language programming to read the Excel spreadsheet of concrete tower design parameters, match each parameter to the pipe segment parameter table, and obtain the target pipe segment parameter table;
[0062] Input the number of target concrete tower tube segments to be created, program in C language, use the filter to search for the family type loaded in S2, copy the family type with the corresponding serial number according to the number of tube segments, and automatically update the target tube segment parameter table according to the tube segment serial number;
[0063] Its code is expressed as:
[0064]
[0065]
[0066] Use C programming language in Visual Studio to calculate the placement coordinates (X, Y, Z) of the current tower tube segment and execute the placement command to generate the current tower tube segment model. Modify the parameters of the current tube segment according to the concrete tower body parameter table.
[0067] Determine whether all tower tube sections have been created. If so, generate a wind turbine concrete tower model.
[0068] If all tower tube sections have not been created, the height parameter of the current tower tube section is obtained and the placement coordinates of the next tower tube section are calculated based on this parameter until all tower tube sections are created.
[0069] The code is shown as:
[0070]
[0071]
[0072]
[0073] S4. Calculate the engineering quantity of the wind power concrete tower model and export the data.
[0074] Furthermore, the specific contents of the engineering quantity calculation and data export of the wind power concrete tower model in S4 are as follows:
[0075] Create an Excel template and set it as an embedded resource in the program;
[0076] Filter all tower tube segment instances in the project file and obtain the shape parameters and volume parameters of the tower tube segment instances;
[0077] Extract the shape parameters and volume parameters of all tower tube sections into the database;
[0078] Retrieve the embedded Excel template file, select the target storage location, and write the parameters in the database into the template file.
[0079] The method mentioned in this application can realize the automatic modeling and quantity calculation of wind turbine towers, improve the flexibility and adjustability of the design of wind turbine concrete towers, ensure the consistency and accuracy of design data, meet the needs of different projects, improve the efficiency and quality of project management, and has important application value and market prospects.
[0080] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit the same. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that they can still modify or replace the technical solutions of the present invention with equivalents, and these modifications or equivalent replacements cannot cause the modified technical solutions to deviate from the spirit and scope of the technical solutions of the present invention.
Claims
1. A model construction method for automatic modeling and engineering quantity calculation of wind power concrete tower, characterized in that: The following steps are involved: S1. A parametric family of wind power concrete tower tube segments based on the Revit platform is preset, wherein the parametric family of wind power concrete tower tube segments includes tube segment shape parameters and tube segment attribute parameters; S2. Use the wind turbine concrete tower tube segment parametric family as a resource embedded in the program. When the program is running, it will obtain the byte array of the .rfa file from the embedded resource and save it locally. Then, it will read the local file path, load the parametric family into the Revit project file, and copy the concrete tower tube segment family types C1~C n ; S3. A wind turbine concrete tower body parameter table is preset, and a wind turbine concrete tower model is generated according to the number of tower sections and the wind turbine concrete tower body parameter table; S4. Calculate the engineering quantity of the wind power concrete tower model and export the data; The specific steps for generating a wind turbine concrete tower model in S3 based on the number of tower sections and the parametric family of wind turbine concrete tower tube sections are as follows: Design a WPF page and use ScrollViewer and WarpPanel to create a page that can read and input C1~C n Wind turbine concrete tower pipe segment parameter table; Use C language programming to read the Excel spreadsheet of concrete tower design parameters, match each parameter to the pipe segment parameter table, and obtain the target pipe segment parameter table; Input the number of target concrete tower tube segments to be created, program in C language, use the filter to search for the family type loaded in S2, copy the family type with the corresponding serial number according to the number of tube segments, and automatically update the target tube segment parameter table according to the tube segment serial number; Use C language programming in Visual Studio to calculate the placement coordinates (X, Y, Z) of the current tower tube segment and execute the placement command to generate the current tower tube segment model; Modify the current pipe segment parameters according to the concrete tower body parameter table; Determine whether all tower tube segments have been created. If so, generate a wind turbine concrete tower model. If all tower tube sections have not been created, obtain the height parameter of the current tower tube section and use it to calculate the placement coordinates of the next tower tube section until all tower tube sections are created; The specific contents of wind power concrete tower model engineering quantity calculation and data export in S4 are as follows: Create an Excel template and set it as an embedded resource in the program; Filter all tower tube segment instances in the project file and obtain the shape parameters and volume parameters of the tower tube segment instances; Extract the shape parameters and volume parameters of all tower tube sections into the database; Retrieve the embedded Excel template file, select the target storage location, and write the parameters in the database into the template file.
2. A model construction method for automatic modeling and engineering quantity calculation of wind power concrete tower according to claim 1, characterized in that: S1 is operated in the Revit family environment, and S2-S4 are operated in the Revit project environment.
3. The model construction method for automatic modeling and engineering quantity calculation of a wind power concrete tower according to claim 1 is characterized in that: The construction content of S1's wind turbine concrete tower tube segment parametric family based on the Revit platform is as follows: In the Revit family environment, a parametric family of wind turbine concrete tower tube segments is created based on the shape characteristics of the wind turbine concrete tower tube segments. The parameters for creating a parametric family of wind turbine concrete tower tube segments include height, bottom inner diameter, bottom outer diameter, top inner diameter, and top outer diameter.
4. The model construction method for automatic modeling and engineering quantity calculation of a wind power concrete tower according to claim 1 is characterized in that: In S2, the parametric family of wind turbine concrete tower tube segments is used as a program embedded resource. When the program is running, the byte array of the .rfa file is obtained from the embedded resource and saved locally. The specific contents include: Place the wind turbine concrete tower tube segment parametric family described in S1 into the WPF project file of Visual Studio and set it as "embedded resource"; Determine whether the embedded resource exists. If so, get the byte array of the .rfa file directly from the embedded resource. If not, the program will be interrupted.
5. The model construction method for automatic modeling and engineering quantity calculation of a wind power concrete tower according to claim 1 is characterized in that: S2 reads the local .rfa file path and loads the specific content of the parametric family into the Revit project file as follows: In Visual Studio, use C language programming according to Revit syntax rules and use Revit transactions to load family files into Revit project files.
Citation Information
Patent Citations
BIM-based offshore wind power plant model management method and system, medium and equipment
CN113673014A