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

fix(map): :bug: Only calculate total flex per region on the overall tab #18

Closed ryanjenkinson closed 1 year ago

ryanjenkinson commented 1 year ago

Previously, if selecting an individual flex event, the "average flex per region" was essentially calculated twice. We remove this bug, and only calculate the total flex per region when overall=True in the map