Code Monkey home page Code Monkey logo

Comments (1)

glatterf42 avatar glatterf42 commented on July 22, 2024

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 Scenarios 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 Scenarios, 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.

from message_ix.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.