This distribution describes the probability of a particle having a certain amount of energy when neither the number of particles nor the volume of the system is fixed. In this situation, the system is said to be in a state of thermodynamic equilibrium with a heat bath and a particle reservoir at a given temperature, and the distribution is known as the grand canonical ensemble.