For the W deme, the population size remained at 6066 until 9773.2 generations ago, at which point a linear change took place until 7890.82 generations for size 8651. Afterward, the population saw an exponential increase to 9397 by 1846.0. From 1846.0 generations ago to today, there's been a linear reduction from 9397 to 7200.
time_units: generations
demes:
  - name: W
    start_time: .inf
    epochs:
      - start_size: 6066
        end_time: 9773.2
      - start_size: 6066
        end_size: 8651
        end_time: 7890.82
        size_function: linear
      - start_size: 8651
        end_time: 1846.0
        end_size: 9397
        size_function: exponential
      - end_time: 0
        start_size: 9397
        end_size: 7200
        size_function: linear