gcam-core icon indicating copy to clipboard operation
gcam-core copied to clipboard

Poblems in the module_energy_L223.electricity

Open nurf004 opened this issue 2 years ago • 3 comments

I want to modify some assumptions in the electricity sector. When I run the module_energy_L223.electricity, I found a problem. Two data (L223.SubsectorShrwt_elec and L223.SubsectorInterpTo_elec) did not appear in the R environment. Because of this issue, I failed to generate the output. Did I miss something when I run the codes so that I couldnt generate such data? Thank you in advance.

nurf004 avatar May 30 '22 05:05 nurf004

dear @pralitp what does it mean? I opened the link, but I couldn't get it.

nurf004 avatar Jun 13 '22 11:06 nurf004

Sorry. I'm not sure why exactly Github decided to add that commit reference here. I think it got confused because changes come in from a bunch of different repos and the Github got confused. Indeed you should just ignore it.

That being said. In GCAM 6.0, perhaps the new feature to "plugin" user modifications into the data system can provide a more intuitive way to modify L223.SubsectorShrwt_elec and L223.SubsectorInterpTo_elec and generate XMLs with your specific changes. You can check the following about that specific feature: https://github.com/JGCRI/gcam-core/blob/master/input/gcamdata/vignettes/usermod_vignette.Rmd

Or check out the training video "User Modification Functions in gcamdata" on: https://gcims.pnnl.gov/community

pralitp avatar Jun 13 '22 13:06 pralitp

dear @pralitp thank you for your confirmation. I just watched the tutorial video for GCAM 6.0 and tried to install this version. Unfortunately, when I opened the database_basexdb, I could not get any result - the model interface just shows Global (no other regions) and no scenario. Also, is there any specific version of the R packages (e.g. devtools, dplyr, dplyr, tidyr, testthat, etc.). Thank you.

nurf004 avatar Jun 13 '22 13:06 nurf004