An Experimental Co-Simulation Engine for Advanced Cyber-Physical Systems (CPS) Scheduling and Digital Twin Evaluation

An Experimental Co-Simulation Engine for Advanced Cyber-Physical Systems (CPS) Scheduling and Digital Twin Evaluation

Erik ROSENLUND, Robert HÄLLQVIST, Robert BRAUN, Petter KRUS

Abstract. This paper presents an experimental co-simulation engine designed to study scheduling strategies and performance trade-offs in complex Cyber-Physical Systems (CPS). The engine offers a modular, graph-based architecture with deterministic execution semantics, lightweight configuration, and built-in measurement. These features enable fair comparisons across orchestration algorithms and parallelization strategies. We outline the design, document determinism and performance mechanisms, and benchmark against a reference setup to support rigorous evaluation and future digital‑twin deployments.

Keywords
Cyber-Physical Systems, Co-simulation, Functional Mock-up Interface (FMI), System Structure and Parameterization (SSP), Scheduling Algorithms, Orchestration Algorithm, Digital Twin, Hardware-in-the-Loop (HiL)

Published online 7/20/2026, 7 pages
Copyright © 2026 by the author(s)
Published under license by Materials Research Forum LLC., Millersville PA, USA

Citation: Erik ROSENLUND, Robert HÄLLQVIST, Robert BRAUN, Petter KRUS, An Experimental Co-Simulation Engine for Advanced Cyber-Physical Systems (CPS) Scheduling and Digital Twin Evaluation, Materials Research Proceedings, Vol. 69, pp 1537-1543, 2026

DOI: https://doi.org/10.21741/9781644904251-269

The article was published as article 269 of the book CEAS – AIDAA Conference 2025

Content from this work may be used under the terms of the Creative Commons Attribution 3.0 license. Any further distribution of this work must maintain attribution to the author(s) and the title of the work, journal citation and DOI.

References
[1] Cláudio Gomes et al. “Co-simulation: The Past, Future, and Open Challenges”. Ed. by Tiziana Margaria and Bernhard Steffen. 2018. https://doi.org/10.1007/978-3-030-03424-5_34.
[2] Simon Thrane Hansen et al. “The FMI 3.0 Standard Interface for Clocked and Scheduled Simulations” (2022). https://doi.org/10.3390/ electronics11213635
[3] Simon Thrane Hansen, Cláudio Gomes, and Zahra Kazemi. “Synthesizing Orchestration Algorithms for FMI 3.0” (2023).
[4] Edward A. Lee. “Cyber Physical Systems: Design Challenges”. 2008. https://doi.org/10.1109/ISORC.2008.25
[5] Nicolai Pedersen. “Co-Simulation of Cyber-Physical System with Distributed Embedded Control”.
[6] Salah Eddine Saidi et al. “Fast Virtual Prototyping of Cyber Physical Systems using SystemC and FMI: ADAS Use Case”. 2019. https://doi.org/10.1145/3339985.3358488
[7] Robert Braun, Robert Hällqvist, and Dag Fritzson. “Transmission line modeling co-simulation with distributed delay-size control using steady-state identification” (2023). https://doi.org/10.1007/ s00366-023-01791-1
[8] Robert Braun and Dag Fritzson. “Numerically robust co-simulation using transmission line modeling and the Functional Mock-up Interface” (2022). https://doi.org/10.1177/00375497221097128
[9] Claudio Gomes, Levi Lucio, and Hans Vangheluwe. “Semantics of Co-simulation Algorithms with Simulator Contracts”. 2019. https://doi.org/10.1109/MODELS-C.2019.00124
[10] Simon Thrane Hansen et al. “Verification and synthesis of co-simulation algorithms subject to algebraic loops and adaptive steps” (2022). https://doi.org/10.1007/s10009-022-00686-8
[11] Mehrdad Moradi and Claudio Gomes. “Optimizing Fault Injection in FMI Co-Simulation through Sensitivity Partitioning” (2019).
[12] Claudio Gomes and Hans Vangheluwe. “Co-Simulation of Continuous Systems: A Hands-on Approach”. 2019. https://doi.org/10.1109/WSC40007.2019.9004704
[13] Cláudio Gomes et al. “Co-simulation: State of the art” (2017). https://doi.org/10.48550/arXiv.1702.00686
[14] Cláudio Gomes et al. “Co-Simulation: A Survey” (2018). https://doi.org/10.1145/3179993
[15] Simon Thrane Hansen et al. “Synthesizing Co-Simulation Algorithms with Step Negotiation and Algebraic Loop Handling”. 2021. https://doi.org/10.23919/ANNSIM52504.2021.9552073
[16] Tamas Kalmar-Nagy and Ilinca Stanciulescu. “Can complex systems really be simulated?” (2014). https://doi.org/10.1016/ j.amc.2013.11.037
[17] Salah Eddine Saidi, Nicolas Pernet, and Yves Sorel. “A method for parallel scheduling of multi-rate co-simulation on multi-core platforms” (2019). https://doi.org/10.2516/ogst/2019009
[18] Robert Hällqvist et al. “Heterogenous System Modelling in Support of Incremental Development”. 2022.
[19] FMI development group. Functional Mock-up Interface. https: //fmi-standard.org.
[20] Jose Evora-Gomez et al. Daccosim NG: co-simulation made simpler and faster. 2019. https://doi.org/10.3384/ecp19157785
[21] Virginie Galtier et al. “FMI-based distributed multi-simulation with DACCOSIM” (2015).
[22] Simon Thrane Hansen et al. “Co-simulation at different levels of expertise with Maestro2” (2024). https://doi.org/10.1016/j.jss.2023. 111905
[23] Salah Eddine Saidi. “Automatic parallelization and scheduling approaches for co-simulation of numerical models on multi-core processors”. 2018.
[24] Tom Schierz, Martin Arnold, and Christoph Clauss. “Co-simulation with communication step size control in an FMI compatible master algorithm”. 2012. https://doi.org/10.3384/ecp12076205
[25] G. Schweiger et al. “An empirical survey on co-simulation: Promising standards, challenges and research needs” (2019). https://doi.org/10.1016/j.simpat.2019.05.001
[26] SSP development group. System Structure and Parameterization. https://ssp-standard.org
27] Jochen Köhler et al. “Modelica-Association-Project ”System Structure and Parameterization” – Early Insights”. 2016. https://doi.org/10.3384/ecp1612435
[28] Robert Hällqvist et al. “Engineering Domain Interoperability Using the System Structure and Parameterization (SSP) Standard”. 2021. https://doi.org/10.3384/ecp2118137. [
29] David Broman et al. “Requirements for hybrid cosimulation standards”. 2015. https://doi.org/10.1145/2728606.2728629
[30] Casper Thule et al. “Towards the Verification of Hybrid Co-simulation Algorithms”. Ed. by Manuel Mazzara, Iulian Ober, and Gwen Salaün. 2018. https://doi.org/10.1007/978-3-030-04771- 9_1
[31] National Aeronautics and Space Administration. Standards for Models and Simulations, NASA STD-7009. 2008.
[32] https://github.com/OpenModelica/OMSimulator/. OpenModelica/OMSimulator. Ed. by Linköping university. 2022.
[33] http://www.fmigo.net/. FMIGo!
[34] https://opensimulationplatform.com/. Open Simulation Platform.
[35] https://github.com/CATIA-Systems/FMPy. CATIA-Systems/FMPy. 2025.
[36] https://github.com/INTO-CPS-Association/maestro. INTO-CPS-Association/maestro.
[37] https://www.edf.fr/en/the-edf-group/inventing-the-future-of-energy/r-d-global-expertise/our-offers/simulation-softwares/daccosim-ng. DACCOSIM NG | EDF FR. 2021.
[38] https://github.com/OFFIS-mosaik/mosaik. OFFIS-mosaik/mosaik. 2025.
[39] Edward A. Lee. “The Past, Present and Future of Cyber-Physical Systems: A Focus on Models” (2015). https://doi.org/10.3390/s150304837
[40] Abir Ben Khaled et al. “Multicore simulation of powertrains using weakly synchronized model partitioning” (2012). https://doi.org/10.3182/20121023-3-FR-4025.00018
[41] Salah Eddine Saidi et al. “Acceleration of FMU Co-Simulation On Multi-core Architectures”. 2016. https://doi.org/10.3384 / ecp16124106
[42] Emin Oguz Inci, Wim Desmet, and Cláudio Gomes. “Error Estimators for Adaptive Scheduling Algorithm for Serial Co-Simulation” (2023).
[43] Bentley James Oakes et al. “Hint-Based Configuration of Co-simulations with Algebraic Loops”. Ed. by Mohammad S. Obaidat, Tuncer Ören, and Helena Szczerbicka. 2021. https://doi.org/10.1007/978-3-030-55867-3_1
[44] Robert Hällqvist and Erik Rosenlund. Reference Envionmental Control System (SSP). 2025. https://doi.org/10.5281/zenodo.17288988
[45] Robert Hällqvist et al. “Validation Techniques Applied on the Saab Gripen Fighter Environmental Control System Model”. 2015. https://doi.org/10.3384/ecp15119