Running the test case stops at the Augur Module #152
-
Hello, I am trying to run the test case for Reeds. If I run it to 2030, it shows up the following errors in the augurs log: ERROR:gdxpds.special:Unable to convert numpy special values to GDX special values.num_dims: 3, dataframe: During handling of the above exception, another exception occurred: Traceback (most recent call last): The Gamslog stops at: *** Status: Normal completion The outputs folder only contains one folder called the tc_phaseout_data If I run the model till 2018, everything runs fine and I get the output graphs in that run. Could you please help me with this Thank you very much, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
This looks like an error with the gdxpds package, which is the package used to translate gdx files into Pandas and vice versa. This package gets used by the Augur module, which doesn't start to get used until the 2020 solve year, which is why you can solve to 2018 with no issue. I suspect that you are using versions of GAMS and Python that are incompatible with each other when interacting via gdxpds, but I don't know. If you use GAMS 34.3 and the environment.yml file in the repo, does that resolve the issue? |
Beta Was this translation helpful? Give feedback.
-
The only workaround that I can think of is to dump the gdx outputs to csv files (see e_report_dump.gms for an example), and then read in those csv files into the Augur module rather than the gdx files. That would take some work, but I don't have any more straightforward solutions. It might be possible to find versions of gdxpds, GAMS, and Python that are compatible with one another, but I don't have any insight for doing that. |
Beta Was this translation helpful? Give feedback.
-
Hello, thanks for your help I changed the version of gdxpds and I am able to run the test and small cases now. I have another question- I am trying to input Canadian regions in the GSW region and region level to get some results for Canada. The run stops at LDC_prep.py. Here is the error log: plantcostprep.py completed successfully What steps could I try to correct this and are there other switches that need to be changed for the Canadian context. Thank you very much, |
Beta Was this translation helpful? Give feedback.
While there are some pieces of code in the open access version of ReEDS that are meant to enable the model to run for Canada, that feature is not fully functional. There are missing data pieces for one, most importantly a power plant database, because the one used for the NARIS study was a proprietary dataset. It would take substantial data and code development to get this feature working again. The good news is that we are working internally to rebuild this functionality with open data so that we can make it available to the public. I can't give you an exact timeline, but my hope would be for a release of that feature in 2024.