Prompt engineering to inform large language model in automated building energy modeling

被引:0
|
作者
Jiang, Gang [1 ]
Ma, Zhihao [1 ]
Zhang, Liang [2 ]
Chen, Jianli [1 ,3 ]
机构
[1] Univ Utah, Salt Lake City, UT USA
[2] Univ Arizona, Tucson, AZ USA
[3] Tongji Univ, Shanghai, Peoples R China
关键词
Prompt engineering; Large language model; Building energy models; Automated building energy modeling; In-context learning; Generative artificial intelligence;
D O I
10.1016/j.energy.2025.134548
中图分类号
O414.1 [热力学];
学科分类号
摘要
Application of large language models (LLMs) to facilitate auto-building energy modeling (ABEM) is complex and resource-intensive. This paper presents practical guidelines for ABEM using prompt engineering with LLMs. Unlike training LLMs for ABEM with fine-tuning (involving model weight adjustment), prompt engineering is to provide specific prompts along with modeling descriptions and demonstrations, informing LLMs to automatically generate building energy models (BEMs) through natural language expression, and enabling users to perform ABEM without specialized building knowledge or software proficiency. In this study, the capabilities of prompt engineering for ABEM using LLMs are investigated. To achieve this, six types of prompts are designed, encompassing two exploratory tasks and one real-world task with a total of 648 case studies. The results from the case studies suggest that prompt engineering is feasible to automatically obtain the desired BEMs using one-shot learning (one demonstration), few-shot learning (few-demonstration), and chain-of-thought strategies (i.e., task explanation and division). Finally, the modeling comparison between the tested lightweighted LLMs with GPT-4o suggests that compact LLMs with an appropriate context window are suitable to be deployed for various building applications. The source codes for prompt engineering are available on GitHub (https://github.com/Ga ngjiang1/Prompting-for-Auto-building-Modeling.git).
引用
收藏
页数:17
相关论文
共 50 条
  • [31] Knowledge graph construction for heart failure using large language models with prompt engineering
    Xu, Tianhan
    Gu, Yixun
    Xue, Mantian
    Gu, Renjie
    Li, Bin
    Gu, Xiang
    FRONTIERS IN COMPUTATIONAL NEUROSCIENCE, 2024, 18
  • [32] Mitigating spatial hallucination in large language models for path planning via prompt engineering
    Zhang, Hongjie
    Deng, Hourui
    Ou, Jie
    Feng, Chaosheng
    SCIENTIFIC REPORTS, 2025, 15 (01):
  • [33] Improving large language models for clinical named entity recognition via prompt engineering
    Hu, Yan
    Chen, Qingyu
    Du, Jingcheng
    Peng, Xueqing
    Keloth, Vipina Kuttichi
    Zuo, Xu
    Zhou, Yujia
    Li, Zehan
    Jiang, Xiaoqian
    Lu, Zhiyong
    Roberts, Kirk
    Xu, Hua
    JOURNAL OF THE AMERICAN MEDICAL INFORMATICS ASSOCIATION, 2024, 31 (09)
  • [34] How to use large language models in ophthalmology: from prompt engineering to protecting confidentiality
    Kleinig, Oliver
    Gao, Christina
    Kovoor, Joshua G.
    Gupta, Aashray K.
    Bacchi, Stephen
    Chan, Weng Onn
    EYE, 2024, 38 (04) : 649 - 653
  • [35] How to use large language models in ophthalmology: from prompt engineering to protecting confidentiality
    Oliver Kleinig
    Christina Gao
    Joshua G. Kovoor
    Aashray K. Gupta
    Stephen Bacchi
    Weng Onn Chan
    Eye, 2024, 38 : 649 - 653
  • [36] Leveraging language model for advanced multiproperty molecular optimization via prompt engineering
    Wu, Zhenxing
    Zhang, Odin
    Wang, Xiaorui
    Fu, Li
    Zhao, Huifeng
    Wang, Jike
    Du, Hongyan
    Jiang, Dejun
    Deng, Yafeng
    Cao, Dongsheng
    Hsieh, Chang-Yu
    Hou, Tingjun
    NATURE MACHINE INTELLIGENCE, 2024, 6 (11) : 1359 - 1369
  • [37] MAPO: Boosting Large Language Model Performance with Model-Adaptive Prompt Optimization
    Chen, Yuyan
    Wen, Zhihao
    Fan, Ge
    Chen, Zhengyu
    Wu, Wei
    Liu, Dayiheng
    Li, Zhixu
    Liu, Bang
    Xiao, Yanghua
    FINDINGS OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS - EMNLP 2023, 2023, : 3279 - 3304
  • [38] Interactive Design by Integrating a Large Pre-Trained Language Model and Building Information Modeling
    Jang, Suhyung
    Lee, Ghang
    COMPUTING IN CIVIL ENGINEERING 2023-VISUALIZATION, INFORMATION MODELING, AND SIMULATION, 2024, : 291 - 299
  • [39] Automated model generation for performance engineering of building automation networks
    Joern Ploennigs
    Mario Neugebauer
    Klaus Kabitzsch
    International Journal on Software Tools for Technology Transfer, 2006, 8 (6) : 607 - 620
  • [40] Optimierte Interaktion mit Large Language ModelsPraxisorientierter Leitfaden zu Prompt Engineering und Retrieval-Augmented GenerationOptimized interaction with Large Language ModelsA practical guide to Prompt Engineering and Retrieval-Augmented Generation
    Anna Fink
    Alexander Rau
    Elmar Kotter
    Fabian Bamberg
    Maximilian Frederik Russe
    Die Radiologie, 2025, 65 (4) : 235 - 242