\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../ee1.tikz}
\begin{document}
\begin{circuitikz}
\draw[line width=1.1pt] (0,0) rectangle (1.6,1) (1.6,0) rectangle (3.2,1);
\node at (0.8,1.25) {n}; \node at (2.4,1.25) {p};
\draw (0,0.6) -- (-0.4,0.6) -- (-0.4,-0.9) -- (1.0,-0.9) to[battery1, l_=$V_\mathrm{F}$, invert] (2.2,-0.9) -- (3.6,-0.9) to[short, i=$I_\mathrm{F}$] (3.6,0.6) -- (3.2,0.6);
\node[font=\small] at (1.35,-0.55) {$-$}; \node[font=\small] at (1.85,-0.55) {$+$};
% I_F = I_S exp(V_F/V_T)
\begin{axis}[sketch, at={(4.8cm,-1.4cm)}, width=4.8cm, height=3.8cm, xmin=-0.6, xmax=1, ymin=-0.15, ymax=1.1, xlabel={$V_\mathrm{F}$}, ylabel={$I_\mathrm{F}$}]
  \addplot[domain=-0.6:0.92, samples=80] {0.02*exp(x/0.24)-0.02};
  \node[anchor=west] at (axis cs:0.05,1.0) {$I_\mathrm{F} = I_\mathrm{S} e^{V_\mathrm{D}/V_\mathrm{T}}$};
\end{axis}
\end{circuitikz}
\end{document}
