eess.SYApr 7, 2026

Bridging Natural Language and Microgrid Dynamics: A Context-Aware Simulator and Dataset

Authors: Tinko Sebastian Bartels, Ruixiang Wu, Xinyu Lu, Yikai Lu, Fanzeng Xia, Haoxiang Yang, Yue Chen, Tongxin Li

Organizations: School of Data Science, The Chinese University of Hong Kong-Shenzhen, Shenzhen, China. · Department of Mechanical and Automation Engineering, The Chinese University of Hong Kong, Hong Kong, China.

Abstract

Addressing the critical need for intelligent, context-aware energy management in renewable systems, we introduce the OpenCEM Simulator and Dataset: the first open-source digital twin explicitly designed to integrate rich, unstructured contextual information with quantitative renewable energy dynamics. Traditional energy management relies heavily on numerical time series, thereby neglecting the significant predictive power embedded in human-generated context (e.g., event schedules, system logs, user intentions). OpenCEM bridges this gap by offering a unique platform comprising both a meticulously aligned, language-rich dataset from a real-world PV-and-battery microgrid installation and a modular simulator capable of natively processing this multi-modal context. The OpenCEM Simulator provides a high-fidelity environment for developing and validating novel control algorithms and prediction models, particularly those leveraging Large Language Models. We detail its component-based architecture, hybrid data-driven and physics-based modelling capabilities, and demonstrate its utility through practical examples, including context-aware load forecasting and the implementation of online optimal battery charging control strategies. By making this platform publicly available, OpenCEM aims to accelerate research into the next generation of intelligent, sustainable, and truly context-aware energy systems.

Figures & tables

Explore similar work

CardsList
  1. LLMs are Few-Shot Decision-Makers: Generalized Context-Aware Microgrid Frequency Control through Prompt Decision Transformer

    Aug 22, 2026Xu Yang, Chenhui Lin, Haotian Liu +3Power SystemsTransformer-Based RL

  2. WattCouncil: Context-Aware Household Energy Scenario Generation With Governed LLMs

    Jul 12, 2026Mohannad Takrouri, Nicolas M. Cuadrado A., Martin TakáčSynthetic Data GenerationTime Series Generation

  3. Grid-Orch: An LLM-Powered Orchestrator for Distribution Grid Simulation and Analytics

    May 12, 2026Boming Liu, Jin Dong, Jamie LianLLM Agent OrchestrationLLM Tool Use