\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) -- (1.0,3.2) to[R, l=$R_1$] (2.2,3.2) to[battery1, l=$V_\mathrm{B}$] (3.2,3.2) -- (3.2,2.4);
\draw (3.2,2.4) -- (4.4,2.4) node[ocirc]{} node[right]{$V_\mathrm{out}$}; \draw (3.2,2.4) to[R, l=$R_2$] (3.2,0.6) node[ground]{};
\fill (1.0,2.4) circle (1.6pt) (3.2,2.4) circle (1.6pt);
\draw (1.0,2.4) to[battery1, l={$V_\mathrm{D,on}$}] (3.2,2.4);
\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) node[left]{$I_\mathrm{R1}$};\draw[gaaccent, ->] (1.3,2.05) -- (1.8,2.05) node[below, pos=0.5]{$I_\mathrm{D}$};\draw[gaaccent, ->] (2.9,2.3) -- (2.9,1.95) node[left]{$I_\mathrm{in}$};\node[above left, font=\footnotesize] at (1.0,3.2) {$V_x$}; \fill (2.2,3.2) circle (1.4pt); \node[above, font=\footnotesize] at (2.2,3.35) {$V_y$};\node at (3.55,1.95) {$+$}; \node[left] at (2.85,1.4) {$V_\mathrm{R2}$}; \node at (3.55,0.95) {$-$};\draw[gaaccent, ->] (0.82,1.1) arc[start angle=0, end angle=300, radius=0.22]; \node[gaaccent, font=\footnotesize] at (0.6,0.65) {KVL};
\end{circuitikz}
\end{document}
