The S deme had a size of 7431 until 5171.27 generations ago. From 5171.27 generations to time 2492.4492, its size increased linearly to 8621 individuals. After that, until 230.05, the population had a linear decrease to 6408 individuals. It then changed from 6408 to 2962, starting 230.05 generations ago, until current times, at a linear rate.
time_units: generations
demes:
  - name: S
    start_time: .inf
    epochs:
      - start_size: 7431
        end_time: 5171.27
      - start_size: 7431
        end_size: 8621
        end_time: 2492.4492
        size_function: linear
      - start_size: 8621
        end_time: 230.05
        end_size: 6408
        size_function: linear
      - end_time: 0
        start_size: 6408
        end_size: 2962
        size_function: linear