API reference for plants modules#
The plants module provides
the PlantsModel
implementation for use in the Virtual Ecosystem.
The main submodule is plants_model submodule,
which provides the PlantsModel
class as the main API to initialise and update the plants model.
The other submodules include:
The
model_configsubmodule provides configuration options for the model along with constants used in the model.The
functional_typessubmodule implements the handling of individual plant functional types and the overall flora definition to be used in a simulation.The
communitiessubmodule provides thePlantCommunitiesclass which maps each grid cell on to a representation of the plant community within that cell. Each grid cell has a singlepyrealm.demography.community.Communityobject that contains includes apyrealm.demography.community.Cohortsinstance describing the size-structured cohorts of different plant functional types within the grid cell.The
canopysubmodule provides code to calculate the complete canopy structure across all cohorts for the plant community present in a particular grid cell.