
ph ase = 1;
else if ( phase == 1) then
com ma nd Sig na l = " Takeoff " ;
ph ase = 2;
else if ( phas e == 2) then
com ma nd Sig na l = " Fo rm at io n " ;
ph ase = 0; fi fi fi
printf(" St at io n : Sending % s
Co mm an d \ n " , com ma nd Sig na l );}
end
After executing this modified model, the deadlock
situation no longer arises. Instead, the system con-
tinuously cycles through the predefined states (Idle,
Ready, Flying, and Formation) without interrup-
tion, demonstrating the correctness and robustness
of the structured interactions modeled. This modifi-
cation highlights the flexibility and effectiveness of
our structured approach in diagnosing and resolving
interaction-related issues such as deadlocks.
7 CONCLUSION
This paper presented an approach for modeling struc-
tured interactions in Cyber-Physical Systems (CPS)
by defining a structured subset of SysML v2. This
subset introduces Rendez-vous and Broadcast con-
nectors to explicitly capture synchronous and asyn-
chronous interactions, enabling their transformation
into the Behavior, Interaction, Priority (BIP) frame-
work for formal execution and analysis.
The transformation process systematically maps
SysML v2 models into BIP while preserving struc-
tural integrity and interaction semantics. A case study
on swarm drone coordination validated the approach,
demonstrating its ability to model multi-agent inter-
actions and verify synchronization properties through
BIP-based execution. The results confirmed that the
method supports structured execution, enables the de-
tection and resolution of deadlocks, and ensures inter-
action correctness.
While effective, the current approach has certain
limitations. The transformation does not yet sup-
port all BIP constructs, such as hierarchical priori-
ties and composite connectors, and remains a manual
process that requires user intervention. Future work
will extend the transformation to support these ad-
vanced constructs, integrate time-aware interactions,
and automate the mapping through model-to-model
transformations. Furthermore, incorporating an incre-
mental verification strategy using tools like D-Finder
2 (Bensalem et al., 2011) could enable early detection
of inconsistencies. Enhancing automation, scalability,
and coverage will further consolidate the integration
of SysML v2 and BIP for robust CPS modeling and
formal verification.
REFERENCES
Basu, A., Bozga, M., and Sifakis, J. (2006). Modeling het-
erogeneous real-time components in bip. In Fourth
IEEE International Conference on Software Engineer-
ing and Formal Methods (SEFM’06), pages 3–12.
Ieee.
Bensalem, S., Griesmayer, A., Legay, A., Nguyen, T.-H.,
Sifakis, J., and Yan, R. (2011). D-finder 2: To-
wards efficient correctness of incremental design. In
Nasa Formal Methods Symposium, pages 453–458.
Springer.
Dokter, K., Jongmans, S.-S., Arbab, F., and Bliudze,
S. (2015). Relating bip and reo. arXiv preprint
arXiv:1508.04848.
Friedenthal, S. (2023). Future directions for mbse with
sysml v2. In MODELSWARD, pages 5–9.
Graja, I., Kallel, S., Guermouche, N., Cheikhrouhou, S.,
and Hadj Kacem, A. (2020). A comprehensive sur-
vey on modeling of cyber-physical systems. Con-
currency and Computation: Practice and Experience,
32(15):e4850.
Khelifati, A., Boukala-Ioualalen, M., and Hammad, A.
Construction of consistent sysml models applied to
the cps. ACM Journal on Emerging Technologies in
Computing Systems.
Moln
´
ar, V., Graics, B., V
¨
or
¨
os, A., Tonetta, S., Cristoforetti,
L., Kimberly, G., Dyer, P., Giammarco, K., Koethe,
M., Hester, J., et al. (2024). Towards the formal ver-
ification of sysml v2 models. In Proceedings of the
ACM/IEEE 27th International Conference on Model
Driven Engineering Languages and Systems, pages
1086–1095.
Nussbaumer, C. J. M. and Kieliger, L. (2017). Bidirectional
transformation between bip and sysml for visualisa-
tion and editing.
Object Management Group (OMG) (2012). OMG Systems
Modeling Language SysML. Technical report.
Object Management Group (OMG) (2024). Systems
Modeling Language (SysML) v2 Beta 2 Specifica-
tion: Language. https://www.omg.org/spec/SysML/2.
0/Beta2/Language/PDF. Accessed Mars 2025.
Tannoury, P., Chouali, S., and Hammad, A. (2022a). An
incremental model-based design methodology to de-
velop cps with sysml/ocl/reo. In Journ
´
ees du GDR
GPL, Jun 2022, Vannes.
Tannoury, P., Chouali, S., and Hammad, A. (2022b). Model
driven approach to design an automotive cps with sys-
reo language. In Proceedings of the 20th ACM In-
ternational Symposium on Mobility Management and
Wireless Access, pages 97–104.
Combining SysML V2 and BIP to Model and Verify CPS Interactions
409