Ways to experimentally control the chemical potential of a solid state system When working in the grand canonical ensemble we write the grand potential as $\Omega = \Omega (T,V,\mu)$.  In this case we are taking the chemical potential $\mu$ to be an independent variable.  This would imply that this ensemble is best suited to situations in which the chemical potential is an experimentally controlled parameter.
If this is the case, then what are some ways in which the chemical potential can be controlled experimentally?
Specifically I am interested in a solid state system which is being modeled as electrons on a lattice.  In theory, by adjusting the chemical potential we could control the filling fraction of electrons for this system, taking it from band insulator to conductor or from Mott insulator to conductor.  Is this type of tuning possible with real systems?  If so, what are some realistic applications and/or specific limitations of these techniques.
 A: The use of the chemical potential $\mu$ as state variable is useful in situations where composition $N$ is variable and/or cannot be easily controlled. From an experimental point of view the chemical potential is fixed when the system is in contact with energy and particle reservoirs. At equilibrium, the chemical potential of the system equals that of the reservoir $\mu = \mu_\mathrm{res}$. Thus by modifying the parameters of the reservoir you can control the chemical potential of the system.
A typical example is when the system is a layer of molecules adsorbed in a surface. This is an open system and composition is variable --and generally unknown--. By using a gas of the same molecules as reservoir you can fix the value of the chemical potential of the open system. The chemical potential $\mu_\mathrm{res}$ of the gas can be obtained from evaluating the fundamental equation of the gas or, if this is not available, from integrating the Gibbs Duhem relation if the equation of state of the gas is known.
