arXiv Science⌕ Search

arXiv · 2611.32882

Adaptive Electromagnetic Transient-level Digital Twins for Data Centers via In-Context Learning with LLMs

Abstract

The rapid growth of artificial intelligence (AI) workloads has significantly increased data center (DC) power demand. Frequent operational and configurational changes, such as load surges caused by dynamic workload allocation, can induce electromagnetic transients (EMTs) whose accurate prediction is critical for reliable DC operation and maintenance. Although high-fidelity EMT solvers are widely adopted for transient analysis, their computational cost limits large-scale and multi-scenario studies. Digital twins address this computational bottleneck by emulating the behavior of a physical system and enabling fast prediction in place of expensive high-fidelity simulation. However,data-driven digital twins are non-adaptive and fail to generalize once the DC configuration changes. To address this limitation, this paper proposes an adaptive EMT-level digital twin for DCs based on in-context learning (ICL) with large language models (LLMs). We formulate the EMT prediction task as a system identification problem under parametric uncertainty and develop a GPT-2-based framework that adapts to unseen DC configurations at inference time from a small set of EMT trajectory samples, without model retraining. The proposed framework is validated on three representative EMT scenarios and benchmarked against three baseline non-adaptive twins. Results demonstrate superior prediction accuracy, improved adaptability to unseen operating conditions, and substantial computational speedups compared to high-fidelity EMT simulation.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Amit Jena, Bin Wang, Aoxia Chen, Brad Chadwell, Billy Yancey, Le Xie. 2026-11-24. Adaptive Electromagnetic Transient-level Digital Twins for Data Centers via In-Context Learning with LLMs. https://arxiv.science/abs/2611.32882

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite arXiv Science by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Secure State Estimation of Cyber-Physical Systems via Gaussian Bernoulli Mixture Model

The implementation of cyber-physical systems in real-world applications is challenged by safety requirements in the presence of sensor threats. Most cyber-physical systems, especially multi-sensor systems, struggle to detect sensor attacks when the attack model is unknown. In this paper, we tackle this issue by proposing a Gaussian-Bernoulli Secure (GBS) estimator, which transforms the detection problem into an optimal estimation problem concerning the system state and observation indicators. We solve the GBS estimator design problem from two complementary perspectives. On the one hand, the problem can be viewed as an observation-subset selection problem: sequential state estimation under different partial observations. On the other hand, the problem can be viewed as an observation-set update problem. When a few indicators change in arbitrary order, a warm-started proximal gradient iteration updates the estimate efficiently, without re-solving the problem or enumerating subsets. We further establish a worst-case bound on the number of iterations for measurement selection. Moreover, we prove that, for arbitrary attack sequences, the mean-square estimation error admits a horizon-independent bound, provided that the retained clean measurements satisfy a window observability condition. We evaluate the proposed GBS estimator from three perspectives: computational efficiency, detection performance, and estimation error.

eess.SY↗

Development of a velocity form for a class of RNNs, with application to offset-free nonlinear MPC design

This paper addresses the offset-free tracking problem for nonlinear systems described by a class of recurrent neural networks (RNNs). To compensate for constant disturbances and guarantee offset-free tracking in the presence of model-plant mismatches, we propose a novel reformulation of the RNN model in velocity form. A theoretically sound offset-free nonlinear model predictive control algorithm is developed. The algorithm exploits the velocity form model as the prediction model and the static controller as an auxiliary law for the definition of the terminal ingredients. Conditions based on linear matrix inequalities are derived for the design of the auxiliary control law and a nonlinear state observer. Simulations on a pH-neutralisation process benchmark demonstrate the effectiveness of the proposed approach.

eess.SY↗

Gradient Networks for Magnetic Modeling of Synchronous Machines

This paper proposes a magnetic model for saturable synchronous machines, including spatial harmonics. Black-box neural networks do not guarantee reciprocity or invertibility of the modeled magnetic characteristics. In the proposed model, a monotone gradient network represents the gradient of the magnetic field energy, from which the stator current and the electromagnetic torque are obtained. Hence, the model inherently satisfies reciprocity and energy conservation, its outputs are smooth, and the map between the flux linkages and currents is invertible. A dual model based on the co-energy is also given. An activation function that is computationally more efficient than the softmax activation is proposed for real-time control. The model is validated using measured data from two permanent-magnet (PM) synchronous reluctance machines (5.6 kW and 28 kW) and finite-element method (FEM) data. For the 5.6-kW machine, a model with 41 parameters reproduces the measured current and flux-linkage maps with rms errors of about 0.02 p.u. and 0.01 p.u., respectively, when 24 measured points are used for training. The model is also demonstrated in real-time closed-loop control at a sampling frequency of 8 kHz.

eess.SY↗