Quantifying flexibility for smart grid services | IEEE Conference Publication | IEEE Xplore