Computer simulation of the physics of flat heat pipes in thermal energy storage | Synapse