Cannonical ensemble :- It is an ensemble of identical system which is in thermal equilibrium with a heat source.Thus in a canonical ensemble, each system is at the same temperature, the volume of each system is same and each system consists of equal number of partial.