knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
The R coefficient (MJ.mm/ha/h/yr) is defined as the long-term average of the product of the kinetic energy of a storm and the maximum 30 min intensity [@renard1991rusle]:
$$R = \frac{1}{n} \sum_{j=1}^{n} \sum_{k=1}^{m_j} (EI_{30})_{k}$$
where
The erosivity $EI_{30}$ (MJ.mm/ha/h) is equal to:
$$EI_{30} = \left( \sum_{r=1}^{m} e_r \cdot v_{r} \right) \cdot I_{30}$$
where:
The quantity $e_r$ can be calculated for each $r$ using one of the kinetic energy equations:
In the above equations $i_r$ is the rainfall intensity (mm/hr) and $e_r$ is the kinetic energy per unit of rainfall (MJ/ha/mm) for the interval $r$.
The rules that apply in order to single out the storms causing erosion and to divide rainfalls of large duration are:
This is an example that uses the internal data set in order to compute the corresponding rainfall erosivity values.
library(hyetor) library(tibble) library(dplyr) library(lubridate) # view data prec5min
The following code can be used to:
a) Fill the time-series. b) Compute the rainfall erosivity values per storm. c) Filter the above values using cumulative precipitation height and maximum 15 minutes intensity rules.
ei_values <- prec5min %>% hyet_fill(time_step = 5, ts_unit = "mins") %>% hyet_erosivity(time_step = 5) %>% filter(cum_prec > 12.7 | max_i15 > 4 * 6.4) ei_values
After the calculation of $EI30$ values the $R$ coefficient can be computed with:
# add years and months variables ei_values <- ei_values %>% mutate( year = year(begin)) # compute R R_coeff <- ei_values %>% group_by(year) %>% summarise(R = sum(erosivity)) %>% ungroup() %>% summarise(R = mean(R)) %>% unlist() R_coeff
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.