The question
A consumer group wanted to know which kind of tariff gave typical households the best value over a year, using what people actually used rather than the price on the label.
The data
About 2.3 million half-hourly readings. The main work was in SQL: joining each reading to the rate in force on that date, then calculating what each household would have paid on every tariff.
What I did
I compared total annual cost by tariff type, then built a monthly bill forecast to show how the gap would behave through the next winter.
What I found
Fixed tariffs were cheaper for most households, with the gap widest in winter. The forecast was within about 2% for the first 19 months, then missed by up to 9% when a price change took effect.
What I'd do differently
I treated tariff rates as fixed in the forecast, and a mid-year price change broke that assumption. I should have asked on day one which rate changes were already announced and built them in as inputs. The miss cost four months of forecast accuracy and a rework.