Integration of BIM and Energy Consumption Modelling for Manufacturing Prefabricated Components: A Case Study in China

Prefabrication is undergoing signiﬁcant growth in the building and construction sector in China. Meanwhile, the integrated measurement and reduction solution for energy consumption is quickly becoming an important target of scientiﬁc eﬀorts and research, especially in prefabricated buildings. Embedded energy consumption requirements can potentially be reduced during the manufacturing process of prefabricated components: the opportunity for its reduction can be signiﬁcant. This paper aims to propose a BIM and LCA integrated approach that enables the energy consumption of prefabricated components in the manufacturing stage to be extracted and calculated in order to obtain a clear, precise understanding of the energy consumption management in prefabrication. To enhance the energy consumption description of prefabricated components, this paper clariﬁes the contents of energy consumption inventory and related calculation formula in raw material extraction and production, material transportation, and factorized production of prefabricated components, respectively. Speciﬁcally, considering that current Industry Foundation Classes (IFC) standard does not accommodate entities with energy consumption information or relationships, it applies the IFC extension method to connect the energy consumption inventory with the BIM model. The proposed approach is applied and veriﬁed in a case study from China. This study reveals that energy consumption control should be investigated in the element level considering the diﬀerences of various prefabricated components’ requirements in the manufacturing stage.


Introduction
Because of the durable operation period, large body size, and diversified participating stakeholders, building and construction sector generally consumes more energy than other ones. According to the report of Intergovernmental Panel on Climate Change, buildings comprise approximately 40% of the global energy consumption and contribute about 30% of the total global greenhouse gas emissions annually [1]. Buildings consume energy throughout all stages of their life cycle, and prefabrication has been promoted as one strategy for reducing building life cycle energy consumption [2]. Actually, prefabrication is currently undergoing significant growth in China's building and construction sector [3]. China State Council issued a policy circular specifying that prefabricated buildings will account for at least 30% of the total new construction projects in the next 10 years from 2016 [4]. From the sustainability perspective, prefabricated construction can offer significant environmental benefits, such as reduction in construction wastes, by adopting prefabricated building components during the construction stage [5], decreased green gas emissions in manufacturing activities [6], lower impacts at the end of life cycle by disassembling, and relocating instead of disposal [7]. e integrated solution to measure and reduce energy consumption is becoming an important target of scientific efforts and research, especially in building sector. e energy performance and environmental effects of traditional buildings have been previously studied; however, a limited number of works about prefabricated construction is available [3]. Peng [8] indicated that the construction, operation, and demolition of a building produce 12.6%, 85.4%, and 2% of total CO 2 emissions, respectively. Adalberth [9] presented case studies of total CO 2 emissions of three singleunit dwellings in Sweden and found that 85% of the total energy use occurred in the operational phase, whereas the energy used for manufacturing the materials employed in construction, including erection and renovation, represented approximately 15% of the total energy use. Cao et al. [10] compared the environmental impacts of a residential prefabricated building with a traditional building through the application of life cycle assessment (LCA) in the construction stage. However, those studies have two limitations. First, embedded energy consumption requirements can potentially be reduced during the manufacturing process of prefabricated components: the opportunity for its reduction should not be ignored. A narrow boundary of the analysis on energy consumption without considering for manufacturing prefabricated components often hinders the results to be generalized to form targeted solutions for energy reduction in prefabrication. Second, limited efforts are performed in the literature review towards the energy data modelling and informatization in IFC standard.
Considering the integration of digital models and energy consumption analysis, the advent of building information modelling (BIM) offers new opportunities to further harness the efficiency of prefabricated construction [11]. BIM is a digital representation of a constructed facility [12] and offers an important line of "integration" [13], which is critical for the delivery of prefabricated construction. Previous studies were often devoted to combining BIM technology and LCA in three major directions: design scheme selection, pipeline collision, and cost evaluation. Due to the noticeable gap between BIM model and LCA software database such as Sima Pro and Gabi, using BIM data exchange standard IFC as a medium to extract energy data from BIM model for lifecycle assessment has become a key aspect for building energy consumption analysis [14]. Although a growing number of studies utilize BIM technology to support building energy consumption analysis: the challenges remain in information integration and extraction in IFC standards.
Lots of works related to building energy consumption and environmental impacts mainly focus on traditional buildings, which are constructed on-site. Another works dealing with prefabricated buildings tend to study more about the assembling and using stages of the buildings, with a limitation on the factorized manufacturing stage of all the components. When applying BIM to areas such as construction design and pipeline collision check, the possibility to optimize energy modelling and analysis with BIM has been overlooked by many studies. Differing from other works in the same area, the objective of this study is to propose a BIM and LCA integrated approach that enables the energy consumption of prefabricated components in the manufacturing stage to be extracted and calculated in order to obtain a clear and precise understanding on the energy use in prefabrication. To enhance the description of energy consumption of prefabricated components, this paper clarifies the contents of energy consumption inventory and calculation protocols for raw material production, transportation, and factorized production of prefabricated components, respectively.
Specifically, considering that the current IFC standard does not accommodate entities with energy consumption information or relationships, it applies the IFC extension method to connect the energy consumption inventory with the BIM model. e proposed approach performs more effectively and conveniently in extracting and calculating energy data while providing comprehensive, reliable data resources for energy consumption management for manufacturing prefabricated components. Finally, the proposed method was applied and verified by a case study in Nanjing, China.

Literature Review
Energy consumption analysis is one of the popular topics in sustainability studies related to different industries such as construction industry, manufacturing industry, and service industry. e production of components for prefabricated buildings belongs to the intersection of construction and manufacturing industry.

Energy Consumption of Prefabricated Buildings.
During the development of prefabricated building, some characteristics of prefabricated building to reduce energy consumption have been suggested. Prefabrication is regarded as a cleaner production and sustainable construction approach, which has been utilized for public residential building construction to achieve more productive, safer, and higher quality construction process with less negative impacts on the environment [15]. Liu et al. [16] utilized a process-based method to assess carbon emissions during the prefabrication manufacturing process in offsite factories and designed a carbon emission benchmark for energy assessment of prefabricated buildings in China. Giovanni et al. [17] identified that prefabricated building projects have the promise for energy saving, emission reduction, process acceleration, and environment protection, and stated that prefabricated building is the future trend of green building.
LCA is a popular tool used to evaluate energy and raw material consumption, emissions, and other wastes related to a product or system's entire life cycle. Many studies were devoted in LCA and energy analysis to assist with decisionmaking processes on how to reduce prefabricated buildings' life cycle environmental impacts. Atmaca [18] proposed a model including building construction, operation, and demolition phases to estimate total energy use and CO 2 emissions over 15-and 25-year life spans for container houses (CH) and prefabricated houses (PH), respectively. Faludi et al. [19] applied comprehensive, quantitative sustainability assessment tools to a prefabricated building application in which they have significant leverage. Monahan and Powell [20] compared the embodied carbon in a low energy, affordable house constructed using a novel offsite panelized modular timber frame system. Tao et al. [21] proposed a system based on Internet of things (IoT) technology to real-time monitor greenhouse gas emissions and energy consumption when manufacturing prefabricated components.

Building Energy Consumption Analysis Based on BIM.
Information completeness and integrity of BIM technology facilitate the cooperation and coordination between project managers and energy consumption analysts during all stages of building life cycles [22]. In order to reduce building energy consumption throughout the entire life cycle, Kang and Hong [23] proposed software architecture for the effective integration of BIM into a geographic information system (GIS)-based facilities management (FM) system.
Besides information sharing and integrated management, Ajayi et al. [24] evaluated the extent to which building material specification affects life cycle environmental performance, using a BIM-enhanced LCA methodology. Torregrosa-Jaime et al. [25] concluded that the EnergyPlus software based on BIM technology can predict the total energy consumption of the building in each year, month, or day, thus optimizing the building envelope area and heat balance during the project planning stage. As the leading building technique software, Ecotect software is released for sustainable design and building environmental impact control when combined with Revit 3D models [11], as well as the GBS (Green Building Studio) tool based on cloud computing and web services. Given the above three mostly used BIM-based energy analysis software, Reeves et al. [26] compared the strengths and weaknesses of these tools by applying them to a certain project planning stage with specific energy consumption data.
Models and tools that support the entire life cycle analysis of construction projects are limited, so it is difficult to perform the comprehensive management of the whole industrial chain, including the economic attributes, energy consumption level, and environmental impacts during planning, design, construction, and use stages of a project. To overcome this disadvantage, Andriamamonjy et al. [27] described the essential elements of the integrated workflow of BIM technology and building energy performance simulation (BEPS) and translated IFC into BEPS models to get most of the required input directly from the IFC4-file.

Building Energy Measurement and Management System.
In order to optimize the energy consumption of construction projects, Zhang and Chen [28] developed the building energy management systems, including heating, ventilation, air conditioning, and lighting, to reduce energy consumption and increase user comfort standards at the same time. In order to increase the automation and accuracy of building energy management system, researchers such as Amarasinghe et al. [29] and Martirano et al. [30] applied computational theories including artificial neural network, fuzzy logic modelling, and evolutionary algorithms to the management systems. Moreover, Quintero and Mares demonstrated that artificial neural network can strike a balance between building thermal comfort and building energy consumption reduction after analysing a number of construction projects. Mai et al. state that building energy measurement system with radial basis function can take approximately 97% of building electrical load variability and better control the building electricity consumption. omas et al. [31] concluded that engineering methods including physical and thermal dynamic models, statistical methods relying on historical data and information, artificial intelligence methods including neural network and machine learning, and real-time energy test beds are the current major solutions for building energy consumption prediction and building energy system optimization.

e Energy-Saving Practice of Prefabricated Building in
China. Since 1955, China has started to try out industrialization and mechanization of construction. From 1970s, new technology, new materials, and innovative designs for buildings have gradually developed, and the design for prefabricated buildings and the standardization of prefabricated components have been continuing to improve for more than 40 years [32]. From 1987 to 1992, China started to promote energy-saving materials, emission-reducing technology, and low energy consumption buildings in some pilot testing cities. From 1993 to 2005, China gradually developed the regulation systems, management standards, and technical supporting systems, which have taken the different climate characteristics in different areas into consideration. Since 2016, the Chinese government has released a series of policies to encourage and support the development of prefabricated building. According to the guideline, China strived to use 10 years to make more than 30% of new buildings by prefabrication, and at the same time, advocated the application of steel structures and wood structures. In March 2017, "National Action Plan for Prefabricated buildings" was released, and one year later, the Ministry of Housing and Construction proposed the application of BIM technology in various stages of prefabricated building construction to achieve energy saving.
In summary, previous studies mainly dealt with prefabricated buildings for energy performances indicator, e.g. the use of primary energy or the greenhouse gas emissions, and others are for the qualitative and quantitative measurement throughout the entire life cycle of prefabricated buildings. However, there were limited studies specifically discussing the creation and utilization of BIM and energy data to evaluate the energy consumption and saving opportunities in manufacturing prefabricated components. Information integration of prefabricated buildings is getting more complicated, and this is mainly due to the increased volume of prefabrication-related information and knowledge.
is complexity and the need of reliable results claim for the utilization of existing automation tools, like BIM. e literature reviewed above identified that BIM and LCA methods are both necessary techniques in this field. us, developing an integrated energy consumption modelling system for manufacturing prefabricated components using BIM and LCA is key to effectively improve the sustainability of prefabricated buildings.

Methodology
is study explores to extend the interoperability of energy consumption data of prefabrication by employing the IFC data model. To achieve this, by referring to the characteristics of material, machinery, and human labour in prefabrication process, IFC data are connected with energy consumption Advances in Civil Engineering inventory to form the raw data source to improve the efficiency and accuracy of energy calculation. Considering the large amount of energy consumption data created in BIM domain, we focus on two processes: (1) IFC data mapping in energy consumption domains, which include material information and energy consumption inventory. (2) Extraction and analysis of all the energy consumption data involved in prefabrication manufacture for energy modelling. Also, a case study of prefabricated building in Nanjing, China, is carried out to verify the proposed method. e proposed method can be illustrated through the following two levels in Figure 1. e upper level represents the process of data collection, extraction, and calculation, whereas the lower level represents BIM object modelling and reading IFC data. First, the target prefabricated building is selected as the object of energy consumption analysis to provide related documents and records. Based on LCA, the targeted energy inventory is designed with a three-dimensional consideration: raw material production, material transportation, and factorized production, and then the calculation formula is proposed according to the specific design scheme of the prefabricated building. Correspondingly, in the lower level, a BIM model is created for the selected prefabricated building. In order to integrate the geometric attributes extracted from the BIM model and the energy consumption information generated in manufacturing the prefabricated components, IFC extension mechanism based on PropertySet is utilized to extend the entity attributes. en, the database for energy consumption analysis is built to include the targeted energy inventory and associated IFC models of prefabricated components. A basic energy consumption modelling system is developed by Python programming to assist calculation and create a user interface to facilitate the operation of energy consumption analysts.

Energy Inventory Analysis
3.1.1. Energy Inventory Analysis. Because of the standardization and industrialization of the factorized production of prefabricated components, the characteristics of the processing procedures are similar to those of normal parts and products in ordinary industrial factories. For ordinary industrial factories, there are mainly three methods to conduct energy consumption analysis. First is to use the input and output analysis. Based on a large number of historical energy consumption statistics of the factory [33], it analyses the input level of external material and energy in factory production system, the quantitative relationship of material and energy flow among internal units, the quantity, and efficiency of product output. e second method is on-site measurement method. It mainly uses real-time measuring equipment to monitor, count, and record the fuel, power, and water consumption of various mechanical equipment used in the factory, and then calculates the energy consumption level of the whole production line [34]. e third one is energy inventory analysis based on production processes, which uses work breakdown structure (WBS) to make an energy consumption inventory for each process and calculates the total energy consumption together with the production information for all the processes [35]. Input and output analysis often requires a large number of documents and records such as the monthly and yearly electricity consumption [36]. us, it is more economical to be used for analysing the energy consumption of the prefabricating factory on a large scale. However, the design schemes, production plans, and schedules vary among different construction projects, which means the production situations in the prefabricating factory for different projects or even different stages for the same project can vary a lot. As a result, average-level input and output analysis of the entire factory and fixed production line is not suitable for the specific analysis of each prefabricated building. Although on-site measurement method can query historical energy consumption data, monitor and control on-site energy consumption, and obtain more accurate energy consumption data, it can easily leave out the energy consumption content, which cannot be detected by the equipment and machines, such as the energy from human labour [37].
Energy inventory analysis based on production processes method is adopted in this paper for energy data collection. It collects energy consumption data of material, machinery, and labour based on the production processes of prefabricated components to calculate the total energy consumption precisely. e perquisition to make energy consumption inventory is to define a targeted system. For prefabricated building, its entire life cycle includes the raw material production, raw material transportation, factorized production of prefabricated components, transportation of prefabricated components, on-site assembly, use, and maintenance of prefabricated building, as well as demolition of prefabricated building. e targeted system focuses on the important stages of the life cycle. Obviously, the factorized production of prefabricated components should be included in the targeted system, which is an important aspect of this paper. e energy consumed by raw material production and transportation stages should not be overlooked. As the factorized production stage of prefabricated components has already saved certain amount of energy, the energy consumption of the raw materials purchased by prefabricating factories should not be ignored. As a result, the targeted system of this paper includes stages from raw material production to the component production stage inside of prefabricating factories, which is shown in Figure 2.

e Identification of Energy Inventory and the Calculation Formula.
According to the targeted system, the first step to make energy inventory is to identify main energy consumption categories during each stage. Specific categories are shown in the following Table 1.
After identifying the main energy consumption categories, the next step is to specify each category based on the detailed production plan, quantity, and schedule plan of prefabricated components. According to the production processes of prefabricated components and the data from different stakeholders, the material and energy flows of the production system are established, as shown in Table 2.
After energy consumption inventory is identified and energy consumption data are collected, the energy consumption of prefabricated component production can be calculated, together with the information of raw material types and the needed amount. According to the specific design scheme of the prefabricated building, assuming the number of a certain kind of prefabricated component is N, the total volume of the component is V (m 3 ), and the amount of the ith raw material needed to produce 1 m 3 of prefabricated component is m i (kg), then the total energy consumption E (kJ) to produce each prefabricated component can be calculated according to the following formula:

e Benefits of BIM Technology for Energy Consumption Analysis.
As is shown in the calculation formula, energy consumption inventory relies on detailed information such as the type and amount of each prefabricated component, the various locations of different raw material suppliers, all the energy related parameters of mechanical equipment, and human operating plans. e entire prefabricated building contains different types of prefabricated components, production procedures, and mechanical machines, which adds to the complication of energy consumption analysis of prefabricated component production. If the data collection and calculation are done only manually, the energy consumption analysis cannot achieve high precision and is easy to have errors.
In addition, the data needed for energy consumption calculation involve lots of stakeholders related to prefabricated buildings, such as design institutes, raw material suppliers, prefabricating factories, and delivery companies. And apparently, the involvements of these stakeholders in each phase vary dramatically. Even more, if all these involved stakeholders are located dispersedly with a temporary cooperation mechanism, the information and data communication can be very inconvenient and manual data      collection process increases the risk for mistakes during energy consumption data collection and calculation [35]. BIM technology realizes the digitalization of the planning, design, construction, and maintenance stages of construction projects. By connecting all kinds of information generated in the entire life cycle of buildings into a whole, BIM technology provides the informatized platform for construction management [38]. On the one hand, besides the geometric information of the design drawings, the BIM model can store other data needed for project management. For example, construction companies can share the project generic information in the BIM model, including the project location, information of stakeholders, and project managers. Design institutes can also convert 2D drawings into 3D model and use BIM model to share detail information about component attributes, reinforcement bar types, and concrete design labels at different locations in prefabricated buildings. Due to the real-time information connection provided by the BIM model, any changes made by any stakeholders can be shared automatically in the model. On the other hand, the BIM model can be the only data source for all stages of prefabricated building project, which can ensure the accuracy of data information and avoid misunderstanding. For example, prefabricating factory can extract information about types and amounts of prefabricated components, reinforcement bars, and various embedded components. For energy consumption calculation based on BIM technology, information of raw materials, size, amount, and production processing of prefabricated components can be generated by the BIM model, as is shown in Figure 3.
In this study, the energy consumption analysis protocol based on BIM is designed to fulfil two functions. (1) Energy consumption inventory can be linked with BIM framework so that each stakeholder can input related data to enrich the information contained in BIM model. (2) Researchers can extract data from different sources by BIM to conduct energy consumption calculation.

IFC Extension of Material Information and Energy Consumption Inventory.
e connection between energy consumption inventory and BIM model is based on the IFC standard, which is being widely used in construction industry to describe construction products [39]. As an open, supplier-neutral data model, the IFC standard utilizes the object-oriented format to express the structural attributes of a building and to promote the information exchange among stakeholders involved in construction. Because of the uniformity and openness of the BIM model, the basic information, attributes, and the related data among various subprojects can be stored in ".ifc" file, which can read and process information from different stakeholders from various life cycle stages [40].
Because the entities or attributes included in the current IFC standard cannot cover all the information needed for energy consumption inventory, the IFC extension of energy consumption inventory is needed.
ere are three main types of IFC extensions [41]: (1) If the prefabricated component needing new information does not exist in the current IFC standard, new entity should be created to perform an IFC extension. (2) If there is a corresponding entity in IFC standard that can represent the prefabricated component needing new information and the new property has been defined in that entity, the prefabricated component should be added to the predefinition of that entity to express the newly added information by connecting them. (3) If there is an entity in IFC standard for the prefabricated component, but the new property is not defined for certain entity, new property sets should be defined to conduct IFC extension.
e above three types of IFC extensions are explained in Figure 4.
In the calculation formula above, the total number (N) and volume (V) of each prefabricated component are usually stored in BIM model when designing the drawings by CAD and Revit software. e material type and reinforcement steel amount are also added when creating model by Revit software. However, the information about raw material usually stays in the level of concrete type, which means there is no specific information about each raw material such as cement, sand, or stone. In addition, all the energy consumption contents during raw material production, transportation, and factorized prefabricated component production stages are not stored in BIM model. As a result, it is necessary to conduct IFC extension for raw material information and energy consumption inventory.
In IFC standard, the construction material information can be connected with prefabricated components by the entity IfcRelAssociatesMaterial, which means the entities IfcMaterialList and IfcMaterial can be used to add different material information for prefabricated components. e raw material amount information, such as the weight of each kind of raw material to produce 1 m 3 prefabricated component, can be added in "Name" and "Description" in entity IfcMaterial. Because the properties such as weight, density, and volume have already been defined by IfcMater-ialProperties, the IFC extension of raw material consumption information in this paper belongs to the first type of IFC extension. Different kinds of prefabricated components should be added into the predefinition of the entities, which have defined IfcMaterialProperties, such as IfcBeam. In the property set of IfcMaterialProperties, the property "Porosity" expresses the volume ratio of a certain prefabricated component, as is shown in Table 3.
Using the prefabricated beam as example, Figure 5 shows the IFC expression of raw material information in energy consumption inventory calculation. Solid lines represent inherited or associated relationships, whereas dashed lines represent optional relationships.
For the energy consumption data of raw material production, transportation, mechanical equipment, and human labour in prefabricating factories, no related properties exist for the already defined entity. As a result, new property sets and properties should be defined, and there are three steps: (1) Define property sets, including the name, entity, and property set description. (2) Table 4.
In the IFC standard, properties can be divided into two categories, IfcSimpleProperty and IfcComplexProperty. Because the energy consumption data in the inventory have uniformity, the new properties for energy consumption information belong to IfcSimpleProperty. As the new properties are single-valued, their value type is IfcPro-pertySingleValue. e definitions of new properties are shown in Table 5.
After IFC extension, the IFC expression of energy consumption of prefabricated column during each stage of its production can be seen from Figure 6.

BIM-Based Energy Calculation.
With the raw material amount and consumption information of the prefabricated building being added, the BIM model turns into the basis for energy consumption calculation. e detailed lists of material information including the code, number and volume related to prefabricated components, the type, and amount of raw materials, as well as the energy consumption inventory including specific energy consumption data, can be exported from the BIM model. Based on the calculation formulas shown in Section 3.1.3, the energy consumption during prefabricated component production stage can be calculated. After summing up the results, the total energy consumption of all the components of the prefabricated building can be obtained.
In the actual prefabricated building project, the calculation process of energy consumption inventory often involves a lot of data, resulting from the large scale of the project, the huge variety of raw materials, and mechanical equipment. Although the calculation formula proposed above is relatively simple, manual inputs of collected data into Excel tables and manual calculations are easy to cause data omission, data misalignment, or calculation errors. erefore, this paper considers writing a simple Python program to assist calculation and creating a user interface to facilitate the operation of energy consumption analysts. A case study will be conducted to apply theoretical method of energy consumption analysis for prefabricated component production on specific construction case. e specific steps to extract material information and energy consumption inventory, as well as the Python program, will also be shown in the case study. e project consists of three teaching buildings, a playground and grandstand, a canteen, an administrative building, a library, two dormitories, a conference room, a comprehensive building, two experimental comprehensive buildings, basement, and doorman. Specifically, teaching buildings, experimental buildings, office building, comprehensive building, and dormitory buildings adopt prefabricated integral reinforced concrete frame structure, whereas the others implement reinforced concrete frame structure.

Case Study
In the main structure part of the project, beams, slabs, and columns of the basement, building nos. 5, 10, and 11 are cast-in-place, whereas the others are prefabricated structures. More specifically, the vertical components of the main structure adopt prefabricated concrete frame columns, the horizontal beams are in prefabricated concrete composites, and the floor slabs are constructed with prefabricated reinforced concrete composites. Table 6 shows the information about the number of prefabricated beams, slabs, and columns as well as the maximum weights.

Processing Flow of Prefabricated Columns.
Based on the investigations of prefabricating factory, the factorized production of prefabricated columns mainly includes the manufacture and installation of moulds and steel skeletons, the preparation and pouring of concrete, and the lifting and demoulding of prefabricated columns. Among them, template cleaning, reinforcement bar processing and forming, embedded parts fixing, concrete construction and steam maintenance, mould removal, and other processes are carried out by flow-water construction method with skilled operators.
In prefabricating factory, for production processes, all the moulds are made of steel formwork. e bottom mould is first installed on the designated position according to the process layout of the factory and is then adjusted to the operation level. After the bottom mould is fixed, other moulds are assembled following the sequence from the inside, to the outside, then the bottom, and finally the above moulds. At the same time, the mould should be cleaned and the demoulding agents should be uniformly sprayed without omission.
After all kinds of reinforcement bars are transported to the prefabricating factory, they are first inspected in the entrance according to the requirements of drawing design. When the specifications, models and quality of reinforcement bars are examined, they are classified, stacked and marked. In the process of making reinforcement bar skeletons, the reinforcement sheet and installation drawing of reinforcement bar skeletons are first determined according to the design drawings, and the required specification, length, size, and quantity of reinforcement bar are determined. According to the reinforcement requirements of different parts and types of prefabricated columns, the reinforcement bars are cut and bent using the reinforcement bar cutter and bender in the prefabricating factory, respectively. Once the reinforcement bar skeletons are Advances in Civil Engineering finished, they are inspected, marked, and stored for use. e mechanical equipment information used in the manufacture of reinforcement bar skeletons for prefabricated columns is shown in Table 7.
After the raw materials enter the factory, they are also tested to meet the specific acceptance criteria in terms of quality.
e prefabricated columns of this project are all made of C40 concrete. In the actual production processes, the mix ratio of concrete preparation needs to be fine-tuned according to the real-time information of concrete quality and local weather conditions of prefabricating factory. At the same time, concrete slump is measured and concrete samples are made for 28-day strength examination. After preparation, concrete is poured to the fixed position of the PSet_Raw material production phase IfcColumn is property set defines the energy consumption during the production of raw materials for each prefabricated structure PSet_Raw material transportation phase IfcColumn is property set defines the energy consumption during the transportation of raw materials for each prefabricated structure PSet_Prefabricated structure factory production phase IfcColumn is property set defines the energy consumption during the factory production of each prefabricated structure

Energy Data Sources.
In this project, to produce 1 m 3 average prefabricated columns, about 500 kg of cement, 750 kg of sand, and 1200 kg of stone are needed, considering the fluctuation of mix ratio and the loss of actual production process. Table 8 reveals the average energy consumption level to produce steel bars and cement in the whole city. e energy consumption data in the table is calculated based on national standard "General rules of comprehensive energy consumption calculation standard GB/T2589-2008," which provides that 1 kg standard coal equivalent equals to 29307 kJ [43]. Energy consumption to produce sands and stones is assumed to be 600 kJ/kg and 200 kJ/kg, respectively [44]. Because the raw material transportation for prefabricated columns involves both intracity and interprovincial transportation, and the actual transportation route is uncertain, it is assumed that the raw material transportation distance is set as 1.2 times of the linear distance between the raw material suppliers and the prefabricating factory [45]. e energy consumption of the city transport truck is 2.06 kJ/ kg km and of the interprovincial transportation is 3.05 kJ/kg km. erefore, the energy consumption of raw material transportation stage is shown in Table 9.
During the factorized production stage of prefabricated columns, the prefabricating factory employs batch production in the form of pipeline and each mechanical equipment can process many columns at the same time. As a result, the operation time of each mechanical equipment to produce unit volume column is estimated by the relevant personnel in the factory.
en, according to the energy consumption parameters of the mechanical equipment and the "General rules of comprehensive energy consumption calculation standard GB/T2589-2008" [43], the energy consumption data of each equipment for 1 m 3 prefabricated column production are shown in Table 10.
In the process of concrete maintenance, gas-fired boiler runs 24 hours a day and continues throughout the whole production process, which is 39 days long. e gas-fired boiler consumes about 280 m 3 of natural gas per hour. erefore, all the prefabricated components of this project consume about 262080 m 3 of natural gas. Based on the national standard GB/T 2589-2008 that "the calorific value of 1 m 3 natural gas combustion is 35544 kJ" [43], the energy consumption of gas-fired boiler to produce 1 m 3 prefabricated column is about 7618708 kJ. Combining with the production scale of prefabricated component plant and the energy consumption conversion stipulation of national standard GB/T 2589-2008 (the calorific value of natural gas combustion in 1 m 3 is 35544 kJ) [43], the energy consumption of gas-fired boiler in the production of a prefabricated component is about 7618708 kJ.
In addition, there are 12 factory managers, 35 reinforcement workers, concrete workers, and crane operators working in the factory. Each manager works 8 hours a day and one operator works 9.5 hours a day. On average, the total manual working time for 1 m 3 prefabricated column is about 10 hours. According to the research on the classification standard of physical labour conducted by Lannelongue et al. [46], construction workers consume about 4916 kJ of energy per eight hours of work. erefore, the energy consumption of human labour to produce 1 m 3 prefabricated column is about (4916/8) * 10 � 6145 kJ. Above all, the energy consumption inventory to produce prefabricated columns on the second floor of Building No. 6 in Nanjing No.1 Middle School project can be concluded in Table 11.

IFC Expression of Energy Consumption Inventory.
e IFC standard uses entities to represent prefabricated columns, and the material-related properties. As a result, the IFC extension of the information, such as material type and Table 6: Prefabricated components information.

Type
Maximum weight (t) Building number Total  1  2-1  2-3  3  4  6  7  8  9  Beams  4.10  194  211  293  211  335  298  266  447  520  2775  Slabs  1.66  400  408  505  409  536  510  525  676  851  4820  Columns  2.73  44  84  100  84  124  96  104  92  116  844  Total  -638  703  898  704  995  904  895  1215 1487 8439     amount, requires the prefabricated columns to be linked with the predefinition of the corresponding entity in IFC standard, for columns is IfcColumn. Because the energy consumption information of prefabricated columns does not exist in IFC standard, new property sets and properties are needed to perform IFC extension of the energy consumption inventory for prefabricated column production. Based on the method mentioned above and the specific details of prefabricated columns on the second floor of Building No. 6 of Nanjing No. 1 Middle School project, the IFC extension of material and energy consumption information can be expressed as Figure 8.
After building the BIM model with raw material information and energy consumption inventory of Building No. 6, the detailed lists of material requirements and energy consumption data for prefabricated column production can be extracted from the model to facilitate the total energy consumption calculation. According to the national standard GB1499-2008, the density of hot-rolled ribbed bar for reinforced concrete is 0.00785 kg/m [47]. As a result, when extracting the detailed list of material requirements, the reinforcement bar weight needs to be calculated as volume/ 0.00785 using the calculation function of Revit software. As shown in Figure 9, the data exported from Revit cover various types, large quantity, and disordered range. Meanwhile, the data needed in the energy consumption calculation formula are scattered in different columns in the following.txt file. As a result, the manual calculation of energy consumption of prefabricated component production is prone to be unreliable. In this paper, Python programming is used to automate and optimize the energy consumption calculation for prefabricated component production.

Energy Consumption Calculation Based on BIM and Python Platform.
e automated energy consumption calculation module of prefabricated column production is compiled using MacOS version 10.14, Visual Studio Code version 1.33.1, and Python version 3.7.3. First, download Pip as the tool to import and manage third-party Python packages, as well as packages Numpy and PyQt5, to implement data processing and user interface design. Second, set the initial window for user interface, main window as an action, and the calculation window. ird, program for file reading and data extraction for calculation, and use functions like array addition, matrix product, matrix interproduct, and pie chart drawing for energy consumption calculation and result display. After running the program in Visual Studio Code and selecting the raw material information and energy consumption inventory files, the main window with buttons linked to different calculation functions is shown in Figure 10.
After performing energy calculation of the raw material production stage, the energy consumption of targeted prefabricated columns is calculated to be about 189319.7 MJ. Among them, the energy consumption of reinforcement bar production is about 89782.9 MJ, accounting for about half of the total energy consumption of raw materials. And the energy consumption of cement production, about 65347.3 MJ, accounts for about one-third. e production of sand and stone accounts for relatively smaller, which are about 11892 MJ and 22298 MJ, respectively. e calculation results are shown in Figure 11.
After calculating energy consumption of the raw material transportation stage, the result is about 166676.5 MJ. Among them, the energy consumed by stone and sand transportation accounts for more than 95% of the total energy consumption in the raw material transportation stage, which are 63614.1 MJ and 101782.6 MJ, respectively. Cement and reinforcement bars consume little energy for transportation, which are about 1279.9 MJ and 360.1 MJ, respectively. e results are shown in Figure 12.
After implementing the energy consumption calculation option for the factorized production, the energy consumption is about 398269.6 MJ, of which, the energy consumption of equipment is about 397965.1 MJ and that of human labour is only 304.5 MJ. e results are shown in Figure 13.
Finally, after choosing the option of total energy consumption for prefabricated component production, the result is about 754265.8 MJ. Among them, the energy consumption of the factorized production stage accounts for 52.8% of the total energy consumption, the raw material production stage accounts for 25.1%, and the raw material transportation stage accounts for 22.1%, as shown in Figure 14.

Discussion
In this case study, the production of reinforcement bar and cement production accounts for nearly 70% of the total energy consumption in the raw material production stage. e production of cold-rolled screw bars and stirrups in this project involves mechanical treatment of finished reinforcement bars such as steelmaking, cold rolling in rolling mills, straightening machines, and reinforcement bar cutters. e production of cement materials involves crushing of raw materials, preparation and mixing of raw materials, preparation of clinkers, and grinding of cement products. e preparation of stone and sand mainly involves the extraction, screening, and drying of materials. It shows that the raw material production processes of reinforcement bar and cement is more complicated than that of stone and sand, and the result of the larger proportion of total energy consumption in the production stage is reasonable.
From the calculation results of the raw material transportation stage, it is shown that the energy consumption for the transportation of stone and sand takes up more than 95% of the total energy consumption during this stage. One reason for this high energy consumption is that the supplier for stone and sand is located in Jiangxi Province, which is distant from project location. As a result, the transportation distance of stone and sand is much more than that of the other two raw materials supplied from Nanjing. Another reason is that interprovincial transport requires rail transit, which consumes more energy than short-distance transport trucks. e result of energy consumption during the factorized production stage shows that nearly all the energy is consumed by equipment, which reflects the high mechanization and automation of the prefabricating factory, as well as the standardization and high efficiency of the assembly building. However, it can be noticed that the huge energy consumption of the equipment is mainly caused by bridge crane and gas boiler. Moreover, the operation of bridge crane and gas-fired boiler consumes diesel oil and natural gas, the unit energy consumption of which is much higher than that of other light equipment. e large number of bridge cranes and the long operation time of gas-fired boiler also increase the energy consumption of mechanical equipment in the prefabricating factory.
After conducting theoretical analysis and case study related to the energy consumption model for the production stage of prefabricated buildings, this article has some limitations: (1) In real practice, the production processes for prefabricated buildings are much more complex than the     Energy consumption of stone production Energy consumption of cement production Energy consumption of sand production Energy consumption of reinforcement bar production  three targeted stages analyzed in this article, including, for example, material storage or trading processes. Various machines and equipment are required for each process, not only in the factorized production stage. In this case, the simplification of the calculation formula in this article impacts the accuracy of energy consumption analysis. (2) e reliability of energy data collection is also worthy to discuss. On the one hand, the energy data collected from the prefabricating factory rely a lot on the project manager's experience. On the other hand, the energy data from the external literature represent the general energy consumption level instead of the specific case in this article. (3) In the case study in this article, only the columns on the second floor of Building No. 6 have been included in energy consumption calculation. For the entire project, which consists nine buildings with more than six floors each, the workload for suggested energy consumption model is still very high. In addition, the case study in this article is educational construction project, which is simpler than other types of prefabricated project such as industrial buildings. As a result, the representativeness of the specific case in this paper is not comprehensive. (4) e energy consumption model system and the IFC extension mentioned in this article are based on the mature collaboration among all the stakeholders involved in the prefabricated building project. Only if the processes such as energy data recording, BIM model improvement, and production monitoring have been conducted in detail can the energy consumption model system function well on a large scale, which means that the actual implementation of the calculation model in this paper still remains uncertain.

Conclusion
Prefabricated construction is a combination of great design with high-performance mechanisms and quality-controlled manufacturing procedures, whereas opinions on whether and to what extent prefabrication can help to reduce energy are still unclear [48] is paper explored the implementation of BIM in energy consumption analysis of prefabricated element production and proposed integrated solutions to improve energy consumption modelling with assistance of IFC extension. In order to better utilize the performance of BIM model and energy consumption inventory of prefabricated elements, a three-dimensional stage including raw material production, raw material transportation and factorized production has been proposed. Also, this paper discusses how these IFC and energy consumption data will work together to facilitate energy saving management. It helps the participants of prefabricated elements production to better understand energy consumption and to collaborate more effectively.
In this way, the IFC-integrated energy consumption modelling is effective and reliable for participants to understand energy-saving problems and track the corrective action. e benefits of the integrated solution by IFC data source and Python package proposed in this paper lie in the aspects as follows: First, the utilization of IFC extension in prefabricated building domains ensures energy information consistency and calculation precision. Furthermore, the energy inventory of prefabricated component production is identified to provide clear energy consumption definition requirements based on IFC. Typical errors caused by misunderstanding of the statistical range of the prefabricated elements can be avoided.
According to the energy consumption inventory of the prefabricated component production and the calculation results of the case, energy consumption optimization measures can be adopted in raw material production, raw material transportation, and factorized production stages of prefabricated component production. e prospects of BIM technology to optimize the energy consumption also can be spotted. In order to get more accurate energy consumption analysis, it is necessary to improve energy consumption data information of raw material production and transportation stages. It is noted that the energy consumption analysis in raw material production and transportation stages are equally as important as that of factory production and the on-site assembly stage for the prefabricated component production. Furthermore, BIM technology can be used to better provide information exchange and coediting platform for different stakeholders of the prefabricated projects. Meanwhile, the combination of BIM technology and other related software can optimize the choice of raw material transportation routes and coordinate the operation routes of different mechanical equipment in the factory, thereby realizing the energy consumption optimization of the prefabricated component production stage.
On the other hand, this study reveals that energy consumption control should be investigated in the element level considering the differences of various prefabricated  components' requirements in the manufacturing stage. In China, a growing demand for energy has drawn increasing attention in AEC industry. Along with the continuous deepen of informatization and industrialization, a flood of enterprises and professionals are drawn to engage in prefabricated building industry. e construction of PC plants and the implementation of demonstration project have turned into the breakthrough for promoting prefabricated building in various places, especially in Shanghai, Beijing, Shenzhen, and so on. Relying on the comprehensive resources of the industry chain, some enterprises specialize in processing and supply of PC styling products and customized products. e premise is that PC market orders are sufficient or as a professional factory to achieve the overall target. Prefabricated factories should be arranged with essential energy supply to guarantee the production.

Data Availability
e data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest
e authors declare that there are no conflicts of interest regarding the publication of this paper.