Energy flexible building through smart demand-side management and latent heat storage. (15th November 2018)