Prepared simulation to run offline and store results in database