Abstract
This paper deals with a novel co-simulation approach for coupling mechanical subsystems in time domain. The submodels are assumed to be coupled by algebraic constraint equations. In contrast to well-known coupling techniques from the literature, the here presented index-1 approach uses a special technique for approximating the coupling variables so that the constraint equations together with the hidden constraints on velocity and acceleration level can be enforced simultaneously at the communication time points. The method discussed here uses second- and third-order approximation polynomials. Because of the high approximation order, the numerical errors are very small, and a good convergence behavior is achieved. A stability analysis is carried out, and it is shown that—despite the fact that higher-order approximation polynomials are applied—also a good numerical stability behavior is observed. Different numerical examples are presented, which illustrate the practical application of the approach.
Similar content being viewed by others
References
Alioli, M., Morandini, M., Masarati, P.: Coupled multibody-fluid dynamics simulation of flapping wings. In: Proceedings of the ASME IDETC/CIE 2013, August 4–7 Portland, Oregon, USA, DETC2013-12198 (2013)
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. In: Bottasso, C.L. (ed.) Multibody Dynamics: Computational Methods and Applications, pp. 231–252. Springer, Berlin (2009)
Ambrosio, J., Pombo, J., Pereira, M., Antunes, P., Mosca, A.: A computational procedure for the dynamic analysis of the catenary–pantograph interaction in high-speed trains. J. Theor. Appl. Mech. 50(3), 681–699 (2012)
Arnold, M., Clauss, C., Schierz, T.: Error analysis and error estimates for co-simulation in FMI for model exchange and co-simulation in V2.0. Arch. Mech. Eng. 60(1), 75–94 (2013)
Arnold, M.: Stability of sequential modular time integration methods for coupled multibody system models. J. Comput. Nonlinear Dyn. 5, 1–9 (2010)
Busch, M.: Continuous approximation techniques for co-simulation methods: analysis of numerical stability and local error. Z. Angew. Math. Mech. 96(9), 1061–1081 (2016). https://doi.org/10.1002/zamm.201500196
Datar, M., Stanciulescu, I., Negrut, D.: A co-simulation environment for high-fidelity virtual prototyping of vehicle systems. Int. J. Veh. Syst. Model. Test. 7, 54–72 (2012)
D’Silva, S., Sundaram, P., Ambrosio, J.: Co-Simulation Platform for Diagnostic Development of a Controlled Chassis System. SAE Technical Paper 2006-01-1058 (2006). https://doi.org/10.4271/2006-01-1058
Eberhard, P., Gaugele, T., Heisel, U., Storchak, M.: A discrete element material model used in a co-simulated charpy impact test and for heat transfer. In: Proceedings 1st Int. Conference on Process Machine Interactions, 3–4 September, 2008, Hannover, Germany (2008)
Gear, C.W., Wells, D.R.: Multirate linear multistep methods. BIT Numer. Math. 24, 484–502 (1984)
Gomes, C., Thule, C., Broman, D., Larsen, P.G., Vangheluwe, H.: Co-simulation: State of the art. arXiv:1702.00686
Gonzalez, F., Gonzalez, M., Cuadrado, J.: Weak coupling of multibody dynamics and block diagram simulation tools. In: Proceedings of the ASME 2009 International Design Engineering Technical Conferences & Computers and Information in Engineering Conference, IDETC/CIE 2009, August 30–September 2, 2009, San Diego, California, USA (2009)
Gonzalez, F., Naya, M.A., Luaces, A., Gonzalez, 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)
Gonzalez, F., Gonzalez, M., Mikkola, A.: Efficient coupling of multibody software with numerical computing environments and block diagram simulators. Multibody Syst. Dyn. 24(3), 237–253 (2010). https://doi.org/10.1007/s11044-010-9199-6
Gu, B., Asada, H.H.: Co-simulation of algebraically coupled dynamic subsystems without disclosure of proprietary subsystem models. J. Dyn. Syst. Meas. Control 126, 1–13 (2004). https://doi.org/10.1115/1.1648307
Haug, E.J.: Computer-Aided Kinematics and Dynamics of Mechanical Systems. Allyn & Bacon, Needham Heights (1989)
Kübler, R., Schiehlen, W.: Two methods of simulator coupling. Math. Comput. Model. Dyn. Syst. 6, 93–113 (2000)
Lacoursière, C.: A parallel block iterative method for interactive contacting rigid multibody simulations on multicore PCs. In: Applied Parallel Computing. State of the Art in Scientific Computing, pp. 956–965 (2007)
Lacoursiere, C., Nordfeldth, F., Linde, M.: A partitioning method for parallelization of large systems in realtime. In: Proceedings of the 3rd Joint International Conference on Multibody System Dynamics and the 7th Asian Conference on Multibody Dynamics, IMSD 2014, ACMD 2014, June 30–July 3, 2014 Bexco, Busan, Korea (2014)
Lehnart, A., Fleissner, F., Eberhard, P.: Using SPH in a co-simulation approach to simulate sloshing in tank vehicles. In: Proceedings SPHERIC4, 27–29 May, 2009, Nantes, France (2009)
Liao, Y.G., Du, H.I.: Co-simulation of multi-body-based vehicle dynamics and an electric power steering control system. Proc. Inst. Mech. Eng., Proc., Part K, J. Multi-Body Dyn. 215, 141–151 (2001)
Malczyk, P., Fraczek, J.: Evaluation of parallel efficiency in modeling of mechanisms using commercial multibody solvers. Arch. Mech. Eng. LVI(3), 237–249 (2009)
Maple User Manual: https://www.maplesoft.com
Mraz, L., Valasek, M.: Parallelization of multibody system dynamics by additional dynamics. In: Proceedings of the ECCOMAS Thematic Conference Multibody Dynamics, 1–4 July, 2013, Zagreb, Croatia (2013)
Naya, M., Cuadrado, J., Dopico, D., Lugris, U.: An efficient unified method for the combined simulation of multibody and hydraulic dynamics: comparison with simplified and co-integration approaches. Arch. Mech. Eng. LVIII, 223–243 (2011)
Negrut, N., Melanz, D., Mazhar, H., Lamb, D., Jayakumar, P.: Investigating through simulation the mobility of light tracked vehicles operating on discrete granular terrain. SAE Int. J. Passeng. Cars, Mech. Syst. 6, 369–381 (2013). https://doi.org/10.4271/2013-01-1191
Negrut, D., Tasora, A., Mazhar, H., Heyn, T., Hahn, P.: Leveraging parallel computing in multibody dynamics. Multibody Syst. Dyn. 27, 95–117 (2012). https://doi.org/10.1007/s11044-011-9262-y
Negrut, D., Serban, R., Mazhar, H., Heyn, T.: Parallel computing in multibody system dynamics: why, when and how. J. Comput. Nonlinear Dyn. 9(4), 041007 (2014). https://doi.org/10.1115/1.4027313
Pombo, J., Ambrosio, J.: Multiple pantograph interaction with catenaries in high-speed trains. J. Comput. Nonlinear Dyn. 7(4), 041008 (2012)
Quaranta, G., Masarati, P., Mantegazza, P.: Multibody analysis of controlled aeroelastic systems on parallel computers. Multibody Syst. Dyn. 8(1), 71–102 (2002). https://doi.org/10.1023/A:1015894729968
Schneider, F., Burger, M., Arnold, M., Simeon, B.: A new approach for force-displacement co-simulation using kinematic coupling constraints. Z. Angew. Math. Mech. (2017). https://doi.org/10.1002/zamm.201500129
Schweizer, B., Lu, D.: Predictor/corrector co-simulation approaches for solver coupling with algebraic constraints. Z. Angew. Math. Mech. (2014). https://doi.org/10.1002/zamm.201300191
Schweizer, B., Lu, D.: Semi-implicit co-simulation approach for solver coupling. Arch. Appl. Mech. (2014). https://doi.org/10.1007/s00419-014-0883-5
Schweizer, B., Lu, D.: Stabilized index-2 co-simulation approach for solver coupling with algebraic constraints. Multibody Syst. Dyn. (2014). https://doi.org/10.1007/s11044-014-9422-y
Schweizer, B., Li, P., Lu, D.: Explicit and implicit co-simulation methods: stability and convergence analysis for different solver coupling approaches. J. Comput. Nonlinear Dyn. (2014). https://doi.org/10.1115/1.4028503
Schweizer, B., Li, P., Lu, D.: Implicit co-simulation methods: stability and convergence analysis for solver coupling with algebraic constraints. Z. Angew. Math. Mech. (2015). https://doi.org/10.1002/zamm.201400087
Serban, R., Melanz, D., Li, A., Stanciulescu, I., Jayakumar, P., Negrut, D.: A GPU-based preconditioned Newton–Krylov solver for flexible multibody dynamics. Int. J. Numer. Methods Eng. 102(9), 1585–1604 (2015)
Spreng, F., Eberhard, P., Fleissner, F.: An approach for the coupled simulation of machining processes using multibody system and smoothed particle hydrodynamics algorithms. Theor. Appl. Mech. Lett. 3(1), 8–013005 (2013)
Solcia, T., Masarati, P.: Efficient multirate simulation of complex multibody systems based on free software. In: Proceedings of the ASME IDETC/CIE 2011, DETC2011-47306, August 28–31, 2011, Washington, DC, USA (2011)
Tomulik, P., Fraczek, J.: Simulation of multibody systems with the use of coupling techniques: a case study. Multibody Syst. Dyn. 25(2), 145–165 (2011)
Tseng, F., Hulbert, G.: Network-distributed multibody dynamics simulation-gluing algorithm. In: Ambrósio, J., Schiehlen, W. (eds.) Advances in Computational Multibody Dynamics, IDMEC/IST, Lisbon, Portugal, pp. 521–540 (1999)
Valasek, M., Mraz, L.: Massive Parallelization of Multibody System Simulation. Acta Polytech. 52(6) (2012)
Wang, J., Ma, Z.D., Hulbert, G.: A gluing algorithm for distributed simulation of multibody systems. Nonlinear Dyn. 34, 159–188 (2003)
Wuensche, S., Clauß, C., Schwarz, P., Winkler, F.: Electro-thermal circuit simulation using simulator coupling. IEEE Trans. Very Large Scale Integr. (VLSI) Syst. 5, 277–282 (1997)
Zierath, J., Woernle, C.: Contact modelling in multibody systems by means of a boundary element co-simulation and a Dirichlet-to-Neumann algorithm. In: Oñate, E. (ed.) Computational Methods in Applied Sciences. Springer, Berlin (2012)
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher’s Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Appendix A: Numerical stability of the index-1 co-simulation approach
Appendix A: Numerical stability of the index-1 co-simulation approach
The numerical stability of time integration schemes is defined by Dahlquist´s test equation \(\dot{y} (t)= \varLambda \cdot y(t)\) with complex constant \(\varLambda = \varLambda_{r} +i \varLambda_{i}\). This test equation can be interpreted as the complex representation of the homogenous linear single-mass oscillator. Dahlquist´s test equation cannot directly be used for analyzing the stability of co-simulation methods. For analyzing the stability of co-simulation methods, a proper test model is therefore required. The straightforward generalization of Dahlquist´s test model for analyzing the stability of co-simulation methods is the two-mass oscillator of Sect. 2, which represents two algebraically coupled Dahlquist equations. The two-mass oscillator is described by five independent parameters and may be considered as a general (complete) linear test model for analyzing the numerical stability of coupling methods with algebraic constraints.
For the stability analysis, we introduce dimensionless variables. The dimensionless time is denoted by \(\overline{t} = \frac{t}{H}\). The derivative with respect to the dimensionless time \(\overline{t}\) is represented by \(( \cdot ) ' = \frac{d( \cdot )}{d \overline{t}}\). We assume that \(\overline{x}_{1}, \overline{x}_{2}\) are properly chosen dimensionless position coordinates. The dimensionless velocities are characterized by \(\overline{v}_{1} =H \cdot v_{1}\) and \(\overline{v}_{2} =H \cdot v_{2}\). The dimensionless coupling force is termed by \(\overline{\lambda}_{c} = \frac{\lambda_{c} \cdot H^{2}}{m_{1}}\) and represented by the polynomial \(\overline{\lambda}_{c} ( \overline{t} ) = \overline{\lambda}_{c,N+1} ( \overline{\boldsymbol{\beta}}_{N+1}; \overline{t} )\) with \(\overline{\boldsymbol{\beta}}_{N+1} = \frac{\boldsymbol{\beta}_{N+1} \cdot H^{2}}{m_{1}} \). We additionally introduce the following five parameters
The dimensionless form of the equations of motion for the two-mass oscillator of Sect. 2 then reads as
If \(m_{1}, m_{2}, c_{1}, c_{2}, d_{1}, d_{2} >0\), then the two-mass oscillator is physically stable. In terms of a co-simulation approach, the two-mass oscillator is decomposed into two subsystems, and a homogenous linear system of recurrence equations can be derived, which describes the discrete-time co-simulation results. The co-simulation is called numerically stable if all eigenvalues of the recurrence system are inside the unit circle. The eigenvalues depend on five independent test model parameters specified in Eq. (39).
We analyze the stability of time integration algorithms by discretizing Dahlquist´s test equation with a time integration scheme. This yields a linear recurrence equation. The spectral radius \(\rho\) of this recurrence equation determines the stability of the time integration method and depends on two parameters \(h \varLambda_{r}\) and \(h \varLambda_{i}\). Hence, we can generate 2D-stability plots, which illustrate the complete stability behavior of the integration scheme. Discretizing the co-simulation test model with a co-simulation scheme yields a linear system of recurrence equations. The spectral radius of this recurrence system depends on five independent test model parameters defined in Eq. (39). Consequently, it is impossible to depict the complete stability behavior with 2D-stability plots. Therefore one possibility is to fix three of the entire five test model parameters and to depict the spectral radius of the recurrence system as a function of two properly chosen parameters.
Bearing in mind the stability definition for numerical time integration schemes, where the two parameters \(h \varLambda_{r}\) and \(h \varLambda_{i}\) are used to characterize the stability behavior, it seems to be advantageous not to use the five co-simulation test model parameters introduced in Eq. (39), but to employ five different parameters. The following five parameters might be more convenient to be used as independent test model parameters:
The physical interpretation of the new parameters is straightforward: \(\overline{\varLambda}_{r1}\) and \(\overline{\varLambda}_{i1}\) define subsystem 1 and represent the real and imaginary parts of the eigenvalue of subsystem 1; the mass-ratio is characterized by the coefficient \(\alpha_{m}\); The parameters \(\alpha_{\varLambda_{r}}\) and \(\alpha_{\varLambda_{i}}\) denote the ratio of the real and imaginary part of subsystem 2 with respect to subsystem 1; they describe the asymmetry of the co-simulation test model and characterize the damping and the frequency ratio of subsystem 2 with respect to subsystem 1. Regarding the stability plots for numerical time integration schemes, it seems to be convenient to use the parameters \(\overline{\varLambda}_{r1}\) and \(\overline{\varLambda}_{i1}\) as axes for 2D-stability plots and to fix the remaining three parameters. In the subsequent stability analysis, the three parameters \(\alpha_{m}, \alpha_{\varLambda r}\), and \(\alpha_{\varLambda i}\) are therefore assumed to be constant, and the spectral radius is computed as a function of \(\overline{\varLambda}_{r1}\) and \(\overline{\varLambda}_{i1}\).
With the dimensionless variables and parameters introduced before, the decomposed system reads as
We denote the dimensionless macro time point by \(\overline{T}_{N} = \frac{T_{N}}{H}\). At the beginning of the macro time step, the state variables and the coupling variable are assumed to be known:
We define the auxiliary vector \(\overline{\boldsymbol{z}}_{N} = ( \overline{x}_{1,N}, \overline{v}_{1,N}, \overline{x}_{2,N}, \overline{v}_{2,N}, \overline{\lambda}_{c} )^{T}\), which contains the dimensionless variables of the two subsystems and the dimensionless coupling force at the macro time point \(\overline{T}_{N}\). Using the general coupling force
an integration of the two subsystems from \(\overline{T}_{N}\) to \(\overline{T}_{N+1}\) with the initial conditions (43)(a) yields the general dimensionless variables
at the communication time point \(\overline{T}_{N+1}\), which are functions of \(\overline{\boldsymbol{\beta}}_{N+1}^{*}\) and \(\overline{\boldsymbol{z}}_{N}\). Then the accelerations at the communication time point \(\overline{T}_{N+1}\) are computed, i.e.,
Since the dimensionless variables depend linearly on the coefficient vector \(\overline{\boldsymbol{\beta}}_{N+1}^{*}\), three constraint equations
can be solved by one Newton iteration step. Hence the corrected polynomial coefficients are independent of the predicted coupling force. With the corrected coefficient vector \(\overline{\boldsymbol{\beta}}_{N+1}\), we finally calculate the corrected variables
Note that the vector \(\overline{\boldsymbol{z}}_{N+1}\) depends linearly on the initial values \(\boldsymbol{z}_{N}\). Hence we obtain a system of five coupled linear recurrence equations of the form
We study the stability of the homogenous system (49) by an eigenvalue analysis. With the exponential approach \(\overline{\boldsymbol{z}}_{N} = \hat{\boldsymbol{z}}_{j} \cdot \varLambda_{j}^{N}\), we can calculate the eigenvalues \(\varLambda_{j}\) and the corresponding eigenvectors \(\hat{\boldsymbol{z}}_{j}\) (\(j=1, \dots, 5\)). The stability of the recurrence system depends on the magnitude of the largest eigenvalue, which terms the spectral radius \(\rho= \max \{ \vert \varLambda_{j} \vert \}\). For \(\rho\leq1\), the underlying co-simulation approach is stable, and otherwise unstable.
We should stress that the spectral radius can only be calculated numerically. Hence the three parameters \(\alpha_{m}\), \(\alpha_{\varLambda r}\), \(\alpha_{\varLambda i}\) are fixed, and \(\rho\) is plotted for different values of \(\overline{\varLambda}_{r1}\) and \(\overline{\varLambda}_{i1}\). If \(\rho\leq1\) for a certain parameter combination, then we mark the corresponding point as a green point in the (\(\overline{\varLambda}_{r1}\), \(\overline{\varLambda}_{i1}\))-plane. If \(\rho>1\), then we plot no point in the stability diagram. Since we can calculate \(\rho\) only for discrete parameter combinations, stability information is available only at discrete grid points.
For the case of a symmetrical test model (\(\alpha_{m} = \alpha_{\varLambda r} = \alpha_{\varLambda i} =1\)), we collect stability plots in Fig. 14. To get information over a larger parameter region, we use two different scales, namely \([ -10,10 ]\) and \([ -1000,1000 ]\). For the symmetrical test model, only stable points are observed, also for the case of large damping values \(\overline{\varLambda}_{r1}\) and large stiffnesses \(\overline{\varLambda}_{i1}\), both for quadratic (\(k=2\)) and cubic \(( k=3 )\) interpolation polynomials. Further calculations, not shown here, for even larger values of \(\overline{\varLambda}_{i1}\) and \(\overline{\varLambda}_{r1}\) also yielded only stable points. Hence the numerical stability analysis seems to indicate that the symmetrical test model is stable in the complete left half-plane (comparable with an A-stable time integration scheme). We should however stress again that stability in the left half-plane cannot be shown analytically, since the spectral radius can only be evaluated numerically.
We discuss the influence of asymmetry with the help of Fig. 15. Firstly, only the mass ratio coefficient \(\alpha_{m}\) is changed from 1 to \(1E3\). No change in the stability plots is observed, neither for \(k=2\) nor for \(k=3\). Next, the damping ratio coefficient \(\alpha_{\varLambda r}\) is increased to \(1E3\). Again, we detect only stable points in the diagrams. Since both cases—(\(\alpha_{m} =1E3, \alpha_{\varLambda r} =1, \alpha_{\varLambda i} =1\)) and (\(\alpha_{m} =1, \alpha_{\varLambda r} =1E3, \alpha_{\varLambda i} =1\))—only yield stable points, the corresponding plots are not shown in Fig. 15. Then, we examine the influence of the frequency ratio. Here a significant reduction of the numerical stability can be seen for the case \(k=2\), and an unstable region can clearly be observed close to the vertical axes, i.e., for systems with low damping. Interesting, and somewhat surprising, is that, for \(k=3\), no unstable points occur. Finally, we change all three parameters simultaneously (\(\alpha_{m} = \alpha_{\varLambda r} = \alpha_{\varLambda i} =1E3\)). Using cubic polynomials (\(k=3\)), all points in the considered parameter range are stable. For \(k=2\), again unstable points are detected close to the \(\overline{\varLambda}_{i1}\)-axis. The region of instability is a little bit smaller compared to the case \(\alpha_{m} =1, \alpha_{\varLambda r} =1, \alpha_{\varLambda i} =1E3\), most probably due to the increased damping introduced by the parameter \(\alpha_{\varLambda r} =1E3\).
Summary: Using cubic approximation polynomials, the proposed co-simulation approach exhibits a very stable stability behavior. In the case where the subsystems are very different (\(\alpha_{m} \neq1, \alpha_{\varLambda r} \neq1, \alpha_{\varLambda i} \neq1\)), we are often faced with severe numerical stability problems, especially if higher-order approximation polynomials are used [5, 11, 15, 17, 34, 35]. The method discussed here provides stable results, even for critical parameter values and for the practically interesting case where the subsystems are integrated in parallel (Jacobi-type).
Rights and permissions
About this article
Cite this article
Meyer, T., Li, P., Lu, D. et al. Implicit co-simulation method for constraint coupling with improved stability behavior. Multibody Syst Dyn 44, 135–161 (2018). https://doi.org/10.1007/s11044-018-9632-9
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11044-018-9632-9