4.5 Traceability
The transformed model maintains a strong
relationship with the abstract functional specification
designed by the system architect. The traceability
links are formalized as UML abstraction (see
section 7.8.1 in (OMG, 2017b) relationships with the
Derive stereotype applied. These relationships are
used during the simulation by the animation engine,
and the debugger to analyze the data flowing between
functions at the abstract functional specification level
(i.e., the one the system architect is working on).
By this way, the system architect can analyze his
model, as if it is an executable one. But behind the
scene a transformed model is running.
4.6 Implementation
The work described above is fully implemented with
the operational query view transformation language
(QVTo). It is included in the Papyrus customization
developed by Safran. With that language, the
implementation was easy, because of the tight
integration with the Papyrus application
programming interfaces (API). No performance
issues were noticed during our tests.
4.7 Related Works
There were many proposals to produce simulation
models from SysML models. Works achieved in (G.
Kapos et al., 2014) and (Bocciarelli et al., 2012)
highlight some of them. The first proposal is to
transform SysML models to DEVS models while the
second proposal is to transform SysML models to
HLA models. While the target languages are
different, the underlying objective is the same: make
sure that output models conform to language with
precise semantics. This ensures that these models can
be used in a simulation since they can be
unambiguously interpreted. The approach presented
in this paper follows the same objective. However, it
differs from existing approaches in two aspects. First,
it keeps the simulation model in the same
environment as the one it is derived from. This has
the advantage to let the simulation engineer to work
in the same environment as the system architect. In
addition, it maintains a strong relationship between
both models. Second, the simulation model is
compliant with the executable UML subset identified
in fUML, PSCS and PSSM. Debugging can be
performed at the transformed model level or from the
original model.
5 CONCLUSIONS
The design of executable UML models requires a
deep knowledge of UML and the fUML standard.
This can be a problem, because unlike software
engineers, systems architects for example are not
familiar with these languages. Then executable UML
languages is not widely used in the industry to model
systems architecture.
We explored a way to reduce this barrier by
generating executable UML model from a higher
abstraction model like a system architecture model.
Then the system architect is not disturbed by the
details and the rigor of fUML. He stays focused on
his work, and use a DSML to model the system at the
right level of abstraction. On the other side, the
simulation engineer requires a formal language to
design an executable model. Then the translation of
the architecture model to an executable UML model
satisfy his requirements.
With this method, we keep the consistency between
the system architect activity and the simulation
engineer activity. Like that, the simulation engineer
doesn’t need to recapture the system architecture
mode model during the handover.
In our work, we used only the graphical notation of
UML to design the executable model. We can
improve the process by using scripting languages
with the UML notations. For example, it is faster to
define an addition or a subtraction with Python or
Javascript than using the UML notation.
So, the next step is dedicated experiments the support
of scripting language, but also to extend the
translation to other executable languages like
Simulink™ or Modelica®. In that case the scope shall
include the physical level. The objective here is to
keep the interfaces defined at the architecture level
consistent between the modeling languages, all along
the MBSE process using a model interface
coordination (Bailey et al., 2018).
REFERENCES
Bailey, W.C., Che, J., Tsou, P., Jennings, M., 2018. A
framework for automated model interface coordination
using SysML. J. Comput. Inf. Sci. Eng. 18.
https://doi.org/10.1115/1.4039474.
Bocciarelli, P., D’Ambrogio, A., Fabiani, G., 2012. A
model-driven approach to build HLA-based distributed
simulations from SysML models.
Cameron, B., Adsit, D.M., 2018. Model-Based Systems
Engineering Uptake in Engineering Practice.
https://doi.org/10.1109/TEM.2018.2863041.
MODELSWARD 2019 - 7th International Conference on Model-Driven Engineering and Software Development
254