\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) (1.6,0) rectangle (3.2,1.1);
\draw[dashed] (1.05,0) -- (1.05,1.1) (2.15,0) -- (2.15,1.1);
\node at (0.8,1.35) {n}; \node at (2.4,1.35) {p};
\draw (0,0.65) -- (-0.4,0.65) -- (-0.4,-0.9) -- (1.0,-0.9) to[battery1, l_=$V_\mathrm{D}$, invert] (2.2,-0.9) -- (3.6,-0.9) -- (3.6,0.65) -- (3.2,0.65);
\node[font=\small] at (1.35,-0.55) {$-$}; \node[font=\small] at (1.85,-0.55) {$+$};
% I_D: exponential forward, -I_S leakage, breakdown at V_D = -V_BD
\begin{axis}[sketch, at={(4.6cm,-1.6cm)}, width=6.4cm, height=4.6cm, xmin=-1.2, xmax=0.9, ymin=-1.1, ymax=1.1, xlabel={$V_\mathrm{D}$}, ylabel={$I_\mathrm{D}$}]
  \addplot[domain=-0.98:0.78, samples=200] {0.01*(exp(x/0.17)-1) - 0.01*exp(-(x+0.85)/0.03)};
  \draw[note, <-] (axis cs:-0.97,-0.6) to[bend right=30] (axis cs:-0.55,-0.85) node[right]{junction breakdown};
\end{axis}
\end{circuitikz}
\end{document}
