Hi Stefano,
Thanks for your interest in using MESSAGEix, and apologies that it is not yet as well documented as we would like.
Re multiple nodes - of course this is possible. What you need to do is:
- add multiple elements to the set `node`
- add each entry to the spatial-hierarchy mapping using `scenario.add_set("map_spatial_hierarchy", ["country", country, "World“])` for each node=country
- then, you’ll need to define each technology to be present at each node
Re parallel grids: yes, the energy system can include multiple parallel grids, like an electricity grid and a pipeline network. You just need to make sure that when defining the input/output parameters for each technology, you specify that each technology is „connected“ to the right commodity/level combination. So all power plants would have an output going into „electricity/secondary“, whereas a local gas works plant would produce its output for a level such as „gas/final“.
On trade: to implement trade between nodes, you need to combine the two aspects above and define a technology that is located at either node-1 or node-2 (column `node_loc` in the parameter dataframes) and has different `node_dest` vs. `node_origin` entries in the input/output parameter dataframes. So the technology takes from one node and generates (usually the same commodity/level) at a different node. The input/output efficiency can include losses during long-distance transmission.
We have on our agenda for this summer to improve and extend the tutorials, and I’ll add a „two-country example“ to the to-do list. Or if you want to pull-request your work as a tutorial to the master MESSAGEix version, that would be even better!
Best of luck!
Daniel
> --
> You received this message because you are subscribed to the Google Groups "message_ix" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
message_ix+...@googlegroups.com.
> To post to this group, send email to
messa...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/message_ix/6961de4f-f9e3-4232-8036-3d8e9d1e38b6%40googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.