Working principle of hydrogen thermal energy storage system