Methodology for Design and Operation of Active Building-Integrated Thermal Energy Storage Systems