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

Trying to fix global coal limitation as primary energy #450

Open
Nicoc92 opened this issue Jul 29, 2024 · 2 comments
Open

Trying to fix global coal limitation as primary energy #450

Nicoc92 opened this issue Jul 29, 2024 · 2 comments

Comments

@Nicoc92
Copy link

Nicoc92 commented Jul 29, 2024

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

    <resource name="coal">
            <reserve-subresource name="coal">
                
               	<period year="2020">
                   		<input-tax name="Coal-Limit"/>
               	</period>
               	<period year="2025">
                   		<input-tax name="Coal-Limit"/>
               	</period>
               	<period year="2030">
                   		<input-tax name="Coal-Limit"/>
               	</period>
               	<period year="2035">
                   		<input-tax name="Coal-Limit"/>
               	</period>
               	<period year="2040">
                   		<input-tax name="Coal-Limit"/>
               	</period>
               	<period year="2045">
                   		<input-tax name="Coal-Limit"/>
               	</period>
               	<period year="2050">
                   		<input-tax name="Coal-Limit"/>
               	</period>
               	<period year="2055">
                   		<input-tax name="Coal-Limit"/>
               	</period>
               	<period year="2060">
                   		<input-tax name="Coal-Limit"/>
               	</period>
               	<period year="2065">
                   		<input-tax name="Coal-Limit"/>
               	</period>
               	<period year="2070">
                   		<input-tax name="Coal-Limit"/>
               	</period>
               	<period year="2075">
                   		<input-tax name="Coal-Limit"/>
               	</period>
               	<period year="2080">
                   		<input-tax name="Coal-Limit"/>
               	</period>
               	<period year="2085">
                   		<input-tax name="Coal-Limit"/>
               	</period>
               	<period year="2090">
                   		<input-tax name="Coal-Limit"/>
               	</period>
               	<period year="2095">
                   		<input-tax name="Coal-Limit"/>
               	</period>
               	<period year="2100">
                   		<input-tax name="Coal-Limit"/>
               	</period>
		              
    	</reserve-subresource>
    </resource>
</region>

`

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
configuration.txt
main_log_coal.txt

@pkyle
Copy link
Contributor

pkyle commented Aug 4, 2024

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
Copy link
Author

Nicoc92 commented Aug 5, 2024

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

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

2 participants