Symbols:
In the isotherma-isobaric ensemble the volume of the system is not fixed. Thus the system is also in pressure equillibrium as well a thermal one. (
With the partition function being given by
for the continuous case, or alternatively
Note that for the discrete case
Where