# Running A Simulation

This section will display help on how to run simulation

#### Running Reaction Simulation

Once your have arrived at the reaction screen, you will be see a drop down menu with the different sizes of store to choose from, and a text box where you can either enter your own choice of number of customers, or use the predetermined values that are set for each store type by leaving the box blank. Next, you should look to the slider bar and the two buttons at the bottom of the screen. The slider bar represents the passage of time ; when it is to the far left, the simulation runs in realtime, and when it is furthest to the right, the simulation runs at a rate of hours per minute.

To run the simulation once you have chosen your required settings, simply click on the 'Start Simulation' button at the bottom of the screen. You should see a section of information for each of the tills in the store, containing various bits of information about each till, such as the number of customers currently on the till, and the rate at which the member of staff on the till is working. As the simulation runs, the customers will join the various tills as they make their way through the store, and eventually leave the store after having been checked out. The current customer on each till will have a happiness value shown when they get to the checkout, which will show how happy they are depending on how long they have been waiting in the queue for the checkout. To stop the simulation, simply click on the button which reads 'Stop Simulation', and the screen will be cleared, ready for another simulation to be run.

#### Running Prediction Simulation

To use this setting, you must start off by selecting a store type from the dropdown menu at the top of the screen. Once you have done this, all of the values on the screen should change to the default values for each store type, although you are free to change any of the values to whatever is necessary for the simulation you wish to run (within reason). Once you have done this, you will see that the total number of customers is automatically distributed among the 4 different profiles, although once again you may change these values if you wish. Once all the values have been entered, you need only click on the 'Simulate' button to run the simulation, and provide you with the average overall happiness throughout the store, as well as the average happiness of each customer profile and the average number of items bought by the customers who were in the store.

Once you have run the simulation, you can either click on 'Clear All' to clear all the values ready for another simulation, or you can click on the 'Views' button to be taken to the graph screen, where you can view the results represented in the form of an easy to read graph.