Quantifying the flexibility of residential electricity demand in 2050: a bottom-up approach | IEEE Conference Publication | IEEE Xplore