Skip to content

Instantly share code, notes, and snippets.

@cwebber314
Created January 19, 2022 22:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cwebber314/8b27a6bf4e70b6a9328df41372c84a9d to your computer and use it in GitHub Desktop.
Save cwebber314/8b27a6bf4e70b6a9328df41372c84a9d to your computer and use it in GitHub Desktop.
// Generate a Sankey diagram from a savnw case solve.
// Values are entered by hand, so probably not accurate.
// Loads are not shown so it looks like Kirchoff is violated
// https://sankeymatic.com/build/
//
// Enter Flows between Nodes, like this:
// Source [AMOUNT] Target
MINE G [260] MINE
HYDRO G [600] HYDRO
HYDRO [550] EAST
HYDRO [591] SUB230
NUC-A [750] NUCPANT
NUC-B [750] NUCPANT
NUCPANT [466] MID500
NUCPANT [466] MID500
NUCPANT [565] HYDRO
MINE [56] E MINE
MINE [203] S MINE
S MINE [101] WEST
S MINE [101] WEST
WEST [237] CATDOG
WEST [136] CATDOG
WEST [79] UPTOWN
CATDOG [69] DOWNTN
UPTOWN [228] MID230
MID500 [740] MID230
MID500 [43] EAST500
URBGEN [800] SUB230
SUB230 [355] DOWNTN
EAST230 [83] SUB230
EAST230 [83] SUB230
SUB230 [355] DOWNTN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment