Helmholtz free energy
The free energy of the system is obtained from a statistical definition of Helmholtz free energy