Tool Usage
Detailed guide on how to use Enterprise Architect for activity modeling: Activity modeling
Modeling Exercises
Refine the System Context of the ACC system with Activity Diagrams. Model the behavior of the Human-Machine Interface (HMI) and the Distance Sensor.
- Download the initial model of the ACC with the system context, interfaces, and use cases here.
- Model the behavior of the human-machine interface (HMI) and the distance sensor.
- Create an Activity Diagram under the System Context block.
- Add the participants as partitions* by dragging the blocks of the System Context block onto the diagram.
- Model the cyclic behavior of the user using the HMI:
- The user can turn the ACC on (by sending a signal) and set the current speed, or
- the user can turn the ACC off (by sending a signal).
- Model the cyclic behavior of the Distance Sensor:
- The Distance Sensor measures the distance from the vehicle before the ego vehicle.
- The Distance Sensor can send a signal if the vehicle before the ego vehicle is too close.
- Model the data flow between the steps and the decision.
- Extra: Modify the behavior of the Distance Sensor such that it can be interrupted if the user decides to turn off the ACC, in which case its behavior is terminated.
*In Enterprise Architect you cannot add part properties as partitions. In this exercise, it is sufficient to add blocks as partitions. Otherwise, you can add partitions to the model and set part properties in the Properties > ActivityPartition > Represents settings.