The equation of electronic free energy
Fele(T) = E(T)-TS,
Where E(T) is the total energy where the electronic states are weighted with Fermi-Dirac distribution at temperature T. From DFT, we can get the total energy at 0 K. So How to calculate this E(T)?