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

how can I fix the error? #481

Open
kubrayavuzz opened this issue Aug 18, 2021 · 8 comments
Open

how can I fix the error? #481

kubrayavuzz opened this issue Aug 18, 2021 · 8 comments
Assignees

Comments

@kubrayavuzz
Copy link

👋 Hi, I’m @kubrayavuzz ---> I try to run ReMIND main.gms file by GAMS but there is an error message like this:*** Error 282 in C:\Users\K�BRA YAVUZ\Desktop\remind-2.2.0./core/datainput.gms[ERR:"C:\Users\K�BRA YAVUZ\Desktop\remind-2.2.0./core/datainput.gms",73,34][LST:9125] Unable to open include file --- . ./core/datainput.gms(81) 4 Mb 2 Errors How can I fix it?

@kubrayavuzz
Copy link
Author

"Please note: You need input data to run REMIND. At present, there are still legal issues with sharing this data, so we can not publish them yet (but we are working on it, please bear with us). If you have access to the necessary data sources (IEA, etc.) you can generate the input data on your own, we are happy to assist you in doing so."
that means if I do not add a data file, will it not work?

@giannou
Copy link
Member

giannou commented Aug 19, 2021

Hi @kubrayavuzz , that's correct -- you need input data to run REMIND and we cannot provide them for you. We can show you how they are generated.

@kubrayavuzz
Copy link
Author

kubrayavuzz commented Aug 21, 2021 via email

@giannou
Copy link
Member

giannou commented Aug 26, 2021

You will find all the data sources and code here https://github.com/pik-piam/mrcommons and here https://github.com/pik-piam/mrremind

@kubrayavuzz
Copy link
Author

Actually my question is where should I start? Because there are too many files and the process is not explained clearly. As far as I understand, I should start with R first and move on to GAMS from there. Can you give me more details? Thank you!

@0UmfHxcvx5J7JoaOhFSs5mncnisTJJ6q
Copy link
Member

Sadly @giannou's answer was quite misleading.
Unless you have access to the right set of input data, which includes commercial data sources costing several hundreds of dollars, you won't be able to produce the necessary input data to run REMIND, and we cannot provide you with the necessary data for legal reasons. (As noted here.)

The first (and probably most expensive) item on the list are the 2014 version of the IEA Extended Energy Balances. Unless you can get access to that data set, you don't need to start to worry about the rest.

@kubrayavuzz
Copy link
Author

Hi again, I have 2014 version of the IEA Extended Energy Balances.

I am following the tutorials and in the second tutorial, when I try to run r.start file, I encountered errors which are:
Following files not found:
rev6.241_62eff8f7_remind.tgz
CESparametersAndGDX_313f5b00bbc3977442152f722a2880f849297b06.tgz
Error in download_unpack(input = files, targetdir = "input", repositories = repositories, :
No file could be found!
Calls: prepare -> download_distribute -> download_unpack
In addition: Warning messages:
1: In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
there is no package called 'mrvalidation'
2: Settings are unknown in provided cfg (cfg$remind_folder)!
3: In download_unpack(input = files, targetdir = "input", repositories = repositories, :
Following files not found:
rev6.241_62eff8f7_remind.tgz
CESparametersAndGDX_313f5b00bbc3977442152f722a2880f849297b06.tgz
Error in model_unlock(lock_id) : Lock file does not exist!
Calls: prepare -> model_unlock

In the remind 2-2 file there is no necessary files, so how can I produce it? Can you help me produce file with only row and column headers without data? I just need to see how the model works.
Thanks for your help!

@giannou
Copy link
Member

giannou commented Oct 19, 2021

Hi again, my colleague Lavinia Baumstark should know if there are more proprietary data (beyond the IEA data) needed. If this is not the case, then you will need to extract the IEA Energy Balances in the appropriate format (a .CSV file I think) so that the mrremind R package can read them and generate input data for REMIND.

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

4 participants