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 条
  • [1] EPlus-LLM: A large language model-based computing platform for automated building energy modeling
    Jiang, Gang
    Ma, Zhihao
    Zhang, Liang
    Chen, Jianli
    APPLIED ENERGY, 2024, 367
  • [2] Multimodal Emotion Captioning Using Large Language Model with Prompt Engineering
    Xu, Yaoxun
    Zhou, Yixuan
    Cai, Yunrui
    Xie, Jingran
    Ye, Runchuan
    Wu, Zhiyong
    PROCEEDINGS OF THE 2ND INTERNATIONAL WORKSHOP ON MULTIMODAL AND RESPONSIBLE AFFECTIVE COMPUTING, MRAC 2024, 2024, : 104 - 109
  • [3] A Study on Performance Improvement of Prompt Engineering for Generative AI with a Large Language Model
    Park, Daeseung
    An, Gi-taek
    Kamyod, Chayapol
    Kim, Cheong Ghil
    JOURNAL OF WEB ENGINEERING, 2023, 22 (08): : 1187 - 1206
  • [4] WORDFLOW: Social Prompt Engineering for Large Language Models
    Wang, Zijie J.
    Chakravarthy, Aishwarya
    Munechika, David
    Chau, Duen Horng
    PROCEEDINGS OF THE 62ND ANNUAL MEETING OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS, VOL 3: SYSTEM DEMONSTRATIONS, 2024, : 42 - 50
  • [5] Evaluation of prompt engineering strategies for pharmacokinetic data analysis with the ChatGPT large language model
    Shin, Euibeom
    Ramanathan, Murali
    JOURNAL OF PHARMACOKINETICS AND PHARMACODYNAMICS, 2024, 51 (02) : 101 - 108
  • [6] Evaluation of prompt engineering strategies for pharmacokinetic data analysis with the ChatGPT large language model
    Euibeom Shin
    Murali Ramanathan
    Journal of Pharmacokinetics and Pharmacodynamics, 2024, 51 : 101 - 108
  • [7] Automated Building Information Modeling Compliance Check through a Large Language Model Combined with Deep Learning and Ontology
    Chen, Nanjiang
    Lin, Xuhui
    Jiang, Hai
    An, Yi
    BUILDINGS, 2024, 14 (07)
  • [8] Prompt Engineering: Guiding the Way to Effective Large Language Models
    Aljanabi M.
    Yaseen M.G.
    Ali A.H.
    Mohammed M.A.
    Iraqi Journal for Computer Science and Mathematics, 2023, 4 (04): : 151 - 155
  • [9] GPT Prompt Engineering for a Large Language Model-Based Process Improvement Generation System
    Lee, Donghyeon
    Lee, Jaewook
    Shin, Dongil
    KOREAN JOURNAL OF CHEMICAL ENGINEERING, 2024, 41 (12) : 3263 - 3286
  • [10] Effects of prompt engineering on large language model performance in response to questions on common ophthalmic conditions
    Wu, Jo-Hsuan
    Nishida, Takashi
    Moghimi, Sasan
    Weinreb, Robert N.
    TAIWAN JOURNAL OF OPHTHALMOLOGY, 2024, 14 (03) : 454 - +