five simulation engines (one for each component),
thus including all the necessary Kafka consumers and
producers.
The description of case study and the results can
be found in section 5 of (Jerray et al., 2023).
5 CONCLUSION
In this paper, we highlighted the need to integrate
components together without common modeling lan-
guages nor heavy model transformations. Thus, we
presented a method that allows to co-simulate, in real-
time, embedded systems with heterogeneous compo-
nents while respecting usual communication seman-
tics between the components to be integrated. Our ap-
proach is based on simple model updates, on Kafka,
and on the use of consumers and producers.
We have applied our method applies to mid-size
systems such as Zigbee.
Having a distributed co-simulation has a cost in
term of simulation time: we intend to lower the extra
latency as much as possible: an option is to experi-
ment with other brokers, even if Kafka has the advan-
tage to be a recognized platform for distributed data
exchange and is platform agnostic. We also intend to
experiment with more modeling and simulation envi-
ronments like AADL.
REFERENCES
(2023). TTool. https://ttool.telecom-paris.fr. [Online].
Atitallah, R. B., Marquet, P., Piel,
´
E., Meftali, S., Niar,
S., Etien, A., Dekeyser, J.-L., and Boulet, P. (2008).
Gaspard2: from MARTE to SystemC Simulation. In
Workshop on Modeling and Analyzis of Real-Time and
Embedded Systems with the MARTE UML.
Balarin, F., Watanabe, Y., Hsieh, H., Lavagno, L.,
Passerone, C., and Sangiovanni-Vincentelli, A.
(2003). Metropolis: an integrated electronic system
design environment. Computer, 36(4):45–52.
Basu, A., Bozga, M., and Sifakis, J. (2006). Modeling het-
erogeneous real-time components in BIP. In Software
Engineering and Formal Methods (SEFM), pages 3–
12. IEEE Computer Society.
Blochwitz, T., Otter, M., Arnold, M., Bausch, C., Elmqvist,
H., Junghanns, A., Mauss, J., Monteiro, M., Neidhold,
T., Neumerkel, D., Olsson, H., Peetz, J. V., Wolf, S.,
and Claub, C. (2011). The Functional Mockup In-
terface for Tool independent Exchange of Simulation
Models. In Proceedings of the 8th International Mod-
elica Conference, pages 105–114.
Eker, J., Janneck, J., Lee, E., Liu, J., Liu, X., Ludvig, J.,
Neuendorffer, S., Sachs, S., and Xiong, Y. (2003).
Taming heterogeneity – the Ptolemy approach. Pro-
ceedings of the IEEE, 91(1):127–144.
Enrici, A., Apvrille, L., and Pacalet, R. (2017). A model-
driven engineering methodology to design parallel and
distributed embedded systems. ACM Trans. Des. Au-
tom. Electron. Syst., 22(2):34:1–34:25.
Jerray, J., Rabea, A.-B., and Apvrille, L. (2023). Integra-
tion of heterogeneous components for co-simulation.
working paper or preprint.
Knorreck, D., Apvrille, L., and Pacalet, R. (2009). Fast
Simulation Techniques for Design Space Exploration,
pages 308–327. Springer Berlin Heidelberg, Berlin,
Heidelberg.
Liboni, G. and Deantoni, J. (2020). CoSim20: An In-
tegrated Development Environment for Accurate and
Efficient Distributed Co-Simulations. In ICISE 2020 -
5th International Conference on Information Systems
Engineering, Manchester/Virtual, United Kingdom.
Mugombozi, C. F., Zgheib, R., Roudier, T., Kemmeugne,
A., Rimorov, D., and Kamwa, I. (2019). Collaborative
Simulation of Heterogeneous Components as a Means
Toward a More Comprehensive Analysis of Smart
Grids. In 2019 7th Workshop on Modeling and Simu-
lation of Cyber-Physical Energy Systems (MSCPES),
pages 1–6.
Neema, H., Gohl, J., Lattmann, Z., Sztipanovits, J., Karsai,
G., Neema, S., Bapty, T., Batteh, J., and Tummescheit,
H. (2014). Model-Based Integration Platform for
FMI Co-Simulation and Heterogeneous Simulations
of Cyber-Physical Systems. In Lund University, pages
235–245.
Raslan, W. and Sameh, A. (2007). Mapping sysml to sys-
temc. In Forum on specification & Design Languages
FDL, pages 225–230. ECSI.
Tavella, J.-P., Caujolle, M., Tan, C., Plessis, G., Schumann,
M., Vialle, S., Dad, C., Cuccuru, A., and Revol, S.
(2016). Toward an Hybrid Co-simulation with the
FMI-CS Standard. Research Report.
Tripakis, S. (2015). Bridging the semantic gap between het-
erogeneous modeling formalisms and FMI. In Embed-
ded Computer Systems: Architectures, Modeling, and
Simulation SAMOS, pages 60–69. IEEE.
Zhao, H., Apvrille, L., and Mallet, F. (2020). A model-
based combination language for scheduling verifica-
tion. In Hammoudi, S., Pires, L. F., and Seli
´
c, B., ed-
itors, Model-Driven Engineering and Software Devel-
opment, pages 27–49, Cham. Springer International
Publishing.
ICSOFT 2023 - 18th International Conference on Software Technologies
644