Updating the SysMLSim Configuration
In releases of Enterprise Architect prior to Release 15.2, for each Part/Property the type and options were defined within the Configure SysML Simulation window, opened from the SysMLSim Configuration Artifact. This approach is still valid and available; however, using the latest features of the SysPhS Standard you can now define simulation parameters in the model itself, meaning you can generate to different simulation tools (Simulink and Modelica), from the same model and make adjustments at an elemental level.
If you prefer to use the SysPhS option, you can update recent simulation configurations to reflect the use of the SysPhS standard, and support simulation through different tools.
To update the existing configurations:
- Ensure that you have a Package Import reference to the SysPhS Simulation Libraries. For more details see the Help topic Referencing the SysPhS Simulation Libraries.
- Open the diagram containing the Block element of the simulation. For example:
- Notice the Property elements (in our illustration, x, y and lambda) in the Browser window; neither there, nor in the diagram, nor in the Properties window is it possible to see what type of property each one is.
- In the element in the diagram, click on a Property and, in the 'Stereotype' field in the Properties window, click on the icon to display the 'Stereotype for <propertyname>' dialog. Ensure that the 'Perspective' field is set to 'All Systems Engineering' and the Profile field is set to 'SysPhS'.
- Click on the checkbox for the appropriate property type - PhSVariable or PhSConstant - and click on the .
- Note how the constants and variables are assigned to their own element compartments on the diagram, and how the Property types (as stereotypes) can also be seen in the Browser window.
- Notice also that, in the Properties window, you can see the Stereotype defining the type of the property, and the options for that property type (as Tagged Values) as defined in the SysPhS standard.
- Finally, if you open the Configure SysML Simulation window for the SysMLSim Configuration Artifact for this simulation, you will see again that the Properties are identified and grouped by type.