Edit and compile if you like:
\documentclass[border=2pt]{standalone}% Circuit - Drawing\usepackage{tikz}\usepackage{circuitikz}% Notation\usepackage{siunitx}% Define Color\definecolor{bluegray}{rgb}{0.4, 0.6, 0.8}% Tikz Library\usetikzlibrary{angles, quotes, shapes, decorations.markings, calc}% Style\tikzset{arrow inside/.style = {postaction=decorate,decoration={markings,mark=at position .52 with \arrow{latex}}}}% Define Lengths\def\dx{0.3}\def\dy{0.4667}\def\x{10.75}\def\xx{12.0}\def\y{9.0}%\def\dX{0.4}\def\dY{0.779}\def\X{7.25}\def\XX{6.0}\def\Y{9}\begin{document}\begin{circuitikz}[scale=0.5]% Grid% \draw[help lines] (-1,-1) grid (18,14);%% \foreach \i in {0,1,2,3,...,12}% {% \node at (-2,\i) {$\i$};% \node at (\i,-2) {$\i$};
Click to download: transformer_windings2.tex
Open in Overleaf: transformer_windings2.tex
This file is available on GitHub.
See more on the author page of Alexandros Tsagkaropolulos.