2022-04 - SysML v2 Pilot Implementation
This is an incremental update to the 2022-03.1 release. It corresponds to Eclipse plugin version 0.23.0.
Language Features
- Short names. What was previously called the "human ID" of an element is now known as its short name. However, the surface notation remains the same, e.g.,
part
<shortName> longDescriptiveName;
. Aliases can now also have short names, e.g.,alias
<shortAlias> longDescriptiveAlias
for
longDescriptiveName;
. The name resolution rules for short names are identical to those for regular names.
[PR #359] - Owning membership. The owned members of a namespace are now related to the namespace using a specialized membership relationship called an owning membership. Previously, the name of an element was derived as the member name given in the membership that owned it. Now, the element name is no longer derived and, instead, the owned member name of an owning membership is derived as the name of its owned member element. This has no effect on the surface notation, but may effect how a model is traversed, e.g., by a tool using the API.
[PR #359] - Invocation arguments. The argument expressions in an invocation expression are now parsed as feature values on the argument parameters, similarly to how parameter values would naturally be bound in a KerML
expr
or SysMLcalc
usage. For example,F(x=1, y=2)
now parses essentially equivalently to[PR #359]expr : F { in feature redefines x = 1; in feature redefines y = 2; }
Model Library
Kernel Library
- Control functions. The
expr
features on various Functions in theControlFunctions
package have now all been marked asin
parameters, which work consistently with the new parsing for invocation expressions, as described above. Previously, these features were not parameters and were handled as special cases for the invocations of these Functions.
[PR #357]
Quantities and Units Domain Library
- UnitsAndScales.
CoordinateFrame
has been added as a specialization ofVectorMeasurementReference
along with three concrete specializations ofCoordinateTransformation
, namelyCoordinateFramePlacement
,TranslationRotationSequence
andAffineTransformationMatrix3D
. Minor updates have been made to other models in theUnitsAndScales
package consistent with this.
[PR #354]
Geometry Domain Library
-
ShapeItems. The
ShapeItems
library model has been revised and significantly expanded.
[PR #357] -
SpatialItems.
SpacialItem
has been updated to use the newCoordinateFrame
type.
[PR #354]
Backward Incompatibilities
- Reserved words (KerML). Added:
chains
Removed:is
- Features (KerML only).
- The
feature
x
is
y;
notation for un-owned features is no longer supported. - The
feature
x
is
a.b.c;
notation for named feature chains has been replaced with thechains
clause in a feature declaration, e.g.,feature
x
chains
a.b.c;
. This clause may be used in conjunction with all other parts of a regular feature declaration. It comes after any specialization part and before any disjoining or type featuring part, e.g.,feature
x : T
subsets
y
chains
a.b.c
disjoint with
z;
- The
- Invocations. As part of the update to the parsing of invocation expressions, there are some additional validations that existing models could now potentially fail.
- If an invocation expression uses named argument notation, then each of the arguments must all name input parameters of the invoked function, and any parameter must be referenced at most once.
- If a body expression (i.e., one with the form
{...}
) is used as the argument of an invocation expression, then the corresponding parameter of the invoked function must have anEvaluation
type (which is the case, e.g., if the parameter is a KerMLexpr
or SysMLcalc
).
[PR #359]
- Coordinate frames.
- A general
VectorMeasurementReference
no longer has aplacement
. Instead, use aCoordinateFrame
whosetransformation
is aCoordinateFramePlacement
. - Various specializations of
VectorMeasurementReference
in the ISQ library models that previously had names of the form...CoordinateSystem
now have names of the form...CoordinateFrame
(e.g.,ISQBase::Cartesian3dSpatialCoordinateSystem
is now calledISQBase::Cartesian3dSpatialCoordinateFrame
).
[PR #354]
- A general
- Shapes. In a small number of cases, changes to the
ShapeItems
library model may not be compatible with uses of the previous version of this model. Corrections should be obvious from reviewing the latestShapeItems
model.
[PR #357]
Jupyter
None.
Visualization
- PlantUML
- Minor improvements as part of baseline update.
[PR #359]
- Minor improvements as part of baseline update.
- Tom Sawyer
- Fixed visualization of connectors on behavioral connector diagrams.
Technical Updates
None.
Bug Fixes
- Model libraries. Fixed the
SystemUtil.isModelLibrary
method so that it works correctly on Windows.
[PR #358]