Skip to content

Commit

Permalink
Merge pull request #683 from behnam-zakeri/tutorial-multinode-trade
Browse files Browse the repository at this point in the history
Add a tutorial for creating Westeros multi-node and modeling different trade possibilities
  • Loading branch information
glatterf42 committed Apr 17, 2023
2 parents ebf17ee + 7918bfd commit 03a0eb5
Show file tree
Hide file tree
Showing 7 changed files with 1,595 additions and 0 deletions.
1 change: 1 addition & 0 deletions RELEASE_NOTES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ Migration notes
All changes
-----------

- Add a tutorial for Westeros multi-node and different trade possibilities (:pull:`683`).
- Add additional oscillation detection mechanism for macro iterations (:pull:`645`, :pull:`676`)
- Adjust default `lpmethod` from "Dual Simplex" (2) to "Barrier" (4); do NOT remove `cplex.opt` file(s) after solving workflow completes (:pull:`657`).
- Adjust :meth:`.Scenario.add_macro` calculations for pandas 1.5.0 (:pull:`656`).
Expand Down
1 change: 1 addition & 0 deletions message_ix/tests/test_tutorials.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
(("westeros", "westeros_soft_constraints"), [], {}),
(("westeros", "westeros_addon_technologies"), [], {}),
(("westeros", "westeros_historical_new_capacity"), [], {}),
(("westeros", "westeros_multinode"), [], {}),
# NB this is the same value as in test_reporter()
(("westeros", "westeros_report"), [("len-rep-graph", 13074)], {}),
((AT, "austria"), [("solve-objective-value", 206321.90625)], {}),
Expand Down
3 changes: 3 additions & 0 deletions tutorial/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,9 @@ framework, such as used in global research applications of |MESSAGEix|.
#. Use parameters to represent the historical characteristics of the energy
system (:tut:`westeros/westeros_historical_new_capacity.ipynb`).

#. Modeling of a multi-node energy system and representing trade between nodes
(:tut:`westeros/westeros_multinode.ipynb`).

#. Use other features of :mod:`message_ix` and :mod:`ixmp`:

#. ⭐ After the MESSAGE model has solved, use the :mod:`.message_ix.reporting`
Expand Down
Binary file added tutorial/westeros/_static/bilateral.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added tutorial/westeros/_static/external.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added tutorial/westeros/_static/hub.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 03a0eb5

Please sign in to comment.