soil multi-layered

Usage

soilML(precipt, CanopyT, cws, soilDepth, FieldC, WiltP, phi1 = 0.01, phi2 = 10, wsFun = c("linear", "logistic", "exp", "none"), rootDB, soilLayers = 3, LAI, k, AirTemp, IRad, winds, RelH, soilType = 10, hydrDist = 0, rfl = 0.3)

Arguments

precipt
Precipitation (mm).
CanopyT
Canopy transpiration.
cws
Current water status. Vector of length equal to soilLayers.
soilDepth
Rooting depth.
FieldC
Field capacity.
WiltP
Wilting point.
phi1
See wtrstr.
phi2
See wtrstr.
wsFun
See wtrstr.
rootDB
Root biomass (Mg/ha).
soilLayers
Integer used to specify the number of soil layers.
LAI
Leaf area index.
k
Light extinction coefficient.
AirTemp
Air temperature (Celsius).
IRad
Direct irradiance (\mu m^-2 s^-1).
winds
Wind speed (m/s).
RelH
Relative humidity (0-1).
soilType
See showSoilType.
hydrDist
Zero or otherwise positive integer. Zero does not calculate hydraulic distribution, otherwise does.
rfl
Root factor lambda. A Poisson distribution is used to simulate the distribution of roots in the soil profile and this parameter can be used to change the lambda parameter of the Poisson.

Value

optiontocalculaterootdept

rootfrontvelocity

dap

matrix with 8 (if hydrDist=0) or 12 (if hydrDist > 0).

Description

Simulates soil water content for a layered soil.

Examples

layers <- 5 ans <- soilML(precipt=2, CanopyT=2, cws = rep(0.3,layers), soilDepth=1.5, FieldC=0.33, WiltP=0.13, rootDB=2, soilLayers=layers, LAI=3, k=0.68, AirTemp=25,IRad=500, winds=2, RelH=0.8, soilType=6, hydrDist=1) ans
cws rootATdepth waterIn layerDepth CanopyTra SoilEvap wsPhoto [1,] 0.3006469 2 0.002 0.3 2 0.05921622 0.8387243 [2,] 0.3013333 0 0.002 0.3 0 0.00000000 0.8444444 [3,] 0.3013333 0 0.002 0.3 0 0.00000000 0.8444445 [4,] 0.3013381 0 0.002 0.3 0 0.00000000 0.8444844 [5,] 0.3013333 0 0.002 0.3 0 0.00000000 0.8444444 wsSpleaf drainage J_w K_psim psim [1,] 0.5358804 1.438281e-06 -1.437973e-06 4.027791e-08 -45.41469 [2,] 0.5482416 1.438281e-06 -1.439820e-06 4.027791e-08 -45.41469 [3,] 0.5482417 1.438281e-06 -1.439819e-06 4.027791e-08 -45.41468 [4,] 0.5483288 1.438281e-06 -1.438281e-06 4.028654e-08 -45.41091 [5,] 0.5482416 1.438281e-06 -1.438281e-06 4.028654e-08 -45.41091

See also

See Also wtrstr.

Author

Fernando E. Miguez