demandBioenergy: demandBioenergy

View source: R/demandBioenergy.R

demandBioenergyR Documentation

demandBioenergy

Description

reads bioenergy demand from a MAgPIE gdx file

Usage

demandBioenergy(gdx, file = NULL, level = "reg", sum = FALSE, round = NULL)

Arguments

gdx

GDX file

file

a file name the output should be written to using write.magpie

level

Level of regional aggregation; "reg" (regional), "glo" (global), "regglo" (regional and global) or any other aggregation level defined in superAggregate

sum

1st and 2nd generation bioenergy demand (FALSE) or total bioenergy demand (TRUE)

round

NULL or number of digits

Value

A MAgPIE object containing bioenergy demand in EJ/yr

Author(s)

Jan Philipp Dietrich, Florian Humpenoeder

Examples


  ## Not run: 
    x <- demandBioenergy(gdx)
  
## End(Not run)

pik-piam/magpie4 documentation built on April 22, 2024, 3:34 p.m.