Evaluating the multifunctional performance of structural composites for thermal energy storage