\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../ee1.tikz}
\begin{document}
\begin{circuitikz}
\draw (0,0) to[american voltage source, l=$V_\mathrm{in}$, invert] (0,1.8) to[battery1, l=$V_\mathrm{D,on}$] (1.8,1.8) -- (2.9,1.8) node[ocirc]{};
\draw (1.8,1.8) node[circ]{} to[C, l_=$C_1$] (1.8,0) node[circ]{};
\draw (0,0) -- (2.9,0) node[ocirc]{};
\draw (2.9,1.5) node[font=\small]{$+$} (2.9,0.3) node[font=\small]{$-$};
\node[anchor=west] at (3.1,0.9) {$V_\mathrm{out} = V_\mathrm{in} - V_\mathrm{D,on}$};
\end{circuitikz}
\end{document}
