Grand potential

The grand potential is a quantity used in statistical mechanics, especially for irreversible processes in open systems.
The grand potential is the characteristic state function for the grand canonical ensemble.
Definition.
Grand potential is defined by
where "U" is the internal energy, "T" is the temperature of the system, "S" is the entropy, μ is the chemical potential, and "N" is the number of particles in the system.
The change in the grand potential is given by
where "P" is pressure and "V" is volume, using the fundamental thermodynamic relation (combined first and second thermodynamic laws);
When the system is in thermodynamic equilibrium, ΦG is a minimum. This can be seen by considering that dΦG is zero if the volume is fixed and the temperature and chemical potential have stopped evolving.
Landau free energy.
Some authors refer to the grand potential as the "Landau free energy" or Landau potential and write its definition as:
named after Russian physicist Lev Landau, which may be a synonym for the grand potential, depending on system stipulations. For homogeneous systems, one obtains formula_5.
Homogeneous systems (vs. inhomogeneous systems).
In the case of a scale-invariant type of system (where a system of volume formula_6 has exactly the same set of microstates as formula_7 systems of volume formula_8), then when the system expands new particles and energy will flow in from the reservoir to fill the new volume with a homogeneous extension of the original system.
The pressure, then, must be constant with respect to changes in volume:
and all extensive quantities (particle number, energy, entropy, potentials, ...) must grow linearly with volume, e.g. 
In this case we simply have formula_11, as well as the familiar relationship formula_12 for the Gibbs free energy.
The value of formula_13 can be understood as the work that can be extracted from the system by shrinking it down to nothing (putting all the particles and energy back into the reservoir). The fact that formula_11 is negative implies that the extraction of particles from the system to the reservoir requires energy input.
Such homogeneous scaling does not exist in many systems. For example, when analyzing the ensemble of electrons in a single molecule or even a piece of metal floating in space, doubling the volume of the space does double the number of electrons in the material.
The problem here is that, although electrons and energy are exchanged with a reservoir, the material host is not allowed to change.
Generally in small systems, or systems with long range interactions (those outside the thermodynamic limit), formula_15.