|
1 | 1 | \input{Preamble}% |
2 | 2 |
|
3 | 3 | \begin{document} |
4 | | -\ctikzset{european, straight voltages, cute inductors}% |
| 4 | +\ctikzset{european, straight voltages, cute inductors, label/align=straight}% |
5 | 5 | \begin{tikzpicture}[% |
6 | 6 | show background rectangle,% |
7 | 7 | tight background,% |
8 | 8 | background rectangle/.style={fill=white}% |
9 | 9 | ] |
10 | 10 |
|
11 | | - \coordinate (g) at (0,0); |
| 11 | + \coordinate (g) at (0,0);% |
| 12 | + \coordinate (g top) at (0,1.5);% |
12 | 13 | \node[ground] at (g) {};% |
13 | 14 | \node[left] at (g) {$\underline{V_{\grm}}$};% |
14 | | - \draw (0, 1) to[short, i=$\underline{I_{\grm}}$, -*] (g); |
| 15 | + \draw (g top) to[short, i=$\underline{I_{\grm}}$, *-*] (g); |
| 16 | + |
| 17 | + \draw (g top) ++(155:1.25) coordinate (v1 bottom) ++(155:2) coordinate (v1);% |
| 18 | + \node[above] at (v1) {$\underline{V_1}$};% |
| 19 | + \draw (v1) to[generic, l_=$\underline{Z_1}$, *-] (v1 bottom) % |
| 20 | + to[short, i_=$\underline{I_1}$, current/distance=0.2] (g top);% |
| 21 | + |
| 22 | + \draw (g top) ++(125:1.25) coordinate (v2 bottom) ++(125:2) coordinate (v2);% |
| 23 | + \node[above] at (v2) {$\underline{V_2}$};% |
| 24 | + \draw (v2) to[generic, l_=$\underline{Z_2}$, *-] (v2 bottom)% |
| 25 | + to[short, i=$\underline{I_2}$, current/distance=0.2] (g top);% |
| 26 | + |
| 27 | + \draw (g top) ++(55:1.25) coordinate (vkm1 bottom) ++(55:2) coordinate (vkm1);% |
| 28 | + \node[above] at (vkm1) {$\underline{V_{k-1}}$};% |
| 29 | + \draw (vkm1) to[generic,l=$\underline{Z_{k-1}}$, *-] (vkm1 bottom) % |
| 30 | + to[short, i_=$\underline{I_{k-1}}$, current/distance=0.2] (g top);% |
| 31 | + |
| 32 | + \draw (g top) ++(25:1.25) coordinate (vk bottom) ++(25:2) coordinate (vk);% |
| 33 | + \node[above] at (vk) {$\underline{V_k}$};% |
| 34 | + \draw (vk) to[generic,l=$\underline{Z_k}$, *-] (vk bottom) % |
| 35 | + to[short, i=$\underline{I_k}$, current/distance=0.2] (g top);% |
| 36 | + |
| 37 | + \draw[->,-{Latex[]}, dashed] (g top) +(120:3) arc (120:60:3);% |
15 | 38 |
|
16 | 39 | \end{tikzpicture} |
17 | 40 | \end{document} |
|
0 commit comments