Skip to content

Commit

Permalink
ComDef: update queries to consider trn stocks and sales
Browse files Browse the repository at this point in the history
  • Loading branch information
klau506 committed Jan 2, 2025
1 parent 81a1b50 commit 1c31400
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 0 deletions.
Binary file modified data/queries_general_v7.0.rda
Binary file not shown.
Binary file modified data/queries_general_v7.2.rda
Binary file not shown.
12 changes: 12 additions & 0 deletions inst/extdata/queries/GCAM7.0/queries_gcamreport_general.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1301,4 +1301,16 @@ A user can adjust the query to search for any of:
</labelRewriteList>
</supplyDemandQuery>
</aQuery>
<aQuery>
<all-regions />
<supplyDemandQuery title="transport service output by tech and vintage">
<axis1 name="technology">technology</axis1>
<axis2 name="Year">physical-output[@vintage]</axis2>
<xPath buildList="true" dataName="output" group="false" sumAll="false">*[@type='sector' and (@name='transportation' or (exists(child::keyword[@final-energy='transportation'])))]/
*[@type='subsector']/*[@type='technology']/*[@type='output' (:collapse:) and not (@name='CAFEcredit')]/
physical-output/node()</xPath>
<comments/>
<showAttribute attribute-name="year" level="technology"/>
</supplyDemandQuery>
</aQuery>
</queries>
14 changes: 14 additions & 0 deletions inst/extdata/queries/GCAM7.2/queries_gcamreport_general.xml
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,8 @@ local:run-input-by-primary((:scenarios:), (:regions:), (:collection:))
<rewrite from="traded biomass" to="d biomass"/>
<rewrite from="traded RUS pipeline gas CCS" to="b natural gas CCS"/>
<rewrite from="traded PAC pipeline gas" to="b natural gas"/>
<rewrite from="regional woodpulp for energy" to="d biomass"/>
<rewrite from="regional woodpulp for energy CCS" to="d biomass CCS"/>
<rewrite from="geothermal-elect" to="i geothermal"/>
<rewrite from="traded Afr_MidE pipeline gas" to="b natural gas"/>
<rewrite from="water consumption" to=""/>
Expand Down Expand Up @@ -1372,4 +1374,16 @@ A user can adjust the query to search for any of:
</labelRewriteList>
</supplyDemandQuery>
</aQuery>
<aQuery>
<all-regions />
<supplyDemandQuery title="transport service output by tech and vintage">
<axis1 name="technology">technology</axis1>
<axis2 name="Year">physical-output[@vintage]</axis2>
<xPath buildList="true" dataName="output" group="false" sumAll="false">*[@type='sector' and (@name='transportation' or (exists(child::keyword[@final-energy='transportation'])))]/
*[@type='subsector']/*[@type='technology']/*[@type='output' (:collapse:) and not (@name='CAFEcredit')]/
physical-output/node()</xPath>
<comments/>
<showAttribute attribute-name="year" level="technology"/>
</supplyDemandQuery>
</aQuery>
</queries>

0 comments on commit 1c31400

Please sign in to comment.