Energy storage system temperature simulation principle