3phase-generator

../_images/sphx_glr_3phase-generator.svg
\documentclass[]{standalone}

\usepackage[]{graphicx}

\usepackage{CJKutf8}

\usepackage{tikz}
\usepackage{pgfplots}
\pgfplotsset{compat=1.17}
\tikzset{>=latex}
\usetikzlibrary{arrows,arrows.meta}
\usepackage{steinmetz}
\newcommand*{\equal}{=}

\usepackage{tikz-3dplot}
\usepackage[european resistors]{circuitikz}
\usetikzlibrary{decorations.markings}

\tikzset{->-/.style={decoration={
  markings,
  mark=at position #1 with {\arrow{>}}},postaction={decorate}}}
\tikzset{-<-/.style={decoration={
      markings,
      mark=at position #1 with {\arrow{<}}},postaction={decorate}}}
      
\begin{document}
 \begin{circuitikz}
   \draw (0,0) node[circ]{} node[right]{n} to[sV,v=$E_u$,i_>=$I_u$] (0,2) node[ocirc]{} node[above]{a} -- (3.7,2);
   \draw (0,0) to[sV,v=$E_v$,i_>=$I_v$] (1.73,-1) node[ocirc]{} node[above]{b} -- (3.2,-1);
   \draw (0,0) to[sV,v_=$E_w$,i_>=$I_w$] (-1.73,-1) node[ocirc]{} node[left]{c} -- (-1.73,-1.5) -- (3.7,-1.5);
   \draw[<->] (3,-1) -- (3,2) node[midway,left]{$E_{ab}$};
   \draw[<->] (3.4,-1.5) -- (3.4,2) node[midway,right]{$E_{ca}$};
   \draw[<->] (3,-1.5) -- (3,-1) node [midway, left]{$E_{bc}$};
  \end{circuitikz}

\end{document}