JGCRI / gcam-core

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

Trying to fix global coal limitation as primary energy #450

Open Nicoc92 opened 1 month ago

Nicoc92 commented 1 month ago

Hi @pkyle, I am trying to fix global primary natural gas consumption based on a forecast. I am NOT interested in the distribution to the end-use commodities or the sub-technologies. Just the overall natural gas consumption for primary energy.

I tried to use the following method to feed in the desired natural gas primary energy consumptions:

`

tax global -100 183.00 190.00 195.00 190.00 180.00 175.00 165.00 155.00 145.00 135.00 130.00 120.00 100.00 100.00 100.00 100.00 100.00 ` But this has been giving an error - "ERROR:Unsolved Part 2: Unsolvable Markets Not Cleared" and the model didn't found any resultas after more than 6 hours - "The following model periods did not solve: 6, 7, 8, 9, 10, 11, 12, 13, 14, 15," attached (main_log_coal). I have attached the files for configuration and the subsidy structure file in txt but it is implemented in xml. Thanks for your help [Coal_ressourcelimiatation.txt](https://github.com/user-attachments/files/16409420/Coal_ressourcelimiatation.txt) [configuration.txt](https://github.com/user-attachments/files/16409425/configuration.txt) [main_log_coal.txt](https://github.com/user-attachments/files/16409580/main_log_coal.txt)
pkyle commented 1 month ago

Looking at the file, I'm not surprised that caused solution failures. This policy is being applied to the coal resource supply curves, whereas I suspect it needs to be applied to coal consumption. The same basic policy structure can be retained, but it should be replied to the technologies of each region’s regional coal sector. Specifically:

            <supplysector name="regional coal">
                <subsector name="imported coal">
                    <technology name="imported coal">
                        <period year="2020">
                            <input-tax name="Coal-Limit"/>
                    </period>
...
                </subsector>
                <subsector name="domestic coal">
                        <period year="2020">
                            <input-tax name="Coal-Limit"/>
                        </period>
Nicoc92 commented 1 month ago

Thank you very much for your response @pkyle. I tried running the model with this file(in xml but linked here in txt), and when I look at my results, I'm not sure if it actually worked. There is a new line corresponding to the constraint, as shown in the image (first line); however, the line corresponding to primary coal energy consumption (fourth line) is much higher than this constraint. I'm not sure I fully understand the results. When I compare the results obtained with the standard policy 4p5 case, the results with the constraint are higher than the standard case results, which exceeds both the constraint and the standard case results. How is this possible? Could you help me understand the reasons behind this and how it works?

Thank you in advance for your help. results Coal_ressourcelimiatation.txt configuration.txt