The flat-band condition occurs when there is no charge in the semiconductor and the Fermi level is constant throughout the structure. The energy band diagram would look something like this:
\[
\begin{tikzpicture}
\draw[->] (0,0) -- (4,0) node[right]
Show more…