Parametric Simulation using OpenModelica
Enterprise Architect provides integration with OpenModelica to support rapid and robust evaluation of how a SysML model will behave in different circumstances.
This section describes the process of defining a Parametric model, annotating the model with additional information to drive a simulation, and running a simulation to generate a graph.
Introduction to SysML Parametric Models
SysML Parametric models support the engineering analysis of critical system parameters, including the evaluation of key metrics such as performance, reliability and other physical characteristics. These models combine requirements models with system design models, by capturing executable constraints based on complex mathematical relationships. Parametric diagrams are specialized Internal Block diagrams that help you, the modeler, to combine behavior and structure models with engineering analysis models such as performance, reliability, and mass property models.
For further information on the concepts of SysML Parametric models, refer to the official OMG SysML website and its linked sources.
Enterprise Architect helps you to extend the usefulness of your SysML parametric models by annotating them with extra information that allows the model to be simulated. The resulting model is then generated as a Modelica model that can be solved (simulated) using OpenModelica.
The simulation properties for your model are stored against a Simulation Artifact. This preserves your original model and supports multiple simulations being configured against a single SysML model. The Simulation Artifact can be found on the 'Artifacts' Toolbox page.
The user interface for the SysML simulation is described in the Configure SysML Simulation Window topic.
To aid your understanding of how to create and simulate a SysML parametric model, three examples have been provided to cover three different domains. These examples and what you are able to learn from them are described in the SysML Simulation Examples topic.