\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../fm.tikz}
\begin{document}
\begin{circuitikz}[font=\small]
\draw (-0.2,2.4) node[ocirc]{} node[left]{$V_\mathrm{in}$} -- (1.0,2.4);
\draw (1.0,2.4) to[R, l_=$R_1$] (3.0,2.4) -- (4.2,2.4) node[ocirc]{} node[right]{$V_\mathrm{out}$};
\draw (1.0,2.4) -- (1.0,3.2); \draw (3.0,3.2) -- (3.0,2.4);
\draw (1,3.2) to[battery1, l={$V_\mathrm{D,on}$}] (2,3.2);
\draw (2,3.2) to[battery1, l={$V_\mathrm{B}$}] (3,3.2);
\fill (1.0,2.4) circle (1.6pt) (3.0,2.4) circle (1.6pt);
\draw (3.0,2.4) to[R, l_=$R_2$] (3.0,0.6) node[ground]{};
\draw[gaaccent, ->] (-0.1,2.15) -- (0.5,2.15) node[below, pos=0.5]{$I_\mathrm{in}$};\draw[gaaccent, ->] (0.8,2.65) -- (0.8,3.1) node[left]{$I_\mathrm{D}$};\draw[gaaccent, ->] (1.2,2.05) -- (1.7,2.05) node[below, pos=0.5]{$I_\mathrm{R1}$};\draw[gaaccent, ->] (3.3,2.3) -- (3.3,1.9) node[right]{$I_\mathrm{in}$};\draw[gaaccent, ->] (1.62,1.2) arc[start angle=0, end angle=300, radius=0.22]; \node[gaaccent, font=\footnotesize] at (1.4,0.75) {KVL};
\end{circuitikz}
\end{document}
