R/max_gap_factor.R

Defines functions max_gap_factor_fun

Documented in max_gap_factor_fun

#' Effect of gap size on maximum bending moment
#' @title Maximum Gap Factor
#' @param gap_size Length of the upwind gap (m).
#' @param ht Height of the tree. In the 'roughness' method, this is stand mean height. In the TMC method, this is 'equivalent mean height' (m).
#' @return \code{max_gap_factor}, the effect of gap alone on the maximum bending moment exerted by the wind on a tree.
max_gap_factor_fun <- function(gap_size, ht) { #Common to Roughness and TMC Methods
  g_h <- ifelse(gap_size/ht > 10, 10, gap_size/ht)
  max_gap_factor <- (g_h/10)^0.3467
  return(max_gap_factor)
}
tom-locatelli/fgr documentation built on Oct. 2, 2020, 2:09 a.m.