Until 5979.0 generations ago, the Z deme's population was fixed at 8585. From 5979.0 to 4344.0, it underwent a linear reduction to 5618 individuals. Then, a linear change brought the count to 1282 by 179.26. Since then, from 179.26 generations to the current day, the population has changed from 1282 to 7381 at a linear rate.
time_units: generations
demes:
  - name: Z
    start_time: .inf
    epochs:
      - start_size: 8585
        end_time: 5979.0
      - start_size: 8585
        end_size: 5618
        end_time: 4344.0
        size_function: linear
      - start_size: 5618
        end_time: 179.26
        end_size: 1282
        size_function: linear
      - end_time: 0
        start_size: 1282
        end_size: 7381
        size_function: linear