Exercise 15 - Iterative Design
In the process of system development, all of the requirements might not be available or defined in the early stages. Some requirements might not be formalized and only later in the design process completely captured.
1. Open the simulation profile named 'REAR_DEFOG_SIM'. Refer to the following figure.
2. Select Options > Sequence-diagram Generation…from the Simulation Profile window. Refer to the following figure.
3. Click Generate Sequence-Diagram from within the Sequence Diagram Generation Settings window.
4. Click Input Elements to Record… to select the input elements to record within the simulation.
5. Click 'Choose...' within the Input Elements to Record window to add elements to record. This invokes the Element Selection window for the test settings. Refer to the following figure.
6. Within the element selection window click 'All' under the Type and then select Filter to create a list of elements.
7. Select the following three elements within the Element Selection List - LOAD_SHED_IN, RDEFOG_SW_STATUS, and VEHICLE_SPEED_IN and then click OK.
8. Click OK within the Input Elements to Record window (refer to the following figure).
9. Select Output Elements to Record… to select the output elements to record within the simulation.
10. Using the steps outlined above, add the following two output elements to record - DEFOG_DRIVE_OUT and DEFOG_DRIVE_SIG. Refer to the following figure.
11. Select Lifeline Entities to Record within the activities lifeline section of the Sequence Diagram Generation Settings window. These lifelines are used within the generated diagram.
12. Click 'Add…' within the Lifelines Entities window to invoke the Lifeline Entities and select the items as shown in the following figure.
13. Click OK within the selected Lifeline Entity window.
14. Click OK within the Lifeline Entities window.
15. Click OK within the Sequence Diagram Generation Settings window.
16. Select File > Save from the simulation profile window.
17. Select Invoke Simulation Based on the Current Profile from the simulation profile window.
Note: The simulation window and an executable model of the panel open. The panel allows you to make inputs and view outputs of the system design.
18. Click AutoRun to start simulating as in real-time mode.
20. Once the simulation is complete and you exit the simulation execution window, you are prompted to save the recorded sequence diagram . Click Yes.
22. Open and review the sequence diagram that was generated from the simulation (refer to the following figure). The diagram can be found within the Workarea.