Automated Rule Checking for MEP Systems Based on BIM and KBMS
Abstract
:1. Introduction
2. Methodology
2.1. Research Framework
- Create the MEP KBMS. To begin with, suitable rules (discussed in Section 3.1) were extracted from both MEP regulations and BIM delivery standards. After classification, the production representation was used to convert the rules from unstructured language into structured language, which could then be conveniently stored in the knowledge base. To facilitate user operation, the management system was established based on the knowledge base.
- Establishment of a BIM model using Revit (BIM software developed by AutodeskTM). For compliance checking, the BIM model provides primary data information.
- Secondary development of Revit to develop MEP rule checking system. The rule checking system consists of three modules: system integrity checking, component property checking, and element spacing checking. The checking system is equipped with two types of data extraction: the extraction of information from the extended BIM model using API and the extraction of information from the Knowledge base of rule about MEP using SQL language. Not only were the rules employed to generate the knowledge base, but they were also converted to logical expressions (in the form of C# programming language) that computers are able to handle, and the extracted data were then fed into the corresponding logical expressions for analysis.
- Visualization of the checking results. In addition to a text-based report, the results will also be presented in an interactive format. The text-based checking results include the name of the non-compliant components and the basis for checking, and the component in error will be automatically located and highlighted in the view after the user clicks the corresponding button.
2.2. Process of Establishing the MEP KBMS
2.3. Process of Establishing the Rule Checking System
3. Implementation of the MEP KBMS
3.1. Collecting the MEP Knowledge
- Rules that require a single or small number of explicit data;
- Rules that require simple derived attribute values;
- Rules that require extended data structure;
- Rules that require a “proof of solution”.
3.2. Optimizing the MEP Knowledge
3.3. Establishing the MEP Knowledge Base
3.4. Establishing the MEP KBMS
- Create a window through the C# programming language and the use of WPF (Windows Presentation Foundation) framework, which can separate the work of interface designers and developers.
- In the .cs file, introduce the namespace System.Data, System.Data.OleDb, pass in the database-related parameters to create OleDbConnection to connect to the Access database, then use connection.Open() to open the database connection.
- In the .xaml file, adjust the shape of each component size, location, and direction to complete the UI design. Through the data binding to obtain user input data, operations, and output execution results.
- After processing user input, execute SQL statements through the CommandText function in the class named OleDbCommand.
- Create an object through OleDbDataReader, which is the result of the query saved by the ExecuteReader function in the OleDbCommand class, and then display the required information on the form by reading it out in a loop.
4. Implementation of the Rule Checking System
4.1. Model Information Expansion
- Label separately. Having selected a single component, the user can choose the corresponding function-based component type in the properties panel to complete the marking process. The panel is shown in Figure 7.
- Label centrally. Once users select a specific function-based component type in a window, Revit enters the state of pending selection automatically, which allows users to mark multiple components of the same type at the same time. The window is presented in Section 5.2.
4.2. Model Information Extraction
- Obtain elements by ID. Every Element in Revit is uniquely identified by an ID. An element can be obtained by calling the corresponding method with the ID as a parameter. However, since this method requires knowing the ID in advance, its applications are limited.
- Obtain elements by user selection. There are two ways to perform this method: selecting the element first and then executing the program, and executing the program first and then selecting the element. The following example illustrates the latter approach. Initially, the selection range should be restricted by a filter, after which the user may only pick the elements that can pass the filter. Once the PickObjects method is called with the filter as an argument, Revit will automatically enter the pending selection state, enabling the user to select one or multiple elements. In the end, the elements selected by the user will be stored in a collection for further use.
- Obtain elements through ElementFilters. A combination of a collector and filters is used to implement this method. The collector is a collection of elements, and the filter is used to set filtration conditions. There are three steps in the implementation process. To begin, an instance of the FilteredElementCollector class is created. In the next step, filters are created according to the filter criteria. Finally, apply one or more filters to the FilteredElementCollector instance to retrieve the elements that are eligible. Due to the large number of built-in filters available in the Revit API, this approach is highly flexible and widely used.
- Obtain the BuiltInParameter that corresponds to the required parameter; this can be carried out by using the Revit Lookup tool included in the Revit SDK.
- Obtain the reference type of the parameter by calling the get_Parameter method of the selected element with the acquired BuiltInParameter as its argument.
- Determine whether the reference is empty since not all Elements contain corresponding parameters.
- The reference type will be converted to a value type if the reference is not null.
- To convert units, multiply the value type of the Element parameter by a constant. There may be differences in the units of measurement used by different countries. As an example, in the building standard “Standard for the distribution of water supply and drainage” (GB50015-2019), the measurement unit of pipe diameter is millimeters, while length is measured in feet in Revit. Consequently, after the diameter of the pipe has been extracted, it is necessary to multiply it by a constant to convert the unit.
4.3. Rule Execution
4.3.1. System Integrity Checking Module
4.3.2. Component Property Checking Module
4.3.3. Element Spacing Checking Module
4.4. Rule Check Reporting
5. Case Studies
5.1. Case Study: System Integrity Checking
5.2. Case Study: Component Property Checking
5.3. Case Study: Element Spacing Checking
6. Discussion and Limitation
6.1. Discussion of Results
6.2. Limitations
7. Conclusions
- Automatic rule interpretation. Methods for automatic or semi-automatic extraction of rules using natural language processing (NLP) and ontology are being explored [37,38,39,40]. However, due to the complex structure of the regulation provisions [23,33], there is still a long way to go in the research of automatic extraction of regulations.
- Development of BIM standards. The basis of automated compliance checking is to take the objects in the BIM model and compare them with the conceptual objects described in regulations. So only the standardization of the model objects can effectively implement the automated checking of the codes corresponding to them. New requirements are put forward for the development of BIM standards.
- Complex spatial relationship analysis and large-scale reasoning. The current research on automated design review is mostly limited to the examination of component attributes and parameters, and is still insufficient in the analysis and examination of complex spatial relationships. In addition, the existing studies are all based on small-scale data validation, and the research on reasoning and checking in large-scale, complex rules, and spatial relationship scenarios is still blank. It is therefore difficult to meet the actual large and complex engineering design review needs. Breaking through the reasoning and simulation of large-scale, complex rules, and spatial scenarios is one of the key difficulties for the future design review to enter into practicality, automation, as well as comprehensive coverage.
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Akhmetzhanova, B.; Nadeem, A.; Hossain, M.A.; Kim, J.R. Clash Detection Using Building Information Modeling (BIM) Technology in the Republic of Kazakhstan. Buildings 2022, 12, 102. [Google Scholar] [CrossRef]
- Wu, L.-T.; Lin, J.-R.; Leng, S.; Li, J.-L.; Hu, Z.-Z. Rule-Based Information Extraction for Mechanical-Electrical-Plumbing-Specific Semantic Web. Autom. Constr. 2022, 135, 104108. [Google Scholar] [CrossRef]
- Ghaffarianhoseini, A.; Tookey, J.; Ghaffarianhoseini, A.; Naismith, N.; Azhar, S.; Efimova, O.; Raahemifar, K. Building Information Modelling (BIM) Uptake: Clear Benefits, Understanding Its Implementation, Risks and Challenges. Renew. Sustain. Energy Rev. 2017, 75, 1046–1053. [Google Scholar] [CrossRef]
- Wang, J.; Wang, X.; Shou, W.; Chong, H.-Y.; Guo, J. Building Information Modeling-Based Integration of MEP Layout Designs and Constructability. Autom. Constr. 2016, 61, 134–146. [Google Scholar] [CrossRef]
- Cho, C.Y.; Liu, X.; Akinci, B. Symbol Recognition Using Vectorial Signature Matching for Building Mechanical Drawings. Adv. Comput. Des. 2019, 4, 155–177. [Google Scholar] [CrossRef]
- Daszczyński, T.; Ostapowski, M.; Szerner, A. Clash Cost Analysis in Electrical Installations Based on BIM Technologies. Energies 2022, 15, 1679. [Google Scholar] [CrossRef]
- Nuñez Muñoz, J.; Villena Manzanares, F.; Marçal Gonçalves, M. BIM Approach to Modeling a Sports Pavilion for University Use. Appl. Sci. 2020, 10, 8895. [Google Scholar] [CrossRef]
- Filho, J.B.P.D.; Angelim, B.M.; Guedes, J.P.; Castro, M.A.F.d.; Neto, J.d.P.B. Virtual Design and Construction of Plumbing Systems. Open Eng. 2016, 6, 730–736. [Google Scholar] [CrossRef]
- Korman, T.M.; Fischer, M.A.; Tatum, C.B. Knowledge and Reasoning for MEP Coordination. J. Constr. Eng. Manag. 2003, 129, 627–634. [Google Scholar] [CrossRef]
- Hussinki, H.; Ritala, P.; Vanhala, M.; Kianto, A. Intellectual Capital, Knowledge Management Practices and Firm Performance. J. Intellect. Cap. 2017, 18, 904–922. [Google Scholar] [CrossRef]
- Wang, L.; Leite, F. Formalized Knowledge Representation for Spatial Conflict Coordination of Mechanical, Electrical and Plumbing (MEP) Systems in New Building Projects. Autom. Constr. 2016, 64, 20–26. [Google Scholar] [CrossRef]
- Hsu, H.-C.; Chang, S.; Chen, C.-C.; Wu, I.-C. Knowledge-Based System for Resolving Design Clashes in Building Information Models. Autom. Constr. 2020, 110, 103001. [Google Scholar] [CrossRef]
- Eastman, C.; Lee, J.; Jeong, Y.; Lee, J. Automatic Rule-Based Checking of Building Designs. Autom. Constr. 2009, 18, 1011–1033. [Google Scholar] [CrossRef]
- Hossain, M.M.; Ahmed, S. Developing an Automated Safety Checking System Using BIM: A Case Study in the Bangladeshi Construction Industry. Int. J. Constr. Manag. 2022, 22, 1206–1224. [Google Scholar] [CrossRef]
- Yuan, J.; Li, X.; Xiahou, X.; Tymvios, N.; Zhou, Z.; Li, Q. Accident Prevention through Design (PtD): Integration of Building Information Modeling and PtD Knowledge Base. Autom. Constr. 2019, 102, 86–104. [Google Scholar] [CrossRef]
- Kincelova, K.; Boton, C.; Blanchet, P.; Dagenais, C. Fire Safety in Tall Timber Building: A BIM-Based Automated Code-Checking Approach. Buildings 2020, 10, 121. [Google Scholar] [CrossRef]
- Malsane, S.; Matthews, J.; Lockley, S.; Love, P.E.D.; Greenwood, D. Development of an Object Model for Automated Compliance Checking. Autom. Constr. 2015, 49, 51–58. [Google Scholar] [CrossRef]
- Nawari, N.O. Automating Codes Conformance in Structural Domain. In Proceedings of the Computing in Civil Engineering (2011), Miami, FL, USA, 19–22 June 2011; American Society of Civil Engineers: Miami, FL, USA, 2011; pp. 569–577. [Google Scholar]
- Nov, P.; Peansupap, V.; Tongthong, T. Developing an Automated System for Checking the Strut Arrangement in Deep Excavation. Eng. J. 2021, 25, 99–124. [Google Scholar] [CrossRef]
- Kim, K.; Teizer, J. Automatic Design and Planning of Scaffolding Systems Using Building Information Modeling. Adv. Eng. Inform. 2014, 28, 66–80. [Google Scholar] [CrossRef]
- Zhou, P.; El-Gohary, N. Ontology-Based Automated Information Extraction from Building Energy Conservation Codes. Autom. Constr. 2017, 74, 103–117. [Google Scholar] [CrossRef]
- Ghannad, P. Automated BIM Data Validation Integrating Open-Standard Schema with Visual Programming Language. Adv. Eng. Inform. 2019, 40, 14–28. [Google Scholar] [CrossRef]
- Guo, D.; Onstein, E.; Rosa, A.D.L. A Semantic Approach for Automated Rule Compliance Checking in Construction Industry. IEEE Access 2021, 9, 129648–129660. [Google Scholar] [CrossRef]
- Altenkrueger, D.E. KBMS: Aspects, Theory and Implementation. Inf. Syst. 1990, 15, 1–7. [Google Scholar] [CrossRef]
- Howard, R.; Björk, B.-C. Building Information Modelling–Experts’ Views on Standardisation and Industry Deployment. Adv. Eng. Inform. 2008, 22, 271–280. [Google Scholar] [CrossRef] [Green Version]
- Solihin, W.; Eastman, C. Classification of Rules for Automated BIM Rule Checking Development. Autom. Constr. 2015, 53, 69–82. [Google Scholar] [CrossRef]
- Schwitter, R. Controlled Natural Languages for Knowledge Representation. In Proceedings of the Coling 2010: Posters, Beijing, China, 23–27 August 2010; pp. 1113–1121. [Google Scholar]
- Park, H.G.; Lee, J.S. An Expert Classification System for Production System. Comput. Ind. Eng. 1998, 35, 17–20. [Google Scholar] [CrossRef]
- Bench-Capon, T.J.M. Knowledge Representation: An Approach to Artificial Intelligence; The A.P.I.C. Series; Academic: London, UK, 1990; ISBN 978-0-12-086440-9. [Google Scholar]
- Hewahi, N.M. A General Rule Structure. Inf. Softw. Technol. 2002, 44, 451–457. [Google Scholar] [CrossRef]
- Dimyadi, J.; Amor, R. Automated Building Code Compliance Checking–Where Is It At? Proc. CIB WBC 2013, 6, 1–14. [Google Scholar]
- Martins, J.P.; Monteiro, A. LicA: A BIM Based Automated Code-Checking Application for Water Distribution Systems. Autom. Constr. 2013, 29, 12–23. [Google Scholar] [CrossRef]
- Kim, H.; Lee, J.-K.; Shin, J.; Choi, J. Visual Language Approach to Representing KBimCode-Based Korea Building Code Sentences for Automated Rule Checking. J. Comput. Des. Eng. 2019, 6, 143–148. [Google Scholar] [CrossRef]
- Bloch, T.; Sacks, R. Comparing Machine Learning and Rule-Based Inferencing for Semantic Enrichment of BIM Models. Autom. Constr. 2018, 91, 256–272. [Google Scholar] [CrossRef]
- Lee, H.W.; Oh, H.; Kim, Y.; Choi, K. Quantitative Analysis of Warnings in Building Information Modeling (BIM). Autom. Constr. 2015, 51, 23–31. [Google Scholar] [CrossRef]
- Sobhkhiz, S.; Zhou, Y.-C.; Lin, J.-R.; El-Diraby, T.E. Framing and Evaluating the Best Practices of IFC-Based Automated Rule Checking: A Case Study. Buildings 2021, 11, 456. [Google Scholar] [CrossRef]
- Lee, H.; Lee, J.-K.; Park, S.; Kim, I. Translating Building Legislation into a Computer-Executable Format for Evaluating Building Permit Requirements. Autom. Constr. 2016, 71, 49–61. [Google Scholar] [CrossRef]
- Li, S.; Cai, H.; Kamat, V.R. Integrating Natural Language Processing and Spatial Reasoning for Utility Compliance Checking. J. Constr. Eng. Manag. 2016, 142, 04016074. [Google Scholar] [CrossRef]
- Zhang, J.; El-Gohary, N.M. Automated Information Transformation for Automated Regulatory Compliance Checking in Construction. J. Comput. Civ. Eng. 2015, 29, B4015001. [Google Scholar] [CrossRef] [Green Version]
- Zhang, J.; El-Gohary, N.M. Semantic NLP-Based Information Extraction from Construction Regulatory Documents for Automated Compliance Checking. J. Comput. Civ. Eng. 2016, 30, 04015014. [Google Scholar] [CrossRef] [Green Version]
Level 1 System | Level 2 System | Level 3 System |
---|---|---|
Water Supply and Drainage System | Water Supply System | Water Supply System |
Hot Water System | ||
Direct Drinking Water System | ||
Drainage System | Sewage and Waste Water System | |
Rainwater System | ||
Reclaimed Water System | Reclaimed Water Treatment System | |
Reclaimed Water Supply System | ||
Circulating Water System | Cooling Circulating Water System | |
Swimming Pool Circulating Water System | ||
Waterscape Circulating Water System |
Component | Property | CW | Value | |
---|---|---|---|---|
IF | Building drainage horizontal main pipe | Material | is | Plastic |
AND | Building drainage horizontal main pipe | Diameter | is | 110 mm |
THEN | Building drainage horizontal main pipe | General slope | is | 0.012 |
IF | Physical Property | Component | Property | CW | Value |
Vertical Pipe | Diameter | Not Greater Than | 32 mm | ||
AND | Physical Property | Wall | NULL | NULL | NULL |
AND | Condition | NULL | |||
THEN | CW | Not greater than | |||
Distance | 25 mm |
IF | Physical Property | Component | Property | CW | Value |
Horizontal Main Pipe | NULL | NULL | NULL | ||
AND | Physical Property | Drainage Pipe | NULL | NULL | NULL |
AND | Condition | Parallel laying | |||
THEN | CW | Not less than | |||
Distance | 200 mm |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Xie, X.; Zhou, J.; Fu, X.; Zhang, R.; Zhu, H.; Bao, Q. Automated Rule Checking for MEP Systems Based on BIM and KBMS. Buildings 2022, 12, 934. https://doi.org/10.3390/buildings12070934
Xie X, Zhou J, Fu X, Zhang R, Zhu H, Bao Q. Automated Rule Checking for MEP Systems Based on BIM and KBMS. Buildings. 2022; 12(7):934. https://doi.org/10.3390/buildings12070934
Chicago/Turabian StyleXie, Xuanfeng, Jianliang Zhou, Xuehai Fu, Ruoyi Zhang, Hui Zhu, and Quanxi Bao. 2022. "Automated Rule Checking for MEP Systems Based on BIM and KBMS" Buildings 12, no. 7: 934. https://doi.org/10.3390/buildings12070934
APA StyleXie, X., Zhou, J., Fu, X., Zhang, R., Zhu, H., & Bao, Q. (2022). Automated Rule Checking for MEP Systems Based on BIM and KBMS. Buildings, 12(7), 934. https://doi.org/10.3390/buildings12070934