As we know, the two-probe system consist of two electrodes and a scattering region. Before these three parts are coupled together, we can imagine that we can separately handle them by the conventional electronic structure calculations to obtain their corresponding Fermi levels (here denoted as [tex]E_F^0(left), E_F^0(right), E_F^0(center)[/tex]). The values of Fermi level for these parts are usually given with respect to the zero-point reference energy of electrostatic potential. Actually, for a given charge density of molecule or bulk system, the electrostatic potential is obtained by solving Poisson's equation. But there is a constant term in the solution of Poisson's equation for a given charge density. That is to say, an arbitrary constant can be added into the electrostatic potential while it does not change the charge density. This is why the absolute value of electrostatic potential depends on the choice of zero-point reference energy. It also happens to the absolute values of total energy, Fermi level, eigenvalue and so on, for a given system. So when we separately handle the electrode region and the center region, it is meaningless to compare their corresponding Fermi levels with each other. If the two electrodes are same, the Fermi level of left electrode will be equal to the one of right electrode (i.e., [tex]E_F^0(left)=E_F^0(right)[/tex]). This can be easily understood.
Now let's think about the situation when center region is coupled with two electrodes. We can also handle this sandwiched structure as an equivalent bulk system by the conventional electronic structure calculations to obtain its Fermi level (here denoted as [tex]E_F^{equivalent}(bulk)[/tex]. This is indeed implemented in ATK. One may easily realize that [tex]E_F^{equivalent}(bulk)[/tex] will not be equal to [tex]E_F^{0}(center)[/tex], [tex]E_F^0(left)[/tex], or [tex]E_F^0(right)[/tex]. If one insists on exacting the Fermi levels for the left electrode, the center region, and the right electrode in this equivalent bulk system, the values of Fermi levels may be denoted as [tex]E_F^{equivalent}(left), E_F^{equivalent}(right), E_F^{equivalent}(center)[/tex], respectively. But here he should realize that [tex]E_F^{equivalent}(left)=E_F^{equivalent}(right)=E_F^{equivalent}(center)=E_F^{equivalent}(bulk)[/tex]. That is to say, the Fermi levels for these three parts in the equivalent bulk system should be aligned. The average electrostatic potential in left electrode may be different to the one in center region, but they should be continuous at boundary between the left electrode and center region. This also happens to the right electrode. If the system is homogeneous, e.g, a infinite Li atomic chain, they will be same. If we neglect the difference due to the choice of zero-point reference energy, the difference between [tex]E_F^0(center)[/tex] and [tex]E_F^{equivalent}(center)[/tex] is mainly caused by the coupling between center region and electrodes: the charge transfer between electrode region and center region, the redistribution of charge density in the center region, the changes of energy levels (or electronic structure), and so on. The better way to get the difference between [tex]E_F^0(center)[/tex] and [tex]E_F^{equivalent}(center)[/tex] is to align the layer-projected DOS for the middle atomic layer of center region obtained by two kinds of self-consistent calculations: the first is the separate self-consistent calculation for center region, as discussed in the first paragraph; the second is the one for the equivalent bulk system, as discussed in the beginning of the paragraph. Unfortunately, the current version of ATK does not implement the functional of computing layer-projected DOS for bulk system. The problems discussed here are very similar to those when we handle the metal/insulator heterojunction (or other interface system) by the conventional electronic structure calculations.
In the self-consistent calculation of a two-probe system, i.e., in the last kind of self-consistent calculation, as usually observed in the log file, the charge density of whole system is computed by the equilibrium (or non-equilibrium) density matrix formulas (e.g. see PRB63, 245407(2001), PRB65, 165401(2002)) for equilibrium (or non-equilibrium) case. If some one insist on distinguishing the Fermi levels of electrode region, and center region, they may be denoted as [tex]E_F^{tp,eq}(left), E_F^{tp,eq}(right), E_F^{tp,eq}(center)[/tex], respectively, in equilibrium case ([tex]E_F^{tp,neq}(left), E_F^{tp,neq}(right), E_F^{tp,neq}(center)[/tex] in non-equilibrium case). Let's discuss the equilibrium case first. In equilibrium case, the definition of [tex]E_F^{tp,eq}(center)[/tex] is given in Eq. (13) in PRB63, 245407(2001), i.e., [tex]E_F^{tp,eq}(center)=E_F^{0}(left)+\Delta \bar{V}_l=E_F^{0}(right)+\Delta \bar{V}_r[/tex]. Here [tex]\Delta \bar{V}_{l,r}[/tex] is the change of average electrostatic potential in left (right) electrode, i.e., [tex]\Delta \bar{V}_{l,r}=\bar{V}_{l,r}^{tp,eq}-\bar{V}_{l,r}^{0}[/tex]. While the difference between [tex]E_F^{tp,eq}(left)[/tex] and [tex]E_F^{0}(left)[/tex] also equals [tex]\Delta \bar{V}_{l}[/tex], similarly for the right electrode. It seems more convenient if we let [tex]E_F^{tp,eq}(left,right)[/tex] equal [tex]E_F^{0}(left,right)[/tex], i.e., [tex]\Delta \bar{V}_{l,r}=0[/tex]. Actually, it may be found that [tex]E_F^{tp,eq}(center)=\frac{1}{2}[E_F^{0}(left)+\Delta \bar{V}_l +E_F^{0}(right)+\Delta \bar{V}_r][/tex] or [tex]E_F^{tp,eq}(center)=\frac{1}{2}[E_F^{tp,eq}(left)+E_F^{tp,eq}(right)][/tex]. And then [tex]E_F^{tp,eq}(center)[/tex] is usually taken as the zero-point reference energy in the energy-axis of transmission spectrum. Finally, let's discuss the two-probe system in non-equilibrium case. In non-equilibrium case, [tex]\Delta \bar{V}_{l,r}[/tex] is defined as [tex]\Delta \bar{V}_{l,r}=\bar{V}_{l,r}^{tp,neq}-\bar{V}_{l,r}^{0}[/tex] and it will not equal zero because a finite bias voltage is applied on two electrodes. To simplify the discussion, assume that [tex]\bar{V}_{l}^{tp,neq}=\bar{V}_l^{tp,eq}+e*\frac{V_{bias}}{2}[/tex] and [tex]\bar{V}_{r}^{tp,neq}=\bar{V}_r^{tp,eq}-e*\frac{V_{bias}}{2}[/tex] for the finite bias voltage [tex]V_{bias}[/tex]. That is to say, the average electrostatic potential of left electrode is rigidly shifted up by [tex]e*\frac{V_{bias}}{2}[/tex], while the one of right electrode is shifted down by [tex]e*\frac{V_{bias}}{2}[/tex]. Consequently, the values of Fermi levels of left (right) electrode will also be shifted similarly (i.e., [tex]E_F^{tp,neq}(left)=E_F^{tp,eq}(left)+e*\frac{V_{bias}}{2}[/tex], [tex]E_F^{tp,neq}(right)=E_F^{tp,eq}(right)-e*\frac{V_{bias}}{2}[/tex] ). Similar to the equilibrium case, the value of [tex]E_F^{tp,neq}(center)[/tex] may be also taken as [tex]\frac{1}{2}[E_F^{tp,neq}(left)+E_F^{tp,neq}(right)][/tex] and used as the zero-point reference energy in the energy-axis of transmission spectrum. In the page 245407-5 of PRB63, 245407(2001), the choice of [tex]E_F^{tp,neq}(center)[/tex] has been discussed. In short, in the equilibrium or non-equilibrium self-consistent calculation of a two-probe system, the value of Fermi level of center region (i.e., [tex]E_F^{tp,eq}(center)[/tex] or [tex]E_F^{tp,neq}(center)[/tex] ) is just used as the zero-point reference energy in the transmissions spectrum, MPSH spectrum. Usually, [tex]E_F^{tp,eq}(center)[/tex] (or [tex]E_F^{tp,neq}(center)[/tex] ) does not equal [tex]E_F^0(center)[/tex] .