calcNetTradeValue: Calculate monetary value of trade in primary energy from GDX...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/calcNetTradeValue.R

Description

Calculate monetary value of trade in primary energy carriers in a GDX file and return as a MagPIE object.

Usage

1
calcNetTradeValue(gdx, variable)

Arguments

gdx

a GDX list as created by readGDX, or the file name of a gdx file(file name is recommended as this speeds up the code)

variable

one of the primary energy tyes in REMIND that ar: pecoal, pegas, peoil, pebiolc, peur

Value

Value (in US$2005) of trade

Author(s)

Niklas Roming

See Also

calcNetTrade, calcPrice

Examples

1
2
3
4
5
  ## Not run: 
    coal <- calcNetTradeValue(gdx, "pecoal")
    gas <- calcNetTradeValue(gdx, "pegas")
  
## End(Not run)

pik-piam/remind documentation built on Jan. 29, 2020, 7 p.m.