\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../ee1.tikz}
\begin{document}
\begin{circuitikz}
\draw (0,0) to[american voltage source, l=$V_x$, invert] (0,1.8) to[short, i=$I_x$] (0.6,1.8) to[R, l=$R_1$] (2.4,1.8) node[circ]{} node[above right]{$N$ (output node)};
\draw (2.4,1.8) to[empty diode, l_=$D_1$] (2.4,0.9) to[battery1, l=$V_\mathrm{B}$] (2.4,0) -- (0,0);
\draw (1.2,0) node[ground]{};
% I_x: 0 below V_x1 = V_D,on + V_B, slope 1/R_1 above (V_D,on = 0.7, V_B = 0.5)
\begin{axis}[sketch, at={(5.4cm,0.2cm)}, width=6cm, height=3.6cm, xmin=-1, xmax=3, ymin=-0.2, ymax=1.2, xlabel={$V_x$}, ylabel={$I_x$}, xtick={1.2}, xticklabels={$V_{x1}$}]
  \addplot[line width=1.4pt] coordinates {(-1,0) (1.2,0) (2.9,1.0)};
  \draw[dim] (axis cs:2.2,0.59) -- (axis cs:2.6,0.59) -- (axis cs:2.6,0.82) node[midway, right, font=\small]{$1/R_1$};
\end{axis}
% equivalents
\begin{scope}[shift={(4.6,-2.6)}]
\draw (0,0) to[american voltage source, l=$V_x$, invert] (0,1.4) to[short, i=$I_x$] (0.5,1.4) to[R, l=$R_1$] (1.8,1.4) node[above]{$V_\mathrm{N}$} -- (1.8,1.15) node[ocirc]{} (1.8,0.75) node[ocirc]{} to[battery1, l=$V_\mathrm{B}$] (1.8,0) -- (0,0);
\node[note] at (0.9,-0.4) {$I_x = 0$};
\end{scope}
\begin{scope}[shift={(8.2,-2.6)}]
\draw (0,0) to[american voltage source, l=$V_x$, invert] (0,1.4) to[short, i=$I_x$] (0.5,1.4) to[R, l=$R_1$] (1.8,1.4) node[above]{$V_\mathrm{N}$} to[battery1, l=$V_\mathrm{D,on}$] (1.8,0.7) to[battery1, l=$V_\mathrm{B}$] (1.8,0) -- (0,0);
\node[note] at (0.9,-0.45) {$I_x = \dfrac{V_x - (V_\mathrm{D,on} + V_\mathrm{B})}{R_1}$};
\end{scope}
\end{circuitikz}
\end{document}
