Modeltron-logo-black-transparent-3444x1908.png

Hello!

Welcome to Modeltron, the elements of systems modeling.

Structured Value Type

Structured Value Type

Value Types describe quantities and are used to type Value Properties. Value Types are grouped into three categories: primitive value types (e.g., Real, String, Boolean, Integer), Enumerated Lists of Enumeration Literals (e.g., {120V, 240V}), and structured value types. Structured value types describe a custom (and sometimes complex) data structure which can be used to type a value property.

Structured Value Type Example

Structured Value Type Example

The example describes a value type, called Vector, which has three attributes, xval, yval, and zval. This value type is used to type the velocityVector value property. The «block», My Block, uses a Javascript constraint to calculate the value of the derived value property, /magnitude, using the value of the structured value type, Vector.

Reference:

Friedenthal, S., Moore, A., & Steiner, R. (2012) A Practical Guide to SysML. Waltham, MA: Morgan Kaufmann. pg. 137.

Unique and Ordered Collections

Unique and Ordered Collections

Generalization Sets

Generalization Sets