Journal of Shandong University(Engineering Science) ›› 2026, Vol. 56 ›› Issue (1): 97-104.doi: 10.6040/j.issn.1672-3961.0.2025.190

• Civil Engineering • Previous Articles    

Question-answering model for building material carbon emissions unit conversion based on retrieval-augmented generation and Agent

YAN Qiao1,2, JIAO Fei3, YAN Yi1,2*, DU Xianghua4, LIU Pengcheng1   

  1. YAN Qiao1, 2, JIAO Fei3, YAN Yi1, 2*, DU Xianghua4, LIU Pengcheng1(1. School of Information and Electrical Engineering, Shandong Jianzhu University, Jinan 250101, Shandong, China;
    2. Shandong Key Laboratory of Smart Buildings and Energy Efficiency, Shandong Jianzhu University, Jinan 250101, Shandong, China;
    3. Heze Branch of China Tower Co., Ltd., Heze 274000, Shandong, China;
    4. School of Computer and Artificial Intelligence, Shandong Jianzhu University, Jinan 250101, Shandong, China
  • Published:2026-02-03

Abstract: To solve mismatching between the measurement units of building materials and the units of carbon emission factors during the calculation of carbon emissions in the phase of building materials production and transportation, a question-answering model for building material carbon emissions unit conversion based on retrieval-augmented generation(RAG)and Agent was proposed. A local knowledge database was constructed by analyzing typical material conversion processes, and a RAG module was designed to provide step-by-step references for the conversions. An Agent capable of calling the calculation tool was developed to perform the mathematical operations required in the conversion process. The prompt templates were designed and integrated with a large language model to answer the question based on local knowledge database. The experimental results showed that the proposed model could accurately answer the unit conversion questions of building materials, and realized visualization of the unit conversion results and reasoning steps displayed on the Web interface and local console.

Key words: building material carbon emissions, unit conversion, retrieval-augmented generation, Agent, question-answering model

CLC Number: 

  • TU5
[1] 中华人民共和国住房和城乡建设部. 建筑碳排放计算标准: GB/T 51366—2019[S]. 北京: 中国建筑工业出版社, 2019: 2.
[2] 中国建筑节能协会, 重庆大学城乡建设与发展研究院. 中国建筑能耗与碳排放研究报告(2023年)[J]. 建筑, 2024(2): 46-59.
[3] YAN Q, JIAO F, PENG W. Building materials classification model based on text data enhancement and semantic feature extraction[J]. Buildings, 2024, 14: 1859.
[4] 钱力, 张智雄, 伍大勇, 等. 科技文献大模型: 方法、框架与应用[J]. 中国图书馆学报, 2024, 50(6): 45-58. QIAN Li, ZHANG Zhixiong, WU Dayong, et al. The large language model for scientific literature: method, framework, and application[J]. Journal of Library Science in China, 2024, 50(6): 45-58.
[5] 汪伦, 艾斯卡尔·艾木都拉, 张华平, 等. 基于大语言模型的开源情报摘要生成研究[J]. 情报理论与实践, 2025, 48(5): 43-48. WANG Lun, HAMDULLA Askar, ZHANG Huaping, et al. Research on open source intelligence summary generation based on large language models[J]. Information Studies: Theory & Application, 2025, 48(5): 43-48.
[6] 赵阳. 从DeepSeek探讨大语言模型在建筑及能源行业的应用趋势和技术方法[J]. 建筑节能(中英文), 2025, 53(2): 1-6. ZHAO Yang. Application trends and technical methods of LLM in the construction industry and energy industry from DeepSeek[J]. Journal of Building Energy Efficiency, 2025, 53(2): 1-6.
[7] DU Y L, LI S, TORRALBA A, et al. Improving factuality and reasoning in language models through multiagent debate[C] //Proceedings of the 41st Interna-tional Conference on Machine Learning. Vienna, Austria: ACM, 2024: 11733-11763.
[8] LU J Y, YU L, LI X J, et al. LLaMA-reviewer: advancing code review automation with large language models through parameter-efficient fine-tuning[C] //2023 IEEE 34th International Symposium on Software Reliability Engineering(ISSRE). Florence, Italy: IEEE, 2023: 647-658.
[9] 刘雪颖, 云静, 李博, 等. 基于大型语言模型的检索增强生成综述[J]. 计算机工程与应用, 2025, 61(13): 1-25. LIU Xueying, YUN Jing, LI Bo, et al. Survey of retrieval-augmented generation based on large language models[J]. Computer Engineering and Applications, 2025, 61(13): 1-25.
[10] HINDI M, MOHAMMED L, MAAZ O, et al. Enhancing the precision and interpretability of retrieval-augmented generation(RAG)in legal technology: a survey[J]. IEEE Access, 2025, 13: 46171-46189.
[11] WANG L, MA C, FENG X Y, et al. A survey on large language model based autonomous agents[J]. Frontiers of Computer Science, 2024, 18(6): 186345.
[12] WEI Q, SUN H J, XU Y, et al. Exploring the application of large language models based AI Agents in leakage detection of natural gas valve chambers[J]. Energies, 2024, 17(22): 5633.
[13] 中国产品全生命周期温室气体排放系数库[DB/OL].(2025-05-12)[2025-09-04]. http://lca.cityghg.com
[14] 沈思, 冯暑阳, 吴娜, 等. 融合大语言模型的政策文本检索增强生成研究[J]. 数据分析与知识发现, 2025, 9(9): 37-48. SHEN Si, FENG Shuyang, WU Na, et al. Retrieval-augmented generation of policy texts based on large language models[J]. Data Analysis and Knowledge Discovery, 2025, 9(9): 37-48.
[15] 齐俊, 曲睿婷, 教传铭, 等. 基于知识图谱增强大语言模型双碳领域服务[J]. 计算机与现代化, 2024(9): 8-14. QI Jun, QU Ruiting, JIAO Chuanming, et al. Enhanced big language model dual carbon domain services based on knowledge graph[J]. Computer and Modernization, 2024(9): 8-14.
[16] Qwen Team. Qwen2-Math, 新一代数学模型[EB/OL].(2024-08-08)[2025-09-04]. https://qwenlm.github.io/zh/blog/qwen2-math/
[17] 张天鸿, 王晓玲, 余红玲, 等. 基于大语言模型的灌浆工程知识服务系统[J]. 水利学报, 2025, 56(1): 130-142. ZHANG Tianhong, WANG Xiaoling, YU Hongling, et al. Grouting works knowledge service system based on large language model[J]. Journal of Hydraulic Engi-neering, 2025, 56(1): 130-142.
[1] ZHANG Bo, XU Yue, KANG Le, ZHANG Guijun. Distributed online optimization algorithm based on differential privacy mechanism and one-point feedback [J]. Journal of Shandong University(Engineering Science), 2026, 56(1): 14-25.
[2] CUI Yang, ZHANG Ke, JIANG Bin. Fault estimation design for linear multi-agent systems with switching topologies [J]. JOURNAL OF SHANDONG UNIVERSITY (ENGINEERING SCIENCE), 2017, 47(5): 263-270.
[3] WU Yanming, WANG Ruiyun, WANG Zhanshan. Fault detection for multi-agent systems based on intermediate observer [J]. JOURNAL OF SHANDONG UNIVERSITY (ENGINEERING SCIENCE), 2017, 47(5): 96-102.
[4] YE Dan, ZHANG Tianyu, LI Kui. Adaptive fault-tolerant containment control for multi-agent systems with unknown global information [J]. JOURNAL OF SHANDONG UNIVERSITY (ENGINEERING SCIENCE), 2017, 47(5): 1-6.
[5] LIAN Lu, HAN Xiangsheng, ZHANG Changqiao, YU Ping, WEI Yunhe. Preparation, characterization and performance of drag reduction agent used in pipeline of brine mining and transportation [J]. JOURNAL OF SHANDONG UNIVERSITY (ENGINEERING SCIENCE), 2017, 47(2): 117-122.
[6] LI Ming, LIU Wei, ZHANG Yanduo. Mulit-Agent dynamic task allocation based on improved contract net protocol [J]. JOURNAL OF SHANDONG UNIVERSITY (ENGINEERING SCIENCE), 2016, 46(2): 51-56.
[7] SHEN Xiaojing, CHEN Ming, CHI Tao. An novel information fusion algorithm of multi-Agent water quality monitoring system [J]. JOURNAL OF SHANDONG UNIVERSITY (ENGINEERING SCIENCE), 2014, 44(4): 39-45.
[8] YU Zhen-mei1, YANG Rong-rong2, QI Feng-mei3, ZHANG Hui3, LIU Feng-ming4. A load balance model for Web services based on  immune stability maintenance [J]. JOURNAL OF SHANDONG UNIVERSITY (ENGINEERING SCIENCE), 2012, 42(3): 39-44.
[9] LIU Bin, ZHANG Ren-jin. A path planning method using two-stage particle swarm optimization [J]. JOURNAL OF SHANDONG UNIVERSITY (ENGINEERING SCIENCE), 2012, 42(1): 12-18.
[10] ZHANG Qi-cong1, YANG Gong-ping2*. Study on Agent based simulation of banking queuing system [J]. JOURNAL OF SHANDONG UNIVERSITY (ENGINEERING SCIENCE), 2011, 41(4): 68-72.
[11] WANG Yun, WANG Jun, HAN Wei*. Multiagent cooperation learning based on an evolutional algorithm [J]. JOURNAL OF SHANDONG UNIVERSITY (ENGINEERING SCIENCE), 2010, 40(6): 8-11.
[12] CHENG Xian-Yi1,2 ZHU Qian2, GUAN Zhi-jin1. The AIM model of pattern expression based on  an agent [J]. JOURNAL OF SHANDONG UNIVERSITY (ENGINEERING SCIENCE), 2010, 40(5): 72-76.
[13] YANG Xiao-yu, CAO Cheng-bo*, ZHOU Chen, HU Shun-peng. Synthesis and properties of amphoteric fluorescent whitening agents [J]. JOURNAL OF SHANDONG UNIVERSITY (ENGINEERING SCIENCE), 2010, 40(4): 108-112.
[14] YUN Jian1,3, JIANG Di1,2, PAN Wu-yun1. Computation model of human vowel system evolution based on meme [J]. JOURNAL OF SHANDONG UNIVERSITY (ENGINEERING SCIENCE), 2010, 40(4): 12-18.
[15] LONG Zhi-Jian, ZHANG Chang-Qiao. Synthesis and properties of associating DRA by binary copolymerization based on lauryl methacrylate [J]. JOURNAL OF SHANDONG UNIVERSITY (ENGINEERING SCIENCE), 2009, 39(5): 128-132.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!