Skip to content

How to export gas trade share in GCAM 7.0 #333

Answered by pkyle
whitenightZhang asked this question in Q&A
Discussion options

You must be logged in to vote

Well that changes things! Since there are two levels of subsectors, one of these will work:
<supplyDemandQuery title="regional natural gas subsector share-weights"> <axis1 name="subsector">subsector</axis1> <axis2 name="Year">share-weight</axis2> <xPath buildList="true" dataName="price" group="false" sumAll="false">*[@type='sector' and (@name='regional natural gas')]/ *[@type='subsector']/ share-weight/text()</xPath> <comments/> </supplyDemandQuery>
Or
<supplyDemandQuery title="regional natural gas sub-subsector share-weights"> <axis1 name="subsector">subsector</axis1> <axis2 name="Year">share-weight</axis2> <xPath buildList="true" dataName="price" group="false" sumAll="false">*[@type='s…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@whitenightZhang
Comment options

@pkyle
Comment options

Answer selected by whitenightZhang
@whitenightZhang
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants