Implementing stabilized co-simulation of strongly coupled systems using the Functional Mock-up Interface 2.0

Antoine Viel
LMS Imagine, Roanne, France

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

Ingår i: Proceedings of the 10th International Modelica Conference; March 10-12; 2014; Lund; Sweden

Linköping Electronic Conference Proceedings 96:22, s. 213-223

Visa mer +

Publicerad: 2014-03-10

ISBN: 978-91-7519-380-9

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


This paper addresses the main issue encountered with the co-simulation of coupled systems that exchange energy;i.e. the trade-off between computational performances and numerical stability. This property is first explained in details with the help of a simple generic test system for which a large oversampling with respect to the Nyquist frequency is required in order to keep a good level of accuracy. The linearly implicit stabilization method from Arnold is then implemented and tested thanks to the directional directives computation capability of the FMI for Co-simulation 2.0 standard. Some minor extensions to the standard are proposed to efficiently implement the method. When applied to the test system; it is shown that large co-simulation steps can be taken; and hence significant computation time speed-ups are observed.


Functional Mock-up Interface; cosimulation; linear system theory; stability


[1] Akers A., Gassman M., Smith R., Hydraulic Power System Analysis, CRC Press, 2006. DOI: 10.1201/9781420014587

[2] Ascher U., Petzold L., Computer Methods for Ordinary Differential Equations and Differential-Algebraic Equations, Society for Industrial and Applied Mathematics, Philadelphia, 1997.

[3] Arnold M., Clauss C., Schierz T., Error Analysis and Error Estimates for Co-simulation in FMI for Model Exchange and Co-simulation V2.0, The Archive of Mechanical Engineering, Vol. LX, No 1, 2013.

[4] Arnold M., Numerical stabilization of cosimulation techniques, the ODE case, Working document MODELISAR, sWP 200-203, September 5, 2011.

[5] Modelica Association Project "FMI", Functional Mock-up Interface for Model Exchange and Co-simulation 2.0 Release Candidate 1, October 18, 2013, available at https://svn.modelica.org/fmi/branches/public/specifications/FMI_for_ModelExchange_and_CoSimulation_v2.0_RC1.pdf

[6] Franklin G.F., Powell J.D., Workman M.L., Digital Control of Dynamic Systems, Addison Wesley, 1997.

[7] Kübler R., Schiehlen W., Two Methods of Simulator Coupling, Mathematical and Computer Modelling of Dynamical Systems, Vol. 6, No. 2,
2000. DOI: 10.1076/1387-3954(200006)6:2;1-M;FT093

[8] Viel A., Strong Coupling of Modelica System-Level Models with Detailed CFD Models for Transient Simulation of Hydraulic Components in their Surrounding Environment, 8th International Modelica Conference, Dresden, March 2011.

Citeringar i Crossref