Reuse Constraint Parameters in SysML Parametric Diagram

The Parametric Diagram in SysML is a restricted form of the Internal Block Diagram. It shows the mathematical relationships between its modeled elements. Wish Parametric Diagram you can precisely define the details of a constraint in your system. The Parametric Diagram cannot live on its own, it must be relay on a SysML block, typically is a constraint block. In Visual Paradigm you won’t need to re-create the constraint parameters when you elaborate the constraint block with Parametric Diagram. In this article we will show you how you can reuse the constraint parameters when modeling in Parametric Diagram.

Suppose we have the Block Definition Diagram with following constraint blocks, and each constraint blocks having several constraint parameters defined.

Block Definition Diagram with Constraint Blocks defined

Block Definition Diagram with Constraint Blocks defined

  1. First we have to create a Parametric Diagram for the constraint block. Let’s use the block VehicleDynamics as example. Go to Diagram > New.

    Create New Diagram form toolbar

    Create New Diagram form toolbar

  2. Select Parametric Diagram. You can make use of the search box to find out Parametric Diagram for you. Press Next to proceed.

    Select Parametric Diagram in New Diagram dialog

    Select Parametric Diagram in New Diagram dialog

  3. Enter the name for your Parametric Diagram, i.e. Parametric Diagram for VehicleDynamics. Press OK.

    Name your parametric diagram

    Name your parametric diagram

  4. Select VehicleDynamics in the Select Block dialog and press OK.

    Select Constraint Block for the Parametric Diagram

    Select Constraint Block for the Parametric Diagram

  5. Add the Constraint Property to your diagram.

    Create a Constraint Property in diagram

    Create a Constraint Property in diagram

  6. You will then being prompt for select a constraint block. Let’s select PowerEquation and press OK.

    Select Constraint Block

    Select Constraint Block

  7. Select the Constraint Property and click on its resource icon to bring up the Resource Catalog, and then select New Constraint Parameter.

    Create Constraint Parameter

    Create Constraint Parameter

  8. While the constraint parameter is in editing mode, press Ctrl + Space on your keyboard to bring up the completion dialog. A list of constraint parameter defined in PowerEquation constraint block will be show. Now you can select the constraint parameter form the list to reuse it.

    Reuse constraint parameter form constraint block

    Reuse constraint parameter form constraint block

Related Know-how

Related Link

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply