Co-simulation errors due to step size changes
Lars T. Kyllingstad
TL;DR
The paper reveals that nonuniform step-size changes in co-simulation can introduce additional coupling errors, even when overall steps shrink. Through analytic treatment of two-subsystem models, it derives leading-order expressions showing how step-size differences and interfacial flows drive a persistent state discrepancy. Two illustrative examples—the damped harmonic oscillator and connected fluid reservoirs—demonstrate the phenomenon and its sensitivity to how step sizes are changed over time. The work offers practical mitigation strategies and highlights limitations, pointing to future work on higher-order extrapolation and implicit co-simulation methods. Overall, it provides a nuanced view of step-size effects in co-simulation beyond simple step-size magnitude considerations.
Abstract
When two simulation units in a continuous-time co-simulation are connected via some variable $q$, and both simulation units have an internal state which represents the time integral of $q$, there will generally be a discrepancy between those states due to extrapolation errors. Normally, such extrapolation errors diminish if the macro time step size is reduced. Here we show that, under certain circumstances, step size changes can cause such discrepancies to increase even when the change is towards smaller steps.
