COST OPTIMAL THERMAL ENERGY STORAGE SYSTEM FOR A RESIDENTIAL BUILDING