Ecological modelling