Create simulation code

Runs through a pre-populated data frame. Couldn't sort out how to join the model data frame to the simulation data frame.