Skip to main content

Parametric Diagram

Overview

Parametric diagrams can be used to describe the constraints between systems using mathematical formulas, etc., and perform analysis such as identifying parameters important for performance.
This page explains the operations for using parametric diagrams in the following order.

  • Place parametric diagrams
  • Define constraint properties
  • Define relationships

Parametric Diagram

Place the parametric diagram

To place a parametric diagram, follow these steps:

Place parametric diagram

Operating instructions
  1. Select the block in the model navigator and click Add Model > Parametric Diagram in the context menu.
  2. The parametric diagram is placed as a child element of the selected block.

Define constraint properties

Add constraint properties

To add constraint properties, follow these steps:

Define constraint properties

Operating instructions
  1. Drag and drop [Constraints] from the toolbox onto the displayed parametric diagram.
  2. Constraint properties are placed as sibling elements of the displayed parametric diagram.
Elements that can be added from the toolbox

In a parametric diagram, you can place the following elements displayed in the toolbox:

IconName
ConstraintsConstraints
Constraint parametersConstraint parameters
ValueValue
NoteNote
LabelLabel
Add ShapeShape

[Constraint parameters] are placed as port shapes in [Constraints](constraint properties), but cannot be added from the toolbox.
By setting a constraint block as the constraint property type, the constraint parameters defined in the constraint block will be reflected on the diagram.

Add stereotypes to constraint properties

To add a stereotype, follow these steps:

Parametric Diagram

Operating instructions
  1. Select a constraint property.
  2. Click the Add button in the Basic information > Stereotype field in the Property Inspector to display the choices.
  3. Select a stereotype and press the [OK] button to set the stereotype to the constraint property and display the stereotype above the constraint property shape.
tip

Stereotype choices can be defined in the package model's Detail view.

tip

Once you have added a stereotype, you can edit it from the parametric diagram by following these steps:

  1. Double-click the stereotype displayed in the constraint properties to enter the editing state.
  2. If you change the stereotype and confirm the edit, it will be reflected on the parametric diagram and the stereotype of the constraint property will be changed.

Set the type

To set the type for a constraint property, follow these steps:

Set type (constraint block) to constraint property

Operating instructions
  1. Select a constraint in the displayed parametric diagram to display the Property inspector.
  2. Click the [+] button in the [Constraints] property, select the constraint block in the finder that appears, and press the [OK] button.
  3. The type is set in the constraint property, and the constraint parameters defined in the constraint block are displayed as ports in the constraint shape on the parametric diagram.

Describe the content (formula)

To write the content (formula) in the constraint property, follow the steps below.

Describe the contents in the constraint property

Operating instructions
  1. Open the subeditor in advanced mode and select the constraint property in the parametric diagram above the main editor.
  2. Enter the formula in [Constraint Content] of the constraint property on the sub-editor and confirm it, and it will be reflected on the parametric diagram.
tip

Usually, variables used in the constraint content (formula) are displayed as constraint parameters.

Define relationships

To define the relationship between constraint parameters and values, follow these steps:

Parametric Diagram

Operating instructions
  1. Move the pointer over the constraint parameter you want to associate.
  2. Drag the [▲] icons that appear on all sides of the constraint parameter and drop them onto the value you want to associate.

Add stereotypes to associations

To add a stereotype, follow these steps:

Parametric Diagram

Operating instructions
  1. Select an association.
  2. Double-click the grayed-out [<<stereotype>>] to enter editing mode.
  3. Enter the stereotype you want to set, the stereotype will be displayed in the relationship of the parametric diagram, and the stereotype will be set in the relationship.

Restrictions

  • Constraint content and type display of constraint parameters differ from the SysML standard.
  • The display position of constraint parameters is different from the SysML standard (they are displayed overlapping the nodes).
  • You cannot add a constraint parameter that corresponds to a constraint property (it will be automatically reflected by adding it to the type's constraint block).