Predictive control of residential HVAC and its impact on the grid. Part I: simulation framework and models. Issue 3 (4th May 2017)