Site Tools


test

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
test [August 17, 2026 at 17:41] Ivan Janevskitest [August 17, 2026 at 17:49] (current) Ivan Janevski
Line 1: Line 1:
 \documentclass[tikz,border=5pt]{standalone} \documentclass[tikz,border=5pt]{standalone}
  
-\usepackage[american]{circuitikz} +\usepackage{amsmath} 
-\usetikzlibrary{calc,arrows.meta}+\usepackage{circuitikz} 
 +\usetikzlibrary{ 
 +    calc, 
 +    arrows.meta
 +    decorations.pathmorphing 
 +}
  
 \begin{document} \begin{document}
  
 \begin{circuitikz}[ \begin{circuitikz}[
-    line width=0.8pt,+    line width=1.35pt,
     line cap=round,     line cap=round,
     line join=round,     line join=round,
-    >=Latex+    >=Latex
 +    font=\Large
 ] ]
  
-================================================================ +% ============================================================ 
-Main nodes +Resistor style 
-% ================================================================+% ============================================================ 
 + 
 +\tikzset{ 
 +    resistor/.style=
 +        decorate, 
 +        decoration=
 +            zigzag, 
 +            segment length=8.0pt, 
 +            amplitude=5.2pt 
 +        } 
 +    } 
 +}
  
-\coordinate (UL) at (-1.20, 1.95); +% ============================================================ 
-\coordinate (UR) at ( 1.20, 1.95);+% Main geometry 
 +% ============================================================
  
-\coordinate (L)  at (-2.35, 0.00); 
 \coordinate (C)  at ( 0.00, 0.00); \coordinate (C)  at ( 0.00, 0.00);
-\coordinate (R)  at ( 2.35, 0.00); 
  
-\coordinate (LL) at (-1.28,-1.95); +\coordinate (L at (-4.400.00); 
-\coordinate (LR) at ( 1.28,-1.95);+\coordinate (TL) at (-2.10, 3.80); 
 +\coordinate (TR) at ( 2.22, 3.80); 
 +\coordinate (R)  at ( 4.40, 0.00); 
 +\coordinate (BR) at ( 2.26,-3.72); 
 +\coordinate (BL) at (-2.28,-3.72);
  
 +% ============================================================
 +% Outer upper-left branch
 +% ============================================================
  
-% ================================================================ +\coordinate (UL1) at ($(L)!0.25!(TL)$); 
-% Outer branches +\coordinate (UL2) at ($(L)!0.67!(TL)$);
-% ================================================================+
  
-% ---------------------------------------------------------------- +\draw (L) -- (UL1); 
-% Upper-left outer branch: UL -- R -- L +\draw[resistor] (UL1) -- (UL2); 
-% ----------------------------------------------------------------+\draw (UL2) -- (TL);
  
-\draw +\node at (-3.79,1.88{$R$};
-    (UL) +
-    -- ($(UL)!0.24!(L)$+
-    to[R+
-    ($(UL)!0.70!(L)$) +
-    -- (L);+
  
-\node[left] at ($(UL)!0.48!(L)+(-0.10,0)$) {$R$};+% ============================================================ 
 +% Top branch: Ig1 + R 
 +% ============================================================
  
 +\coordinate (Ig1) at (-0.91,3.80);
  
-% ---------------------------------------------------------------- +\draw 
-% Top branch: UL -- Ig1 -- R -- UR +    (TL) 
-% ----------------------------------------------------------------+    -- 
 +    ($(Ig1)+(-0.62,0)$);
  
 \draw \draw
-    (UL+    (Ig1
-    -($(UL)!0.10!(UR)$);+    circle[radius=0.62]; 
 + 
 +\draw[-{Latex[length=8pt,width=8pt]},line width=1.5pt] 
 +    ($(Ig1)+(0.30,0)$) 
 +    -- 
 +    ($(Ig1)+(-0.31,0)$);
  
 \draw \draw
-    ($(UL)!0.10!(UR)$) +    ($(Ig1)+(0.62,0)$) 
-    to[Iinvert+    -- 
-    ($(UL)!0.43!(UR)$);+    (0.04,3.80); 
 + 
 +\draw[resistor
 +    (0.04,3.80) 
 +    -- 
 +    (1.14,3.80);
  
 \draw \draw
-    ($(UL)!0.43!(UR)$+    (1.14,3.80
-    -- ($(UL)!0.54!(UR)$) +    -- 
-    to[R] +    (TR);
-    ($(UL)!0.85!(UR)$) +
-    -- (UR);+
  
-\node[above] at ($(UL)!0.265!(UR)+(0,0.20)$) {$I_{g1}$}; +\node at (-0.91,4.77) {$I_{g1}$}; 
-\node[above] at ($(UL)!0.695!(UR)+(0,0.10)$) {$R$};+\node at (0.59,4.36) {$R$};
  
 +% ============================================================
 +% Outer upper-right branch
 +% ============================================================
  
-% ---------------------------------------------------------------- +\coordinate (UR1) at ($(TR)!0.25!(R)$); 
-% Upper-right outer branch: UR -- -- R +\coordinate (UR2) at ($(TR)!0.67!(R)$);
-% ----------------------------------------------------------------+
  
-\draw +\draw (TR) -- (UR1); 
-    (UR) +\draw[resistor] (UR1) -- (UR2)
-    -- ($(UR)!0.23!(R)$+\draw (UR2) -- (R);
-    to[R] +
-    ($(UR)!0.69!(R)$) +
-    -- (R);+
  
-\node[right] at ($(UR)!0.47!(R)+(0.08,0)$) {$R$};+\node at (3.75,1.88) {$R$};
  
 +% ============================================================
 +% Outer lower-right branch
 +% ============================================================
  
-% ---------------------------------------------------------------- +\coordinate (LR1) at ($(R)!0.26!(BR)$); 
-Lower-right outer branch: R -- R -- LR +\coordinate (LR2) at ($(R)!0.67!(BR)$); 
-% ----------------------------------------------------------------+ 
 +\draw (R) -- (LR1); 
 +\draw[resistor] (LR1) -- (LR2); 
 +\draw (LR2) -- (BR); 
 + 
 +\node at (3.72,-1.88) {$R$}; 
 + 
 +% ============================================================ 
 +Bottom branch: E3 + 
 +============================================================ 
 + 
 +\coordinate (E3) at (-1.01,-3.72);
  
 \draw \draw
-    (R+    (BL
-    -- ($(R)!0.24!(LR)$) +    -- 
-    to[R] +    ($(E3)+(-0.62,0)$);
-    ($(R)!0.70!(LR)$+
-    -- (LR);+
  
-\node[right] at ($(R)!0.49!(LR)+(0.08,0)$) {$R$};+\draw 
 +    (E3) 
 +    circle[radius=0.62];
  
 +\draw
 +    ($(E3)+(0.62,0)$)
 +    --
 +    (0.02,-3.72);
  
-% ---------------------------------------------------------------+\draw[resistor] 
-% Bottom branch: LL -- E3 -- R -- LR +    (0.02,-3.72) 
-% ----------------------------------------------------------------+    -- 
 +    (1.15,-3.72);
  
 \draw \draw
-    (LL+    (1.15,-3.72
-    -- ($(LL)!0.12!(LR)$) +    -- 
-    -- ($(LL)!0.39!(LR)$);+    (BR);
  
-% E3 source circle +\node at (-1.23,-4.48{$+$}; 
-\coordinate (E3c) at ($(LL)!0.255!(LR)$);+\node at (-1.00,-5.08) {$E_3$}; 
 +\node at (0.59,-4.36{$R$};
  
-\fill[white] (E3c) circle[radius=0.30]; +% ============================================================ 
-\draw (E3ccircle[radius=0.30];+% Outer lower-left branch: E2 + R 
 +% ============================================================ 
 + 
 +\coordinate (E2at (-3.70,-1.08);
  
-% reconnect precisely to source circle 
 \draw \draw
-    (LL) -- ($(E3c)+(-0.30,0)$);+    (L) 
 +    -- 
 +    ($(E2)!0.62cm!(L)$); 
 \draw \draw
-    ($(E3c)+(0.30,0)$+    (E2
-    -- ($(LL)!0.49!(LR)$) +    circle[radius=0.62];
-    to[R] +
-    ($(LL)!0.82!(LR)$) +
-    -- (LR);+
  
-\node[below] at ($(E3c)+(0,-0.24)$) {$E_3$}; +\coordinate (E2out
-\node[below] at ($(E3c)+(-0.43,-0.02)$) {$+$};+    at ($(E2)!0.62cm!(BL)$);
  
-\node[below] at ($(LL)!0.655!(LR)+(0,-0.10)$) {$R$};+\coordinate (LL1) 
 +    at ($(E2out)!0.28!(BL)$);
  
 +\coordinate (LL2)
 +    at ($(E2out)!0.70!(BL)$);
  
-% ---------------------------------------------------------------- +\draw 
-% Lower-left outer branch: L -- E2 -- R -- LL +    (E2out) 
-% ----------------------------------------------------------------+    -- 
 +    (LL1); 
 + 
 +\draw[resistor] 
 +    (LL1) 
 +    -- 
 +    (LL2);
  
 \draw \draw
-    (L) -- (LL);+    (LL2) 
 +    -- 
 +    (BL);
  
-\coordinate (E2c) at ($(L)!0.31!(LL)$);+\node at (-4.76,-0.80{$+$}; 
 +\node at (-4.80,-1.84) {$E_2$}; 
 +\node at (-3.67,-2.91{$R$};
  
-\fill[white] (E2c) circle[radius=0.30]; +% ===========================================================
-\draw (E2c) circle[radius=0.30];+% Horizontal branch: Ig2 
 +% ============================================================
  
-% resistor on same diagonal +\coordinate (Ig2) at (-2.05,0); 
-\draw[ + 
-    white+\draw 
-    line width=3pt +    (L)
-] +
-    ($(L)!0.54!(LL)$)+
     --     --
-    ($(L)!0.92!(LL)$);+    ($(Ig2)+(-0.62,0)$);
  
 \draw \draw
-    ($(L)!0.51!(LL)$+    (Ig2
-    to[R] +    circle[radius=0.62];
-    ($(L)!0.88!(LL)$);+
  
-\node[leftat ($(E2c)+(-0.20,-0.05)$) {$E_2$}; +\draw[-{Latex[length=8pt,width=8pt]},line width=1.5pt] 
-\node[left] at ($(E2c)+(-0.38,0.26)$) {$+$};+    ($(Ig2)+(-0.30,0)$) 
 +    -- 
 +    ($(Ig2)+(0.31,0)$);
  
-\node[left] at ($(L)!0.70!(LL)+(-0.10,0)$) {$R$};+\draw 
 +    ($(Ig2)+(0.62,0)$) 
 +    -- 
 +    (C);
  
 +\node at (-2.06,1.10) {$I_{g2}$};
  
-================================================================ +% ============================================================ 
-Inner branches +Horizontal branch: Ig3 
-================================================================+% ============================================================
  
-% ---------------------------------------------------------------- +\coordinate (Ig3) at (2.07,0);
-% UL -- R -- C +
-% ----------------------------------------------------------------+
  
 \draw \draw
-    (UL+    (C
-    -- ($(UL)!0.18!(C)$) +    -- 
-    to[R] +    ($(Ig3)+(-0.62,0)$);
-    ($(UL)!0.64!(C)$+
-    -- (C);+
  
-\node[right] at ($(UL)!0.42!(C)+(0.06,0)$) {$R$};+\draw 
 +    (Ig3) 
 +    circle[radius=0.62];
  
- +\draw[-{Latex[length=8pt,width=8pt]},line width=1.5pt] 
-% ---------------------------------------------------------------+    ($(Ig3)+(-0.30,0)$) 
-% L -- Ig2 -- C +    -- 
-% ----------------------------------------------------------------+    ($(Ig3)+(0.31,0)$);
  
 \draw \draw
-    (L) +    ($(Ig3)+(0.62,0)$) 
-    -- ($(L)!0.20!(C)$) +    -- 
-    to[I] +    (R);
-    ($(L)!0.58!(C)$) +
-    -- (C);+
  
-\node[above] at ($(L)!0.39!(C)+(0,0.18)$) {$I_{g2}$};+\node at (2.08,1.10) {$I_{g3}$};
  
 +% ============================================================
 +% Internal upper-left resistor
 +% ============================================================
  
-% ---------------------------------------------------------------- +\coordinate (IUL1) 
-% LL -- R -- +    at ($(TL)!0.27!(C)$); 
-% ----------------------------------------------------------------+ 
 +\coordinate (IUL2) 
 +    at ($(TL)!0.66!(C)$);
  
 \draw \draw
-    (LL+    (TL
-    -- ($(LL)!0.19!(C)$) +    -- 
-    to[R] +    (IUL1);
-    ($(LL)!0.64!(C)$) +
-    -- (C);+
  
-\node[rightat ($(LL)!0.41!(C)+(0.06,0)${$R$};+\draw[resistor] 
 +    (IUL1) 
 +    -- 
 +    (IUL2);
  
 +\draw
 +    (IUL2)
 +    --
 +    (C);
  
-% ---------------------------------------------------------------- +\node at (-1.36,1.88) {$R$};
-% C -- E1 -- UR +
-% ----------------------------------------------------------------+
  
-\draw (C) -- (UR);+% ============================================================ 
 +% Internal lower-left resistor 
 +% ============================================================
  
-\coordinate (E1c) at ($(C)!0.56!(UR)$);+\coordinate (ILL1) 
 +    at ($(C)!0.31!(BL)$);
  
-\fill[white] (E1ccircle[radius=0.30]+\coordinate (ILL2) 
-\draw (E1ccircle[radius=0.30];+    at ($(C)!0.68!(BL)$); 
 + 
 +\draw 
 +    (C) 
 +    -- 
 +    (ILL1); 
 + 
 +\draw[resistor] 
 +    (ILL1) 
 +    -- 
 +    (ILL2); 
 + 
 +\draw 
 +    (ILL2) 
 +    -- 
 +    (BL);
  
-\node[left] at ($(E1c)+(-0.19,0.10)$) {$E_1$}; +\node at (-1.33,-1.88) {$R$};
-\node[right] at ($(E1c)+(0.25,0.29)$) {$+$};+
  
 +% ============================================================
 +% Internal upper-right source E1
 +% ============================================================
  
-% ---------------------------------------------------------------- +\coordinate (E1) at (1.20,2.10);
-% C -- Ig3 -- R +
-% ----------------------------------------------------------------+
  
 \draw \draw
     (C)     (C)
-    -- ($(C)!0.21!(R)$) +    -- 
-    to[I] +    ($(E1)!0.62cm!(C)$);
-    ($(C)!0.59!(R)$+
-    -- (R);+
  
-\node[above] at ($(C)!0.40!(R)+(0,0.18)$) {$I_{g3}$};+\draw 
 +    (E1) 
 +    circle[radius=0.62];
  
 +\draw
 +    ($(E1)!0.62cm!(TR)$)
 +    --
 +    (TR);
  
-% ---------------------------------------------------------------- +\node at (0.83,2.97) {$E_1$}; 
-% C -- E4 -- LR +\node[rotate=-31] at (0.87,3.31) {$+$};
-% ----------------------------------------------------------------+
  
-\draw (C) -- (LR);+% ============================================================ 
 +% Internal lower-right source E4 
 +% ============================================================
  
-\coordinate (E4c) at ($(C)!0.58!(LR)$);+\coordinate (E4) at (1.24,-2.07);
  
-\fill[white] (E4ccircle[radius=0.30]; +\draw 
-\draw (E4ccircle[radius=0.30];+    (C
 +    -- 
 +    ($(E4)!0.62cm!(C)$);
  
-\node[right] at ($(E4c)+(0.18,0.08)$) {$E_4$}; +\draw 
-\node[right] at ($(E4c)+(0.29,-0.27)$) {$+$};+    (E4
 +    circle[radius=0.62];
  
 +\draw
 +    ($(E4)!0.62cm!(BR)$)
 +    --
 +    (BR);
  
-================================================================+\node at (2.06,-1.67) {$E_4$}; 
 +\node[rotate=-31] at (2.20,-2.14) {$+$}; 
 + 
 +% ============================================================
 % Junction dots % Junction dots
-================================================================+% ============================================================
  
-\foreach \p in {UL,UR,L,C,R,LL,LR} +\fill (L)  circle[radius=4.2pt]; 
-{ +\fill (TL) circle[radius=4.2pt]; 
-    \fill (\p) circle[radius=2.5pt]; +\fill (TR) circle[radius=4.2pt]; 
-}+\fill (R circle[radius=4.2pt]; 
 +\fill (BR) circle[radius=4.2pt]; 
 +\fill (BL) circle[radius=4.2pt]; 
 +\fill (C)  circle[radius=4.2pt];
  
 \end{circuitikz} \end{circuitikz}
  
 \end{document} \end{document}
test.1786988504.md.gz · Last modified: by Ivan Janevski