opennem / opennem-fe

An Open Platform for National Electricity Market Data
https://opennem.org.au
MIT License
63 stars 12 forks source link

Spawn new (extra) graphs open the same OpenNEM webpage (with ability to url link back to them). #15

Open aleith opened 5 years ago

aleith commented 5 years ago

There's so many features requests that are of higher priority than this, but just logging it for future consideration. Having a general generation/energy graph above and a specific targeted graph of only one of two generation sources, or curtailment, or particular generation units can be really helpful in telling a story elegantly. Change of vertical axis scale is very handy too, openNEM already seems to automate that.

windlabmodellednem

aleith commented 1 year ago

Here's a mock up of additional graphs being spawned. I haven't indicated any UI elements for spawning new graphs in the sequence or deleting existing graphs. "Delete graph" could be added as an option to the existing menu that shows "Hidden" option (amongst others) for all but when there is a single remain graph of each type (energy, price, temperature).

This mock up is comparing wind and solar produced for the most recent week in all states. Standardising the vertical axis would make sense sometimes in such a context, so that they all have a vertical axis with the same scale (and units obviously, MWh) which would make some states have taller graphs and some shorter graphs (might be an issue I guess if the existing code always uses same sized vertical dimensions for each graph).

This mock up shows a toggle for vertical axis scale syncing (presently show as "OFF" state as white bkgd button state) and a toggle for time line (horizontal axis) syncing across the graphs. The idea is if user changed from 7 Days to 30 Days in the buttons for one graph, with the toggle in the "ON" state, all the graphs would change to 30 Days time sequence. If the google was off only the graph changed would change. This would be good for showing a range of say two weeks and then a particular day below it and another particular day below that (when inspecting modelled data this is really important to be able to link to with just one URL link). The initial roll-out could see time syncing as assumed (no option to decouple).

There are lots of comparisons I can imagine showing both between states and inside just one state. This would be a really powerful feature. Maybe I could learn Jupiter notebooks and use if OpenNEM has an adequate API replicate it in Jupiter notebooks?! Has anybody placed OpenNEM graphs into a Jupiter notebook, would make a nice documentation tool for code savvy users of OpenNEM.

OpenNEM chained graph spwaning mockup