A general subpopulation model for the Animal Landscape and Man Simulation System (ALMaSS) (Food and Ecological Systems Modelling Journal, 2024)