Introduction and Getting Started > Working with the supplied example models > Traffic Lights simulation > Starting the Traffic Lights simulation
  
Starting the Traffic Lights simulation
1. From Modeler, open the Traffic Lights model that resides in the Examples repository (see instructions).
2. If the State Simulation toolbar is not shown, on the View menu, point to Toolbars, and then click State Simulation.
3. On the State Simulation toolbar, ensure that the following buttons are selected, that is, depressed:
Enable Animation button.
Enable Open Diagram Mode.
Enable Notification Logging to the Output Pane button.
4. From Windows Explorer, double-click the Traffic Lights application (TrafficLightsUI.exe).
If you have installed Modeler to the default location, the path of the TrafficLightsUI.exe file is as follows:
C:\ProgramData\PTC Integrity Modeler\Example\Traffic Lights\vb\TrafficLightsUI.exe
5. From the Traffic Lights application, ensure that the Auto-launch check box is selected.
6. Click the Start button.
After starting the simulation:
The Traffic Lights application connects to Modeler.
Modeler loads the Listener.dll.
Modeler opens the instance diagrams required to animate the simulation. On the instance diagrams, the red outline indicates the active state in the state machine.
The Output pane of Modeler records a log of the simulation session.
You can now interact with the simulation through the Traffic Lights application.
You can use Modeler to inject Events and Operations, and set the values of Attributes. For more information, see Injecting an Operation into a Simulation.
For information about interacting with the simulation, see the Related Topics.