R/calcGridFactor.R

Defines functions calcGridFactor

calcGridFactor <- function() {
  x <- readSource("REMIND_11Regi", subtype = "gridFactor")
  getNames(x) <- NULL

  w <- dimSums(calcOutput("IO", subtype = "output", aggregate = FALSE)[, 2005, c("feeli", "feelb")], dim = 3)

  return(list(
    x = x,
    weight = w,
    unit = "factor",
    description = paste0(
      "multiplicative factor that scales total grid requirements ",
      "down in comparatively small or homogeneous regions"
    )
  ))
}
pik-piam/mrremind documentation built on April 12, 2025, 12:02 a.m.