\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../fm.tikz}
\begin{document}
\begin{circuitikz}[font=\small]
\draw (0,0) to[american voltage source, l=$V_x$, invert] (0,2.8) to[short, i=$I_x$] (1.8,2.8) to[R, l=$R_1$] (1.8,1.8) to[empty diode, l_=$D_1$] (1.8,0.9) to[battery1, l=$V_\mathrm{B}$] (1.8,0) -- (0,0);
\begin{scope}[xshift=4.8cm]
\node[right] at (-0.6,2.6) {$V_x > V_\mathrm{B}$:};
\draw (0,0) to[american voltage source, l=$V_x$, invert] (0,2.0) to[short, i=$I_x$] (1.6,2.0) to[R, l=$R_1$] (1.6,1.0) to[battery1, l=$V_\mathrm{B}$] (1.6,0) -- (0,0);
\end{scope}
\end{circuitikz}
\end{document}
