Activity Diagrams¶
ESL¶
In ESL, transformation-requirements specify how variables are internally transformed. In the example below, torque is converted into water-flow and power-potential into torque.
goal-requirements define the goal of a component with respect to another. Often, the goal is described using verbs such as provide and send.
| world.esl | |
|---|---|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 | |
SysML¶
The transformation- and goal-requirements are mapped to actions in the Activity Diagram. Each action has input and output pins, which specifies what FlowProperty is allowed to flow in and out of the action. The parameter nodes are at the edge of the activity, and define what flows in and out of the activity. FlowProperties type the connectors in between the pins and nodes.
For example, take the following goal-requirement:
and the following transformation-requirement of the drive-mechanism:
The action of the goal-requirement is mapped the Activity Diagram of both the sender (power-source) and the receiver (motor). The action of the sender is provide and the action of the receiver is receive. The input and output pins of both actions have the FlowProperty power.
The transformation-requirement is mapped to the Activity Diagram of the component that owns the transformation requirement. In this case that is the drive-mechanism that has the action convert, with input power-potential and output torque.
The resulting Activity Diagrams for the full system will then look as follows:
Note
Goal requirements are mapped to SysML using both Internal Block Diagrams to define the internal structure and Activity Diagrams to emphasize the action within a goal-requirement (such as send and provide).
Tip
For decomposed activities, the input and output should be consistent with the parent block. So count the signals for a sanity check!
Next!¶
Press next (or N on your keyboard) to head over to the next page! P is for Previous.
