SORTIE: a resource mediated, spatially-explicit and individual-tree model that simulates stand dynamics in both natural and managed forest ecosystems