Closed trevorb1 closed 2 years ago
This is due to the geographic filter not filtering out transmission from other countries into countries within the geographic scope. For example, the BBIN run still has transmission from China (and this is free) so it gets all its energy from China for free.
For now, we will remove all non-geographic scope transmission so there are no imports or exports to/from the study region. For future expansion and consideration of exports and imports we'll have to consider how this can best be included in the model. I'll create a second issue on that specific topic.
Conda environment check
osemosys-global
conda environment.Current Behavior
Running a BBIN scenario with the value
crossborderTrade
in the configuration file set toTrue
will throw an error at the result processing stage. Specifically, during theotoole_results
rule, a zero division error is triggered. The model will solve and produce a*.sol
file.Running the same scenario with
crossborderTrade
set toFalse
executes correctly.Expected Behavior
otoole will generate a
results
folder from the CBC*.sol
fileSteps To Reproduce
osemosys-global
environmentsnakemake -c
Operating System
Linux
Log output
Anything else?
CONFIGURATION FILE