Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sample energy constraint policy file #148

Open
agobba opened this issue Apr 27, 2021 · 3 comments
Open

Sample energy constraint policy file #148

agobba opened this issue Apr 27, 2021 · 3 comments

Comments

@agobba
Copy link

agobba commented Apr 27, 2021

There is some documentation on writing energy constraints into policy files. A sample of the code is given as in the screenshot below. Is there a example xml energy contraint policy file available? It would be very helpful to include

image

@rjplevin
Copy link
Collaborator

I added a bunch of features to pygcam (funded by Energy Innovation and driven by Robbie Orvis, @robbieorvis) to support creation of several types of energy policies including for renewable energy portfolios, transportation, zero-emission vehicles, buildings energy use, building electrification, and industrial energy use. They all operate similarly: you specify the regions, sectors, subsectors, technologies you want to impose constraints on and pygcam generates a template CSV file into which you enter the numerical values. Another command turns that information into the required XML. It was developed primarily to work with gcam-usa, but should work for the 32-region model as well.

As far as I know, only Robbie has been using these features. Naturally, it assumes you're working within the pygcam framework, so there's a learning curve involved. The code is not as well-documented as I'd like, and the various features could use some consolidation / simplification. But it's all available free for download (see the JGCRI/pygcam repo) and I can help you set it up.

-Rich

@mengyi9634
Copy link

I added a bunch of features to pygcam (funded by Energy Innovation and driven by Robbie Orvis, @robbieorvis) to support creation of several types of energy policies including for renewable energy portfolios, transportation, zero-emission vehicles, buildings energy use, building electrification, and industrial energy use. They all operate similarly: you specify the regions, sectors, subsectors, technologies you want to impose constraints on and pygcam generates a template CSV file into which you enter the numerical values. Another command turns that information into the required XML. It was developed primarily to work with gcam-usa, but should work for the 32-region model as well.

As far as I know, only Robbie has been using these features. Naturally, it assumes you're working within the pygcam framework, so there's a learning curve involved. The code is not as well-documented as I'd like, and the various features could use some consolidation / simplification. But it's all available free for download (see the JGCRI/pygcam repo) and I can help you set it up.

-Rich

Hi Rich, I saw your reply on this energy constraint policy file and I have similar issues, so wondering if you could help me to set it up as well? Thank you!

@rjplevin
Copy link
Collaborator

@mengyi9634 Please email me at rich@plevin.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants