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 条
  • [21] UnstrPrompt: Large Language Model Prompt for Driving in Unstructured Scenarios
    Li, Yuchen
    Li, Luxi
    Wu, Zizhang
    Bing, Zhenshan
    Zhe, Xuanyuan
    Knoll, Alois Christian
    Chen, Long
    IEEE JOURNAL OF RADIO FREQUENCY IDENTIFICATION, 2024, 8 : 367 - 375
  • [22] AppPoet: Large language model based android malware detection via multi-view prompt engineering
    Zhao, Wenxiang
    Wu, Juntao
    Meng, Zhaoyi
    EXPERT SYSTEMS WITH APPLICATIONS, 2025, 262
  • [23] Impact Analysis of using Natural Language Processing and Large Language Model on Automated Correction of Systems Engineering Requirements
    de Oliveira, Arthur H. M.
    Reis, Pedro Almeida
    Júnior, Fernando Sarracini
    Cavalcante, Mairon Sena
    de Lima, Jonathan V. C.
    Soares, Luis F. C.
    Marchiori, Lucas Henrique
    INCOSE International Symposium, 2024, 34 (01) : 992 - 1007
  • [24] On the legal implications of Large Language Model answers: A prompt engineering approach and a view beyond by exploiting Knowledge Graphs
    Hannah, George
    Sousa, Rita T.
    Dasoulas, Ioannis
    d'Amato, Claudia
    JOURNAL OF WEB SEMANTICS, 2025, 84
  • [25] Artificial intelligence for health message generation: an empirical study using a large language model (LLM) and prompt engineering
    Lim, Sue
    Schmalzle, Ralf
    FRONTIERS IN COMMUNICATION, 2023, 8
  • [26] Prompt engineering on leveraging large language models in generating response to InBasket messages
    Yan, Sherry
    Knapp, Wendi
    Leong, Andrew
    Kadkhodazadeh, Sarira
    Das, Souvik
    Jones, Veena G.
    Clark, Robert
    Grattendick, David
    Chen, Kevin
    Hladik, Lisa
    Fagan, Lawrence
    Chan, Albert
    JOURNAL OF THE AMERICAN MEDICAL INFORMATICS ASSOCIATION, 2024, 31 (10) : 2263 - 2270
  • [27] Optimizing Large Language Models: A Deep Dive into Effective Prompt Engineering Techniques
    Son, Minjun
    Won, Yun-Jae
    Lee, Sungjin
    APPLIED SCIENCES-BASEL, 2025, 15 (03):
  • [28] Automated Building Energy Modeling and Assessment Tool (ABEMAT)
    Kamel, Ehsan
    Memari, Ali M.
    ENERGY, 2018, 147 : 15 - 24
  • [29] Towards Taming Large Language Models with Prompt Templates for Legal GRL Modeling
    de Kinderen, Sybren
    Winter, Karolin
    ENTERPRISE, BUSINESS-PROCESS AND INFORMATION SYSTEMS MODELING, BPMDS 2024, EMMSAD 2024, 2024, 511 : 213 - 228
  • [30] Prompt Engineering to Classify Components of Standard Operating Procedure Steps Using Large Language Model (LLM)-Based Chatbots
    Bashatah, Jomana
    Sherry, Lance
    2024 INTEGRATED COMMUNICATIONS, NAVIGATION AND SURVEILLANCE CONFERENCE, ICNS, 2024,