Up to 8320.0 generations ago, the population of the Z deme was steady at 4674. It then entered a phase of linear increase until 8006.241 generations and size 9059. Following this, there was a linear reduction to 6379 individuals, lasting until 6825.5. Since 6825.5 generations ago, the population has grew from 6379 to 8074 at a linear pace.
time_units: generations
demes:
  - name: Z
    start_time: .inf
    epochs:
      - start_size: 4674
        end_time: 8320.0
      - start_size: 4674
        end_size: 9059
        end_time: 8006.241
        size_function: linear
      - start_size: 9059
        end_time: 6825.5
        end_size: 6379
        size_function: linear
      - end_time: 0
        start_size: 6379
        end_size: 8074
        size_function: linear