setTreatment {landsepi}R Documentation

Set chemical treatments

Description

Updates a LandsepiParams object with treatment parameters

Usage

setTreatment(params, treatment_params)

Arguments

params

a LandsepiParams Object.

treatment_params

list of parameters related to pesticide treatments:

  • treatment_degradation_rate = degradation rate (per time step) of chemical concentration,

  • treatment_efficiency = maximal efficiency of chemical treatments (i.e. fractional reduction of pathogen infection rate at the time of application),

  • treatment_timesteps = vector of time steps corresponding to treatment application dates,

  • treatment_cultivars = vector of indices of the cultivars that receive treatments,

  • treatment_cost = cost of a single treatment application (monetary units/ha)

  • treatment_application_threshold = vector of thresholds (i.e. disease severity, one for each treated cultivar) above which the treatment is applied in a polygon.

Details

Chemical treatment is applied in a polygon only if disease severity (i.e. I/N) in this polygon exceeds the threshold given by treatment_application_threshold. Treatment efficiency is maximum (i.e. equal to the parameter treatment_efficiency) at the time of treatment application (noted t*); then it decreases with time (i.e. natural pesticide degradation) and host growth (i.e. new biomass is not protected by treatments): protected by treatments):Efficiency of the treatment at time t after the application date is given by: efficiency(t) = treatment\_efficiency / (1 + exp(a-b*C(t))) with C(t)= C_1 * C_2:

An empty list of treatments (i.e. absence of application) can be loaded using loadPathogen.

Value

a LandsepiParams object

See Also

loadTreatment

Examples

## Not run: 
t <- loadTreatment()
simul_params <- setTreatment(simul_params, t)
simul_params@Treatment

## End(Not run)

[Package landsepi version 1.4.0 Index]