Customization > SySim- SysML model execution > Modeling a SySim model execution > Including your own SySim control blocks in a SySim simulation scenario (SySim)
  
Including your own SySim control blocks in a SySim simulation scenario (SySim)
Preparing a SysML model for SySim
Modeling a SySim model execution:
Creating a SySim simulation scenario
Including SysML model blocks in a SySim simulation scenario
Including PTC provided SySim control blocks in a SySim simulation scenario
Creating your own SySim control blocks to model controls and behavior
Including your own SySim control blocks in a SySim simulation scenario
Defining SySim control block and SysML model block interaction
Setting up a model to work with PTC ThingWorx
Generating and building a SySim model execution
Working with a SySim model execution
You can include any SySim Control Blocks you create in a SySim Simulation Scenario.
To include a SySim Control Block in a SySim Simulation Scenario:
1. Locate the SySim Control Block you want to include in a SySim Simulation Scenario.
2. Open the Internal Block Diagram you created for the SySim Simulation Scenario.
3. Drag the SySim Control Block you want to use to the Internal Block Diagram (a Block Property is created).
4. Set a name for the Block Property, ensuring that the name does not begin with a number.
5. If you want a tooltip to appear for the control that is created for the Block Property in the SySim model execution, set the Description property of the Block Property to the tooltip you want to appear.
6. On the diagram, right-click the Block Property, point to Populate, point to Nodes, and then click Full Ports.
7. On the diagram, right-click the Block Property, point to Populate, point to Nodes, and then click ProxyPorts.
8. On the diagram, right-click the Block Property, point to Populate, point to Nodes, and then click Flow Ports.
9. On the diagram, right-click the Block Property, point to Populate, point to Nodes, and then click Standard Ports.
After adding your own SySim Control Blocks to the SySim Simulation Scenario, you can create the required connections on the Internal Block Diagram to model SySim model Block and SySim Control Block interaction. For more information refer to Defining SySim control block and SysML model block interaction