Coder Social home page Coder Social logo

opennem / opennem-fe Goto Github PK

View Code? Open in Web Editor NEW
61.0 4.0 10.0 31.28 MB

An Open Platform for National Electricity Market Data

Home Page: https://opennem.org.au

License: MIT License

JavaScript 22.66% Vue 75.84% SCSS 1.34% HTML 0.15%
national-electricity-market vue bulma-css d3 nuxtjs nuxt vuejs d3js australia

opennem-fe's Introduction

OpenNEM Energy Market Platform

logo

NOTE: This is the frontend project For the core project and any issues see opennem/opennem

The OpenNEM project aims to make the wealth of public National Electricity Market (NEM) data more accessible to a wider audience.

OpenNEM is a project of the Energy Transition Hub.

Project homepage at https://opennem.org.au

Find us on twitter

Developed by:


Development

This project uses Yarn (v1 - classic) for package management, ensure that Yarn is installed globally first.

$ yarn install

This will install the required Node packages.

Run the dev server

$ yarn dev

This wil run the local Nuxt dev server, you should be able to open http://localhost:3000/ in your browser, by default the public facing Opennem API will be used.


Issues

File issues at the main OpenNEM Repository and label them as frontend.


License

OpenNEM is MIT licensed.

opennem-fe's People

Contributors

chienleng avatar dependabot[bot] avatar dylanjmcconnell avatar gmmspi avatar nc9 avatar rgieseke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

opennem-fe's Issues

WA consistently shows overnight PV output for 1-2% of generation.

<img width="1152" alt="Screen Shot 2021-11-09 at 11 08 27 pm" src="https://user-images.githubusercontent.com/1528794/140922135-78ff977a-729c-4dc9-b452-fb15130140e8.png"
Screen Shot 2021-11-09 at 11 13 07 pm

Must be some kind of calculation error for both utility and rooftop PV (different data sources for one)… any idea why this is happening for WA … and now I look into it, in other states also. Is this a known issue I can report back to people on NEM Watch who use opennem regularly?
Screen Shot 2021-11-09 at 11 15 34 pm

This is crazy, and it's not a function of the browser code, adding back the other generation Solar still is visible overnight.

Incorrect interpolation of null values

Seen today, where the data from the server included null values, the interpolation approach isn't valid – particularly for rooftop solar, where we are seeing solar at night.

image

{
  "type": "power",
  "version": "3.8.2",
  "network": "nem",
  "code": "SA1",
  "region": "SA1",
  "created_at": "2021-11-10T10:06:48+10:00",
  "data": [
    {
      "id": "nem.sa1.au.price",
      "type": "price",
      "network": "nem",
      "region": "SA1",
      "data_type": "price",
      "code": "AU",
      "units": "AUD/MWh",
      "history": {
        "start": "2021-11-03T08:25:00+10:00",
        "last": "2021-11-10T08:25:00+10:00",
        "interval": "5m",
        "data": [88, 88, 116, 117, 117, 54.47, 96.62, 89.19, 71.66, 85.4, 47.61, 103.4, 49.63, 40.05, 76.03, 33.21, 47.58, 75.44, 35.47, 47.1, 59.27, 56.74, 64.31, 53.41, 49.43, 50.34, 41.34, 42.17, 51.04, 47.13, 40.77, 39.7, 39.54, 37.93, 44.13, 41.39, 46.77, 43.28, 47.87, 47.8, 46.63, 51.45, 54.5, 54.27, 58, 54.95, 53.3, 46.29, 46.79, 47.05, 46.78, 50.33, 45.05, 47.31, 57.08, 56.48, 51.69, 55.6, 53.37, 48.42, 50.03, 45.11, 44.81, 55.34, 50.77, 54.13, 53.77, 54.44, 48.52, 44.13, 49.29, 52.65, 53.54, 53.05, 52.35, 50.93, 52.36, 57.85, -35.95, 56.74, -99.9, 20.63, 60.59, -42.01, 56.74, 56.74, 48.55, null, null, 50.09, null, 51.63, 48.84, 53.17, 51.68, 49.53, 57.78, 55.37, 59.94, -37, 75.53, 61.92, 72.39, 129.5, 60.25, 58.99, 59.54, 54.25, 38.13, 37.01, 46.63, 44.12, 55.43, 55.96, 56.93, 67.69, 57.44, 65.99, 67.48, 70.28, 71.4, 71.07, 73.89, 74.08, 74.45, 62.61, 62.61, 62.28, 59.11, 56.13, 62.29, 62.94, 59.58, 52.37, 66.66, 68.39, 62.94, 59.49, 57.46, 57.75, 57.19, 61.02, 54.21, 62.63, 53.1, 53.61, 58.96, 52.68, 59.6, 57.47, 61.17, 61.11, 60.95, 60.64, 62.02, 62.01, 62.02, 61.28, 61.38, 61.7, 50.4, 50.3, 49.58, 50.36, 52.83, 56.92, 59.47, 43.64, 42.74, 17.32, 23.78, 43.28, 34.51, 33.73, 32.58, 34.08, 57.87, 63.04, 63.31, 63.71, 64.05, 66.08, 71.12, 67.38, 67.29, 67.04, 66.37, 65.69, 65.07, 61.58, 65.7, 65.61, 65.4, 65.95, 66.66, 79.1, 43.11, 36.75, 65.47, 64.59, 66.16, 18.64, 18.75, 11.64, 11.46, 11.7, 11.2, 11.41, 11.29, 9.33, 11.26, 8.87, 9.33, 8.79, 8.97, 8.92, null, 8.93, 8.78, 9.28, 8.88, 8.88, 8.97, 8.88, 8.83, 9.02, 8.97, 9.07, 9.14, 0.02, 9.02, 19.42, 18.33, 17.99, 17.9, 18.55, 32.4, 17.9, 32.26, 20.63, 32.25, 32.07, 18.85, 19.76, 34.11, 33.32, 33.35, 71.8, 59.05, 70.21, 76.44, 70.67, 71.79, 108, 61.08, 69.11, 68.29, 67.47, 76.44, 72.62, 74.45, 72.05, 71.89, 95.2, 90.51, 90.04, 114.7, 232.6, 92.2, 69.18, 69.56, 57.87, 58.5, 62.48, 64.82, 67.96, 65.95, 62.6, 103.4, 104.6, 87.63, 59.16, 60.16, 77.66, 229.8, 81.54, 68.51, 79.99, 42.22, 35.82, 93.05, 47.19, 38.92, 31.39, 31.61, 35, 35, 35.92, 28.43, 28.27, 25.61, 31.13, 8.51, 25.32, 20.63, 12.19, 9.45, 9.82, 9.43, 9.49, 8.2, 8.25, 2.67, 0.02, 8.05, 3.78, 2.67, 0.02, 7.96, 0.02, -1.07, 0.02, 2.42, 0.02, 3.6, 0.02, -1.09, 3.3, null, -0.82, 0.02, null, null, 0.02, 8.6, -9.34, -1.7, 2.52, 0.02, -9.18, -8.3, null, null, -9.09, -23.54, null, -3, -18.74, -14.6, -14.47, -21.07, -0.73, null, null, null, 0.02, 2.02, 1.97, 1.97, 8.27, 8.28, 8.26, 8.42, 8.28, 8.37, 8.09, 18.84, 8.46, 8.09, 8.13, 12.44, 8.46, -0.71, -8.25, 7.45, 1.59, 8.24, 8.35, 8.35, 8.39, 8.71, 12.52, 10.3, 31.2, 19.6, 47.81, 57.32, 55.99, 38.07, 35.36, 47, 45.09, 38.81, 39.75, 46.79, 42.19, 48.49, 58.98, 53.74, 47.12, 42.45, 53.83, 76, 61.54, 60.73, 68.26, 63.26, 63.3, 66.16, 67.6, 63.5, 63.87, 88, 76.44, 78.06, 76.44, 63.76, 76.02, 76.11, 65.72, 65.23, 59.14, 50.02, 50.02, 58.45, 57.06, 57.16, 54.54, 56.21, 54.19, 46.91, 37.77, 37.59, 37.39, 37.85, 37.59, 36.77, 36.09, 35.84, 29.57, 51.08, 48.11, 23.76, 26.64, 25.81, 24.48, 22.53, 32.06, 27.07, 33.76, 30.99, 30.87, 27.68, 27, 26.63, 22.42, 9.76, 22.41, 23.26, 40.03, 35.57, 22.62, 21.58, 21.72, 27.31, 28.53, 27.41, 27.39, 28.08, 28.58, 45.11, 41.87, 38.95, 36.82, 36.94, 36.82, 27.43, 29.3, 33.73, 14.36, 11.28, 14.42, 11.17, 34.61, 35.07, 34.94, 33.5, 31.67, 33.69, 33.57, 33.25, 22.12, 11.47, 11.32, 11.45, 11.21, 11.16, 9.42, 9.42, 9.37, 1.67, 0.02, 10.34, 9.1, 9.22, -10.31, 0.02, 8.53, 8.37, 8.58, 8.51, 8.57, 8.46, 8.56, 0.26, 8.35, 8.57, 8.46, 8.57, 8.41, 9.45, 9.66, 9.46, 30.47, 11.17, 20.63, 11.29, 20.63, 35.6, 36.7, 38.73, 38.85, 47.12, 48.45, 57.85, 55.83, 51.63, 55.9, 54.94, 57.93, 57.93, 56.38, 54.58, 54.57, 58.85, 59.16, 56.33, 61.06, 67.54, 64.32, 61.14, 64.06, 67.36, 64.27, 66.59, 66.59, 59.45, 60.33, 67.16, 60.03, 59.47, 58.95, 59.02, 58.95, 59.16, 51.97, 57.48, 60.46, 60.13, 59.91, 61.46, 50.96, 61.26, 63.61, 60.53, 61.18, 61.18, 60.55, 60.25, 59.62, 61.1, 64.48, 57.23, 58.24, 57.47, 57.46, 52.73, 57.18, 56.56, 55.96, 56.27, 52.29, 45.87, 48.83, 55.96, 50.85, 55.96, 41.74, 36.83, 45.59, 37.9, 36.04, 34.8, 35.84, 37.74, 55.93, 38.67, 38.6, 29.35, 28.81, 26.98, 20.97, 34.79, 34.75, 33.88, 31.26, 28.99, 29.16, 27.08, 29.67, 37.56, 35.47, 35.58, -0.35, 11.06, 10.68, 19.53, 21.82, 26.97, 26.66, 29.36, 27.21, 31.02, 22.06, 31.44, 37.78, 28.56, 31.56, 35.04, 29.7, 31, 36.55, 36.56, 38.78, 34.27, 37.89, 37.05, 38.95, 47.74, 39.19, 41.84, 50.88, 50.66, 54.92, 53, 54.54, 40.94, 41.5, 51.04, 61.55, 56.74, 63.81, 64.13, 63.81, 62.82, 63.39, 61.87, 68.71, 50.89, 42.62, 55.06, 60.71, 65.12, 65.19, 88, 88, 118.1, 89.66, 122.1, 97.02, 67.69, 76.24, 95.81, 80.33, 83.24, 115.9, 74.68, 76.44, 97.08, 136, 273.4, 136.3, 135.5, 138.6, 151.2, 281.8, 158.7, 133.7, 152.1, 152.7, 99.26, 254, 124.6, 94.07, 102.5, 91.98, 88, 92.7, 88, 88, 134, 97.71, 83.05, 83.7, 80.44, 78.31, 107, 89, 81.95, 76.44, 77.43, 76.44, 89, 88.13, 88, 83.05, 82.28, 76.44, 81.67, 84.48, 76.44, 76.44, 76.44, 73.32, 76.44, 76.44, 75.32, 73.45, 72.72, 70.09, 90.33, 117, 77.68, 76.44, 71.65, 70.57, 69.83, 70.06, 65.77, 58.81, 57.54, 51.81, 69.62, 69.73, 70.45, 60.34, 65.42, 65.29, 73.37, 63.87, 62.37, 62.63, 57.3, 61.02, 64.49, 64.82, 19.63, 10.08, 9.99, 0.02, 9.4, 9.15, 0.02, 0.02, 8.68, 8.59, 8.49, 0.02, -0.92, 0.02, 8.41, -0.82, -18.15, null, null, null, 8.41, 9.33, 9.38, 9.53, 9.55, 9.17, 9.02, 0.02, -0.97, null, -8.78, 0.02, -0.88, -10.64, -9.56, -10.42, -10.25, -10.2, -11.79, -22.34, -18.07, -21.97, -17.87, -10.03, -9.98, -17.57, -9.71, -9.82, -9.77, -9.82, -9.76, -9.71, -0.79, null, null, 8.41, 8.75, 8.51, 8.6, 8.93, 10.21, 10.49, 10.68, 10.51, 10.96, 10.88, 10.59, 9.33, 9.4, 9.14, 9.16, 9.43, 9.58, 11.44, 11.01, 9.63, 9.68, 9.36, 9.36, 9.26, 2.17, 9.36, -0.86, null, 9.21, 2.09, 8.68, 0.02, -3.47, 0.02, 8.56, 8.56, 0.02, 18.11, 9.24, 18, 9.34, 9.69, -19.03, -18.71, -19.21, -9.55, 3.42, -17.32, -18.09, -17.62, -23.1, -42.01, -27.8, -26.04, -25.33, -25.71, -42.01, -24.96, -42.01, -42.01, -25.06, -19.15, -18.55, -19.16, -20.96, -25.16, -20.62, -42.01, -42.01, -42.01, -42.01, -78, -42.01, null, 7.95, 7.18, null, 0.02, 6.34, 12.44, 16.01, 15.67, 13.74, -37, -37, -37, 15.15, 15.17, -0.73, 15.56, 26.63, 27.09, 20.75, 39.76, 29.55, 28.98, 29.98, 24.81, 17.77, 30.11, 26.34, 9.82, 9.72, 9.51, -78, 7.6, -37, -78, -42.01, -99.9, -78, -93.61, -37, -115, -93.61, -35.95, -35.01, 48.06, -35.01, 49.8, 21.01, 22.45, 25.86, 34.26, -20.74, -35.01, 9.56, 16.8, 10.1, 8.77, 8.57, 8.48, -0.72, 0.51, -0.71, -13.63, -35.95, -59.35, -78, -78, -42.01, -37, -37, -37, -35.95, 39.92, null, 61, 61, null, -37, 20.63, null, 49.59, 61, 52.51, 56.82, 68.53, 58.26, 61, 59.19, 59.82, 60.46, 60.14, 60.46, 58.75, 61, 60.13, 60.04, 50.11, 39.81, 48.79, 49.83, 48.26, 47.48, 44.02, 55.94, 56.42, 48, 40.01, 48.52, 49.31, 49.76, 49.31, 42.47, 40.59, 40.59, 40.59, 40.81, 34.29, 51.19, 42.8, 19.49, 34.07, 34.76, 50.4, 42.62, 18.22, 41.92, 41.86, 56.74, 42.66, 34.41, 56.74, 52.52, 53.25, 56.18, 57.36, 59, 57.89, 57.99, 58.96, 64.78, 61.94, 61.85, 55.25, 59.8, 55.01, 55.58, 57.41, 57.45, 48.5, 54.53, 54.6, 56.48, 60.71, 56.47, 68.47, 60.8, 59.93, 66.21, 47.54, 41.77, 43.37, 34.3, 34.32, 67.78, 67.78, 46.29, 66.1, 67.07, 32.51, 20.12, 20.17, 20.07, 19.97, 20.28, 20.18, 64.85, 66.34, 67.39, 70.96, 67.31, 20.71, 68.22, 67.24, 67.92, 61.02, 56.16, 56.12, 45.88, 20.4, 20.36, 20.19, 20.19, 10.36, 20.4, 10.31, 20.4, 10.36, 10.37, 20.4, 10.42, 20.63, 20.2, 20.36, 38.15, 38.44, 67.94, 38.09, 38.28, 41.52, 64.74, 64.43, 64.14, 81.94, 68.14, 83.25, 80.42, 69.04, 69.66, 73.84, 67.38, 67.12, 65.78, 68.74, 70.74, 67.4, 69.32, 56.21, 69.92, 52.44, 49.09, 56.35, 45.57, 51.51, 45.33, 39.56, 51.48, 51.16, 39.94, 38.33, 31.14, 28.39, 37.44, 44.54, 43.54, 54.88, 48.67, 44, 53.48, 43.09, 43.33, 42.21, 52.12, 56.5, 42.14, 40.94, 17.94, 17.96, 18.13, 19.44, 20.91, 29.3, 17.49, 17.24, 17.48, 10.78, 16.61, 10.25, 14.63, 10.13, 10.56, 10.18, 9.93, 9.33, 10.22, 10.32, 10.58, 10.48, 10.32, 10.13, 8.64, 9.13, 9.31, 10.17, 9.98, 10.14, 8.69, 9.76, 9.6, 9.64, 10.12, 0.01, 7.87, 7.82, 7.96, -70, 0.02, -0.71, -0.31, 0.02, -65, -3, -65, -42.01, -57, -0.69, -45, -59, -59, -42.01, -92.85, -57, -41, -41, -41, -41, -41, -41, -41, -41, -41, -93.61, -41, -41, -41, -93.61, -42.01, -42.01, -92.85, -78, -92.85, -92.85, -93.61, -59, -78, -189, -57, -41, -78, -93.61, -189, -41, -41, -41, -65, -42.01, -78, -59, -41, -59, -42.01, -42.01, -42.01, -42.01, -41, -41, -93.61, -78, -42.01, -78, -42.01, 25.51, -70, -42.01, 8.02, -37, -17.61, null, 8.2, 20.63, 49.48, 30.34, 57.64, 59.52, 59.83, 59.83, 59.19, 70.63, 105.6, 71.12, 88, 88, 73.99, 108.4, 72.45, 117, 71.69, 81.21, 72.62, 72.15, 63, 62.66, 88, 84.9, 76.5, 88, 82.44, 79.19, 79.27, 78.51, 78.91, 66.36, 66.03, 66.37, 66.03, 66.03, 65.16, 65.51, 67.07, 60.32, 65.99, 56.97, 65.37, 65.71, 65.72, 62.4, 82.44, 65.19, 64.6, 61.3, 62.46, 53.95, 81.19, 66.68, 65.06, 65.19, 65.19, 65.08, 65.41, 72.86, 65.08, 64.75, 65.08, 64.41, 64.75, 101.8, 82.44, 74.42, 76.02, 82.44, 117, 79.86, 80.66, 79.42, 66.8, 66.89, 84.23, 83.27, 85.23, 66.84, 68.43, 68.37, 80.95, 88.28, 82.44, 82.86, 75.21, 82.44, 72.15, 75.26, 70.94, 70.29, 70.72, 68.55, 87.17, 86.33, 71.7, 78.39, 71.62, 71.94, 71.81, 70.71, 68.88, 68.88, 68.88, 69.39, 71.88, 69.93, 70.83, 66.8, 67.15, 66.81, 66.81, 66.81, 66.47, 66.47, 66.47, 66.47, 66.81, 66.13, 66.47, 66.81, 66.8, 66.48, 66.48, 66.13, 66.82, 85.54, 86.16, 69.37, 68.44, 71.7, 68.53, 76.17, 85.67, 129.5, 69.27, 90.44, 93.55, 80.42, 92.97, 100.1, 90.44, 90.44, 113.2, 90.44, 116.4, 117, 69.68, 88, 93.2, 88, 72.91, 67.04, 77.75, 70.97, 70.79, 68.62, 19.23, 19.34, 35.95, 44.58, 19.64, 11.73, 11.23, 42.11, 58.19, 36.66, 19.06, 34.64, 45.96, 52.26, 50.87, 50.9, 49.92, 48.81, 41.49, 40.84, 41.05, 40.42, 40.2, 12.35, 17.44, 17.26, 40.01, 40.44, 40.88, 33.11, 11.26, 17.83, 14.84, 18.86, 35.07, 23.17, 18.96, 32.99, 11.21, 17.48, 17.66, 13.21, 11.02, 17.86, 10.87, 9.26, 8.72, 8.77, 8.72, 0.02, 0.02, 6.96, -0.82, 9.17, 20.63, 17.58, 9.12, 8.67, 0.02, 8.72, 8.93, null, 8.72, 8.72, 8.79, -9.04, 10.31, 17.03, 8.54, 8.54, 8.69, 8.4, -0.73, -5.59, -0.73, 8.36, 0.02, 8.31, 8.14, 4.07, 1.62, 7.91, 8.37, 5.68, 25.57, 9.63, 8.72, 8.14, 8.97, 8.37, 8.32, 8.32, -1.37, 0.02, 2.01, 8.04, 8, 0.72, -5.41, 4.1, 7.98, -35.95, 8.15, 8.04, 0.02, -1.57, 7.81, 9.71, 16.02, 8.15, 10.42, 10.24, 4.16, 10.2, 11.4, 16.91, 16.87, -35.54, 20.3, -14.7, 20.63, 21.31, 33.89, 10.93, 19.27, 11.45, 11.41, 33.79, 34.6, 35.11, null, 93.31, 76.53, 89, 65.69, 84.65, 121.9, null, 254.6, 256.9, 86.44, 129.5, 88, 102.7, 96.46, 86.44, 90.6, 86.44, 88, 88, 89, null, null, null, null, null, null, null, null, null, null, null, null, null, 89.73, 75.51, 77.64, null, null, 77.53, 76.85, 88.61, null, null, null, 62.96, 110.2, 65.65, 69.45, 62.35, 62.8, 62.68, 109.8, 69.45, null, null, 62.02, 69.45, 61.04, null, 62.02, 64.98, 62.36, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, -18.78, -33.47, -33.8, -8.87, -9.34, 16.97, 11.5, null, null, null, null, null, 7.87, -99.9, 31.22, 0.58, 8.09, 8.17, -1.39, -7.92, 8.55, 8.13, 8.09, 8.6, -4.31, 8.5, 8.5, 9.96, 16.91, 8.52, null, 8.68, 9.18, 11.14, 16.51, 19.44, 20.52, 6.48, 20.46, 6.56, 10.16, -35.95, 1.48, 5.04, 9.89, 9.99, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 61, 52.19, 76.52, 62.8, 63.3, 63.98, 64.31, 64.32, 74.26, 63.24, 65, 65, 62.93, 53.62, 62.3, 53.66, 58.14, 53.63, 51.1, 53.63, 64.03, 63.37, null, null, 64.02, 51.97, 63.05, 63.59, 63.39, 64.06, 58.45, null, null, null, null, null, null, null, 149, 86.42, 64.35, 64.01, null, null, 62.04, 62.04, 62.02, 61.72, null, null, null, null, null, null, null, null, 46.12, 43.54, 39.94, 42.07, 39.28, null, null, null, null, 31.41, 22.98, 20.63, 37.97, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 37.6, 37.45, 37.42, 33.98, 38.49, 36.83, null, null, 36.35, 38.91, 35.14, 35.77, 53.05, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 123.3, 149, 242.6, 60.25, 68.62, 55.93, null, null, null, null, null, null, null, null, null, null, null, null, null, 56.21, -183.7, -1000, 73.62, ]
      }
    },
    {
      "id": "au.nem.sa1.fuel_tech.solar_rooftop.power",
      "type": "power",
      "fuel_tech": "solar_rooftop",
      "network": "nem",
      "region": "SA1",
      "data_type": "power",
      "code": "solar_rooftop",
      "units": "MW",
      "history": {
        "start": "2021-11-03T08:30:00+10:00",
        "last": "2021-11-10T08:00:00+10:00",
        "interval": "30m",
        "data": [117.4,149.8,195.9,237.3,308,453.7,641.4,756.1,785.6,835.1,953.5,1061,1084,1044,987.6,901.6,779,627.9,460.8,290.5,142.9,45.65,3.842,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4.428,51.05,152.4,303,482.4,665.4,829.8,971.3,1089,1168,1229,1264,1279,1299,1301,1291,1258,1213,1151,1062,945.2,812.7,648.1,470.8,295.1,144.6,45.78,3.678,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8.169,78.73,181,268.2,402.7,573.1,783.3,934.7,1062,1148,1192,1227,1247,1255,1255,1239,1194,1168,1102,893.7,822,752.7,524.9,315.7,262.4,94.61,41.66,1.973,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.336,10.43,43.3,151.6,306.5,334.5,403.5,559.9,726.8,845.1,877.9,946,966.4,657.3,399.2,512.3,948.2,921.2,809.1,652.1,492,431.1,358.1,246.4,148.9,72.81,23.31,1.462,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2.65,35.93,106.4,205.9,313.2,444.2,597.1,646.7,632.6,763.2,850.5,898.6,953.2,984.3,1004,996.2,1011,980.9,975.3,908.8,820,716.8,571.3,425.5,275.2,145.3,52.64,5.707,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6.144,51.86,147.7,293,418.6,502.9,586.8,716,814.8,917.2,972.9,1007,1039,1106,1142,1168,1164,1118,1064,986.2,891.8,761.2,618.4,451,281.2,155.5,52.44,8.888,0,0,0,0,0,0,0,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,872.1,1090,1143,1172,1172,1219,1108,1049,895.9,715.5,null,null,null,null,null,null,null,null,19.6,1.893,0,0,0,0,0,0,0,0,0,0,0,null,null,0,0,0,0,0,0,0,3.919,39.44,110.6,233.4,330.4]
      },
      "forecast": {
        "start": "2021-11-10T08:30:00+10:00",
        "last": "2021-11-10T11:30:00+10:00",
        "interval": "30m",
        "data": [424.2,546.8,678.6,804.7,919.8,1017,1102]
      }
    },
    {
      "id": "au.nem.sa1.temperature",
      "type": "temperature",
      "network": "nem",
      "region": "SA1",
      "data_type": "temperature",
      "code": "023000",
      "units": "C",
      "history": {
        "start": "2021-11-02T22:30:00+00:00",
        "last": "2021-11-09T21:30:00+00:00",
        "interval": "30m",
        "data": [18.8,18.4,17.55,17.3,17.5,17.8,20,20.5,20,19.8,21.3,21.3,20.6,20.8,21,21.3,21.2,20.6,20.5,20.1,19.1,17.9,16.7,15.6,15.2,14.8,14.4,14,13.7,13.4,13.7,13.4,13.4,12.7,12.4,11.9,12.3,11.8,11.8,11.5,11.6,11.8,11.5,12.6,13.7,13.8,14.7,15.7,16.4,17.3,18.4,18.6,19.5,21.1,21.4,22.1,22.5,21.4,22.1,23.2,23.8,24.5,24.7,24.7,24.5,24.3,23.9,22.7,21.4,19.7,18.1,17.4,16.6,16.4,15.9,14.9,15.6,16.4,18.7,18.9,18.9,19,16.7,15.3,15.2,17.3,15.5,13.2,13.9,12.8,12.6,12.5,15.2,16.4,17.9,18.3,19.9,21.2,null,null,null,null,null,null,null,28.8,29.7,29.3,29.9,29.3,28.5,29.4,30.4,29.5,29.6,29,28.4,27.8,23.7,23,26.2,25.9,26.6,26.4,26.3,25.7,25.9,25.7,25.7,25.6,24.9,25.1,26.3,26.1,25.5,23.9,20.7,18.5,18.2,17.8,17.7,18,19.3,20.6,20.7,21.2,22.1,23,25.2,25.2,24.6,24.6,22.4,19.5,20.2,22.3,22.2,22,20.6,20.7,21.5,20.5,19.6,19.2,18.5,18.2,17.5,17.1,16.9,16.6,16.1,15.8,15.7,15.5,15.3,15.2,15.1,14.8,14.5,13.8,13.6,13.5,13.6,13.5,13.2,13.3,13.3,13.5,13.7,14.1,14.5,15.4,15.8,17,17.6,17.8,17.4,17.3,18.2,18.3,18.6,18.6,18.3,18.8,18.5,18.3,18.3,18.3,18.3,18.4,17.6,17,16.2,15.6,15.2,14.7,14.3,14,13.5,13.2,12.5,12.5,12.4,12.3,12.5,12.6,12.7,12.7,13.1,13.2,13.4,13.2,13.3,12.6,12,11.1,12.6,14,15.1,15.5,15.6,15.4,16.7,16.2,17.8,17.7,16.8,16.6,17.6,17.6,18.4,18.5,18.7,19.6,19.2,19.7,19.9,19,19.2,18.5,17.6,17.1,16.2,15.5,14.7,14,13.8,13.5,13.3,12.5,12.7,12.3,11.6,11.2,10.9,10.6,10.4,9.6,9.7,10.1,9.8,9.5,9,9.7,11.7,13.3,14.7,15.8,16.7,17.9,18.5,19.5,19.3,19.9,19.6,20.1,20.8,20.4,20.6,20.1,19.5,19.1,18.8,17.3,17.1,17.3,17.1,17.7,15.8,15.4,15.1,14.8,14.5,14.3,14.1,14,13.9,13.9,13.9,13.8,13.9,13.6,13.2,12.9,12.8,12.8,12.7,12.8,12.8,12.6,12.7,12.8,12.7,13.7,13.6]
      }
    }
  ]
}

Navigating dataset by time (with cursor, shortcuts or date modification)

It used to be that we could drag a marque over a period of the main graph and that would trigger a zoom operation and refresh of the graph stretching the period highlighted so it's date fills the X-Axis. I enjoyed using that functionality very much.

I don't know how we can zoom into periods of, say, a weekly period more than a week ago (say a year ago).

If that is correct, I guess my FR is for either:

  1. a marque-style zoom tool or standard function with normal cursor.
  2. Forwards and back arrows for moving one "screen" (whatever the current period of display is) at a time though data (more laborious than zooming on something you noticed, say you wanted a 3 day view from 5.4 years ago, click "1Y", click "←" 5x, click "month", click "←" 4x, click 3D).
  3. click on dates/times to edit values directly
  4. trackpad gestures
  • e.g. pinch to zoom in/out — NB already used by macOS in browsers for zooming in/out of pages (useful for enlarging text and detail esp. for visually impaired people)
  • two fingered swipe, already used by macOS for browser page forward and back (not a big deal to override those)
  1. a modifier key like "option" held down while dragging cursor to enact a zoom.

I'm sure this is planned in some form but no harm in hashing it out on here for people to express opinions.

Houston, we have a search engine problem

This one is about improving how well your site's potential search engine ranking.

Some Observations

These observations are of the live site (not the development site).

  1. the main page of the App has little to no copy (e.g words). Google really doesn't like this (part of its algorithm looks at the ratio of content to code). If you look at the page source of the main page you'll see what I mean. It's almost entirely HTML markup. Very few words.

  2. the markup contains no visible link to the /#/about page. This suggests (I might be wrong) that the link to the page is added with javascript.

  3. whilst Google has clearly indexed the site, it evidently has not indexed the About Page, possibly because its not finding it.

  4. You don't have a sitemap.xml file. Well you do, but its not working.

Put together, I think these things are adversely impacting your search ranking. Google for whatever reason isn't finding the About Page, and there's no XML Sitemap to explicitly tell it. As such, the one page of the site with the most google juice (e.g your About Page) is being wasted.

Potential Solutions

If your care about search engine ranking , you really need to get the About page indexed with google, as that's your only content page.

You've got a few options

  • One way to do this is by explicitly telling Google via their Google Search Console tool. Before you can play with that, you need to get your site verified. I can help with that if you want.

  • Alternatively you can get your Sitemap.xml page fixed, but you probably want to setup Google Search Console.

  • Even more simply than that you may wish to update the HTML markup to include an explicit link to the About Page.

There's lots of other things to be done here (mainly around writing distinct copy for each distinct page with a distinct URL) but for now you want to focus on getting the content you do have indexed.

add time period to the URL

This one is feature request.

Given the new version of the site offers more options for the chart time periods, I think it makes sense to have these represented in the URL. So for instance, if you were to change the region to Victoria and select a time period of one year, the url would be something like /#/regions/vic/year or better still have the actual dates in the URL.

The benefits of adding the timeframe to the URL may include:

  1. better for sharing. If I tweet the aforementioned link for instance, the people who click on my tweet see on the website the same as what I was seeing). This would be particularly true if you put actual dates in the URL.

  2. possibly better browser caching. Given browser caching works at the page level (and the browser defines a page via its URL), more granular URLs may result in more accurate browser caching

  3. slightly better user experience - because the state of the app (which region and region time period is selected) is reflected not only in the app's UI but also via its URL

  4. better search engine ranking. Google tends to like site's that have a sitemap (inferred from the URL structure) that is more than 1 level deep.

  5. More granular reporting in Google Analytics. Because out of the box reporting in GA works via URL page views, having the time period in the URL would enable you to, for instance, determine which time periods generate the most page views.

There are some technical considerations here. For instance, you may wish to update the Twitter Cards metadata, so that as the user chooses a different region or time period, the Twitter Card metadata updates accordingly (so that if someone tweets that URL, the tweet's auto generated metadata is consistent with the selected region/time-period).

ta
Charlie

WA Live Data

Not sure if this is possible or not ?
But WA data seems to be delayed by 18 hours or so.
Is this a limitation of AEMO ? as their site seems to show live data ?

Yay WA is now included! WA generation and consumption data lacking rooftop PV

I wonder if the postcode PV sources used for estimating RooftopPV on the NEM are applicable to WA? WA has some of the highest penetrations of rooftop PV (residential, commercial and now industrial is accelerating quickly) in Australia and it would make more sense of the hard ramping on coal units to see the rooftopPV flooding into the daytime market.

Summer of '69

Tooltip sometimes shows wrong date when hovering near the edge of the chart. This is probably due to chart x-axis extremes not aligned to the start/end date time of the dataset.

To re-create:

  • switch from Stacked to Line
  • hover near the right edge
Screen.Recording.2022-09-01.at.3.39.56.pm.mov

feature request - selecting a specific time (via the chart) should 'stick'

This one identifies an opportunity to improve the user experience of the app.

Consider this. I’m on my phone, it’s 2pm I’m looking at OpenNEM and I notice something crazy in the chart from 9:30am this morning. Rooftop solar has cracked 20% of national demand.

I want to screenshot the table so I can tweet it. I can’t.

Why not?

To show the table for 9:30am today I have to select that time. But the only way I can do that is by tapping and holding that time on the graph. When I lift my finger (to scroll down to the table) the App snaps back to the current time and the table updates to show the data for 2pm rather than this morning.

Desktop

The issue is less severe on desktop - because there is a workaround, which is to not move the mouse once the cursor is hovering over the date you want - but its still problematic. For instance there is no way to use the Export as Image feature for a specific time because once you move the mouse to invoke the Export feature, the date is reset to the current time!

What would solve this ?

When you tap (or click) a time on the graph that should set that time in the App’s state. That time should be “remembered”.

The App’s time is then reset when either the user taps (or clicks) another time on the graph. Or when the user clicks some sort of ‘reset’ button or icon which would then snap the app back to some sensible default state, such as the current time.

URL Shareability

Later on the selected time should also be captured in the URL as well for the sake of sharability

Slack channel

Hi guys,
just wondering if there's a Slack account set up for the community to assist conversations while working on the OpenNEM project?

I spent last night going through the nemweb repo and would like to propose some changes, including the addition of a few more repos, to the opennem team. I figure a conversational space like Slack may help a little bit more.

Cheers, Joel

Bug: Missing battery (dischargling) data for Vic

Hi, I'm new here.

There is a minor bug in the OpenNEM data both for the website and the exported data.

Victoria's figures for 30D, 7D, 3D & 1D contain battery (discharging) figures, but not battery (charging) figures. The column is also missing in the exported data.

For 1Y, the figures are there and the column is there in exported data, but the latest figures are from 30/12/2018.

Request: Toggle source

Is it possible to implement a function so I can toggle a source on/off from the chart and table? So, for example, I can see the correlation between all the non-coal sources.

Thanks!

website hygiene - 003 - setup Google Search Console

It's good practice to setup your site with Google's Google Search Console tool. This tool helps you assess the health of your website from a search engine point of view, and helps you submit additional information to Google, such as the location of pages it is unable to find, such as the About Us page.

Verification

I've started the setup, but we need to go through a verification process. I tried the verify via Google Analytics verification method with no luck. The next simplest method is to upload a file - provided by Google - to the webserver. I've supplied that to @chienleng in this Slack thread.

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

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

Incorrect data in UI and CSV export (solar rooftop, unsure if there's others)

JSON

{
  "id": "au.nem.nsw1.fuel_tech.solar_rooftop.power",
  "type": "power",
  "fuel_tech": "solar_rooftop",
  "network": "nem",
  "region": "NSW1",
  "data_type": "power",
  "code": "solar_rooftop",
  "units": "MW",
  "history": {
    "start": "2021-11-03T14:30:00+10:00",
    "last": "2021-11-10T13:30:00+10:00",
    "interval": "30m",
    "data": [
      2063,
      1794,
      1418,
      1072,
      793.4,
      539.6,
      291,
      106,
      12,
      0.012,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0.626,
      27.73,
      125.2,
      258,
      385.5,
      530.2,
      689.8,
      810.1,
      858,
      892.7,
      933.3,
      1014,
      1057,
      1130,
      1131,
      1142,
      1119,
      1098,
      1006,
      858.2,
      762.1,
      632.7,
      493.7,
      389.6,
      292.8,
      161.7,
      71.55,
      13.56,
      0.295,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0.318,
      21.42,
      82.03,
      160.1,
      273.8,
      409.3,
      561,
      722.6,
      826.3,
      984.9,
      1113,
      1290,
      1328,
      1418,
      1565,
      1576,
      1607,
      1575,
      1543,
      1438,
      1226,
      966.8,
      756.2,
      607.4,
      412.9,
      230.5,
      101.9,
      19.78,
      0.325,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      1.108,
      55.19,
      216.2,
      485.8,
      806.9,
      1165,
      1455,
      1758,
      2046,
      2283,
      2440,
      2610,
      2697,
      2696,
      2657,
      2643,
      2602,
      2534,
      2380,
      2230,
      1939,
      1637,
      1325,
      936,
      568.1,
      302,
      121.9,
      27.39,
      0.13,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      2.525,
      80.34,
      267.1,
      425,
      504.1,
      657.9,
      867,
      1082,
      1299,
      1425,
      1551,
      1595,
      1526,
      1604,
      1534,
      1345,
      1333,
      1227,
      1139,
      1030,
      954.2,
      704.5,
      520.9,
      369.8,
      275.1,
      168.2,
      80.15,
      18.93,
      0.614,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0.191,
      16.98,
      99.33,
      250.9,
      475.9,
      793.6,
      1043,
      1388,
      1638,
      1850,
      1984,
      2050,
      2197,
      2320,
      2415,
      2482,
      2399,
      2254,
      2101,
      1809,
      1643,
      1631,
      1357,
      1000,
      645.7,
      346.5,
      142.5,
      31.26,
      1.064,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      1.549,
      68.77,
      206.1,
      404.4,
      662.2,
      1005,
      1238,
      1520,
      1812,
      2156,
      2293,
      2358,
      2632,
      2703,
      2697,
      2727,
      2670,
      2617,
      2491,
      2335,
      2126,
      1842,
      1514,
      1127,
      767.8,
      441.4,
      186.6,
      41.42,
      0.782,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      1.399,
      58.76,
      213.7,
      356.9,
      493.1,
      557.4,
      618.5,
      723.4,
      786.5,
      983.2,
      1093,
      1123,
      1012,
      890.4,
      860.3,
      863.3,
      881.6,
      855.3
    ]
  },
  "forecast": {
    "start": "2021-11-10T14:00:00+10:00",
    "last": "2021-11-10T17:00:00+10:00",
    "interval": "30m",
    "data": [
      1187,
      1122,
      1038,
      933.2,
      803.9,
      649.4,
      479.8
    ]
  }
}

CSV

date,Pumps -  MW,Exports -  MW,Imports -  MW,Coal (Black) -  MW,Distillate -  MW,Gas (CCGT) -  MW,Gas (OCGT) -  MW,Hydro -  MW,Wind -  MW,Solar (Utility) -  MW,Solar (Rooftop) -  MW,Temperature - C,Emissions Intensity - kgCO₂e/MWh,Price - AUD/MWh
2021-11-09 14:00,-42.03,0.00,500.10,3596.00,-0.13,396.10,0.00,82.68,502.90,1260.00,2439.00,23.70,NaN,10.15
2021-11-09 14:30,-34.89,0.00,430.85,3731.67,-0.13,402.92,0.00,134.18,549.32,1196.67,2343.58,23.65,NaN,31.88
2021-11-09 15:00,0.00,-103.32,121.30,3987.33,-0.13,400.60,0.00,465.53,525.37,1213.17,2137.17,23.18,NaN,72.43
2021-11-09 15:30,0.00,-22.21,109.04,4328.00,-0.13,398.13,-0.65,590.23,503.15,1160.00,1862.00,22.88,NaN,27.86
2021-11-09 16:00,0.00,0.00,182.52,4769.50,-0.13,349.27,-0.64,432.53,417.25,1265.67,1536.42,22.28,NaN,0.00
2021-11-09 16:30,0.00,0.00,147.57,5412.33,-0.14,338.43,0.00,211.01,323.78,1262.50,1161.57,21.10,NaN,0.00
2021-11-09 17:00,0.00,0.00,171.47,5977.83,-0.14,309.08,0.00,272.23,252.92,1106.97,800.47,20.55,NaN,0.00
2021-11-09 17:30,0.00,0.00,482.73,6477.00,-0.14,391.60,0.00,171.21,156.43,633.32,474.57,20.31,NaN,0.00
2021-11-09 18:00,0.00,0.00,844.48,6638.33,-0.15,395.60,0.00,118.12,89.73,293.80,216.97,20.03,NaN,0.00
2021-11-09 18:30,0.00,0.00,1038.43,6574.50,-0.15,397.60,0.00,180.57,56.39,52.98,62.23,19.73,NaN,0.00
2021-11-09 19:00,0.00,0.00,1039.05,6637.67,-0.15,395.93,0.00,208.03,30.19,2.57,7.49,19.53,NaN,0.00
2021-11-09 19:30,0.00,0.00,1030.98,6630.33,-0.14,395.47,0.00,111.92,46.44,0.10,0.13,19.49,NaN,0.00
2021-11-09 20:00,0.00,0.00,791.63,6565.50,-0.14,359.95,0.00,111.82,204.23,0.05,0.00,19.41,NaN,0.00
2021-11-09 20:30,0.00,0.00,689.02,6473.50,-0.13,264.43,0.00,113.55,300.63,0.07,0.00,19.32,NaN,0.00
2021-11-09 21:00,0.00,0.00,626.37,6411.17,-0.13,190.30,0.00,113.17,306.00,0.07,0.00,19.41,NaN,66.31
2021-11-09 21:30,0.00,0.00,634.98,6278.83,-0.13,189.77,0.00,112.40,373.52,0.07,0.00,19.66,NaN,66.56
2021-11-09 22:00,0.00,0.00,684.63,5987.00,-0.13,190.47,0.00,107.23,438.88,0.07,0.00,19.79,NaN,60.00
2021-11-09 22:30,0.00,0.00,779.80,5985.00,-0.12,119.46,0.00,81.58,472.22,0.06,0.00,19.87,NaN,0.00
2021-11-09 23:00,0.00,0.00,0.00,5827.50,-0.12,0.13,0.00,81.39,606.73,0.06,0.00,19.73,NaN,71.01
2021-11-09 23:30,0.00,0.00,0.00,5789.00,-0.12,0.13,0.00,81.20,705.18,0.06,0.00,19.71,NaN,0.00
2021-11-10 00:00,0.00,0.00,0.00,5648.00,-0.11,0.13,0.00,81.11,739.95,0.06,0.00,19.78,NaN,66.72
2021-11-10 00:30,0.00,0.00,0.00,5504.17,-0.11,0.13,0.00,81.78,680.60,0.06,0.00,19.79,NaN,68.04
2021-11-10 01:00,0.00,0.00,0.00,5247.33,-0.11,0.13,0.00,80.89,700.27,0.05,0.00,19.72,NaN,0.00
2021-11-10 01:30,0.00,0.00,0.00,4816.17,-0.10,0.13,0.00,81.36,689.88,0.00,0.00,19.71,NaN,46.42
2021-11-10 02:00,0.00,0.00,0.00,4628.50,-0.10,0.13,0.00,81.93,685.63,0.03,0.00,19.77,NaN,0.00
2021-11-10 02:30,0.00,0.00,0.00,4531.83,-0.10,0.13,0.00,81.27,699.37,0.07,0.00,19.72,NaN,0.00
2021-11-10 03:00,0.00,0.00,0.00,4430.00,-0.10,0.14,0.00,81.54,711.73,0.07,0.00,19.69,NaN,0.00
2021-11-10 03:30,0.00,0.00,0.00,4458.67,-0.10,0.14,0.00,82.01,690.97,0.07,0.00,19.61,NaN,0.00
2021-11-10 04:00,0.00,0.00,0.00,4550.17,-0.10,0.13,0.00,77.95,675.05,0.07,0.00,19.52,NaN,0.00
2021-11-10 04:30,0.00,0.00,0.00,4637.83,-0.10,0.13,0.00,50.22,714.25,0.06,0.12,19.49,NaN,50.09
2021-11-10 05:00,-42.98,0.00,0.00,4831.83,-0.10,0.13,0.00,50.31,712.83,0.09,5.95,19.42,NaN,0.00
2021-11-10 05:30,-62.78,0.00,0.00,5307.00,-0.10,0.08,0.00,50.11,704.10,9.46,62.11,19.43,NaN,0.00
2021-11-10 06:00,0.00,0.00,0.00,5666.00,-0.10,0.11,0.00,50.13,660.32,59.26,199.81,19.79,NaN,0.00
2021-11-10 06:30,0.00,0.00,0.00,5932.83,-0.10,0.12,0.00,50.25,591.82,113.08,344.38,20.42,NaN,0.00
2021-11-10 07:00,0.00,0.00,0.00,5965.83,-0.10,0.13,0.00,158.14,556.55,198.30,475.76,20.81,NaN,73.05
2021-11-10 07:30,0.00,0.00,0.00,5962.50,-0.10,0.12,0.00,214.55,490.90,300.40,551.78,20.68,NaN,0.00
2021-11-10 08:00,0.00,0.00,0.00,5807.17,-0.10,0.12,0.00,174.91,453.98,422.77,617.06,20.86,NaN,0.00
2021-11-10 08:30,0.00,0.00,0.00,5805.33,-0.10,0.19,0.00,70.63,434.28,584.55,711.17,20.95,NaN,195.60
2021-11-10 09:00,0.00,0.00,0.00,5719.50,-0.10,0.56,0.00,50.23,492.35,661.77,792.38,20.63,NaN,74.37
2021-11-10 09:30,0.00,0.00,0.00,5618.17,-0.10,0.56,0.00,50.39,457.43,924.83,959.57,20.25,NaN,0.00
2021-11-10 10:00,0.00,0.00,0.00,5584.67,-0.10,0.57,0.00,164.56,408.22,916.78,1077.20,20.07,NaN,0.00
2021-11-10 10:30,0.00,0.00,0.00,5506.67,-0.10,0.27,0.00,469.22,485.88,920.38,1108.75,20.39,NaN,0.00
2021-11-10 11:00,0.00,0.00,0.00,5530.67,-0.10,0.12,0.00,833.35,482.50,979.38,1020.37,20.22,NaN,0.00
2021-11-10 11:30,0.00,0.00,0.00,5508.83,-0.10,0.13,0.00,928.75,533.00,986.52,908.16,19.85,NaN,0.00
2021-11-10 12:00,0.00,0.00,0.00,5507.50,-0.10,25.11,0.00,801.67,605.55,989.20,865.57,19.63,NaN,0.00
2021-11-10 12:30,0.00,0.00,0.00,5435.50,-0.10,147.77,0.00,489.52,737.42,1019.53,864.33,19.52,NaN,52.89
2021-11-10 13:00,0.00,0.00,0.00,5263.33,-0.10,190.27,0.00,486.13,641.77,971.92,876.36,19.50,NaN,0.00
2021-11-10 13:30,0.00,0.00,0.00,5210.83,-0.10,189.93,0.00,590.43,551.95,863.18,887.32,NaN,NaN,0.00
2021-11-10 14:00,0.00,0.00,0.00,5222.00,-0.10,190.27,0.00,577.70,527.45,912.05,1126.30,NaN,NaN,76.80

potential issue - google analytics

Not a big one but....

I've noticed a few small issues with Google Anaylytics.

  1. In GA, the Real Time reports don't work. You can't for instance see how many people are on the site right now.
  2. the Google Tag Assistant chrome extension, doesn't find the GA tag.

Not a big deal, but these issues might be indicators of other larger issues we're not yet aware of. Worse case scenario is that we're under reporting the traffic because the Google Analytics code isn't firing in all cases.

Proposed Resolution

To resolve this, I propose we implement the GA tag, through the Google Tag Manager container. This is fairly standard practice. I've done this myself on my own client-side React app and it works beautifully.

Action

To implement this, therefore, the steps are

  1. remove the current implementation of the GA script via vue-analytics
  2. publish the GA tag via GTM

This has the benefit of removing one 3rd-party library (vue-analytics) and implementing the Google Analytics entirely through Google's own code which seems sensible.

More detailed level of data for the full historical data set. Currently 5 and 30 min. time periods limited to last 7 days only.

Currently the state based daily price info as 5 or 30 minute basis is not available prior to the week of data. It's not even possible to move to a prior week week-by-week using arrows next to the dates, that could be one way to implement more usability if the data extends prior to last 7 days without rebuilding the database back end.

Is this an imposition of the UI or is it due to problems accessing that level of data for prior years or the database construction?

I was just wanting to study the price impacts of coal closure in SA (2015/16) and the most detail I could reveal was monthly data, I wanted to see daily price event details (i.e. around import and export prices which get averaged out over the month).

Legend for Increase/Decrease fitted line is truncated by chart top

Client:
macOS High Sierra 10.13.6 (17G14042)
Safari Version 13.1.2 (13609.3.5.1.5)
OpenNEM:
https://opennem.org.au/emissions/au/ v4.5.2

Minor usability issue.
In some situations the legend that describes a fitted Increase/Decrease line between two years/quarters is truncated by the chart top.

Repeat by:
Initial chart settings: Quarterly, others default.
Add "Land Management" values, increasing proportion of chart occupied.
Select Q1 2007, then Q3 2008.
Note that the legend "Decrease of 9.? Mt" is truncated
(Can't attach an image, it's refusing JPG and PNG as small as 77Kb.

Update range UI selectors (top left) when selecting day view by clicking on a date on the X-Axis

This relates to the current (live) production version. A feature was added so we can click on a date in the X-Axis (time) and a day time range for X is generated, typically a Zoom-in operation but can be a zoom out operation if the time range is <24 hrs.

The range selector always seems to get changed to the default of "7D" even though it's one day that is shown. When you click the "Zoom out" button (top right) it zooms to 7 day range, even if the previous range was 30 day time range (or any other).

Solution, update range to 1D whenever dates are selected. Similar situation for 'hour' buttons on X-Axis.

Filling in rooftop data with forecasts

atm since NEM dispatch is 5 minute intervals while rooftop is 30m intervals, there are anywhere from 0-5 intervals gaps on the FE for rooftop solar

image

image

We've spoken previously about shading this in with the forecast data up to the current interval - we should probably do this and mark it with a thatched pattern, or similar.

"compare" graphs results need to be multiplied by -1 (to my way of reading)

When I read "7 Jan vs 12 Jan" the expectation I have is that I will be seeing how much more or less wind, solar, coal etc was generated on 7 Jan in comparison to 12 Jan. So were there was 18 GWh less wind energy generated on 7th c.f. 12th I'd expect to see that amount as a negative amount of energy not a positive.

Likewise, when coal use is 46 GWh more on 7 Jan compared to 12 Jan, I'd expect to see it as a positive. Is this a "you say tomatoes I say tomatoes" thing?

One suggestion is to make the "7 Jan vs 12 Jan" text in the title of the comparison graph a (not obvious but workable) button that toggles the comparison to "12 Jan vs 7 Jan" so the comparison can be inverted too.
Screen Shot 2020-02-05 at 3 19 01 pm
Screen Shot 2020-02-05 at 3 15 28 pm

website hygiene - 002 - robots.txt

Observation

there is no robots.txt file where its expected: i.e https://opennem.org.au/robots.txt.

Recommended action

It's good practice to have a robots.txt file at yourdomain.com/robots.txt.

A simple robots.txt would contain:

User-agent: *
Allow: /

Your development subdomains should also have their own robots.txt, to tell Google et al not to index those subdomains that you want to keep hidden. I note for instance your development subdomain has been indexed by Google, which isn't ideal. A robots.txt file won't fully rectify this, but its a start.

Display of $0 prices

If the electricity price is exactly $0.00 (this happened last night near midnight for SA), the data will not display on the graph or in the summary table and instead looks like missing data.

image

Update stripes and energy view to use demand.energy and demand.market_value

see dev for examples

energy jsons:

  • price chart
  • export price chart
  • table Av.Value column
  • table Contribution to demand to use demand.energy (maybe?)
  • stats table (price)
  • 12th month rolling calculation
  • interval calculation
  • interval filter calculation

stripe jsons:

  • vwp
  • vwp (inflation adjusted)

minor bug - twitter card thumbnail using development url

Hi there,

I've just noticed a minor bug. If you look at the Twitter Card metadata on the production site, you'll notice the twitter:image:src points to a URL of an image. However the URL of the image is pointing to the development subdomain, rather than the live site. Needless to say, nothing on the production site should reference the development site.

See attached.
screen shot 2019-01-13 at 10 18 52 am

Vertical Axis labels overlaid on data.

It's usually considered good design to have axis labels in white space to make them more legible. While overlaying them on the data plot saves space, the grey colour and minor amount of drop-shadow effect on the digit glyphs makes them pretty illegible when plotted over coal (brown and charcoal coloured) and pumps (dark purple).

Recommend either more drop-shadow, context sensitive text colour or put them to the left hand side of data. The later would allow more easy editing of text sizes/legibility in post-production of graphs in vector and pixel editing software.

For "Season", "Half Year" & "Fin Year" views, the selected period data table fails to populate.

Tested on macOS Safari, iPhone Safari and Chrome.

Steps to reproduce:

  1. Select NEM or any state and "Energy" from top menus.
  2. Select "ALL" from the {1D, 3D, 7D, 30D, 1Y, ALL} duration radio buttons.
  3. Select "Quarter", "Month" or "year" and click on a column in either of the graphs and the data summary gets populated with the energy and percentages for that period.
  4. Select "Season", "Half Year" & "Fin Year" and click on a column in either of the graphs and the data summary shows no data for energy nor percentages for that period.

website hygiene - 004 - sitemap.xml

Sitemap.xml

It's good SEO practice to have an XML Sitemap, that is accessed at yourdomain.com/sitemap.xml. This file is used by search engines to get a list of each unique URL. It's essentially a machine readable inventory of each URL.

Example

See Origin Energy's XML Sitemap as an example.

Observation

Your site appears to not have a XML Sitemap. Or rather it has one - see https://opennem.org.au/sitemap.xml( but it doesn't list any page URLs!

Recommendation

it's recommended you get the XML Sitemap working. This is likely to help the problem I identified with the content rich About Page not being indexed.

How

Given the relatively few number of distinct page URLs you might just create the XML file manually. Alternatively this blog post has some good suggestions on how to generate an XML sitemap in a VueJS app (which I gather is the framework in use?).

"Up" and "Down" arrows not working as they're supposed to in Facility view

in the detailed Facility view under the Facilities set of views, there's up and down arrows in circles on the top right corner of the page.
Screen Shot 2022-06-29 at 2 16 31 pm

They should advance or regress through the previously filtered list of facilities on the main facilities page, but clicking on either of them just redirects the browser to the homepage showing Energy on the NEM, the default view.

It would be a handy feature to get working.

tested in Safari, Firefox and Chrome for macOS Big Sur 11.6.7

Site navigation using browser controls (Back and Forward arrows)

Currently the back and forward arrows will not shift the time series to the last view, only the change to Region. I am hoping when there is a url schema for including the details in the url suffix this will get resolved automatically. Something to watch maybe while new url schema is being implemented.

website hygiene - 006 - add Google Tag Manager

It's helpful to run Google Tag Manager aka GTM on the site.

The immediate benefit is that it will help me setup some Goals in Google Analytics for tracking key events (i.e actions taken by the user) that happen on the website, such as use of the Share feature, that we may wish to optimise.

Without GTM you'd have to trigger events in Google Analytics by adding javascript calls to your code directly which isn't preferable.

Container

I've created a Google Tag Manager Container for the OpenNem website. To start using this we need to get a once-off code blob added to the page templates.

Additionally it means deploying javascript tracking code - such as the code required to run A/B testing tool Google Optimize can be done without a code deploy. You also get full version control and revision history, access control etc.

Instructions

Follow these steps to get GTM working on the site

  1. paste the code below as high in the HEAD tag of the markup as possible
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-TPSZXXM');</script>
<!-- End Google Tag Manager -->
  1. Additionally, paste this code immediately after the opening tag:

<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-TPSZXXM"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.