How to run model scenarios in GCAM-USA
Hello,
I am new to using GCAM and I'm working on developing a model using GCAM-USA. I have GCAM v7.1 installed on Windows (I also use R) but I do not have experience in java.
I am trying to get a handle on how to run a GCAM model. I have a handle on some number of pieces, but I'm struggling to tie them together in a process that creates and runs a model scenario (or batch of scenarios).
From what I understand, to run a scenario I need to write a configuration file for each scenario that indicates which XML files to use (if not the default XML).
Then, I can use R (gcamdata) to write my XML files and log the data system. Then, use driver_drake to update the data system with the new XMLs.
I also understand that the run-gcam.bat file is run to run a reference scenario (as per this tutorial). From here, I have a few question. 1) Do I need to make a new .bat file for my project? Or, should I be re-writing something in the run-gcam.bat file or in R to actually run my model scenarios?
-
How/where do I indicate that I want to run GCAM-USA?
-
Aside from trying this with my own model scenarios, I've also tried to run scenarios from published papers with public gcam repos, but find that they do not provide a run-gcam.bat file either. Any insight about why this is?
Hi, Johanna, I'm happy to talk you through some of this if that would be helpful ([email protected]). For getting started with GCAM-USA, you also may find GLIMPSE or GLIMPSE-CE useful (https://epa.gov/glimpse or https://github.com/DLoughlin/GLIMPSE-CE). Check out the discussion section for info on the GCAM-USA State Applications Community of Practice. That is a useful community for learning about GCAM-USA applications.