An Approach To Automating Data Collection For Simulation