District heat:
The package throws the following error when you query Secondary Energy* regions that don't have district heat. DH is only available in 4 regions in GCAM.
> Loading data, performing checks, and saving output...
> [1] "secondary_energy_clean"
> Error in rgcam::getQuery(prj, "district heat production by subsector (fuel)") :
> getQuery: Query district heat production by subsector (fuel) is not in any scenarios in the data set.
I wonder if queries or the criteria could be determined dynamically.
Or a mechanism to relax the hard stop.
My workaround was to put a region (China, Russia etc) that has DH for it to bypass the hard stop.
District heat:
The package throws the following error when you query Secondary Energy* regions that don't have district heat. DH is only available in 4 regions in GCAM.
I wonder if queries or the criteria could be determined dynamically.
Or a mechanism to relax the hard stop.
My workaround was to put a region (China, Russia etc) that has DH for it to bypass the hard stop.