View source: R/model_Shuttleworth_Wallace.R
| Model_SW | R Documentation |
Simulation of evapotranspiration using Shuttleworth-Wallace model
Model_SW(data, param)
data |
A data box. Contains the daily data required by the model. You can refer to the function create_modelData() GroundwaterDepth is water-table depth measured from the soil surface (m); the models subtract rootDepth to obtain Dw below the root zone. |
param |
A list. Contains additional parameters; rootDepth and canopy Height are in metres. Soil$zs0 defaults to 0.004 m, Soil$PHI_p (porosity) defaults to 0.42, and plant$p defaults to 0.5 when omitted. |
Redistribution is dynamic, with no field-capacity parameter. After capillary rise, root storage above saturation is added to pd2 and removed from THETA_2 to preserve water balance. This is a saturation safeguard, not the FAO-56 same-day field-capacity assumption. Capillary-rise Wa remains previous-day THETA_2 in mm.
A list for the model result including a data frame of daily model result ,a list of plots, A data frame of summary data
The stages of data should include all four stages. If a crop has multiple growth cycles, each cycle should include all four stages.
Teh, C.B.S. (2015). Building Mathematical Models in Excel: A Guide for Agriculturists. Universal-Publishers, Boca Raton, Florida, USA.
library(simET)
#--Data preparation
data("FIalfalfa")
#--Parameter preparation
param_SW<-list(
plant=list(
#the canopy extinction coefficient for net radiation
kRn=0.3,
alpha_plant=0.3,#Canopy reflectance
w=0.01,#Leaf width
Lmax=10,#Maximum leaf area index
a1=10,# Leaf stomatal resistance coefficients
a2=0.005,# Leaf stomatal resistance coefficients
p=0.5,#the param of reduction factor for T
rootDepth=1.2 #Maximum root depth
),
Soil=list(
zs0=0.004,#The soil surface roughnesslength (m)
tau2=2,#Soil tortuosity
PHI_p=0.42, #Soil porosity
#The soil pore-size distribution index
#from the Brooks-Corey equation.
lambda_p=0.18,
l1=0.02,#Depth of the surface soil layer (m)
l2=1.2,#Depth of the root layer (m)
#Saturation water content of evaporation layer
THETA_v_sat_1=0.36,
THETA_v_sat_2=0.40, #Saturation water content of root layer
THETA_start_1=0.2,#Initial water content of evaporation layer
THETA_start_2=0.36,#Initial water content of root layer
THETA_wp1=0.15,#Wilting point of evaporation layer
THETA_wp2=0.15,#Wilting point of root layer
#Empirical coefficient of evaporation layer.
#13 for homogenous soil
alpha1=14,
alpha2=14,#Empirical coefficient of root layer.
#Saturated hydraulic conductitity of evaporation layer
Ksat_1=13.52,
Ksat_2=0.02,#Saturated hydraulic conductitity of root layer
#Capillary rise model parameters
CR_param=c(430,-0.32,313,-0.16,-1.4,6.8,0.5,-0.98)
),
Mete=list(
nu=2,#The wind speed extinction coefficient
nK=2, #The eddy diffusivity extinction coefficient(taken as 2)
zr=2, #The reference height (m)
##The vapor diffusion coefficient in air (24.7 10-6 m2 s-1)
Dm_v=24.7*10^(-6),
deltaT=1 #Time step difference (day)
)
)
#--Run model
Re_SW<-Model_SW(data = FIalfalfa, param = param_SW)
#--The Result data
Re_SW$Result
Re_SW$Plot
#--The goodness Of Fit
estimate_goodnessOfFit(Sim = Re_SW$Result$Sim_SoilWater,
Obs = Re_SW$Result$SoilWater)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.