osemosys_global icon indicating copy to clipboard operation
osemosys_global copied to clipboard

[BUG]: Transmission Plotting for Custom Nodes

Open trevorb1 opened this issue 1 year ago • 1 comments

Conda environment check

  • [X] I have tried using the osemosys-global conda environment.

Current Behavior

If using custom nodes, transmission plotting is skipped as custom nodes do not have centre points. PR #182 implemented this hotfix.

Expected Behavior

If custom nodes are added, it would be good to allow users to include centre points to get tranmsission plotting as well!

Steps To Reproduce

  1. Run the workflow with geographic scope IDN and default custom node data

Operating System

Linux

Log output

No response

Anything else?

No response

trevorb1 avatar Jun 17 '24 16:06 trevorb1

Thank you @trevorb1 @maartenbrinkerink !

ajipratama14 avatar Jun 18 '24 09:06 ajipratama14

@trevorb1 @ajipratama14 this should be solved now with https://github.com/OSeMOSYS/osemosys_global/commit/e995f883bd29d4910119f19351ff906234db2192. Center points for custom nodes can be added in resources/data/custom_nodes/centerpoints.csv which is used in visualise.py to plot transmission capacities and flows. Closing this issue but let me know if something pops up!

maartenbrinkerink avatar Dec 03 '24 20:12 maartenbrinkerink