Tool and use case:
The solution to the use case is a python script that extract data from an .ifc file and incorporate it in generated .json files to be imported in LCAbyg. The goal of this tool is to provide a fast overview of LCA results (CO2 emissions) in LCAbyg on building elements (in this example for IFCbeams) within a building project from an IFC- file.
Step-by-step guide to use the tool:
- Export your BIM project to .ifc file format and save on your device.
- Open the main.py file in the tool folder.
- In code line XX, insert the file path of your .ifc file.
- Press Run code. -> .json files will automatically be generated in the tool folder in a folder named ‘output’.
- Open LCAbyg 5 (v.5.2.1.0) or install LCAbyg from: https://old.lcabyg.dk/download-program
- In LCAbyg, click on ‘Filer’ -> ‘Ny’ -> ‘Tomt projekt’, to open a new empty project.
- Click on ‘Filer’ -> ‘importer komponenter fra json’, to import generated json components.
- Choose the generated ‘output’ folder and press ‘Select Folder’
- Under the ‘Bygningsmodel’ module, the building element beams from the ifc file are generated and displaying its corresponding data ‘Konstruktioner’, ‘Byggevare’, ‘Faser’ by clicking on the element (see Figure 1). Note, the amounts(‘mængde’) and units under the ‘Konstruktioner’ and ‘Byggevarer’ tabs must be manually specified.
- Read the LCA results under the ‘Resultater’ module and in ‘Analyse og rapport’ for graphic representations.
Further work:
Due to the time constraints only beams from the IFC file is identified and loaded into LCAbyg thorugh this tool. However the same approach applies for all IFC elements why these can potentially be implementet in the tool to get a full LCA of the IFC building. It is possible to expand the number of json files to incorporate information of the project and building data.
Link to github: https://github.com/s183616/A4-Final-Project-