Index-aware learning of circuits
Idoia Cortes Garcia, Peter Förster, Lennart Jansen, Wil Schilders, Sebastian Schöps
TL;DR
This work tackles surrogate modeling for electrical circuits by exploiting MNA-derived DAEs through the dissection index to decouple the system into an ODE in differential variables and a set of purely algebraic equations. By learning only the differential variables and reconstructing the algebraic ones from the decoupled system, the approach guarantees algebraic constraints up to solver accuracy and reduces the learning burden. The method is demonstrated for index-one and index-two DAEs via diode-oscillator and rectifier circuits, using Gaussian processes with a sequential variance-based sampling strategy, achieving accurate reconstructions and substantial reduction in the number of learned variables. The framework is architecture- and method-agnostic with respect to the learning component and offers practical benefits for design optimization and uncertainty quantification, with clear paths for extension to controlled sources and electrothermal DAEs.
Abstract
Electrical circuits are present in a variety of technologies, making their design an important part of computer aided engineering. The growing number of parameters that affect the final design leads to a need for new approaches to quantify their impact. Machine learning may play a key role in this regard, however current approaches often make suboptimal use of existing knowledge about the system at hand. In terms of circuits, their description via modified nodal analysis is well-understood. This particular formulation leads to systems of differential-algebraic equations (DAEs) which bring with them a number of peculiarities, e.g. hidden constraints that the solution needs to fulfill. We use the recently introduced dissection index that can decouple a given system of DAEs into ordinary differential equations, only depending on differential variables, and purely algebraic equations, that describe the relations between differential and algebraic variables. The idea is to then only learn the differential variables and reconstruct the algebraic ones using the relations from the decoupling. This approach guarantees that the algebraic constraints are fulfilled up to the accuracy of the nonlinear system solver, and it may also reduce the learning effort as only the differential variables need to be learned.
