Human-in-the-loop energy flexibility integration on a neighbourhood level: Small and Big Data management. (May 2019)