Grand canonical ensemble