A multi-period joint energy scheduling algorithm in smart home based on prediction of the residents energy consumption. (1st April 2015)