SearcharxivSearch

arXiv subjects

Nariman Mahdavi

Publications and source records attributed to Nariman Mahdavi.

4 recordsLinked to original sources

AutoB2G: Agentic Simulation and Reinforcement Learning for Spatio-Temporal Grid-Interactive Building Control

Grid-interactive building control has emerged as a promising approach for improving demand-side flexibility in modern power systems. Realistic studies of such systems, however, require tightly coupled co-simulation across buildings, reinforcement learning (RL), and distribution grids to capture time-varying control dynamics over spatially distributed grid infrastructures. Constructing these workflows remains highly challenging in practice: researchers must coordinate heterogeneous simulators, configure grid environments, synchronize time-varying execution, and maintain consistency across software interfaces and physical constraints. As simulation complexity increases, these requirements become a major bottleneck for rapidly prototyping and studying learning-based energy control systems. In this work, we introduce AutoB2G, an agentic framework for spatio-temporal building-grid co-simulation. AutoB2G formulates simulation construction as a workflow orchestration problem, where natural-language user intents are translated into executable simulation pipelines. The framework integrates building control environments with power-system simulation tools, enabling modular co-simulation under diverse grid settings. To automate workflow construction, we develop an agentic large language model (LLM)-based orchestration framework for scientific simulation. AutoB2G organizes simulation components into a directed acyclic graph (DAG)-structured codebase and employs LLM agents to perform retrieval, composition, execution, verification, and iterative repair of simulation workflows. This allows users to specify high-level simulation tasks while automatically generating complex co-simulation pipelines without manually implementing low-level simulator logic.

cs.AI

A New Definition of Demand Response in the Distributed Energy Resource Era

Demand response is a concept that has been around since the very first electric power systems. However, we have seen an explosion of research on demand response and demand-side technologies in the past 30 years, coinciding with the shift towards liberalized/deregulated electricity markets and efforts to decarbonize the power sector. Now we are also seeing a shift towards more distributed/decentralized electric systems; we have entered the era of "distributed energy resources," which require new grid management, operational, and control strategies. Given this paradigm shift, we argue that the concept of demand response needs to be revisited, and more carefully/consistently defined to enable us to better utilize this massive resource for economic, technical, environmental, and societal aims. In this paper, we survey existing demand response definitions, highlight their shortcomings, propose a new definition, and describe how this new definition enables us to more effectively harness the value of demand response in modern power systems. We conclude with a demand response research agenda informed by a discussion of demand response barriers and enablers.

eess.SY

Linear OPF-based Robust Dynamic Operating Envelopes with Uncertainties in Unbalanced Distribution Networks

Dynamic operating envelopes (DOEs), as a key enabler to facilitate DER integration, have attracted increasing attention in the past years. However, uncertainties, which may come from load forecast errors or inaccurate network parameters, have been rarely discussed in DOE calculation, leading to compromised quality of the hosting capacity allocation strategy. This letter studies how to calculate DOEs that are immune to such uncertainties based on a linearised unbalanced three-phase optimal power flow (UTOPF) model. With uncertain parameters constrained by norm balls, formulations for calculating Robust DOEs (RDOEs) are presented along with discussions on their tractability. Two cases, including a 2-bus illustrative network and a representative Australian network, are tested to demonstrate the effectiveness and efficiency of the proposed approach.

math.OC

Load Balancing in Low-Voltage Distribution Networks via Optimizing Residential Phase Connections

Unbalance issues in low-voltage distribution networks (LVDN) can be worsened by increasing penetration of residential PV generation if unevenly distributed among three phases. To address this issue, the phase-switching device (PSD) provides a viable and efficient method by dynamically switching customers to other phases. This paper further investigates how to optimize residential phase connections by controlling PSDs efficiently. The optimization problem is formulated as a mixed-integer non-convex programming (MINCP) problem considering relevant operational requirements of an LVDN based on the exact formulation of unbalanced three-phase optimal power flow (UTOPF). Unlike most heuristic algorithms and the linearization techniques in our previous work, this paper proposes to solve the MINCP problem via an iteration-based algorithm after exact reformulations and reasonable approximations of some constraints. The proposed method is tested in a real LVDN and compared with the approach of Zhao et al. based on the well-known linear UTOPF formulation. Case studies based on the European low-voltage test feeder demonstrate the proposed method's efficiency in mitigating the network unbalance while ensuring network security and flexibility to deal with more controllable resources.

math.OC