InitMultiSite: Initialization of multiPrebas forest model

View source: R/multiSitePrebas.r

InitMultiSiteR Documentation

Initialization of multiPrebas forest model

Description

This function runs InitMultiSite model, which initializes the needed variables for function multiPrebas().

Usage

InitMultiSite(nYearsMS, pCROBAS = pCROB, pHcMod = pHcM, pPRELES = pPREL, etmodel = 0, pYASSO =pYAS, pAWEN = parsAWEN, siteInfo = NA, multiInitVar = NA, multiThin = NA, multiNthin = NA, multiInitClearCut = NA, fixBAinitClarcut = 1, initCLcutRatio = NA, areas = NA, PAR, TAir, VPD, Precip, CO2, multiP0=NA, soilC = NA, weatherYasso = NA, litterSize = litterSizeDef, soilCtot = NA, defaultThin = 1, ClCut = 1, energyCut = 0, inDclct = NA, inAclct = NA, yassoRun = 0, smoothP0 = 1, smoothETS = 1, smoothYear=5, HcModV= 2, tapioPars=pTapio, thdPer = NA, limPer = NA, ftTapioPar = ftTapio, tTapioPar = tTapio, GVrun = 1)

Arguments

nYearsMS

(1 x nSites vector) Number of years to run the model in each site.

pCROBAS

(47 x nSpecies matrix) Matrix of parameter sets, each column corresponds to a species. Default values pCROBAS = pCROB are the parameter sets for Scots pine (Pinus sylvestris), Norway spruce (Picea abies), Silver birch (Betula pendula), European beech (Fagus sylvatica), Maritime pine (Pinus pinaster), Blue gum (Eucalyptus globulus), Black locust (Robinia pseudoacacia), Populus(in Romania), Eucalyptus grandis x Eucalyptus urophylla (in Paraguay), Norway spruce(in Germany), and holm oak (Quercus ilex). print(pCROB) to see the parameter values and names.

pHcMod

(nSites x nSpecies matrix) Default values pHcMod = pHcM with columns 1: Scots pine (pisy), 2: Norway Spruce (piab), 3: Silver birch (beal), 4: European beech (fasy), 5: Maritime pine (pipi), 6: Blue gum (eugl), 7: Black locust (rops), 8: Poplar(popu), 9: Eucalyptus grandis x Eucalyptus urophylla (eugrur), 10:Norway spruce in Germany(piab(DE)).

pPRELES

(1 x 30 vector) Parameter vector for PRELES model. Default values (pPRELES = pPREL) is the calibration for European Boreal forests (Minunno et al. 2016)

etmodel

(Value -1, 0, 1 or 2) Evapotranspiration model for PRELES. Default etmodel = 0. (Package Rpreles, Peltoniemi et al., 2015)

pYASSO

(1 x 35 vector) Parameter vector for YASSO model. Default pYASSO = pYAS (Liski et al., 2017)

pAWEN

(12 x nSpecies matrix) Matrix of parameter sets for partitioning tree organs (foliage, branch and woody) in AWEN pools. Columns referes to different species. Note that the columns of pAWEN must correspond to the species of pPRELES. Default pAWEN = parsAWEN are for 1: Scots pine (pisy), 2: Norway Spruce (piab), 3: Silver birch (beal), 4: European beech (fasy), 5: Maritime pine (pipi), 6: Blue gum (eugl), 7: Black locust (rops), 8: Poplar(popu), 9: Eucalyptus grandis x Eucalyptus urophylla (eugrur), 10:Norway spruce in Germany(piab(DE)),11:Quercus ilex (quil).

siteInfo

(nSites x 12 Matrix) Matrix of site info: SiteID, climID, siteType, SWinit (initial soil water), CWinit (initial crown water), SOGinit (initial snow on ground), Sinit (initial temperature acclimation state), nLayers, nSpecies, soildepth, effective field capacity, permanent wilthing point. Default = c(1,1,3, 160, 0, 0, 20, 413.,0.45, 0.118), i.e. siteType = 3.

Give for homogeneous sites as siteInfo <- matrix(c(NA,NA,3,160,0,0,20,nLayers,3,413,0.45,0.118),nSites,12,byrow = T) # Set site index values to siteInfo columns 1-2 siteInfos[,2] <- siteInfos[,1] <- 1:nSites

multiInitVar

(nSite x 7 x nLayer matrix) Matrix with initial stand values for all the tree strata in each site. Third dimension corresponds to the layers in the stand. Initial information needed are: SpeciesID (a number corresponding to the species parameter values of pPRELES columns), Age (years), average height of the layer (H, m), average diameter at breast height of the layer (D, cm), basal area of the layer (BA, m2 ha-1), average height of the crown base of the layer (Hc, m). 8th column is updated automatically to Ac.

If initVar is not provided the model is initialized from plantation using default planting parameters (see initClearcut) and assuming that Pine, Spruce and Birch are equally present at plantation.

multiThin

A array with thinnig inputs. Three dimensions: nSites x maxThin x 9. The first dimension is the number of sites. The second dimension, maxThin, is the number of thinnings. For the third demention, element 1 is year from the start of the simulation; element 2 is siteID; element 3 layer where thinnings are carried out; element 4 to 7 stand variables (H, D, B, Hc); element 8 parameter that indicates if the stand variables (column 4:7) are provided as fraction of the actual model outputs (value=1 means that fraction is used); element 9 is the stand density after thinning if its value is not -999;colum 10 is Sapwood area of average tree at crown base (m2) if its value is not -999.

multiNthin

?

multiInitClearCut

?

fixBAinitClarcut

?

initCLcutRatio

?

areas

(1 x nSites vector) Areas of the sites (Which unit)?

PAR

(nSites x nYears*365 matrix) A numeric matrix of daily sums of photosynthetically active radiation, mmol/m2, for each site.

TAir

(nSites x nYears*365 matrix) A numeric matrix of daily mean temperature, degrees C, for each site.

VPD

(nSites x nYears*365 matrix) A numeric matrix of daily mean vapour pressure deficits, kPa, for each site.

Precip

(nSites x nYears*365 matrix) A numeric matrix of daily rainfall, mm, for each site.

CO2

(nSites x nYears*365 matrix) A numeric matrix of air CO2, ppm, for each site.

multiP0

?? (? x ? matrix/vector) A numeric vector with the annual potential photosynthesis (gC m-2 y-1). If P0 is not provided PRELES is used to compute P0 using fAPAR = 1. (ADD REFERENCE!)

soilC

??? (nSites x 5 x 3 x nLayers array) Initial soil carbon compartments for each layer. Array with dimensions = c(nYears,5,3,nLayers). The second dimension (5) corresponds to the AWENH pools; the third dimension (3) corresponds to the tree organs (foliage, branch and stem). (ADD REFERENCE?)

weatherYasso

(nSites x nYears matrix/vector) Annual weather inputs for Yasso. (Which variables, which units?)

-> Can these be calculated from the other weather inputs??

litterSize

(nSites x ? x ? matrix) Marix with litter inputs for YASSO. Rows are tree organs, columns correspond to the layers. (REFERENCE??)

soilCtot

?? (? x ? matrix/vector/array) Vector with total initial soil carbon

defaultThin

If defaultThin = 1 (default) Finnish standard management practices are applied (REFERENCE?), otherwise if defaultThin = 0, ???. (REFERENCE)

ClCut

If ClCut = 1 clearcuts are applied. If inDclct = NA and inAclct = NA Finnish standard clearcut practices are applied (REFERENCE).

energyCut

Energy cutting strategy is applied when set to 1. Default value is 0.

inDclct

(nSites x nLayer matrix??) Vector of Diameter (cm) threshold for clearcut. Each element correspond to a layer of the stand, if only one value is provided the same value is applied to all the layers. The different elements of the vector are for the different layers. The dominant species (highest basal area) is considered for clearcut.

inAclct

(nSites x nLayer matrix??) Vector of Age (year) threshold for clearcut. Each element correspond to a layer of the stand, if only one value is provided the same value is applied to all the layers. The different elements of the vector are for the different layers. The dominant species (highest basal area) is considered for clearcut.

yassoRun

If yassoRun=1 the YASSO model is run to compute the carbon balance of the soil. Default value = 0.

smoothP0

?? Default = 1

smoothETS

?? Default value = 1

smoothYear

?? Default value smoothYear = 5

HcModV

Default HcModV=2. Version of model to compute Hc. 1: use the version of based on ksi parameter, 2: use the empirical model. (REFERENCE??)

tapioPars

(? x ? matrix) Thinning parameters. Default tapioPars= pTapio for conifers and decisuous trees (What is given in parameter values??) (REFERENCE?)

thdPer

??

limPer

??

ftTapioPar

(? x ? matrix) parameters for the first thinning. Default ftTapioPar = ftTapio for pine, spruce and birch (betula pendula).

tTapioPar

Default tTapioPar = tTapio

GVrun

1 if ground vegetation model is run, otherwise 0. Default GVrun = 1

Value

output

An array of initial values and matrices needed for function multiPrebas().

These outputs need to be checked, they are now directly the outputs of prebas()-function!

An array with annual model outputs. 1st dimension corresponds to the number of years of the simulation (nYears); 2nd dimension corresponds to the output variables (see list below); 3rd dimension corresponds to the number of layers in the stand (nLayers); 4th dimensions reports the state of the stand (1) and (2) the variables of the harvested trees (2).

Output variables: 1."siteID"
2."climID"
3."sitetype"
4."species"
5."ETS" effective temperature sums
6."P0" Potential annual gross primary production (gC m-2 y-1)
7."age" Age of the layer (years)
8."DeadWoodVolume" Dead wood volume (m3 ha-1)
9."Respi_tot" Autotrophic respiration (gC m-2 y-1)
10."GPP/1000" Total GPP (kgC m-2 y-1)
11."H" Layer average height (m)
12."D" Layer average diameter at breast height (cm)
13."BA" Layer basal area (m-2 ha-1)
14."Hc_base" Base of crown height (m)
15."Cw" Crorn width (m)
16."A" Sapwood area of average tree at crown base (m2)
17."N" Layer density
18."npp" net primary production (gC m-2 y-1)
19."leff" Effective leaf area
20."keff" Effective light extintion coefficient
21."lproj" Projected leaf area
22."ET_preles" Annual evapotranspiration (mm y-1)
23."weight" Layer weight on photosynthesis
24."Wbranch" Branch biomass (kgC ha-1)
25."WfineRoots" Fine roots biomass (kgC ha-1)
26."Litter_fol" Foliage litter (kgC ha-1)
27."Litter_fr" Fine root litter (kgC ha-1)
28."Litter_branch" Branch litter (kgC ha-1)
29."Litter_wood" Woody litter (kgC ha-1)
30."V" Layer volume (m3 ha-1)
31."Wstem" Stem Biomass (kgC ha-1)
32."W_croot" Course root Biomass (kgC ha-1)
33."wf_STKG" Foliage biomass (kgC ha-1)
34."wf_treeKG" Foliage biomass of the average tree (kgC ha-1)
35."B_tree" Basal area of average tree (m2)
36."Light" light interseption
37."Vharvested" harvested volume (m3 ha-1)
38."Wharvested" haversted biomass (kgC ha-1)
39."soilC" totaal soil carbon (kgC ha-1)
40."aSW" average available soil water (mm)
41."summerSW" summer soil water (mm)
42."Vmort" volume of dead trees (m3 ha-1)
43."gross growth" (m3 ha-1 y-1)
44."GPPspecies" Gross primary production per layer (gC m-2 y-1)
45."Rh species" (gC m-2 y-1)
46."NEP sp" Net ecosystem exchange (gC m-2 y-1)

dailyPRELES

Matrix with daily output from preles. 1st column is the daily GPP (gC m-2 d-1), 2nd column daily evapotranspiration (mm m-2), 3rd column daily soil water (mm -2).

Author(s)

Virpi Junttila

References

Minunno et al. 2016

Liski et al., 2017

Examples

##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

  

ForModLabUHel/Rprebasso documentation built on April 13, 2025, 10:48 a.m.