Customization > SySim- SysML model execution > Modeling a SySim model execution > Including PTC provided SySim control blocks in a SySim simulation scenario (SySim)
  
Including PTC provided 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
PTC provides some SySim Control Blocks that are generated as input and output controls for the Visual Basic form that is generated for the SySim model execution. These controls include the Graph, Knob, LedBulb, LedDisplay, Meter, NumericSlider, PushButton, SevenSegmentDispaly and Switch SySim control blocks.
For more information about the PTC provided SySim Control Blocks, refer to PTC provided SySim control blocks.
To include a PTC provided SySim control block in a SySim simulation scenario:
1. Expand the SySim Profile package, expand the SySim ControlLibrary package, and locate the provided SySim Control Block that you want to use.
The following input and output controls are available:
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 Proxy Ports.
8. On the diagram, right-click the Block Property, point to Populate, point to Nodes, and then click Flow Ports.
Note that when the control is generated, you may have to set up properties of the control in Visual Basic. For more information about the PTC provided SySim Control Blocks, see PTC provided SySim control blocks .
After adding PTC provided controls to the SySim Simulation Scenario, you can create your own SySim Control Blocks and add those to the Internal Block Diagram. See Creating your own SySim control blocks to model controls and behavior.