% Dynamic inverse-$\varGamma$-equivalent circuit for an induction machine
% Author: Erno Pentzin (2013)
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{arrows.meta}
%%%<
\usepackage{verbatim}
%\usepackage[active,tightpage]{preview}
%\PreviewEnvironment{tikzpicture}
%\setlength\PreviewBorder{10pt}%
%%%>
\begin{comment}
:Title: Dynamic inverse-gamma-equivalent circuit for an induction machine
:Tags: Electrical engineering;circuitikz
:Author: Erno Pentzin
:Slug: induction-machine
\end{comment}
\usepackage[european]{circuitikz}
\begin{document}

\begin{circuitikz}
%  \draw[help lines] (0,0) grid (8,6);
%  \foreach \x in {0,...,32} \draw (\x,-1) node {\x};
%  \foreach \x in {0,...,15} \draw (-1,\x) node {\x};
  

%  \draw(0,1) node[spdt=$S_1$]{};

  \draw(2,3) to[V_<=\large{10V}, l^=\large{$U_{ref}$}] (2,5);
  %\draw(4,0) to (4,-1) \node[rground]{};
  \draw (4,0) -- (4,0) node[rground]{};
  
  \draw(4,8)
  to[R=$R_1$, a=1k$\Omega$] (4,6)
  to[R=$R_2$, a=1k$\Omega$] (4,4)
  to[R=$R_5$, a=1k$\Omega$] (4,2)
  to[R=$R_4$, a=1k$\Omega$,-*] (4,0);

  \draw(2,5) -- (2,8);
  \draw(2,0) -- (2,3);
  \draw(2,0) -- (4,0);
  \draw(2,8) -- (4,8);

  \draw(4,8) to[push button, a^=10V] (6,8);
  \draw(4,6) to[push button, a^=7.5V] (6,6);
  \draw(4,4) to[push button,-*, a^=5V] (6,4);
  \draw(4,2) to[push button, a^=2.5V] (6,2);
  \draw(4,0) to[push button, a^=0V] (6,0);

  \draw(6,0) -- (6,8);
  
  \draw(6,4) to[short,-o] (7,4){};
  \draw(7.5,3.5) node[]{\Large{$U_a$}};
  \draw[-{Triangle[scale=2.5, length=2, width=2]}](7,3.8) -- (7,3.2);
  \draw(7,3.8) to[short,->] (7,3.2);
  \draw (7,3) to[short,o-] (7,2.8) node[rground]{};
  
\end{circuitikz}

\end{document}