The first-law efficiency is essentially the heat loss during TES charging, discharging, and holding processes. It
reflects the round-trip efficiency of the energy in and energy out of the TES. The first-law efficiency of TES systems,
ηTES, I, can be defined as the ratio of the energy extracted from the storage to the energy stored in it, and can be
written as: