Learn R Programming

medfate (version 0.7.4)

spwb.day: Soil-plant water balance for a single day

Description

Function spwb.day performs water balance for a single day.

Usage

spwb.day(x, soil, date, tmin, tmax, rhmin, rhmax, rad, wind, 
        latitude, elevation, slope, aspect, prec, runon = 0.0)

Arguments

x

An object of class spwbInput.

soil

A list containing the description of the soil (see soil).

date

Date as string "yyyy-mm-dd".

tmin, tmax

Minimum and maximum temperature (in degrees Celsius).

rhmin, rhmax

Minimum and maximum relative humidity (in percent).

rad

Solar radiation (in MJ/m2/day).

wind

Wind speed (in m/s).

prec

Precipitation (in mm).

latitude

Latitude (in degrees). Required when using the 'Complex' transpiration mode.

elevation, slope, aspect

Elevation above sea level (in m), slope (in degrees) and aspect (in degrees from North). Required when using the 'Complex' transpiration mode.

runon

Surface water amount running on the target area from upslope (in mm).

Value

An object (a list) of class spwb.day with the following elements:

  • "cohorts": A data frame with cohort information, copied from spwbInput.

  • "WaterBalance": A vector of water balance components (rain, snow, net rain, infiltration, ...) for the simulated day, equivalent to one row of 'WaterBalance' object given in spwb.

  • "Soil": A data frame with results for each soil layer:

    • "SoilEvaporation": Water evaporated from the soil surface (in mm).

    • "HydraulicInput": Water entering each soil layer from other layers, transported via plant hydraulic network (in mm) (only for transpirationMode = "Complex").

    • "HydraulicOutput": Water leaving each soil layer (going to other layers or the transpiration stream) (in mm) (only for transpirationMode = "Complex").

    • "PlantExtraction": Water extracted by plants from each soil layer (in mm).

    • "psi": Soil water potential (in MPa).

  • "EnergyBalance": When using the 'Complex' transpiration mode, the model performs energy balance of the stand and 'EnergyBalance' is a list with the following:

    • "Temperature": A data frame with the temperature of the atmosphere ('Tatm'), canopy ('Tcan') and soil ('Tsoil.1', 'Tsoil.2', ...) for each time step.

    • "CanopyEnergyBalance": A data frame with the components of the canopy energy balance (in W/m2) for each time step.

    • "SoilEnergyBalance": A data frame with the components of the soil energy balance (in W/m2) for each time step.

  • "Plants": A data frame of results for each plant cohort. When using the 'Simple' transpiration mode this includes:

    • "LAI": Leaf area index of the plant cohort.

    • "Transpiration": Transpirated water (in mm) corresponding to each cohort.

    • "psi": Water potential (in MPa) of the plant cohort (average over soil layers).

    • "DDS": Daily drought stress [0-1] (relative whole-plant conductance).

    When using the 'Complex' transpiration mode the data frame "Plants" also includes columns:
    • "Extraction": Water extracted from the soil (in mm) for each cohort.

    • "RootPsi": Minimum water potential (in MPa) at the root collar.

    • "StemPsi": Minimum water potential (in MPa) at the stem.

    • "LeafPsi": Minimum water potential (in MPa) at the leaf.

    • "StemPLC": Proportion of conductance loss in stem.

    • "StemRWC": Relative water content of symplastic stem tissue.

    • "LeafRWC": Relative water content of symplastic leaf tissue.

    • "dEdP": Overall soil-plant conductance (derivative of the supply function).

  • "RhizoPsi": Minimum water potential (in MPa) inside roots, after crossing rhizosphere, per cohort and soil layer.

  • "PlantsInst": A list with instantaneous (per time step) results for each plant cohort:

    • "LAIsunlit": Leaf area index of sunlit leaves of the plant cohort.

    • "LAIshade": Leaf area index of shade leaves of the plant cohort.

    • "AbsRad": A list with four data frames containing the instantaneous absorved radiation for each plant cohort during each time step. The data frames are combinations of short-wave radiation (SWR) vs long-wave radiation (LWR) and sunlit leaves ('SL') vs. shade leaves ('SH').

    • "E": A data frame containing the cumulative transpiration (mm) for each plant cohort during each time step.

    • "An": A data frame containing the cumulative net photosynthesis (gC/m2) for each plant cohort during each time step.

    • "GWsunlit": A data frame containing instantaneous stomatal conductance (in mmol/m2/s) for sunlit leaves each plant cohort during each time step.

    • "GWshade": A data frame containing instantaneous stomatal conductance (in mmol/m2/s) for shade leaves each plant cohort during each time step.

    • "VPDsunlit": A data frame containing vapour pressure deficit (in kPa) for sunlit leaves each plant cohort during each time step.

    • "VPDshade": A data frame containing vapour pressure deficit (in kPa) for shade leaves each plant cohort during each time step.

    • "Tempsunlit": A data frame containing temperature (in degrees Celsius) for sunlit leaves each plant cohort during each time step.

    • "Tempshade": A data frame containing temperature (in degrees Celsius) for shade leaves each plant cohort during each time step.

    • "PsiRoot": A data frame containing root crown water potential (in MPa) for each plant cohort during each time step.

    • "PsiPlant": A data frame containing leaf water potential (in MPa) for each plant cohort during each time step.

    • "PLCstem": A data frame containing the proportion loss of conductance [0-1] for each plant cohort during each time step.

    • "RWCstem": A data frame containing the (average) relative water content of symplastic stem tissue [0-1] for each plant cohort during each time step.

    • "RWCstem": A data frame containing the relative water content of symplastic leaf tissue [0-1] for each plant cohort during each time step.

Details

Detailed model description is available in the vignettes section. The model using 'Simple' transpiration mode is described in De Caceres et al. (2015). Simulations using the 'Complex' transpiration mode are computationally much more expensive.

References

De C<U+00E1>ceres M, Mart<U+00ED>nez-Vilalta J, Coll L, Llorens P, Casals P, Poyatos R, Pausas JG, Brotons L. (2015) Coupling a water balance model with forest inventory data to predict drought stress: the role of forest structural changes vs. climate changes. Agricultural and Forest Meteorology (doi:10.1016/j.agrformet.2015.06.012).

See Also

spwbInput, spwb, spwbpoints, spwbgrid, spwb.ldrOptimization, forest

Examples

Run this code
# NOT RUN {
#Load example daily meteorological data
data(examplemeteo)

#Load example plot plant data
data(exampleforest)

#Default species parameterization
data(SpParamsMED)

#Initialize control parameters
control = defaultControl()

#Initialize soil with default soil params (2 layers)
examplesoil = soil(defaultSoilParams(2), W=c(0.5,0.5))


#Simulate one day only
x1 = forest2spwbInput(exampleforest,examplesoil, SpParamsMED, control)
d = 100
sd1<-spwb.day(x1, examplesoil, rownames(examplemeteo)[d],  
             examplemeteo$MinTemperature[d], examplemeteo$MaxTemperature[d], 
             examplemeteo$MinRelativeHumidity[d], examplemeteo$MaxRelativeHumidity[d], 
             examplemeteo$Radiation[d], examplemeteo$WindSpeed[d], 
             latitude = 41.82592, elevation = 100, slope=0, aspect=0,
             prec = examplemeteo$Precipitation[d])

#Initialize soil with default soil params (2 layers)
examplesoil2 = soil(defaultSoilParams(2))

#Switch to 'Complex' transpiration mode
control$transpirationMode="Complex"


#Simulate one day only
x2 = forest2spwbInput(exampleforest,examplesoil2, SpParamsMED, control)
d = 100
sd2<-spwb.day(x2, examplesoil2, rownames(examplemeteo)[d],
             examplemeteo$MinTemperature[d], examplemeteo$MaxTemperature[d], 
             examplemeteo$MinRelativeHumidity[d], examplemeteo$MaxRelativeHumidity[d], 
             examplemeteo$Radiation[d], examplemeteo$WindSpeed[d], 
             latitude = 41.82592, elevation = 100, slope=0, aspect=0,
             prec = examplemeteo$Precipitation[d])

#Plot plant transpiration (see function 'plot.swb.day()')
plot(sd2)

# }

Run the code above in your browser using DataLab