elexon-data / insights-issues

This repository serves as a centralised location for tracking and managing issues reported on the Insights Solution.
MIT License
4 stars 0 forks source link

B1610 data is in MWh, not MW as per the docs and legacy API #21

Closed robhawkes closed 11 months ago

robhawkes commented 11 months ago

Describe the issue

The new B1610 actual output endpoint is reporting data in MWh when the documentation says that it should be MW, and when the legacy BMRS B1610 data is also in MW.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Request B1610 data for HOWAO-1 for a specific settlement period
  2. Request PN data for HOWAO-1 for the same settlement period
  3. Compare output values and see that B1610 quantity (eg. 197.957) is roughly half the PN level (eg. 385), indicating that the B1610 values are likely MWh rather then MW
  4. Compare Insights B1610 output values against legacy BMRS B1610 output values and see that the BMRS output is exactly twice as much (ie. MW)

Expected behaviour

I imagine either the documentation is incorrect and should instead say MWh, or the data returned via the new API is using the wrong units and should be MW like the legacy API.

CleanShot 2023-11-15 at 17 04 37

Screenshots

MWh values from Insights B1610 endpoint

MW values from Insights PN endpoint

MW values from legacy BMRS B1610 API

Checks

Please answer the following questions for yourself before submitting an issue.

robhawkes commented 11 months ago

I've received confirmation from Elexon on LinkedIn that the B1610 units should be MWh (ie. different to the legacy API) and that the documentation will be updated to reflect this