The Parametric Diagram (par) provides support for modelling constraints on the performance and physical properties of the system and its operational environment to support a wide array of engineering analyses. The par diagram shows a Block's performance constraint equations with a graphical mapping of each constraint equation parameter to a specific value property of the Block being constrained. Parametric models therefore focus on identifying the properties of the system that are critical to satisfying the identified performance requirements.
An example par is:
The symbols available in pars are:
Symbol | Name | Description |
---|---|---|
Comment | Makes a note anywhere in the diagram. Are always surrounded by * characters. Note: If you do not want Cradle to automatically add an * go to the Graphics Settings section of Project Setup and turn off the Automatically add asterisks to diagram's comment symbols option. | |
Picture | Allows you to choose the location of a GIF or JPEG image to be displayed as a diagram symbol. An image can also be embedded in the other diagram symbols. | |
Note Callout | Multi-purpose symbol which attaches to other symbols in order to show certain attributes of the model element. It can show frames, categories, tags, related items, or simply a piece of standalone text. | |
Tag | The Tag symbol is used to display a tag value contained in a symbol’s stereotype frames, or cross reference link attributes, anchored to the selected symbol. In the following example the Tag symbol displays the constraint tag value specified in the constraint stereotype CONSTRAINT frame. | |
Constraint Property | The Constraint Property symbol is an instance of a Constraint Block that contains one or more constraint Boolean expressions. The Boolean expressions are used to explicitly constrain the value properties of Blocks and/or Activities. A Constraint Property encapsulates one or more constraint Boolean expressions, enclosed in curly braces. The expressions are defined in the «constraint» stereotype’s CONSTRAINT frame. The stereotype CONSTRAINT frame is displayed and the tag menu is used to define the expression. The tag expression can have an embedded reference to an actual stereotype element using the @REF_ID directive. The directive creates an item reference cross reference between the stereotype containing the tag and the referenced element. To use @REF_ID directive in a tag do the following:
| |
Constraint Parameter | A Constraint Parameter is a value property that is used in a constraint expression of a constraint property (i.e. Block or Activity). The Constraint Parameters (i.e. «valueType» elements) used in the constraint expression are displayed as a small rectangle on the edge of the inner surface of the Constraint Property symbol. The Constraint Parameters are cross referenced to the constraint using the «has parameter» relationship. These linked elements can be seen in the Modelling sidebar: A Constraint Parameter can have tags defined in the «valueType» stereotype's frames. Any tag value can have an embedded reference to an actual stereotype element using the @REF_ID directive. The directive creates an item reference cross reference between the stereotype containing the tag and the referenced element. | |
Part Property | A Value Property associated with a specific Block can be displayed as a nested rectangle in a Part Property. | |
Reference Property | A Value Property associated with a specific Reference Block or Actor can be displayed as a nested rectangle in a Reference Property. | |
Value Property | A Value Property is displayed as a rectangle and then connected to a Constraint Parameter: A Value Property can have tags defined in the «valueType» stereotype's frames. Any tag value can have an embedded reference to an actual stereotype element using the @REF_ID directive. The directive creates an item reference cross reference between the stereotype containing the tag and the referenced element. | |
Binding Connector | Connects Constraint Parameters to each other and to Value Properties. They express an equality relationship between their bound elements. A line, without annotations, is used as a Binding Connector. The connector can have a name that can be optionally displayed: |
The symbols along with their default stereotypes, referenced elements, stereotype frames and cross reference link attributes are:
Symbol | Name | Default Stereotype | Referenced Element | Stereotype Frames or Cross Reference Link Attributes |
---|---|---|---|---|
Comment | None | None | None | |
Picture | None | None | None | |
Note Callout | None | None | None | |
Tag | None | None | None | |
Constraint Property | «constraint» | None | Constraint frame: CONSTRAINT Tag: constraint @Ref can be used in any tag expression to specify an actual stereotype element in the tag expression. The elements are linked together using the item reference relationship | |
Constraint Parameter | «valueType» | None | ValueType frames: QUANTITYKIND, UNIT and VALUE @Ref can be used in any tag expression to specify an actual stereotype element in the tag expression. The elements are linked together using the item reference relationship | |
Part Property | «block» | None | None | |
Reference Property | «actor» «block» | None | None | |
Value Property | «valueType» | None | ValueType frames: QUANTITYKIND, UNIT and VALUE @Ref can be used in any tag expression to specify an actual stereotype element in the tag expression. The elements are linked together using the item reference relationship | |
Binding Connector | None | None | None |