Prev | Next |
Using the SysPhS Toolbox
The SysPhS profile provides a dedicated Toolbox page, containing basic SysML elements for both OpenModelica and MATLAB Simulink and, on a 'SysPhS Patterns' page, the 'SysPhS Component' icon.

SysPhS Elements
Element Icon |
Description |
---|---|
PhS Constant |
PhS Constant defines values that are constant during a simulation run. For Modelica, these correspond to parameter variables. For Simscape these correspond to (constant) parameters. |
PhS Variable |
PhS Variable defines values that are variable during a simulation run. For Modelica, PhSVariables with:
For Simulink, PhSVariables correspond to Simscape variables. |
Modelica Block |
The Modelica Block element-type is used for defining a corresponding component in the Modelica library. To define a Modelica Block to correspond to a component in the Modelica library requires that the value of the Modelica SysPhS Name property is set to the fully qualified component name from Modelica (the Class Path). |
Modelica Parameter |
A Modelica Parameter element-type is used to define a parameter of a Modelica Library component. These are defined in the Properties window > Element tab > «ModelicaParameter» (from SysPhS) which has two parameters:
The Typing of this parameter and its initial value can be defined on the Properties > Property tab in the fields:
|
Modelica Port |
A Modelica Port corresponds to a Port defined in the Modelica Library. The corresponding Modelica Port name is defined in: Properties > Element > «ModelicaPort» ( from SysPhs ) > Name. |
Simulink Block |
The Simulink Block element-type is used for defining a corresponding component in the Simulink library. To define a Simulink Block that corresponds to a component in the Simulink library requires that the value of the Simulink SysPhS Name property is set to the fully qualified component name from Simulink (found in the Simulink Model Explorer as 'Contents of'). |
Simulink Parameter |
A Simulink Parameter element-type is used to define a parameter of a Simulink Library component. These are defined in the Properties window > Element tab > «SimulinkParameter» (from SysPhS), which has two parameters:
The Typing of this parameter and its initial value can be defined on the Properties > Property tab in the fields:
|
Simulink Port |
A Simulink Port corresponds to a Port defined in the Simulink Library. The corresponding Simulink Port name is defined in: Properties > Element > «SimulinkPort» ( from SysPhs ) > Name. |
Multidimensional Element |
In systems modeling, while a vector can be specified using multiplicity, for multi-dimensional arrays we need multiple multiplicities. The MultidimensionalElement stereotype provides for this, effectively supporting an array of multiplicities defining the dimensions. This is applied to a Block by dragging on the Multidimensional Element icon. |
Package Import |
The Package Import connector is required for setting a reference from the main Block to the SysPhS simulation libraries. For more details see the Referencing the SysPhS Simulation Libraries Help topic. |
SysPhS Patterns
In the OMG SysPhS specification there is a list of SysPhS components that are common to both Modelica and Simulink. Enterprise Architect provides this series of components as a set of SysPhS Patterns. These core components are useful starting blocks when creating a new model. For more details on using these see the Using the SysPhS Patterns Help topic.