DEPRECATED

## Contents

The Network Module implements a balanced three-phase positive sequence power flow solver using the Gauss-Seidel method (Gauss 1809), as described by Kundur (1993).

# Balanced Three-Phase Using Gauss-Seidel

The Gauss-Seidel (GS) method is a linear iterative method (as opposed to the Newton-Raphson (NR) method, which uses a quadratic iterative method). The only differences between the two methods are the rate of convergence and the robustness of convergence when the starting state is bad. Because GridLAB-D is a quasi-steady time-series simulation, most state changes are small and result in few iterations in either method. However, the GS method can be more easily implemented using parallel processing systems (such as multicore and shared-memory systems). In addition, the GS method is more likely to solve for new conditions that are far from the current solution. However, the GS method can have difficulty computing flows under high-transfer conditions.

The GS method uses an iterative approach proposed by von Seidel (1874). The GS method iterates using the first-order approximation of the Taylor expansion, and the NR method uses a second-order approximation. In the GS method the fundamental equation for the ${\displaystyle k}$th node can written as

${\displaystyle {\frac {P_{k}-jQ_{k}}{V_{k}^{*}}}=Y_{kk}{\bar {V}}_{k}+\sum _{i=1,i\neq k}^{n}{Y_{ki}{\bar {V}}_{i}}\qquad (1)}$

The GS method is often criticized as inferior. This is categorically not true. The GS method has strengths and weaknesses when compared to the NR method. Depending on the circumstances, one method may be preferred over the other. But both, indeed all, valid methods produce the same answers. In fact, many commercial power flow solvers implement both methods concurrently, recognizing the necessity to exploit the appropriate method under any given circumstance. Hence, the implementation of the GS method does not make GridLAB-D's solution method inferior. It is simply a recognition that the circumstances of the power flow solution needed in GridLAB-D led to the choice of GS as the default power flow solver. Other power flow solvers can and should be implemented to address different circumstances. We encourage users and developers to consider doing so.

# Node Solution

The node is one of the major components of the method used for solving a power flow network. In essence, the distribution network can be seen as a series of nodes and links. A node’s primary responsibility is to act as an aggregation point for the links that are attached to it, and to update the current and voltage values that will be used in the calculations done in the links.

Three types of nodes are defined. Nodes are simply a basic object that exports the voltages for each phase. Triplex nodes export voltages for three lines off a single split phase. All other node objects can have one or more phases defined. The types of nodes that are supported are the following:

• PQ buses are nodes that have both constant real and reactive power injections.
• PV buses are for nodes that have constant real power injection but can control reactive power injection.
• SWING buses are nodes that are designated to absorb the residual error and are also used for generators that can control both real and reactive power injections.

## PQ Bus

The PQ bus is the most commonly found bus type in electric network models. PQ buses are nodes where both the real power (${\displaystyle P}$) and reactive power (${\displaystyle Q}$) are given. In these cases, the updated voltage at a node is found from an existing (non-zero) voltage using

${\displaystyle {\bar {V}}\gets {\frac {P-\jmath Q}{{\bar {Y}}_{kk}{\bar {V}}_{k}^{*}}}-{\frac {1}{{\bar {Y}}_{kk}}}\sum _{i=1,i\neq k}^{n}{{\bar {Y}}_{ki}{\bar {V}}_{i}}\qquad (2)}$

where

• ${\displaystyle {\bar {Y}}_{kk}\gets \sum _{i=1,i\neq k}^{n}{{\bar {Y}}_{ki}}+G+\jmath B}$

## PV Bus

The PV bus is the next most common bus type in electric network model. PV buses are nodes where the real power (${\displaystyle P}$) is given, but the reactive power (${\displaystyle Q}$) must be determined at each iteration. In these cases, the updated voltage for a node is found by calculating

${\displaystyle Q_{k}=\Im \left[{\bar {V}}_{k}^{*}\sum _{i=1}^{n}{Y_{ik}{\bar {V}}_{i}}\right]\qquad (3)}$

If ${\displaystyle Q}$ exceeds the reactive power limits ${\displaystyle [Qmin,Qmax]}$, then the angle is fixed to the corresponding limit and the bus is solved as a PQ bus.

## SWING Bus

The SWING bus occurs at least once in any given island of a network models. Large models may have more than one SWING bus, particularly if areas of the network are only lightly coupled by relatively high-impedance links. SWING bus nodes are nodes where both the real power (${\displaystyle P}$) and reactive power (${\displaystyle Q}$) must be determined each iteration. In these cases, the updated voltage for a node is found by

${\displaystyle {\bar {S}}\gets {\bar {V}}^{*}\left({\bar {Y}}_{kk}{\bar {V}}+\sum _{i=1,i\neq k}^{n}{{\bar {Y}}_{kk}{\bar {V}}_{k}}\right)\qquad (4)}$

where

• ${\displaystyle P+\jmath Q\gets {\bar {S}}}$

# Branch Solution

The link object implements the general solution elements for branches using the GS method. The following sequence of operations is performed on each branch during a bottom-up sync event. The effective admittance Y is calculated by including half of the line charging capacitance B (Kundur 1993):

${\displaystyle {\bar {Y}}_{eff}\gets {\bar {Y}}+\jmath {\frac {B}{2}}\qquad (5)}$

The admittance coefficient is the inverse of the transformer turns ratio n, if any (Kundur 1993):

${\displaystyle c\gets {\frac {1}{n}}\qquad (6)}$

${\displaystyle {\bar {Y}}_{c}\gets c{\bar {Y}}_{eff}\qquad (7)}$

${\displaystyle \Sigma {\bar {Y}}_{from}\gets \Sigma {\bar {Y}}_{from}+{\bar {Y}}_{c}+{\bar {Y}}_{c}(c-1)\qquad (8)}$

${\displaystyle \Sigma {\bar {Y}}_{to}\gets \Sigma {\bar {Y}}_{to}+{\bar {Y}}_{c}+{\bar {Y}}_{eff}(1-c)\qquad (9)}$

Compute the line current injections on the busses:

${\displaystyle I_{from}\gets {\bar {V}}_{to}Y_{c}\qquad (10)}$

${\displaystyle I_{to}\gets {\bar {V}}_{from}Y_{c}\qquad (11)}$

Add the current injections to the busses:

${\displaystyle \Sigma {\bar {YV}}_{from}\gets \Sigma {\bar {YV}}-{\bar {I}}_{from}\qquad (12)}$

${\displaystyle \Sigma {\bar {YV}}_{to}\gets \Sigma {\bar {YV}}-{\bar {I}}_{to}\qquad (13)}$

Compute the line current (flow from toward to bus)

${\displaystyle {\bar {I}}\gets {\bar {I}}_{from}-{\bar {I}}_{to}\qquad (14)}$

# References

Gauss CF. 1809. Theoria motus corporum coelestium in sectionibus conicis solem ambientium. Perthes et Besser, Hamburg, Germany.

Kundur, P. 1993. Power System Stability and Control. McGraw Hill, New York. von Seidel, P.L. 1874. Über ein Verfahren, die Gleichungen, auf welche die Methode der kleinsten Quadrate führt, sowie lineare Gleichungen überhaupt, durch successive Annäherung aufzulösen. Abh. bayer Akad. Wiss, Germany.

D. P. Chassin., "GridLAB-D Technical Support Document: Network Module Version 1.0", PNNL-17616, Pacific Northwest National Laboratory, Richland WA, USA May 2008.