Diagnosing Newton’s Solver Convergence Failures in theInitialization of Modelica Models
Francesco Casella, Karim Abdelhak, Bernhard Bachmann, Philip Hannebohm, Teus van der Stelt
The convergence failure of iterative Newton solvers during the initialization of Modelica models is a serious show-stopper, particularly for inexperienced users. This paper presents the implementation in the OpenModelica tool of methods presented by two of the authors in a previous paper, to help diagnosing and resolving these convergence failure by providing ranked lists of potentially critical start attributes that might need to be fixed in order to successfully achieve convergence. The method also provides library developers with useful information about critical nonlinear equations, that could be replaced by equivalent, less nonlinear ones, or approximated by homotopy for more robust initialization.
Simulation and Optimization
202