opennem
opennem copied to clipboard
Incorrect calculation for VWP

comparing
https://opennem.org.au/energy/vic1/?range=30d&interval=1d
to @dylanjmcconnell VWP output discrepancy
@nc9 is adding two new series to the daily and monthly summary JSONs:
*.demand.energy— sum ofdemand_and_nonschedgenfor each interval*.demand.market_value— sum of[demand_and_nonschedgen * trading_price.rrp]for each interval
https://data.dev.opennem.org.au/v3/stats/au/NEM/VIC1/energy/2022.json
This file :
https://github.com/opennem/opennem/blob/master/scripts/vwp.py
Tests the VWP deltas - they're all down to rounding errors. @dylanjmcconnell can you re-run what you had before in the original just to confirm please?
@nc9 why does VWP only start in 2009? ie. what data is missing to take it back to start of the NEM?

oh! need to re-run the aggregate that takes the new demand data for years < 2009
I'll do that now
re-assigned this issue to track
edit: it's running now
price < 2009 on prod. (q came up if we should have an inflation-adjusted option @simonhac which we do in stripes )
#283 - validate and document OpenNEM VWP