Robust and accurate co-simulation master algorithms applied to FMI slaves with discontinuous signals using FMI 2.0 features

Andreas Nicolai
Faculty of Architecture, Technische Universität Dresden, Germany

Anne Paepcke
Faculty of Architecture, Technische Universität Dresden, Germany

Hauke Hirsch
Faculty of Architecture, Technische Universität Dresden, Germany

Ladda ner artikelhttp://dx.doi.org/10.3384/ecp19157769

Ingår i: Proceedings of the 13th International Modelica Conference, Regensburg, Germany, March 4–6, 2019

Linköping Electronic Conference Proceedings 157:80, s. 8

Visa mer +

Publicerad: 2019-02-01

ISBN: 978-91-7685-122-7

ISSN: 1650-3686 (tryckt), 1650-3740 (online)


Error control in system simulation using co-simulation techniques is a task for the employed simulation master. With the availability of the FMI standard version 2.0 and rollback capabilities of simulation slaves, master algorithms can be implemented with support of error controlled integration. Particularly, for automated integration tools, the problem-specific dynamic adjustment of communication interval lengths becomes a necessity to obtain reliable co-simulation results while maintaining calculation efficiency. The article discusses various master algorithms and time step adjustment strategies using a test case with discontinuous input/output signals. As expected, fixed-step Gauss-Jacobi and Gauss-Seidel algorithms are found to be generally unsuited for the task. Iterationbased time step adjustment rules are an improvement, yet cannot recognize discontinuities resulting from timeevent. Since the traditional Richardson/step-doubling error estimate also fails to recognize discontinuous signal changes, a slope-based modified Richardson-test is introduced and successfully applied. Finally, it is concluded that a suitable master algorithm for such problems is the non-iterating Gauss-Seidel with modified Richardson communication interval adjustment.


FMI, co-simulation, master algorithm, error control, adaptive


Inga referenser tillgängliga

Citeringar i Crossref