calculates aggregate change in economic surplus in mio.US$ based on a MAgPIE gdx files from two different scenarios.
Arguments
- gdx1
GDX file from benchmark scenario
- gdx2
GDX file from the analyzed scenario
- 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
- type
Economic surplus type: "consumer" (default), "producer" or "welfare"