The Z deme had a size of 437 until 6677.7139 generations ago. From 6677.7139 generations to time 3282.0255, its size grew linearly to 991 individuals. After that, until 237.7, the population had a linear increase to 9023 individuals. It then reduced from 9023 to 6299, starting 237.7 generations ago, until current times, at a exponential rate.
time_units: generations
demes:
  - name: Z
    start_time: .inf
    epochs:
      - start_size: 437
        end_time: 6677.7139
      - start_size: 437
        end_size: 991
        end_time: 3282.0255
        size_function: linear
      - start_size: 991
        end_time: 237.7
        end_size: 9023
        size_function: linear
      - end_time: 0
        start_size: 9023
        end_size: 6299
        size_function: exponential