The isothermal–isobaric ensemble (constant temperature and constant pressure ensemble) is a
statistical mechanical ensemble that maintains constant temperature
and constant pressure
applied. It is also called the
-ensemble, where the number of particles
is also kept as a constant. This ensemble plays an important role in chemistry as chemical reactions are usually carried out under constant pressure condition.
The NPT ensemble is also useful for measuring the equation of state of model systems whose
virial expansion
The virial expansion is a model of thermodynamic equations of state. It expresses the pressure of a gas in local Thermodynamic equilibrium, equilibrium as a power series of the density. This equation may be represented in terms of the compre ...
for pressure cannot be evaluated, or systems near first-order phase transitions.
In the ensemble, the probability of a microstate
is
, where
is the partition function,
is the internal energy of the system in microstate
, and
is the volume of the system in microstate
.
The probability of a macrostate is
, where
is the
Gibbs free energy
In thermodynamics, the Gibbs free energy (or Gibbs energy as the recommended name; symbol is a thermodynamic potential that can be used to calculate the maximum amount of Work (thermodynamics), work, other than Work (thermodynamics)#Pressure–v ...
.
Derivation of key properties
The partition function for the
-ensemble can be derived from
statistical mechanics
In physics, statistical mechanics is a mathematical framework that applies statistical methods and probability theory to large assemblies of microscopic entities. Sometimes called statistical physics or statistical thermodynamics, its applicati ...
by beginning with a system of
identical atoms described by a
Hamiltonian
Hamiltonian may refer to:
* Hamiltonian mechanics, a function that represents the total energy of a system
* Hamiltonian (quantum mechanics), an operator corresponding to the total energy of that system
** Dyall Hamiltonian, a modified Hamiltonian ...
of the form
and contained within a box of volume
. This system is described by the partition function of the
canonical ensemble
In statistical mechanics, a canonical ensemble is the statistical ensemble that represents the possible states of a mechanical system in thermal equilibrium with a heat bath at a fixed temperature. The system can exchange energy with the hea ...
in 3 dimensions:
where
, the
thermal de Broglie wavelength (
and
is the
Boltzmann constant
The Boltzmann constant ( or ) is the proportionality factor that relates the average relative thermal energy of particles in a ideal gas, gas with the thermodynamic temperature of the gas. It occurs in the definitions of the kelvin (K) and the ...
), and the factor
(which accounts for indistinguishability of particles) both ensure normalization of entropy in the quasi-classical limit.
It is convenient to adopt a new set of coordinates defined by
such that the partition function becomes
If this system is then brought into contact with a bath of volume
at constant temperature and pressure containing an
ideal gas
An ideal gas is a theoretical gas composed of many randomly moving point particles that are not subject to interparticle interactions. The ideal gas concept is useful because it obeys the ideal gas law, a simplified equation of state, and is ...
with total particle number
such that
, the partition function of the whole system is simply the product of the partition functions of the subsystems:
The integral over the
coordinates is simply
. In the limit that
,
while
stays constant, a change in volume of the system under study will not change the pressure
of the whole system. Taking
allows for the approximation
. For an ideal gas,
gives a relationship between density and pressure. Substituting this into the above expression for the partition function, multiplying by a factor
(see below for justification for this step), and integrating over the volume V then gives
The partition function for the bath is simply