I'm trying to draw a transformer with multiple windings with circuitikz similar to the figure shown here (except I'd like to have multiple primary windings and a single secondary winding):
(Source: https://sub.allaboutcircuits.com/images/02141.png)
I have code for a single winding transformer here:
\begin{circuitikz}[american]
\draw (0,0) node [transformer core](T){}
(T.A1) node[above] {A1}
(T.A2) node[below] {A2}
(T.B1) node[above] {B1}
(T.B2) node[below] {B2}
(T.base) node{K};
\draw (T.A1) --++(-2,0);
\draw (T.A2) --++(-2,0);
\draw (T.B1) --++(2,0);
\draw (T.B2) --++(2,0);
\end{circuitikz}
Is there a way to adapt this to have three windings on the primary side and one winding on the secondary side?