toolBiomassSupplyAggregate: toolBiomassSupplyAggregate The function aggregates biomass...

View source: R/toolBiomassSupplyAggregate.R

toolBiomassSupplyAggregateR Documentation

toolBiomassSupplyAggregate The function aggregates biomass supply curves to regionmapping different from H12. It only works if all regions are subregions of H12 regions. The offset parameter (a) is taken from the H12 region. The slope parameter (b) is multiplied by a weight. The weight is the inverse of the share of agricultural area of the subregion in the H12 region.

Description

toolBiomassSupplyAggregate The function aggregates biomass supply curves to regionmapping different from H12. It only works if all regions are subregions of H12 regions. The offset parameter (a) is taken from the H12 region. The slope parameter (b) is multiplied by a weight. The weight is the inverse of the share of agricultural area of the subregion in the H12 region.

Usage

toolBiomassSupplyAggregate(
  x,
  rel = NULL,
  weight = calcOutput("FAOLand", aggregate = F)[, , "6610", pmatch = TRUE][, "y2010", ]
)

Arguments

x

magclass object that should be aggregated

rel

relation matrix containing a region mapping.

weight

aggregation weight

Value

return: returns region aggregated biomass supply curve data

Author(s)

Felix Schreyer


pik-piam/mrremind documentation built on March 30, 2024, 3:37 a.m.