Value Types, sometimes referred to as Data Types comes in three different flavors:
We will first address Primitive types
There already exist Primitive Types (e.g. Real, Number, String).
To create a custom Value Type typing a property of a block do the following:
Insert Quantity. In Element Properties → Run States enter relevant information
Insert Unit. In Element Properties → Run States enter relevant information. In quantityKind field enter the name of the created Quantity Kind.
Insert Value Type. In Element Properties → SysML 1.5 reference the created Quantity Kind and Unit.
Insert Block. Drag Property to under the created Block. Select Property and then Element Properties → Property → Type. Select the Value Type you just created.
How to define a probability distribution for the property?
Is Attribute the right feature for Enumeration? How to use it?
Insert Enumeration to bdd canvas. Right Click → Features → Attributes. Add new attributes until list is complete.
Insert Block. Drag Property to under the created Block. Select Property and then Element Properties → Property → Type. Select the Enumeration you just created.
Structured Value Types are a composite of simple Value Types and therefore you need to have tha simple types already defined. Add a new Value Type and add two Property under the Value Type. In each Property go Element Properties → Property → Type. Select the simple Value Type that you created earlier.
Insert Block. Drag Property to under the created Block. Select Property and then Element Properties → Property → Type. Select the structured Value Type you just created.
How to define initial values for structured value types?