Closed meng25meng closed 3 months ago
Hi @meng25meng, thanks for your question. In your code snippet, you define a variable base
as a message_ix.Scenario
with model "Anhui energy model" and scenario "baseline2", but then you re-define the variable base
as a message_ix.Scenario
with model "Xinjiang energy model" and scenario "baselinexinjiang_0.05". If you want to load both Scenario
s at the same time, you will need to use different variables for that.
However, I'm not sure this is what you want to do. Please correct me if I'm wrong, but to me it sounds like you want to have a single Scenario
with two nodes in it that should be connected via power/energy trade/transmission. If this interpretation is correct, you don't need to define two Scenario
s, you just need to add both nodes (or regions) to one Scenario
. Please see step 1.1 of this tutorial to learn how to do this.
Please note: I think this is a question about how to use message_ix more than it is an issue with the code. So I will convert this to a discussion.
I want to set up power transmission of two single-node model provinces through one-way transmission, according to the second method in the tutorial, but at the beginning, it is difficult to clone the single-node model, and it is always impossible to read the two models. My nodes do not want to create new ones, which are all from the single-node model. So far cloning has been unsuccessful.