|
58 | 58 | \definecolor{tuViolette}{cmyk}{0.25, 1, 0, 0} |
59 | 59 | \definecolor{tuYellow}{cmyk}{0.05, 0.08, 1, 0} |
60 | 60 | \definecolor{tuBrown}{cmyk}{0.05, 0.69, 1, 0} |
| 61 | +\definecolor{red}{rgb}{1, 0, 0} |
| 62 | +\definecolor{blue}{rgb}{0, 0, 1} |
61 | 63 |
|
62 | 64 | % === pgfplots === |
63 | 65 | % Definition of cycle lists |
|
176 | 178 | \draw (port_d.east) -- (winding_a.west) (winding_b.east) -- (port_e.west); |
177 | 179 |
|
178 | 180 | \node[tuGreen, anchor = north, inner sep = 2mm, text width = 10mm, align = center] at (port_a.south) {A \\ \SI{110}{\kV} \\ 1}; |
179 | | - \node[tuOrange, anchor = north, inner sep = 2mm, text width = 10mm, align = center] at (port_b.south) {B \\ \SI{110}{\kV} \\ 1}; |
180 | | - \node[tuOrange, anchor = north, inner sep = 2mm, text width = 10mm, align = center] at (port_c.south) {C \\ \SI{110}{\kV} \\ 1}; |
181 | | - \node[tuOrange, anchor = north, inner sep = 2mm, text width = 10mm, align = center] at (port_d.south) {D \\ \SI{110}{\kV} \\ 1}; |
| 181 | + \node[tuGreen, anchor = north, inner sep = 2mm, text width = 10mm, align = center] at (port_b.south) {B \\ \SI{110}{\kV} \\ 1}; |
| 182 | + \node[tuGreen, anchor = north, inner sep = 2mm, text width = 10mm, align = center] at (port_c.south) {C \\ \SI{110}{\kV} \\ 1}; |
| 183 | + \node[tuGreen, anchor = north, inner sep = 2mm, text width = 10mm, align = center] at (port_d.south) {D \\ \SI{110}{\kV} \\ 1}; |
182 | 184 | \node[tuOrange, anchor = north, inner sep = 2mm, text width = 10mm, align = center] at (port_e.south) {E \\ \SI{10}{\kV} \\ 2}; |
| 185 | + |
| 186 | + % Corner points of SubGridContainerA |
| 187 | + \node[anchor=south west, font=\footnotesize] (SGC_A_SW) at (-0.5, 0.75) {SubGridContainer A}; % South West corner |
| 188 | + \node[anchor=south east] (SGC_A_SE) at (5.25, 1.0) {}; % South East corner |
| 189 | + \node[anchor=south west] (SGC_A_NW) at (-0.5, -1.5) {}; % North West corner |
| 190 | + \node[anchor=south east] (SGC_A_NE) at (5.25, -1.5) {}; % North East corner |
| 191 | + |
| 192 | + % Corner points of SubGridContainerA |
| 193 | + \node[anchor=south west] (SGC_B_NW) at (4.0, 0.75) {}; % North West corner |
| 194 | + \node[anchor=south east, font=\footnotesize] (SGC_B_NE) at (8.25, 0.75) {SubGridContainer B}; % North East corner |
| 195 | + \node[anchor=north west] (SGC_B_SW) at (4.0, -2.0) {}; % South West corner |
| 196 | + \node[anchor=south east] (SGC_B_SE) at (8.25, -2.0) {}; % South East corner |
| 197 | + |
| 198 | + % Draw a red rectangle using the defined nodes |
| 199 | + \draw [red] (SGC_A_SW.north west) -- (SGC_A_SE.north east) -- (SGC_A_NE.south east) -- (SGC_A_NW.south west) -- cycle; |
| 200 | + % Draw a bluerectangle using the defined nodes |
| 201 | + \draw [blue] (SGC_B_SW.north west) -- (SGC_B_SE.south east) -- (SGC_B_NE.south east) -- (SGC_B_NW.south west) -- cycle; |
183 | 202 | \end{tikzpicture} |
184 | 203 | \end{document} |
0 commit comments