A Partition function that deals with a variable number of particles, temperature, and chemical potential.