Logo image
Automatic building energy model development and debugging using large language models agentic workflow
Journal article   Peer reviewed

Automatic building energy model development and debugging using large language models agentic workflow

Liang Zhang, Vitaly Ford, Zhelun Chen and Jianli Chen
Energy and buildings, v 327, 115116
15 Jan 2025

Abstract

Agentic workflow Building energy modeling Complex system modeling Generative artificial intelligence Large language model
•Explore the use of large language models (LLMs) to automate building energy modeling.•Develop an LLM-agent workflow based on LLM planning for complex procedures.•Accurately translate building description to an EnergyPlus model in a case study.•Outperform naive prompt engineering and other planning in accuracy and reliability. Building energy modeling (BEM) is a complex process that demands significant time and expertise, limiting its broader application in building design and operations. While Large Language Models (LLMs) agentic workflow have facilitated complex engineering processes, their application in BEM has not been specifically explored. This paper investigates the feasibility of automating BEM using LLM agentic workflow. We developed a generic LLM-planning-based workflow that takes a building description as input and generates an error-free EnergyPlus building energy model. Our robust workflow includes four core agents: 1) Building Description Pre-Processing, 2) IDF Object Information Extraction, 3) Single IDF Object Generator Suite, and 4) IDF Debugging Agent. These agents divide the complex tasks into manageable sub-steps, enabling LLMs to generate accurate and reliable results at each stage. The case study demonstrates the successful translation of a building description into an error-free EnergyPlus model for the iUnit modular building at the National Renewable Energy Laboratory. The effectiveness of our workflow surpasses: 1) naive prompt engineering, 2) other LLM-based workflows, and 3) manual modeling, in terms of accuracy, reliability, and time efficiency. The paper concludes with a discussion on the interplay between foundational models and LLM agent planning design, advocating for the use of fine-tuned, specialized models to advance this field.

Metrics

Details

UN Sustainable Development Goals (SDGs)

This publication has contributed to the advancement of the following goals:

#7 Affordable and Clean Energy
#13 Climate Action
#11 Sustainable Cities and Communities

Source: SDGs in the Output

InCites Highlights

Data related to this publication, from InCites Benchmarking & Analytics tool:

Collaboration types
Domestic collaboration
International collaboration
Web of Science research areas
Construction & Building Technology
Energy & Fuels
Engineering, Civil
Logo image