Skip to content

Population modelling

Population modelling is a tool for analysing complex systems in epidemiology, agriculture, ecology and beyond. Models driven by differential equations are able to help in predicting the behaviour of these systems, which may exhibit complex interactions, feedback loops, and sensitivity to initial conditions.

This set of tutorials covers basic examples on how to use psymple to model populations and interactions between them. They are arranged roughly in order of complexity, with some examples following on from previous ones. Earlier examples often contain more comments on the implementation choices than later ones.

  • Malthusian growth


    The most basic model for a population undergoing exponential growth.

    Get started

  • Logistic growth


    A model which limits the exponential growth of Malthusian populations.

    Get started

  • Predator-prey dynamics


    A model which captures the two-way interactions between two species.

    Get started