Simulating SysML Models Overview and Challenges
Simulating SysML Models Overview and Challenges
Authorized licensed use limited to: Otto-von-Guericke Universitaet Magdeburg. Downloaded on June 10,2024 at 15:15:19 UTC from IEEE Xplore. Restrictions apply.
978-1-4799-7611-9/15/$31.00 ©2015 IEEE 328
2015 10th System of Systems Engineering Conference (SoSE)
are to by used. The approaches studied were selected based Focusing on the description of specific domain entities,
on two criteria: specialized SysML profiles are introduced, while the need
to manage performance requirements during system design
a) They are based on model-based system engineering is also addressed. SysML provides the means for
concepts and apply MDA standards as discussed above to requirement description, while there are efforts, such as [4],
ensure compatibility with current SoS engineering [15], [17] focusing on requirement verification described
standards. Manual or semi-automated generation of using SysML.
executable simulation models from SysML models can be
cumbersome, tedious and error-prone. In addition, building In any case, to validate SysML models in terms of
custom tools for this purpose restricts reusability and performance, they should be simulated first. Apparently
interoperability with other simulation platforms. SysML supports a variety of diagrams describing system
structure and states, necessary to perform simulation, which
b) Different simulation methodologies/environments are are utilized by different approaches ([18], [19]). In most
utilized to ensure the generality of the deduced conclusions. cases, SysML models defined within a modeling tool are
The simulation techniques selected may serve different exported in XMI format and, consequently, transformed
system domains, implement either discrete or continuous into simulator specific models to be forwarded to the
simulation and utilize different SysML diagrams to simulation environment. To embed simulation-specific
integrate simulation characteristics into SysML models. properties within SysML models, profiles are introduced.
In all cases, stereotypes and constraints defined within the
Besides the simulation code generation process, the system profile are related to the simulation platform employed ([7],
validation process after the simulation is completed is also [8], [9], [15], [18], [19]). Simulation model validity may be
explored. In this case, simulation data are used to verify ensured by applying constraints in the models produced by
performance requirement defined during system design. the profile using declarative languages, as OCL ([7], [8],
There are approaches, such as [13], [14], [15], providing [3], [20]) or even java plugins ([14]).
comprehensive solutions in assisting the system engineer
identifying system design conflicts or drawbacks. Some of them are general ([9], [18]) constraint only by the
However, the automated and transparent integration of the simulation platform and facilitating simulation of any kind
system validation process within the SysML model used of of systems. In such case both the system structure and the
system design with the modeling tool remains a challenge. system behavior described in terms of the simulation
environment must by defined. Both discrete event (for
The rest of the paper is organized as follows: In Section 2 example [9]) and continuous (for example [13]) simulation
related work is discussed. In Section 3 existing approaches environments are supported, utilizing different SysML
for simulating SysML models are discussed, while their diagrams, e.g activity and state diagrams in the first case
basic characteristics are explored in a comparative study. and parametric diagrams in the second case to model
Challenges in automated simulation code generation and system behavior. In the case of general approaches,
system validation are identified in Section 4. simulation code generation is usually not fully automated
in terms of system behavior, which is restricted in the
profile in term of functionality and expressiveness.
2 Related work
There are many efforts that employ SysML for model- Most approaches are focused on a specific system domain,
based system design in different domains. Recently, SLIM while profiles contain stereotypes to describe specific
[16], a commercial collaborative model-based systems domain components, while their behavior is prescribed in
engineering workspace that uses SysML as the front-end simulation libraries contained in the simulation
for orchestrating system engineering activities from the environments selected. Popular examples of such systems
early stages of system development, is available from are presented for example in [17] for embedded systems
Intercax. The SysML-based system model serves as a simulated using Modelica or in [7] for manufacturing
unified, conceptual abstraction of the system, independent assembly systems simulated using Arena. Depending on
of the specific design and analysis tools that shall be used the nature and specific characteristics of the specific
in the development process. It is designed to provide domain, there is a diversity of ways proposed to simulate
plugins to integrate the system model to a variety of design SysML models, utilizing different diagrams.
and analysis tools. Until now, only the integration of
SysML and other model repositories, such as product Existing approaches may also be grouped in an alternative
lifecycle management (PLM) tools is implemented. fashion, depending on whether or not they are utilizing
Integration with MATLAB/Simulink, Mathematica and current model-driven software engineering standards for
OpenModelica is offered in a variety of commercial tools, simulation code generation. Custom tools, not utilizing
but automated simulation code generation is not existing standards, although flexible and fast, do not
implemented yet. promote model transformation validation, while they
restrict reusability and interoperability with other
Authorized licensed use limited to: Otto-von-Guericke Universitaet Magdeburg. Downloaded on June 10,2024 at 15:15:19 UTC from IEEE Xplore. Restrictions apply.
329
2015 10th System of Systems Engineering Conference (SoSE)
simulation platforms. Many approaches are grouped in this MATLAB Stateflow simulation environment. No detailed
category, such as those presented in [3], [4], [20]. information on MOF 2.0 based meta-models for all these
environments are provided, though MDA principles are
In order to follow model-driven code generation principles adopted by the authors. In [27], the MDEReqTraceTool,
and facilitate SysML-to-Simulation model transformation, currently under development, is proposed to integrate
a meta-model describing simulation entities must be requirement verification information, obtained using
defined. The existence of such a simulation meta-model is external tools, within SysML system models by updating
imperative to facilitate the transformation of SysML corresponding SysML requirement verification matrixes.
models described in XMI format into simulation models Such a feature will enable the MARTE requirements
[21]. To ensure compatibility with UML/SysML related verification using external tools, in a transparent fashion for
standards, MOF 2.0, the meta-model defined by OMG to the system designer working with MARTE/SysML models.
define them, should be also used for simulation meta-model
description. MOF 2.0 compliance enables the application of CASSI Tool
standard languages, such as ATL or QVT to program
In [4] SysML extensions were proposed for information
SysML-to-Simulation model transformation. Providing a
system design, which are implemented within the context
MOF 2.0 meta-model in XMI format for a simulation
of a custom, in-house tool called CASSI. CASSI targets
methodology or tool, such as those defined for Modelica
information system integration, while three different design
[22] or DEVS [23], enhances the transformation process
views are supported, depicted using SysML external and
and facilitates the usage of the specific simulation methods
internal block diagrams. The behavior of system
for SysML model simulation. The transformation needs to
components is described within CASSI using sequence
be defined only once for a pair of domain and simulation
diagrams, transformed to a simulation model based on
environment.
Petri-nets, which is executed by an external simulator.
Although based on MDA principles, existing standards and
3 A Comparative Overview of SysML tools are not utilized. CASSI is based entirely on custom
Model Simulation Approaches tools.
Out of the extensive literature for SysML model As described on [28], information system configurations
simulation, the approaches presented in the following were defined using CASSI are evaluated using simulation to
chosen taking into account the following criteria: a) they verify performance and availability requirements. NFR
are based on model-driven software engineering, b) they verification is performed by the system designer using
support all the steps discussed, i.e. profile definition, external tools by the aid of Service Level Objective (SOL)
automated simulation code generation and system concept, while system validation and requirement
validation and c) they utilize different simulation verification results are not integrated within SysML system
environments. model.
MARTE Profile and Related Tools TTool Toolkit and Related Efforts
MARTE is a UML profile proposed by the OMG [24] in TTool Toolkit (http://ttool.telecom-paristech.fr) integrates
2009 to support model-based design of real-time and numerous tools targeting real-time embedded system
embedded systems. It focuses on the performance and engineering. AVATAR SysML profile is one of them,
scheduling properties of real-time systems. Performance targeting safety and security properties of embedded
and scheduling requirements are modeled as constraints systems [31]. TEPE, a graphical expression language based
defined using VSL, a language for formulating on SysML parametric diagrams, is introduced for
semantically well-formed algebraic and time expressions. representing requirements making them amenable to
automated verification [29]. The profile also enables the
After SysML standardization, there are numerous efforts to definition of system behavior through state machine
combine SysML and MARTE profiles (for example [3], diagrams. Model verification is performed using a
[25], [26], [27]). Basically they focus on integrating SysML constraint language called UPPAAL (based on OCL), to
requirements and VSL language, employed to specify ensure system model validity before simulating them [30].
them. VSL well-defined semantics enable the automated DIPLODOCUS, a simulation engine targeting on System-
verification of corresponding SysML requirements using on-Chip design, is integrated in TTool. It is based on Y-
external tools. Chart simulation approach, based on timed-automata. The
IFx toolkit3 [32] also provides simulation capabilities
In [26] and [27] the effort presented is focuses on within TTool framework.
generating executable code in SystemC, a language for
describing executable software for embedded systems Model-driven engineering concepts are introduced in
using model transformation techniques. Furthermore, the TTool toolkit components to automatically generate
same methodology is suggested to provide executable simulation code based on predefined libraries for the
models for Promela/SPIN model checking environment and domain of embedded systems. Though, all the tools
Authorized licensed use limited to: Otto-von-Guericke Universitaet Magdeburg. Downloaded on June 10,2024 at 15:15:19 UTC from IEEE Xplore. Restrictions apply.
330
2015 10th System of Systems Engineering Conference (SoSE)
Authorized licensed use limited to: Otto-von-Guericke Universitaet Magdeburg. Downloaded on June 10,2024 at 15:15:19 UTC from IEEE Xplore. Restrictions apply.
331
2015 10th System of Systems Engineering Conference (SoSE)
Authorized licensed use limited to: Otto-von-Guericke Universitaet Magdeburg. Downloaded on June 10,2024 at 15:15:19 UTC from IEEE Xplore. Restrictions apply.
332
2015 10th System of Systems Engineering Conference (SoSE)
Authorized licensed use limited to: Otto-von-Guericke Universitaet Magdeburg. Downloaded on June 10,2024 at 15:15:19 UTC from IEEE Xplore. Restrictions apply.
333