Abstract
In order to couple several simulation models, the corresponding software tools can be interconnected by means of a co-simulation. The inputs and outputs of the models depend on each other and have to be updated during the time integration process of the numerical solvers. Since the tools can only communicate at discrete macro-time points, the model inputs are mostly approximated, e.g., by using polynomial interpolation and extrapolation techniques. As a drawback of classical extrapolation methods, discontinuities occur at the macro-time points. This can slow down the solvers and reduces the efficiency of the co-simulation. The current paper considers continuous approximation techniques of \(C^0\), \(C^1\) and \(C^2\) type which are capable to overcome the discontinuity issues. The approaches are analyzed regarding numerical stability, global error and performance. To show the benefit of the continuity, the methods are implemented in a master-slave co-simulation and a comparison with the classical discontinuous approach is done. The \(C^2\)-continuous approach mostly outperforms the methods of lower continuity. The \(C^0\)-continuous method fails due to a limitation of the error order. With a here-presented enhancement the order drop of the \(C^0\)-continuous method can be avoided.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
- 2.
- 3.
Using a sequential Gauss-Seidel method for the co-simulation, one subsystem obtains extrapolated and the other subsystem obtains interpolated coupling variables while both subsystems obtain extrapolated coupling variables if a parallel Jacobi method is applied.
- 4.
For constraint couplings, the zero-stability of the co-simulation method depends on the structure of the submodels, e.g., on the ratio of masses. Several stabilization techniques exist to generate zero-stable explicit methods for constraint couplings, see e.g. the overlapping technique in Ref. [5]. However, these methods are mostly based on an adaption of the model equations in the subsystems which is hardly realizable in commercial simulation tools. In contrast, for applied-force couplings the zero-stability of explicit co-simulation methods is always guaranteed as long as the subsystem solvers are zero-stable and the applied forces do not depend on accelerations, see Refs. [9, 25].
- 5.
The approximation error is only limited at 1e-12 due to round-off errors in the computer arithmetic.
- 6.
For a classical co-simulation, where both subsystems are solved on different process instances, the coupling has to be accomplished with inter-process communication which is more difficult to implement. The numerical approximation methods can however be applied in the same way.
References
Ambrosio, J., Pombo, J., Rauter, F., Pereira, M.: A memory based communication in the co-simulation of multibody and finite element codes for pantograph-catenary interaction simulation. Comput. Methods Appl. Sci. 12, 231–252 (2008)
Arnold, J., Einarsson, G., Krüger, W.: Multibody simulation of an oscillating aeroelastic wing model. NAFEMS Int. J. CFD Case Stud. 8, 5–18 (2009)
Arnold, M.: Multi-rate time integration for large scale multibody system models. In: Eberhard, P. (ed.) IUTAM Symposium on Multiscale Problems in Multibody System Contacts, pp. 1–10. Springer, Dordrecht (2007)
Arnold, M.: Stability of sequential modular time integration methods for coupled multibody system models. J. Comput. Nonlinear Dyn. 5, 031003 (2010). https://doi.org/10.1115/1.4001389
Arnold, M., Günther, M.: Preconditioned dynamic iteration for coupled differential-algebraic systems. BIT Numer. Math. 41, 1–25 (2001)
Benedikt, M.: Eine Kopplungsmethode für die nicht-iterative Co-Simulation. Ph.D. thesis, TU Graz, Graz (2013)
Burger, M., Schneider, F., Steidel, S.: Coupled simulation in vehicle engineering. PAMM 16, 493–494 (2016)
Busch, M.: Entwicklung einer SIMPACK-Modelica/Dymola Schnittstelle. Technical Report DLR-IB-515-07-02, DLR Deutsches Zentrum für Luft- und Raumfahrt e.V, Oberpfaffenhofen (2007)
Busch, M.: Zur effizienten Kopplung von Simulationsprogrammen (On the efficient coupling of simulation codes). Ph.D. thesis, University of Kassel, Kassel (2012). ISBN-13: 978-3862192960
Busch, M.: Continuous approximation techniques for co-simulation methods: Analysis of numerical stability and local error. ZAMM - J. Appl. Math. Mech. - Zeitschrift für Angewandte Mathematik und Mechanik 96(9), 1061–1081 (2016)
Busch, M., Schweizer, B.: Co-simulation of multibody and finite-element systems: An efficient and robust semi-implicit coupling approach. Arch. Appl. Mech. 82, 723–741 (2012)
Crow, M., Ilić, M.: The parallel implementation of the waveform relaxation method for transient stability simulations. IEEE Trans. Power Syst. 5, 922–932 (1990)
Dietz, S., Hippmann, G., Schupp, G.: Interaction of vehicles and flexible tracks by co-simulation of multibody vehicle systems and finite element track models. In: True, H. (ed.) The Dynamics of Vehicles on Roads and on Tracks, Supplement to Vehicle System Dynamics, vol. 37, pp. 17–36. Swets & Zeitlinger, Lisse (2003)
Dronka, S., Rauh, J.: Co-simulation-interface for user-force-elements. In: Proceedings of SIMPACK user meeting. Baden-Baden (2006)
Feki, A.B.K.E., Duval, L., Faure, C., Simon, D., Gaid, M.B.: Choptrey: contextual online polynomial extrapolation for enhanced multi-core co-simulation of complex systems. Simulation 93(3), 185–200 (2017)
Fleissner, F., Eberhard, P.: A Co-simulation approach for the 3D dynamic simulation of vehicles considering sloshing in cargo and fuel tanks. PAMM 9, 133–134 (2009)
Friedrich, M., Ulbrich, H.: A parallel co-simulation for mechatronic systems. In: Proceedings of the 1st Joint International Conference on Multibody System Dynamics, pp. 1–10. Lappeenranta (2010)
Gail, T., Ober-Blöbaum, S., Leyendecker, S.: Variational multirate integration in discrete mechanics and optimal control. In: Proceedings of ECCOMAS 2017. Prague (2017)
Gausling, K., Bartel, A.: Coupling interfaces and their impact in field/circuit co-simulation. IEEE Trans. Magn. 53(3), 1–4 (2016)
Gear, C.W., Wells, D.R.: Multirate linear multistep methods. BIT Numer. Math. 24, 484–502 (1984)
Gomes, C., Karalis, P., Navarro-Lopez, E., Vangheluwe, H.: Approximated stability analysis of bi-modal hybrid co-simulation scenarios. In: Proceedings of 1st Workshop on Formal Co-Simulation of Cyber-Physical Systems. Trento, Italy (2017)
González, F., Naya, M., Luaces, A., González, M.: On the effect of multirate co-simulation techniques in the efficiency and accuracy of multibody system dynamics. Multibody Syst. Dyn. 25(4), 461–483 (2011)
Gu, B., Asada, H.: Co-simulation of algebraically coupled dynamic subsystems without disclosure of proprietary subsystem models. J. Dyn. Syst. Meas. Control 126, 1–13 (2004)
Knorr, S.: Multirateverfahren in der Co-Simulation. Master’s thesis, Universität Ulm (2002)
Kübler, R., Schiehlen, W.: Two methods of simulator coupling. Math. Comput. Model. Dyn. Syst. 6, 93–113 (2000)
Meyer, T., Schweizer, B.: Error estimation approach for controlling the comunication step size for semi-implicit co-simulation methods. PAMM 15(1), 63–64 (2015)
Park, K.C., Chiou, J.C., Downer, J.D.: Explicit-implicit staggered procedure for multibody dynamics analysis. J. Guid. Control Dyn. 13, 562–570 (1990)
Savcenco, V.: Comparison of the asymptotic stability properties for two multirate strategies. J. Comput. Appl. Math. 220, 508–524 (2008)
Schierz, T., Arnold, M., Clauß, C.: Co-simulation with communication step size control in an FMI compatible master algorithm. In: Proceedings of the 9th International Modelica Conference. Munich (2012)
Schweizer, B., Lu, D.: Semi-implicit co-simulation approach for solver coupling. Arch. Appl. Mech. 12, 1739–1769 (2014)
Schweizer, B., Lu, D.: Stabilized index-2 co-simulation approach for solver coupling with algebraic constraints. Multibody Syst. Dyn. 34, 129–161 (2015)
Song, C., Du, C., Li, G.: A unified modeling and parallel co-simulation method of cyber physical system. Comput. Model. New Technol. 17(4), 217–223 (2013)
Vaculin, O., Krüger, W.R., Spieck, M.: Coupling of multibody and control simulation tools for the design of mechatronic systems. In: Proceedings of ASME 2001 International Design Engineering Technical Conferences. Pittsburgh (2001)
Valasek, M., Mraz, L.: Massive parallelization of multibody system simulation. Acta Polytech. 52(6), 94–98 (2012)
Veitl, A., Arnold, M.: Coupled simulation of multibody systems and elastic structures. In: Ambrósio, J.A.C., Schiehlen, W. (eds.) Advances in Computational Multibody Dynamics, pp. 635–644. IDMEC/IST, Lisbon (1999)
Verhoeven, A., Tasiź, B., Beelen, T.G.J., ter Maten, E.J.W., Mattheij, R.M.M.: Bdf compound-fast multirate transient analysis with adaptive step size control. J. Numer. Anal. Ind. Appl. Math. 1, 1–3 (2007)
Wünsche, S., Clauß, C., Schwarz, P., Winkler, F.: Electro-thermal circuit simulation using simulator coupling. IEEE Trans. Very Large Scale Integr. Syst. 5, 277–282 (1997)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2019 Springer Nature Switzerland AG
About this paper
Cite this paper
Busch, M. (2019). Performance Improvement of Explicit Co-simulation Methods Through Continuous Extrapolation. In: Schweizer, B. (eds) IUTAM Symposium on Solver-Coupling and Co-Simulation. IUTAM Bookseries, vol 35. Springer, Cham. https://doi.org/10.1007/978-3-030-14883-6_4
Download citation
DOI: https://doi.org/10.1007/978-3-030-14883-6_4
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-14882-9
Online ISBN: 978-3-030-14883-6
eBook Packages: EngineeringEngineering (R0)