output the state of a population during simulations