productionRevenue: productionRevenue

View source: R/productionRevenue.R

productionRevenueR Documentation

productionRevenue

Description

calcluates production revenue based on a MAgPIE gdx file.

Usage

productionRevenue(
  gdx,
  file = NULL,
  level = "reg",
  products = "kall",
  product_aggr = TRUE
)

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

products

Selection of products (either by naming products, e.g. "tece", or naming a set,e.g."kcr")

product_aggr

ggregate over products or not (boolean, default TRUE)

Value

A MAgPIE object containing prodcution revenues.

Author(s)

Miodrag Stevanovic

Examples


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

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