Predictive energy management of residential buildings while self-reporting flexibility envelope. (15th April 2021)