  Using a description of the Levin-Wen model excitations in terms of Wilson
lines, we compute the degeneracy of the energy levels for any input anyon
theory and for any trivalent graph embedded on any (orientable) compact
surface. This result allows one to obtain the finite-size and
finite-temperature partition function and to show that there are no thermal
phase transitions.
