QTO grouping of attributes of structured CAD (BIM) data
22 February 2024
Time resources of calculations for scheduling of works
22 February 2024

QTO calculations using rules from Excel

In the process of performing various computations in construction projects, it is often necessary to group the entity elements by more than one attribute.

For example, we can classify entities in the category "Windows" (entities with the value "OST_Windows" or "IFC_Windows" in the "Category" attribute) into different types of windows, selecting only those that have the text value "Type 1" in the type name attribute (e.g. "Type Name" or "Type"), or sort the same items by the thermal conductivity specified in one of the attributes. Similarly, you can group entities of different wall and floor types, where the grouping criteria can include any number of attributes and their values.

The process of defining such grouping rules is similar to the process of creating data requirements described in the chapter "Creating Requirements and Data Quality Checks". Such grouping and calculation rules ensure that the results are accurate and relevant for calculating the total attributes of the quantity or volume of any entity category, taking into account all necessary conditions.

The following code sample filters the project table so that the resulting dataset contains only those entities in which the Category attribute-column contains the values "OST_Windows" or "IfcWindows" and at the same time the Type attribute-column contains the value "Type 1".

 

❏ Text request to ChatGPT:

I have a Project Dataframe - filter the data so that only records with "Category" containing the values "OST_Windows" or "IfcWindows" and simultaneously the Type attribute containing the value "Type 1" remain in the dataset.

➤ ChatGPT Answer:

To get the project entities in the DataFrame form by window category only with a specific thermal conductivity value, you can use the following code in Pandas:

 

❏ Text request to ChatGPT:

I have a Project Dataframe - filter the data so that only records with "Category" containing "OST_Windows" or "IfcWindows" values remain in the dataset and simultaneously the ThermalConductivity column should have a value of 0.5. ⏎

➤ ChatGPT Answer:

In this example, as in the first example, we use the logical condition “&” to combine two criteria (which could be dozens and hundreds): thermal conductivity value and belonging to one of the two window categories. The “isin” method checks if the value of the “Category” attribute-column is contained in the provided list.

Next, we will look at each category of project creature, establishing a separate grouping rule for each and determining the final formula for calculating the cost of the volume attribute. This formula will take into account the unique characteristics of the group and include adjustments such as an additional 10% of material volume or a specific additional quantity of material. And let's save the grouping rules with formulas for each category as a structured table.

Having collected the attribute grouping rules for each category in an Excel file, we can now automatically run the project table through the grouping rules table and group the entire project to perform all necessary calculations given the volume attributes.

In the process of automatic creation of volumetric tables, our application should go through all categories of the grouping rules table, take the grouping attributes, group all elements of the project according to them and aggregate the volume attribute for this group additionally multiplying it by a factor or coefficient.

Let's ask ChatGPT to write code for us for such a solution, where the code would have to load two tables - a table of grouping rules and a table of the project itself, and then apply the grouping rules, group the items according to the given rules, calculate the aggregated values and save the results to an Excel file.

 

❏ Text request to ChatGPT:

Need code to read data from 'basic_sample_project.xlsx', clear columns 'Area', 'Volume' etc. from non-numeric characters and then from the file Grouping_rules_QTO.xlsx group all data by 'Parameter 1' and 'Parameter 2', aggregate 'Aggregate Parameter', filter by 'Expression2', perform calculations from 'Formel1' and save the final table to 'QTQ_table2.xlsx'. ⏎

➤ ChatGPT Answer:

The final result of the code execution will be a table of groups-entities, which contains not just summarized volume attributes from the source CAD (BIM) model - but a new real volume attribute "After Calculation" taking into account the requirements of estimators.

We can now apply such code to any number of existing or incoming projects (RVT, IFC, DWG, DGN and others), whether it is a few projects or tens, hundreds of thousands of projects in different formats.

Such a process allows fully automated collection of data on quantitative attributes and volumes of project elements for further work with them, including cost estimating, carbon footprint calculation or other analytical tasks in construction.

Having learned the different types of data and the tools that make it easy to organize and group them by specific attributes, we are now ready to integrate project data with various company business scenarios. In scenarios such as quantity calculation (QTO), this usually means performing tasks such as multiplying, validating or grouping attribute-columns of tabular data or applying attribute-column multiplication of attribute-column information from structured rule tables to attribute-columns of a structured project table.

Leave a Reply

Change language

Post's Highlights

Stay updated: news and insights



We’re Here to Help

Fresh solutions are released through our social channels

UNLOCK THE POWER OF DATA
 IN CONSTRUCTION

Dive into the world of data-driven construction with this accessible guide, perfect for professionals and novices alike.
From the basics of data management to cutting-edge trends in digital transformation, this book
will be your comprehensive guide to using data in the construction industry.

Related posts 

Focus Areas

Search

Search
Sorry, no articles found.

✕

Don't miss the new solutions

 

 

✕
✕

Linux

macOS

Looking for the Linux or MAC version? Send us a quick message using the button below, and we’ll guide you through the process!

✕

📥 Download OnePager

Welcome to DataDrivenConstruction—where data meets innovation in the construction industry. Our One-Pager offers a concise overview of how our data-driven solutions can transform your projects, enhance efficiency, and drive sustainable growth. 

✕

🚀 Welcome to the future of data in construction!

You're taking your first step into the world of open data, working with normalized, structured data—the foundation of data analytics and modern automation tools.

By downloading, you agree to the DataDrivenConstruction terms of use 

Stay ahead with the latest updates on converters, tools, AI, LLM
and data analytics in construction — Subscribe now!

✕

🚀 Welcome to the future of data in construction!

You're taking your first step into the world of open data, working with normalized, structured data—the foundation of data analytics and modern automation tools.

By downloading, you agree to the DataDrivenConstruction terms of use 

Stay ahead with the latest updates on converters, tools, AI, LLM
and data analytics in construction — Subscribe now!

✕

🚀 Welcome to the future of data in construction!

You're taking your first step into the world of open data, working with normalized, structured data—the foundation of data analytics and modern automation tools.

By downloading, you agree to the DataDrivenConstruction terms of use 

Stay ahead with the latest updates on converters, tools, AI, LLM
and data analytics in construction — Subscribe now!

✕

🚀 Welcome to the future of data in construction!

You're taking your first step into the world of open data, working with normalized, structured data—the foundation of data analytics and modern automation tools.

By downloading, you agree to the DataDrivenConstruction terms of use 

Stay ahead with the latest updates on converters, tools, AI, LLM
and data analytics in construction — Subscribe now!

✕

🚀 Welcome to the future of data in construction!

You're taking your first step into the world of open data, working with normalized, structured data—the foundation of data analytics and modern automation tools.

By downloading, you agree to the DDC terms of use 

✕

🚀 Welcome to the future of data in construction!

You're taking your first step into the world of open data, working with normalized, structured data—the foundation of data analytics and modern automation tools.

By downloading, you agree to the DataDrivenConstruction terms of use 

Stay ahead with the latest updates on converters, tools, AI, LLM
and data analytics in construction — Subscribe now!

✕
DataDrivenConstruction offers workshops tested and practiced on global leaders in the construction industry to help your team navigate and leverage the power of data and artificial intelligence in your company's decision making.

Reserve your spot now to rethink your
approach to decision making!

✕

 

🚀 Welcome to the future of data in construction!

By downloading, you agree to the DataDrivenConstruction terms of use 

Stay ahead with the latest updates on converters, tools, AI, LLM
and data analytics in construction — Subscribe now!

✕
Have a question or need more information? Reach out to us directly!
Schedule a time to discuss your needs with our team.
Tailored sessions to help your team grow — let's plan together!
✕
Have you attended one of our workshops, read our book, or used our solutions? Share your thoughts with us!
Name
✕
Data Maturity Diagnostics

🧰 Data-Driven Readiness Check

This short assessment will help you identify your company's data management pain points and offer solutions to improve project efficiency. It takes only 1–2 minutes to complete and you will receive personalized recommendations tailored to your needs.

✕

Clean & Organized Data

Theoretical Chapters:

Practical Chapters:

What You'll Find on
DDC Solutions:

  • CAD/BIM to spreadsheet/database converters (Revit, AutoCAD, IFC, Microstation)
  • Ready-to-deploy n8n workflows for construction processes
  • ETL pipelines for data synchronization between systems
  • Customizable Python scripts for repetitive tasks
  • Intelligent data validation and error detection
  • Real-time dashboard connectors
  • Automated reporting systems
✕

Connect Everything

Theoretical Chapters:

Practical Chapters:

What You'll Find on
DDC Solutions:

  • CAD/BIM to spreadsheet/database converters (Revit, AutoCAD, IFC, Microstation)
  • Ready-to-deploy n8n workflows for construction processes
  • ETL pipelines for data synchronization between systems
  • Customizable Python scripts for repetitive tasks
  • Intelligent data validation and error detection
  • Real-time dashboard connectors
  • Automated reporting systems
✕

Add AI & LLM Brain

Theoretical Chapters:

Practical Chapters:

What You'll Find on
DDC Solutions:

  • CAD/BIM to spreadsheet/database converters (Revit, AutoCAD, IFC, Microstation)
  • Ready-to-deploy n8n workflows for construction processes
  • ETL pipelines for data synchronization between systems
  • Customizable Python scripts for repetitive tasks
  • Intelligent data validation and error detection
  • Real-time dashboard connectors
  • Automated reporting systems
QTO calculations using rules from Excel
This website uses cookies to improve your experience. By using this website you agree to our Data Protection Policy.
Read more
×