Residual-Informed Learning of Solutions to Algebraic Loops
Abstract
This paper presents a residual-informed machine learning approach for replacing algebraic loops in equation-based Modelica models with neural network surrogates. A feedforward neural network is trained using the residual (error) of the algebraic loop directly in its loss function, eliminating the need for a supervised dataset. This training strategy also resolves the issue of ambiguous solutions, allowing the surrogate to converge to a consistent solution rather than averaging multiple valid ones. Applied to the large-scale IEEE 14-Bus system, our method achieves a 60% reduction in simulation time compared to conventional simulations, while maintaining the same level of accuracy through error control mechanisms.
Keywords
Cite
@article{arxiv.2510.09317,
title = {Residual-Informed Learning of Solutions to Algebraic Loops},
author = {Felix Brandt and Andreas Heuermann and Philip Hannebohm and Bernhard Bachmann},
journal= {arXiv preprint arXiv:2510.09317},
year = {2025}
}
Comments
16 pages, 16 figures, 5 tables, submitted to IDaS-Schriftenreihe from Hochschule Bielefeld - University of Applied Sciences and Arts (HSBI)