PERFORMANCE ANALYSIS OF THERMAL ENERGY STORAGE IN DISTRIBUTED ENERGY