Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into development
Browse files Browse the repository at this point in the history
  • Loading branch information
CeresBarros committed Jun 7, 2024
2 parents d3b3bb2 + 6b60eeb commit d2d0738
Show file tree
Hide file tree
Showing 3 changed files with 140 additions and 87 deletions.
37 changes: 21 additions & 16 deletions Biomass_core.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,9 @@ no longer generates initial cohort biomass conditions using a spin-up based on
initial stand age like LANDIS-II (`"spin-up"`), nor does it attempt to fill
initial cohort biomasses using `biomassMap`.

**Plotting and saving** - `.plots` -- activates/deactivates plotting and defines
**Plotting and saving**

- `.plots` -- activates/deactivates plotting and defines
type of plotting (see `?Plots`);

- `.plotInitialTime` -- defines when plotting starts;
Expand All @@ -701,8 +703,9 @@ type of plotting (see `?Plots`);
- `successionTimestep` -- defines frequency of dispersal/local recruitment
event (growth and mortality are always yearly);

**Other**\
- `mixedType` -- how mixed forest stands are defined;
**Other**

- `mixedType` -- how mixed forest stands are defined;

- `vegLeadingProportion` -- relative biomass threshold to consider a species
"leading" (i.e., dominant);
Expand Down Expand Up @@ -750,6 +753,8 @@ panble(df_outputs, caption,
kable_stylingArgs = list(full_width = TRUE))
```

\elandscape

[^biomass_core-5]: see `?SpaDES.core::outputs`

### Simulation flow and module events {#sim-flow}
Expand Down Expand Up @@ -778,25 +783,25 @@ regeneration module (e.g., *Biomass_regeneration*);

4. Seed dispersal (every `successionTimestep`; `Dispersal` event):

- seed dispersal can be a slow process and has been adapted to occur every
10 years (default `successionTimestep`). The user can set it to occur
more/less often, with the caveat that if using *Biomass_borealDataPrep*
to estimate species establishment probabilities, these values are
integrated over 10 years.
- see @SchellerDomingo2012 for details on dispersal algorithms.
- seed dispersal can be a slow process and has been adapted to occur every
10 years (default `successionTimestep`). The user can set it to occur
more/less often, with the caveat that if using *Biomass_borealDataPrep*
to estimate species establishment probabilities, these values are
integrated over 10 years.
- see @SchellerDomingo2012 for details on dispersal algorithms.

5. Growth and mortality (`mortalityAndGrowth` event):

- unlike dispersal, growth and mortality always occur time step (year).
- see @SchellerMladenoff2004 for further detail.
- unlike dispersal, growth and mortality always occur time step (year).
- see @SchellerMladenoff2004 for further detail.

6. Cohort age binning (every `successionTimestep`; `cohortAgeReclassification`
event):

- follows the same frequency as dispersal, collapsing cohorts (i.e.,
summing their biomass/mortality/aNPP) to ages classes with resolution
equal to `successionTimestep`.
- see @SchellerMiranda2015 for further detail.
- follows the same frequency as dispersal, collapsing cohorts (i.e.,
summing their biomass/mortality/aNPP) to ages classes with resolution
equal to `successionTimestep`.
- see @SchellerMiranda2015 for further detail.

7. Summary tables of regeneration (`summaryRegen` event), biomass, age, growth
and mortality (`summaryBGM` event);
Expand Down Expand Up @@ -1173,7 +1178,7 @@ mySim <- simInitAndSpades(times = times,
debug = TRUE)
```

```{r fig-Biomass-coreOutPlots, echo = FALSE, eval = TRUE, fig.show='hold', out.width = "50%", fig.cap = "(ref:Biomass-core) automatically generates simulation visuals of species dynamics across the landscape in terms of total biomass, number of presences and age and productivity (above), as well as yearly plots of total biomass, productivity, mortality, reproduction and leading species in each pixel (below)."}
```{r fig-Biomass-coreOutPlots, echo = FALSE, eval = TRUE, fig.show='hold', out.width = ifelse(knitr::is_latex_output(), "100%", "80%"), fig.cap = "(ref:Biomass-core) automatically generates simulation visuals of species dynamics across the landscape in terms of total biomass, number of presences and age and productivity (above), as well as yearly plots of total biomass, productivity, mortality, reproduction and leading species in each pixel (below)."}
knitr::include_graphics(normPath(c("figures/Biomass_coreOutPlots1.png",
"figures/Biomass_coreOutPlots2.png")))
```
Expand Down
Loading

0 comments on commit d2d0738

Please sign in to comment.