costsPresolve: costsPresolve

View source: R/costsPresolve.R

costsPresolveR Documentation

costsPresolve

Description

reads presovle costs (i.e. without bioenergy demand) entering the objective function from a MAgPIE gdx file

Usage

costsPresolve(gdx, file = NULL, level = "reg")

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

Details

Presolve is without bioenergy demand. Hence costs from a MAgPIE run with bioenergy demand minus costs from presolve reflect costs that can be attributed to bioenergy production

Value

A MAgPIE object containing the goal function costs in presolve mode [million US$17]

Author(s)

Florian Humpenoeder

Examples

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

pik-piam/magpie4 documentation built on Dec. 20, 2024, 1:59 p.m.