Until 9667.444 generations ago, the Z deme's population was fixed at 9639. From 9667.444 to 2525.882, it underwent a exponential reduction to 5869 individuals. Then, a linear decrease brought the count to 592 by 2477.1. Since then, from 2477.1 generations to the current day, the population has changed from 592 to 9368 at a exponential rate.
time_units: generations
demes:
  - name: Z
    start_time: .inf
    epochs:
      - start_size: 9639
        end_time: 9667.444
      - start_size: 9639
        end_size: 5869
        end_time: 2525.882
        size_function: exponential
      - start_size: 5869
        end_time: 2477.1
        end_size: 592
        size_function: linear
      - end_time: 0
        start_size: 592
        end_size: 9368
        size_function: exponential