Hi all,
I've recently tried to incorporate energy exchange between regions in a model, based on the example in
TemoaProject/oeo. My understanding is the following:
Suppose I have a technology, TRANSMISSION, that moves electricity from Illinois (IL) to Wisconsin (WI).
1) TRANSMISSION must be initialized in the ``tech_exchange`` table.
2) All regional data for TRANSMISSION must have the direction of flow specified by "IL-WI" in the "regions" column.
(e.g. efficiency entry might look like ('IL-WI', 'ELC' 'TRANSMISSION', 2030, 'ELC', 1.0, NULL)).
This seems simple enough to me. However, I ran into two issues. First, when I included only one direction (IL-WI), I got an error that the index for the other direction (WI-IL) couldn't be indexed. The model could not be created. The error message is attached (error_msg1.txt). Second, I added both directions and the model was successfully generated, but once it solved I received a "Division by zero" error in the results formatting.
This error message is attached as well (error_msg2.txt).
I am certain the issue is related to the tech_exchange because the model solved successfully when I removed the exchange entirely (i.e. had two disconnected regions).
Has anyone else run into these errors? The SQL file is attached as well. Am I misunderstanding how the regional exchange system works in Temoa or is there a bug somewhere?
Thanks
Sam Dotson