ryanjenkinson / consumer-flex-app

A streamlit app that uses open data to demonstrate consumer flexibility in the energy system
6 stars 1 forks source link

Hotfix: Reindex error due to date parsing #17

Closed ryanjenkinson closed 1 year ago

ryanjenkinson commented 1 year ago

This hotfix PR addresses two issues:

  1. In the flexibility event on 13th Feb, some of the bids had date 13/02/2023 rather than the usual 2023-02-13. I added better parsing to detect and deal with this, so the app renders
  2. The procured_mw was not infilling the day-ahead value when there was no D0 value.

Now the app should work as intended, but this is tech debt we should fix in a later refactor.