Scaling Data-Driven Building Energy Modelling using Large Language Models
<|reference_start|>Scaling Data-Driven Building Energy Modelling using Large Language Models: Building Management System (BMS) through a data-driven method always faces data and model scalability issues. We propose a methodology to tackle the scalability challenges associated with the development of data-driven models for BMS by using Large Language Models (LLMs). LLMs' code generation adaptability can enable broader adoption of BMS by "automating the automation," particularly the data handling and data-driven modeling processes. In this paper, we use LLMs to generate code that processes structured data from BMS and build data-driven models for BMS's specific requirements. This eliminates the need for manual data and model development, reducing the time, effort, and cost associated with this process. Our hypothesis is that LLMs can incorporate domain knowledge about data science and BMS into data processing and modeling, ensuring that the data-driven modeling is automated for specific requirements of different building types and control objectives, which also improves accuracy and scalability. We generate a prompt template following the framework of Machine Learning Operations so that the prompts are designed to systematically generate Python code for data-driven modeling. Our case study indicates that bi-sequential prompting under the prompt template can achieve a high success rate of code generation and code accuracy, and significantly reduce human labor costs.<|reference_end|>
@article{khadka2024scaling,
    title={Scaling Data-Driven Building Energy Modelling using Large Language
  Models},
    author={Sunil Khadka, Liang Zhang},
    journal={arXiv preprint arXiv:2407.03469},
    year={2024},
    archivePrefix={arXiv},
    eprint={2407.03469},
    primaryClass={cs.SE cs.AI}
}