Open Kasra9494 opened 1 year ago
Hi Kasra, I am also new to GCAM-CDR but I have been using traditional GCAM for a while now, and I kind of face a similar situation like yours. I just decided to come here to post my question and I saw yours. So I hope we receive some feedback from the developers
I tried to add a CO2 emission constraint file to the configuration file of GCAM-CDR where India has one seperate emission constraint and the rest of the world have a collective emission constraint as it is done in GCAM but model could not solve. In the GCAM-CDR documentation, there is actually a snippet of code showing how you can separately set emission constraint and CDR demand in the same XML and add it in the configuration file. However, in this approach I have two issues (1) how to set a constraint for one country whiles the rest of the world are linked to another constraint. Because the example shows all regions linked to one constraint and CDR demand and (2) Since in this approach one can specify the CDR demand in the created XML, I dont know if all CDR demand types in the configuration file should be commented out Or the same specified CDR demand in the created XML should be entered as an exogenous demand type. For example, if my goal is to limit global deployment of CDR to 500 MTC, after adding this in the xml I created, do I also include the file “exo_500MTC” in the main configuration file?
Hope someone can help with these questions. Thank you.
Hi Kasra, I am also new to GCAM-CDR but I have been using traditional GCAM for a while now, and I kind of face a similar situation like yours. I just decided to come here to post my question and I saw yours. So I hope we receive some feedback from the developers
I tried to add a CO2 emission constraint file to the configuration file of GCAM-CDR where India has one seperate emission constraint and the rest of the world have a collective emission constraint as it is done in GCAM but model could not solve. In the GCAM-CDR documentation, there is actually a snippet of code showing how you can separately set emission constraint and CDR demand in the same XML and add it in the configuration file. However, in this approach I have two issues (1) how to set a constraint for one country whiles the rest of the world are linked to another constraint. Because the example shows all regions linked to one constraint and CDR demand and (2) Since in this approach one can specify the CDR demand in the created XML, I dont know if all CDR demand types in the configuration file should be commented out Or the same specified CDR demand in the created XML should be entered as an exogenous demand type. For example, if my goal is to limit global deployment of CDR to 500 MTC, after adding this in the xml I created, do I also include the file “exo_500MTC” in the main configuration file?
Hope someone can help with these questions. Thank you.
NZE2060_CO2.txt @Kasra9494 I hope by setting up your emission constraint this way as shown in the file you can avoid the errors that appeared in 1975 (not sure it will help solve the errors around mid-century as in your case). However you must remove the "ignore_BECCS_in_CO2_constraint.xml" file from the configuration file when using this approach.
Hi @Kofimoley . Thanks so much for your help and instructions. I totally get what you said.
For separating the constraints on different regions what I did was basically have two markets: 1. Region of interest 2. World (other countries). When you do this, you should also change the linked_GHG_policy file according to that. You can check the attachment above to see how I did that.
My only problem is the Food Demand errors that I get. I ran it with GCAM 5.4 but there was no problem at all.
Best, K
Hi @Kofimoley . Thanks so much for your help and instructions. I totally get what you said.
For separating the constraints on different regions what I did was basically have two markets: 1. Region of interest 2. World (other countries). When you do this, you should also change the linked_GHG_policy file according to that. You can check the attachment above to see how I did that.
My only problem is the Food Demand errors that I get. I ran it with GCAM 5.4 but there was no problem at all.
Best, K
@Kasra9494 great to hear back from you. For the error on food demand I recently asked the same question on the gcam github, and one of the developers replied that those are just warnings and they can be safely ignored. The only problem with our case is that these warnings, once they appear, they just keep repeating without solving or proceeding to the next year. After leaving it on for a couple of hours I had no option than to quit the interface. Hope we can get a solution to this.
Hi @Kofimoley. Thanks for your follow-up. I receive a massive number of these warnings which fails the main code. It stopped running before 2100 (in 2055) and asked me to quit by pressing any key.
Dear all,
I will appreciate it if you can help me with the errors I see when running the model.
I like to analyze a scenario with a net-zero emissions target for Canada (as a separate market) and the same target for the rest of the countries (global market) together. I attach the modified GHG constraint and linked policy files to this thread. There are two problems (the second one seems more important) that I like to get your thoughts on:
1. In the 1975 run, I got messages like this: Period 0: 1975 price-adjust from globalCO2 was not found in the information store. demand-adjust from globalCO2 was not found in the information store.
2. From 2055. I see a massive number of these messages just showing on the screen for different countries: Period 12: 2055 Share of budget spent on FoodDemand: 1.00744 exceeds total income in Pakistan
I have uploaded the configuration and log files. I will appreciate it if you can help me find the problem.
Best, kasra Config.zip