
These are the steps to be followed to Runt the simulation successfully.Follow there to run the simulation:

1. Open the Drivethru.ma file

2. Click on build model button on the tool bar.make sure Drivethru.ma is selected.

3. The compiler will generate the makefile and compile the code.There should be no errors before it runs.

4. Once the code is compiled click on the simulation button.
5. Click on the load.bat button on the lower left corner of the window.Select the drive1.bat file to import the settings for simulation.

6. The coupled model should be Drivethru.ma,The event file name should be customers.ev,the output file name should be DrivethruOUT.out and the log file should be DrivethruLOG.log

7. Click on Start simulation button.

8. Once the simulation finishes successfully , click on Animate coupled model button on the toolbar.

9. Choose the coupled model as Drivethru.ma and log file as DrivethruLOG.log and Press ok with other default values.

10.In the simulation window press the start button with default values.We can now visualize the simulation.