Karim Abdelhak
- PhD student at the University of Bielefeld
- Scientific staff member in the Department of Engineering Sciences and Mathematics at Hochschule Bielefeld (Bielefeld University of Applied Sciences).
- Backend Developer for OpenModelica
- He holds a Master of Science degree from the same institutionin Optimization and Simulation.
- At Hochschule Bielefeld, he has been contributing continuously since around January 2019, engaging in both teaching and research activities.
Sessions
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.
Equation-based modeling that utilizes reusable components to represent real-world systems can result in excessively large models. This, in turn, significantly increases compilation time and code size, even when employing state-of-the-art scalarization and causalization techniques. This paper presents an algorithm that leverages repeating patterns and uniform causalization to enable array-size-independent constant time processing. Allowing structural parameters that govern array sizes to remain resizable during and after the causalization process enables the formulation of an integer-valued nonlinear optimization problem. This approach identifies the minimal model configuration that preserves the required structural integrity, which can subsequently be resized as needed for simulation. The proposed method has been implemented in OpenModelica and builds upon preliminary work aimed at preserving array structures during causalization, while still resolving the underlying problem in a scalarized manner.