LANDIS-II-Foundation / Extension-Biomass-Succession

Biomass-based succession extension for LANDIS-II
https://sites.google.com/site/landismodel/extensions/biomass-succession
Apache License 2.0
4 stars 9 forks source link

Initial biomass incorrect for multiple cohorts when using 1-year timestep #4

Closed brmiranda closed 7 years ago

brmiranda commented 8 years ago

When using a 1-year timestep and multiple cohorts are added to a site within the same timestep, they are added in order of the species list. When the second (or later) cohort is added, the presence of the first added cohort should not be included in the calculation of current biomass on the site. Cohorts added within the same timestep should have no impact on each other because none can be determined to be added first. The issue only occurs when using a 1-year timestep because cohort.Age = PlugIn.SuccessionTimeStep even though the cohort was added in the current timestep.

brmiranda commented 7 years ago

Issue has been resolved in branch 'Issue4'.