convGDX2MIF_tau: Read in GDX and write *.mif time slice reporting

View source: R/convGDX2MIF_tau.R

convGDX2MIF_tauR Documentation

Read in GDX and write *.mif time slice reporting

Description

Read in all information from GDX file and create the *.mif reporting for the power generation at the time slice resolution

Usage

convGDX2MIF_tau(
  gdx,
  file = NULL,
  scenario = "default",
  time = as.numeric(readGDX(gdx, name = "t"))
)

Arguments

gdx

a GDX as created by readGDX, or the file name of a gdx

file

name of the mif file which will be written, if no name is provided a magpie object containing all the reporting information is returned

scenario

scenario name that is used in the *.mif reporting

time

temporal resolution of the reporting, default: c(seq(2010,2050,5))

Author(s)

Antoine Levesque

Examples

## Not run: 
convGDX2MIF_tau(gdx, file = "LIMES_tau_default.csv", scenario = "default")

## End(Not run)


pik-piam/limes documentation built on Sept. 13, 2024, 1:36 a.m.