JGCRI / gcam-core

GCAM -- The Global Change Analysis Model
http://jgcri.github.io/gcam-doc/
Other
263 stars 159 forks source link

Setting energy constraint for regional biomass consumption #389

Closed Youyi77 closed 4 months ago

Youyi77 commented 4 months ago

Hi team,

I am trying to run the energy constraint scenario mentioned in this document and also combine with some parts of the code use in this paper.

Goal: Set a 10 EJ/yr (start from 2020 to 2100) constraint for the USA on regional biomass.

My steps:

  1. Create 2 xml files bio_ceiling-10EJ.xml
    <scenario name="bio-ceiling">
    <world>
        <region name="USA">
            <policy-portfolio-standard name="bio-ceiling">
                <market>USA</market>
                <policyType>tax</policyType>
                <constraint year="2020" fillout="1">10</constraint>
            </policy-portfolio-standard>
        </region>
    </world>
    </scenario>

    bio_ceiling-market.xml

<scenario>
   <world>
      <global-technology-database>
         <location-info sector-name="regional biomass" subsector-name="regional biomass">
            <technology name="regional biomass">
               <period year="2020">
                  <input-tax name="bio-ceiling"/>
               </period>
               <period year="2025">
                  <input-tax name="bio-ceiling"/>
               </period>
               <period year="2030">
                  <input-tax name="bio-ceiling"/>
               </period>
               <period year="2035">
                  <input-tax name="bio-ceiling"/>
               </period>
               <period year="2040">
                  <input-tax name="bio-ceiling"/>
               </period>
               <period year="2045">
                  <input-tax name="bio-ceiling"/>
               </period>
               <period year="2050">
                  <input-tax name="bio-ceiling"/>
               </period>
               <period year="2055">
                  <input-tax name="bio-ceiling"/>
               </period>
               <period year="2060">
                  <input-tax name="bio-ceiling"/>
               </period>
               <period year="2065">
                  <input-tax name="bio-ceiling"/>
               </period>
               <period year="2070">
                  <input-tax name="bio-ceiling"/>
               </period>
               <period year="2075">
                  <input-tax name="bio-ceiling"/>
               </period>
               <period year="2080">
                  <input-tax name="bio-ceiling"/>
               </period>
               <period year="2085">
                  <input-tax name="bio-ceiling"/>
               </period>
               <period year="2090">
                  <input-tax name="bio-ceiling"/>
               </period>
               <period year="2095">
                  <input-tax name="bio-ceiling"/>
               </period>
               <period year="2100">
                  <input-tax name="bio-ceiling"/>
               </period>
            </technology>
         </location-info>
      </global-technology-database>
   </world>
</scenario>
  1. Add two lines in configuration file under ScenarioComponents:
<Value name="bio_low" >../input/gcamdata/add_ons/bio_ceiling-10EJ.xml</Value>
<Value name="bio_market" >../input/gcamdata/add_ons/bio_ceiling-market.xml</Value>

The results are a little bit surprising:

For reference scenario (nothing changed after GCAM download), the regional biomass consumption doesn't exceed 10 EJ for any year in the query regional biomass consumption under the bioenergy folder. image

But after adding the 10 EJ/yr constraint, the regional biomass consumption shows an increase for almost every year and reaches the constraint 10 EJ. image

In my understanding, setting the upper constraint will not change anything as the previous regional biomass consumption doesn't reach the upper limit.

I am wondering if I misunderstood the meaning of adding the energy constraint. Or my steps are wrong in terms of fulfilling my goal?

Thanks for any help/insights on this!

Youyi77 commented 4 months ago

Solved with updated code using https://jgcri.github.io/gcam-doc/policies_examples.html#energy-constraint