pik-piam / remind

Contains the REMIND-specific routines for data and model output manipulation.
3 stars 18 forks source link

add calc_CES_marginals() to calculate marginals and prices of CES production factors from .gdx files #84

Closed 0UmfHxcvx5J7JoaOhFSs5mncnisTJJ6q closed 3 years ago

0UmfHxcvx5J7JoaOhFSs5mncnisTJJ6q commented 3 years ago

I needed to calculate marginals and prices on the CES function for a bunch of runs, so wrote a function for it. I'm looking for a place to keep it, and the remind package seems the rational choice, although it's not used there. What do you say?

giannou commented 3 years ago

Maybe the https://github.com/pik-piam/gms package is a good place (in case other GAMS models need the function), but I'm sure also remind is a good choice.

0UmfHxcvx5J7JoaOhFSs5mncnisTJJ6q commented 3 years ago

Maybe the https://github.com/pik-piam/gms package is a good place (in case other GAMS models need the function)

No, this is REMIND specific, reading parameters and variables and such. Do the other models even have a CES function?

giannou commented 3 years ago

Currently not, but maybe there will be models with REMIND-like structure in the future. Anyway, if there are hard-coded REMIND names in the function it should be part of remind