Check out our new monthly subscription model! Only $9.99 a month!
Now let's move on to creating the Parametric Diagram below.
From P.180 Figure.B.24 - Defining Fuel Flow Constraints (Parametric Diagram) of OMG SysML 1.2)
A parametric diagram is defined as a restricted form of the Internal Block Diagram. A Parametric Diagram may contain constraint properties and their parameter, along with other properties from within the Internal Block context.
Let's create a new Parameter Diagram by Right-clicking the "PowerSubSystem" Block and selecting [Add Parametric Diagram] from its Pop-up menu.
First, draw the Constraint Property which is a property of any Block that is typed by a Constraint Block. We need a Constraint Block to do that, so let's create one. Right-click on the root-topic and create a new Package to hold this Constraint Block from [Create Model] - [Add Package] and name it as "Constraints". Now create a new Constraint Block in this Package by right-clicking on it, then go to [Create Model] - [Add Constraint Block] and name it as "FuelFlow".
A Constraint Block "FuelFlow" is created. Go to [Constraint] tab of its Property View and add the constraint from the Constraint field as shown below.
Now drag the Constraint Block from the Structure Tree into the diagram editor and name it "fuelflow".
Now Create the Value Properties that are shown in pink in the sample diagram. But before we do that, we need to create a few Blocks first. Let's quickly create a new Block Definition Diagram with the instruction below for you to practice!
Now that you are all set, let's get back to the Parametric Diagram and create an "ice.fi.fuelDemand" Value Property. First select the Value Property from the tool bar and click on the diagram.
When you click on a diagram, the following dialog appears.
Select "fuelDemand:Real" and then click [OK]. Now create another Value Property in a same way you just did.
Now all you need to do is to add the Value Properties and the Constraint Parameter with Binding Connector to complete this Parametric Diagram. To connect them with BindingConnector, you need to add the "Constraint Parameter" to the Constraint Properties first.
Select the "Constraint Parameter" and add it to "fuelflow" Constraint Property and name them as shown in the sample diagram.
Now select "BindingConnector" and then connect each Value Type and the Constraint Property.
You have completed this Parametric Diagram.