def _get_rand(microsim_model, N=100):
    """Get a random number using the PopulationInitialisation object's random number generator"""
    for _ in range(N):
        microsim_model.random.random()
    return microsim_model.random.random()