Finishing and Managing the Project : Exercise 13 - System Analysis - Part 1

Exercise 13 - System Analysis - Part 1

In this exercise, you simulate the entire Rear Defog System. A simulation profile is created to capture the environment for analysis.

1.
Click Simulation from the main Rational Statemate window.
2.
Select File > New Profile from the profile window and enter “REAR_DEFOG_SIM” for the profile name that you are creating.
3.
Click Add Selected Chart with Descendents to Profile. This opens a Chart Tree View of your current design (refer to the following figure).
Chart Tree View
4.
Select the chart named 'REAR_DEFOG_SS' from the Chart Tree view and then click OK.
5.
Click Add Selected Panel to Profile from the Simulation profile window and add the panel to the profile that was created in the earlier exercise.
6.
Select File > Save from the Simulation window.
7.
Click Invoke Simulation Based on the Current Profile from the simulation window.
Note: The simulation execution window opens, as well as an executable model of the panel (Executable Panel). The panel allows you to make inputs and view outputs of the system design.
Executable Panel
8.
Click AutoRun to start simulating as in real-time mode.
9.
Use the panel to input changes into the system and view the effects on the activity-charts and statecharts, and verify that all transitions can be taken.