def _run_simulation(simulation, sid = None, full_results = True):
    """ Helper function for Parralel computation of several simulations.
    Returns list of dictionaries of results for a particular simulation with id and policy
    type added
    """
    simulation.run()
    if full_results:
        result = simulation.results
    else:
        result = [simulation.results[-1]]
    # put simulation identifier
    for step_results in result:
        step_results.update({'id':sid,
                          'policyType': simulation.policy.__class__.__name__,
                          })
    return result