Source: Webel IT Australia ( Darren Kelly)
Figure D.7 Elaborating Black Box Behavior for the “Drive the Vehicle” Use Case (Sequence Diagram)
The OCL for the ref fragment for Idle appears to be missing in the SysML 1.6 figure version (was present in the SysML 1.5 version).
The referenced State name should have capital first letters to match the States in Figure D.1. From OCL-1.4:
The operation oclIsInState(s) results in true if the object is in the state s. Possible states for the operation oclIsInState(s) are all states of the statemachine that defines the classifier's behavior. ...
[EDIT: Actually, SysML-1.6 makes explicit that the Interaction DriveBlackBox is owned by the AutomotiveDomain block,
so the ‘self’ won’t be the same context as for the StateMachine (so it might not be able to reference those States directly).]
The name of the alt fragment 'controlSpeed' does not appear in the SysML-1.6 figure (it did in SysML-1.5 ). This may be deliberate. And it can't (as far as I can tell) be shown in MagicDraw/Cameo anyway. But it's a bit confusing when referenced here:
The conditions for each alternative in the alt controlSpeed sub clause are expressed in OCL, and relate to the states of the HybridSUV block, as shown in Figure D.8.
Reported: SysML 1.6 — Wed, 17 Jun 2020 01:25 GMT
Updated: Wed, 24 Jun 2020 06:45 GMT
SYSML17 — 'Figure D.7 - Elaborating Black Box Behavior' some OCL missing, State names in oclInState() should be capital first letter, and display of name of alt fragment
- Key: SYSML17-332
- OMG Task Force: SysML 1.7 RTF