Prev | Next |
Simulation
Enterprise Architect provides integration with OpenModelica and MATLAB's Simulink, to support a rapid and robust evaluation of how a SysML model will behave in different circumstances.
The OpenModelica Libraries are comprehensive resources that provide many useful types, functions and models. When creating SysML models in Enterprise Architect, you can reference resources available in these Libraries.
Enterprise Architect's MATLAB integration connects via the MATLAB API, allowing your Enterprise Architect simulations and other scripts to act based on the value of any available MATLAB functions and expressions. You can export your model to MATLAB Simulink, Simscape and/or Stateflow.
This section describes the process of defining an Internal Block Diagram or Parametric model, annotating the model with additional information to drive a simulation, and running a simulation to generate a graph of the results.
Introduction to SysML Internal Block and Parametric Models
SysPhS 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 Requirement 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.
These topics describe the key options for defining and running Systems Engineering simulations using SysML and SysPhS.
Topic |
Description |
See also |
---|---|---|
SysPhS Standard Support |
The SysPhS Standard is a SysML Extension for Physical Interaction and Signal Flow Simulation. It defines a standard method of translating between a SysML model and either a Modelica model or a Simulink/Simscape model, providing a simpler model-based method for sharing simulations. |
SysPhS Simulation |
SysMLSimConfiguration Artifact |
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 model that can be solved (simulated) using either MATLAB Simulink or 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. |
Artifact |
User Interface |
The user interface for the SysML simulation is described in the Configure SysML Simulation topic. |
|
Viewing the Generated Model |
Once a model has been generated to Modelica or Simulink you can directly work with that model in the external application. |
Viewing the Generated Model |
SysPhS Debugging Tips |
As there can be many factors that can cause an error in a generated script, we provide some tips on isolating the source of an issue in the model. |
SysPhS Debugging Tips |
Model Analysis Using Datasets |
When working with a simulation there can be cases where multiple variants are to be tested. To support this, multiple datasets can be defined against Blocks, allowing for repeatable simulation variations using the same SysML model. |
Model Analysis using Datasets |
SysPhS Simulation Examples |
To aid your understanding of how to create and simulate a SysPhS model, three examples have been provided to illustrate three different domains. All three examples happen to use the OpenModelica libraries. These examples and what you are able to learn from them are described in the SysPhS Simulation Examples topic. |
SysPhS Simulation Examples |