Icon class icon_class fas fa-quote-left icon_class_computed fas fa-quote-left Related content Figure D.2 - Defining ValueTypes and Units to be used in the Sample Problem Figure 8-4: Abstract syntax extensions for SysML value types Figure 8-11: Model library for Unit and QuantityKind Figure 8-14: Defining Value Types with units of measure from the International System of Units (SI) REFERENCE CARD: Types of Block Properties and Block compartments SysML ValueType and QUDV overview UML DataType vs SysMLv1 ValueType Structured vs Primitive DataType Table 8-1 - Graphical nodes defined in Block Definition diagrams - ValueType - MagicDraw SysML 19SP3 REFERENCE CARD: Property cheat-sheet for Block Figure 28: Units in SysML Figure 34: Value types and units for physical quantities Source OMG Systems Modeling Language (SysML) 1.6 Copyright information About Object Management Group copyright in text extracts quoted from OMG specifications for educational purposes Snippet kind INFO UML keywords DataType SysML keywords ValueType Unit QuantityKind Previous snippet Full quote SysML ValueType adds an ability to carry a unit of measure and quantity kind associated with the value. Next snippet A quantity kind is a kind of quantity that may be stated in terms of defined units, but does not restrict the selection of a unit to state the value. A unit is a particular value in terms of which a quantity of the same quantity kind may be expressed. Related snippets A ValueType defines types of values that may be used to express information about a system, but cannot be identified as the target of any reference. Related snippets (backlinks) quantityKind : InstanceSpecification [0..1] A kind of quantity, represented by an InstanceSpecification classified by a kind of SysML QuantityKind, that may be stated by means of units. A value type may optionally specify a quantity kind without any unit. unit : InstanceSpecification [0..1] A unit, represented by an InstanceSpecification classified by a kind of SysML Unit, in terms of which the magnitudes of other quantities that have the same quantity kind can be stated. A QuantityKind is a kind of quantity that may be stated by means of defined units. For example, the quantity kind of length may be measured by units of meters, kilometers, or feet. QuantityKind is defined as a non-abstract SysML Block defined in the SysML UnitAndQuantityKind model library. QuantityKind, or a specialization of it, classifies an InstanceSpecification to define a particular "kind-of-quantity" in the sense of an "aspect common to mutually comparable quantities" [VIM3-1.2], ... ... a SysML value property is understood to correspond to the VIM concept of "quantity" defined as a "property of a phenomenon, body or substance, where the property has a magnitude that can be expressed as a number and a reference" [VIM3-1.1]. Modelers specialize QuantityKind as done in SysMLs QUDV model library or in a similar manner in other model libraries. The definitionURI of an InstanceSpecification classified by a kind of QuantityKind identifies the particular "kind-of-quantity" [VIM3-1.2] that the InstanceSpecification represents. Two such InstanceSpecifications represent the same "kind-of-quantity" if and only if their definitionURIs have values and their values are equal. The only valid use of a QuantityKind instance is to be referenced by the quantityKind property of a ValueType or Unit. A Unit is a quantity in terms of which the magnitudes of other quantities that have the same quantity kind can be stated. A unit often relies on precise and reproducible ways to measure the unit. For example, a unit of length such as meter may be specified as a multiple of a particular wavelength of light. A unit may also specify less stable or precise ways to express some value, such as a cost expressed in some currency, or a severity rating measured by a numerical scale. Unit is defined as a non-abstract SysML Block defined in the SysML UnitAndQuantityKind model library. Unit, or a specialization of it, classifies an InstanceSpecification to define a particular "measurement unit" in the sense of a "real scalar quantity, defined and adopted by convention, with which any other quantity of the same kind can be compared ... Modelers specialize Unit as done in SysMLs QUDV model library or in a similar manner in other model libraries. The definitionURI of an InstanceSpecification classified by a kind of Unit identifies the particular "measurement unit" [VIM3-1.9] that the InstanceSpecification represents. Two such InstanceSpecifications represent the same "measurement unit" if and only if their definitionURIs have values and their values are equal. The only valid use of a Unit instance is to be referenced by the unit property of a ValueType stereotype. A DerivedUnit is a Unit that represents a measurement unit that is defined as a product of powers of one or more other measurement units. For example the measurement unit “metre per second” for “velocity” is specified as the product of “metre” to the power one times “second” to the power minus one. A DerivedQuantityKind is a QuantityKind that represents a kind of quantity that is defined as a product of powers of one or more other kinds of quantity. A DerivedQuantityKind may also be used to define a synonym kind of quantity for another kind of quantity. For example “velocity” can be specified as the product of “length” to the power one times “time” to the power minus one, and subsequently “speed” can be specified as “velocity” to the power one. Data types in SysML are called value types. SysML numeric value types can be linked to units, where units are modeled with the SysML Unit block. These units are linked to value types that are generalized by SysML’s numeric value types. Units and their symbols are from ISO 80000. Figure 28 shows how a value type with units is defined in SysML, from the units library in Figure 20 [ERROR], Subclause 11.2.2 [ERROR]. It has a value type Force that specializes the Real value type and has newton as unit. The newton unit has a symbol N. Visit also Visit also (backlinks) Flags