Until 6022.9171 generations ago, the Z deme's population was fixed at 104. From 6022.9171 to 5723.9, it underwent a linear change to 979 individuals. Then, a linear growth brought the count to 2691 by 503.0. Since then, from 503.0 generations to the current day, the population has increased from 2691 to 8061 at a linear rate.
time_units: generations
demes:
  - name: Z
    start_time: .inf
    epochs:
      - start_size: 104
        end_time: 6022.9171
      - start_size: 104
        end_size: 979
        end_time: 5723.9
        size_function: linear
      - start_size: 979
        end_time: 503.0
        end_size: 2691
        size_function: linear
      - end_time: 0
        start_size: 2691
        end_size: 8061
        size_function: linear