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

Add a query for RES policies #48

Closed
rjplevin opened this issue Jan 10, 2019 · 2 comments
Closed

Add a query for RES policies #48

rjplevin opened this issue Jan 10, 2019 · 2 comments
Assignees

Comments

@rjplevin
Copy link
Collaborator

The query "elec gen by subsector" sums the renewable energy credits used to implement the policy along with the sources of those credits (whatever techs are deemed RE).

Pralit suggesting changing the query to:

		<supplyDemandQuery title="elec gen by subsector">
			<axis1 name="subsector">subsector</axis1>
			<axis2 name="Year">physical-output[@vintage]</axis2>
			<xPath buildList="true" dataName="output" group="false" sumAll="false">*[@type='sector' (:collapse:) and (@name='electricity' or @name='elect_td_bld')]/*[@type='subsector' and not (@name='elect_td_bld')]//*[@type='output']/physical-output/node()</xPath>
			<comments/>
		</supplyDemandQuery>

to eliminate the final (:collapse:). This shows the output as either electricity or your RES market name, avoiding the double-counting. Works for me.

Since it's not clear that the original query is useful, perhaps these changes should be made in the core.

@pkyle
Copy link
Contributor

pkyle commented Jan 24, 2019

@pralitp let me know if you want for me to do anything on this.

@kvcalvin
Copy link
Contributor

kvcalvin commented Nov 5, 2019

This has been corrected in GCAM v5.2.

@kvcalvin kvcalvin closed this as completed Nov 5, 2019
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

4 participants