Flame-retardancy and thermal properties of a novel phosphorus-modified PCM for thermal energy storage