01_light_switch.sct and select
Run As → Statechart Simulation in the context menu.
The simulation starts and shows the light switch model in its
off state. The rectangle named
Off is highlighted in yellow, meaning it is the active state.
At the right side of the window, the simulation view is located. In this view, you can change variable values and raise events during a simulation run. Click on the small triangle left from
internal to unfold the
operate link. This link represents the
operate event to switch the light on or off.
Click on the
operate link. The active state changes accordingly from