From the partition function, one can calculate the Helmholtz free energy F 0 = − − k B T ln ⁡ ⁡ Z 0 and, from that, all the thermodynamic properties of the system, like the entropy, the internal energy, the chemical potential, etc.