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 条
  • [41] Claude 2.0 large language model: Tackling a real-world classification problem with a new iterative prompt engineering approach
    Caruccio, Loredana
    Cirillo, Stefano
    Polese, Giuseppe
    Solimando, Giandomenico
    Sundaramurthy, Shanmugam
    Tortora, Genoveffa
    INTELLIGENT SYSTEMS WITH APPLICATIONS, 2024, 21
  • [42] Large language model-based interpretable machine learning control in building energy systems
    Zhang, Liang
    Chen, Zhelun
    ENERGY AND BUILDINGS, 2024, 313
  • [43] Automatic building energy model development and debugging using large language models agentic workflow
    Zhang, Liang
    Ford, Vitaly
    Chen, Zhelun
    Chen, Jianli
    ENERGY AND BUILDINGS, 2025, 327
  • [44] Building energy model automated calibration using Pymoo
    El Kounni, Abdelkader
    Outzourhit, Abdelkader
    Mastouri, Hicham
    Radoine, Hassan
    ENERGY AND BUILDINGS, 2023, 298
  • [45] Building Reactive Large Language Model Pipelines with MOTION
    Shankar, Shreya
    Parameswaran, Aditya G.
    COMPANION OF THE 2024 INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA, SIGMOD-COMPANION 2024, 2024, : 520 - 523
  • [46] Similarity-Based Prompt Construction for Large Language Model in Medical Tasks
    Liu, Gaofei
    Pan, Meiqi
    Ma, Zhiyuan
    Gu, Miaomiao
    Yang, Ling
    Qin, Jiwei
    HEALTH INFORMATION PROCESSING: EVALUATION TRACK PAPERS, CHIP 2023, 2024, 2080 : 73 - 83
  • [47] Interactive and Visual Prompt Engineering for Ad-hoc Task Adaptation with Large Language Models
    Strobelt H.
    Webson A.
    Sanh V.
    Hoover B.
    Beyer J.
    Pfister H.
    Rush A.M.
    IEEE Transactions on Visualization and Computer Graphics, 2023, 29 (01) : 1146 - 1156
  • [48] PACE: Improving Prompt with Actor-Critic Editing for Large Language Model
    Dong, Yihong
    Luo, Kangcheng
    Jiang, Xue
    Jin, Zhi
    Li, Ge
    FINDINGS OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS: ACL 2024, 2024, : 7304 - 7323
  • [49] Modeling and control of thermal energy of a large commercial building
    Ferrarini, Luca
    Mantovani, Giancarlo
    2013 IEEE INTERNATIONAL WORKSHOP ON INTELLIGENT ENERGY SYSTEMS (IWIES), 2013, : 149 - 154
  • [50] Prompt Engineering or Fine-Tuning? A Case Study on Phishing Detection with Large Language Models
    Trad, Fouad
    Chehab, Ali
    MACHINE LEARNING AND KNOWLEDGE EXTRACTION, 2024, 6 (01): : 367 - 384