Subsection¶
Context¶
A Subsection is a part of the VoltageLevel defined by the BusNodes that must be displayed in parallel. The
VoltageLevel is partitioned into Subsections each of them having a different set of BusNodes.
A List<Subsection> will then be given to BlockPositionner that will sequentially treat each Subsection assigning the
Positions (H,V) of BusNodes and Cells.
Therefore, the List<Subsection> shall consistently respect the following rule: if a BusNode spans over many Subsections, it shall:
be in contiguous
Subsectionsin the listhave the same index (ie same vertical position) in each
Subsection
Definition¶
A Subsection has the following attributes:
sizewhich is the number of parallelBusNodesand is defined in the constructor and cannot be changed.busNodesaBusNodesarray of sizesizeexternCellsa list ofExternCellInternCellSidesa SetInternCellSidewhich correspond to the leg of oneInternCellcombined with itsSide.
Note - When an
InternCelloverlaps 2Subsections:
its
LEFTleg will be on the right side of the firstSubsection, i.e., at the end ofinternCellSidesits
RIGHTleg will be on the left side of the secondSubsection, i.e., at the beginning ofinternCellSides
Building the List<Subsection>¶
Subsection has createSubsections as a utility method to build the List<Subsection> subsections based on a
consolidated BSCluster and is called by implementations of PositionFinder.
It calls many methods that aim at ensuring the coherence of the position of the Cells. Especially, that’s where
InternCell.Shapeare defined,InternCellare flipped (RIGHT/LEFT) if needed to be consistent with the arrangement,if
handleShuntis set,ExternCellsinvolved in aShuntCellare shifted to be as close to one another as possible.