Skip to content

Commit 976291d

Browse files
Merge pull request #1459 from ie3-institute/df/#1458-sgc-rtd
Fix figure of SubGridContainer in rtd and clarify definitions
2 parents 3f9926b + da9a5fd commit 976291d

File tree

4 files changed

+24
-4
lines changed

4 files changed

+24
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
130130
- Fixed `MappingEntryies` not getting processed by adding `Getter` methods for record fields [#1084](https://github.com/ie3-institute/PowerSystemDataModel/issues/1084)
131131
- Fixed "depth of discharge" in documentation [#872](https://github.com/ie3-institute/PowerSystemDataModel/issues/872)
132132
- Fixed project being build twice in CI [#994](https://github.com/ie3-institute/PowerSystemDataModel/issues/994)
133+
- Fix figure of SubGridContainer in rtd and clarify definitions [#1458](https://github.com/ie3-institute/PowerSystemDataModel/issues/1458)
133134

134135
### Changed
135136
- Improvements to the search for corner points in `IdCoordinateSource` [#1016](https://github.com/ie3-institute/PowerSystemDataModel/issues/1016)
6.57 KB
Loading

docs/readthedocs/_static/figures/transformerWithSwitchGear.tex

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@
5858
\definecolor{tuViolette}{cmyk}{0.25, 1, 0, 0}
5959
\definecolor{tuYellow}{cmyk}{0.05, 0.08, 1, 0}
6060
\definecolor{tuBrown}{cmyk}{0.05, 0.69, 1, 0}
61+
\definecolor{red}{rgb}{1, 0, 0}
62+
\definecolor{blue}{rgb}{0, 0, 1}
6163

6264
% === pgfplots ===
6365
% Definition of cycle lists
@@ -176,9 +178,26 @@
176178
\draw (port_d.east) -- (winding_a.west) (winding_b.east) -- (port_e.west);
177179

178180
\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};
182184
\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;
183202
\end{tikzpicture}
184203
\end{document}

docs/readthedocs/models/input/grid/gridcontainer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ In contrast to the `JointGridContainer` it only covers one voltage level and the
1818
for the predominant voltage level apparent in the container.
1919
Why predominant?
2020
As of convention, the `SubGridContainers` hold also reference to the transformers leading to higher sub grids
21-
and their higher voltage coupling point.
21+
and their higher voltage coupling point. Thus, the higher voltage coupling point is part of more than one `SubGridContainer`.
2222

2323
![Sub grid boundary definition for transformers with upstream switchgear](../../../_static/figures/transformerWithSwitchGear.png)
2424

0 commit comments

Comments
 (0)