Smart Processing of Function Calls to Achieve Efficient Simulation Code

J.B. Hagemann, Patrick Täuber, Lennart Ochel, Bernhard Bachmann · Linköping electronic conference proceedings · 2017

This paper introduces a new algorithm to increase the simulation performance of algebraic equation systems by encapsulating function calls.This avoids unnecessary evaluations of function calls and leads to positive structural effects, such as code motion.To enable the reader to reconstruct the algorithm, all four phases of the algorithm are described in detail and the complexity of them is analyzed.The overall complexity for practical models is O(n), where n is the number of equations.It is shown that the algorithm significantly decreases the simulation time for a wide range of physical based models.

Read the paper · More papers on PaperTik