Including SysML model blocks in a SySim simulation scenario (SySim)
You include a SysML model Block (a subsystem) in a SySim Simulation Scenario by applying the «SySim ControlBlock» stereotype and dragging it to the SySim Simulation Scenario's Internal Block Diagram.
To include a SysML model block in the SySim simulation scenario:
1. If you have not done so already, add the SySim Profile to your SysML model.
How? 2. Right-click the SysML Block you want to include in the SySim simulation scenario, point to > , and then click SySim ControlBlock.
3. Open the Internal Block Diagram you created for the SySim Simulation Scenario.
4. Drag the SysML Block you want to include in the SySim simulation scenario to the Internal Block Diagram (a Block Property is created).
5. Set a name for the Block Property, ensuring that the name does not begin with a number.
6. Right-click the Block Property, and select > > .
7. Right-click the Block Property, and select > > .
8. Right-click the Block Property, and select > > .
9. Right-click the Block Property, and select > > .
10. If the SysML model block owns a state machine and you want that state machine to be ignored in the SySim model execution:
a. Open the SysML model block's Property Pages.
b. Click the SySim ControlBlock tab.
c. Set the tagged value of the SySim StateMachine tag definition to No.
After adding the SysML model Blocks (through Block Properties) to the Internal Block Diagram, you can add to the Internal Block Diagram any PTC provided SySim Control Blocks you want to use to input and output data during the SySim model execution. For more information refer to
PTC provided SySim control blocks.