# Power-flow study

In power engineering, the **power-flow study**, or **load-flow study**, is a numerical analysis of the flow of electric power in an interconnected system. A power-flow study usually uses simplified notation such as a one-line diagram and per-unit system, and focuses on various aspects of AC power parameters, such as voltages, voltage angles, real power and reactive power. It analyzes the power systems in normal steady-state operation.

Power-flow or load-flow studies are important for planning future expansion of power systems as well as in determining the best operation of existing systems. The principal information obtained from the power-flow study is the magnitude and phase angle of the voltage at each bus, and the real and reactive power flowing in each line.

Commercial power systems are usually too complex to allow for hand solution of the power flow. Special purpose network analyzers were built between 1929 and the early 1960s to provide laboratory-scale physical models of power systems. Large-scale digital computers replaced the analog methods with numerical solutions.

In addition to a power-flow study, computer programs perform related calculations such as short-circuit fault analysis, stability studies (transient & steady-state), unit commitment and economic dispatch.^{[1]} In particular, some programs use linear programming to find the *optimal power flow*, the conditions which give the lowest cost per kilowatt hour delivered.

A load flow study is especially valuable for a system with multiple load centers, such as a refinery complex. The power flow study is an analysis of the system’s capability to adequately supply the connected load. The total system losses, as well as individual line losses, also are tabulated. Transformer tap positions are selected to ensure the correct voltage at critical locations such as motor control centers. Performing a load flow study on an existing system provides insight and recommendations as to the system operation and optimization of control settings to obtain maximum capacity while minimizing the operating costs. The results of such an analysis are in terms of active power, reactive power, magnitude and phase angle.

The Open Energy Modelling Initiative promotes open source load-flow models, and other types of energy system models.

## Contents

## Model

An **alternating current** power-flow model *is a model used in electrical engineering to analyze power grids. It provides a nonlinear system which describes the energy flow through each transmission line. The problem is non-linear because the power flow into load impedances is a function of the square of the applied voltages. Due to nonlinearity, in many cases the analysis of large network via AC power-flow model is not feasible, and a linear (but less accurate) DC power-flow model is used instead.*

Usually analysis of a three-phase system is simplified by assuming balanced loading of all three phases. Steady-state operation is assumed, with no transient changes in power flow or voltage due to load or generation changes. The system frequency is also assumed to be constant. A further simplification is to use the per-unit system to represent all voltages, power flows, and impedances, scaling the actual target system values to some convenient base. A system one-line diagram is the basis to build a mathematical model of the generators, loads, buses, and transmission lines of the system, and their electrical impedances and ratings.

## Power-flow problem formulation

The goal of a power-flow study is to obtain complete voltage angle and magnitude information for each bus in a power system for specified load and generator real power and voltage conditions.^{[2]} Once this information is known, real and reactive power flow on each branch as well as generator reactive power output can be analytically determined. Due to the nonlinear nature of this problem, numerical methods are employed to obtain a solution that is within an acceptable tolerance.

The solution to the power-flow problem begins with identifying the known and unknown variables in the system. The known and unknown variables are dependent on the type of bus. A bus without any generators connected to it is called a Load Bus. With one exception, a bus with at least one generator connected to it is called a Generator Bus. The exception is one arbitrarily-selected bus that has a generator. This bus is referred to as the slack bus.

In the power-flow problem, it is assumed that the real power *P*_{D} and reactive power *Q*_{D} at each Load Bus are known. For this reason, Load Buses are also known as PQ Buses. For Generator Buses, it is assumed that the real power generated *P _{G}* and the voltage magnitude |

*V*| is known. For the Slack Bus, it is assumed that the voltage magnitude |

*V*| and voltage phase

*Θ*are known. Therefore, for each Load Bus, both the voltage magnitude and angle are unknown and must be solved for; for each Generator Bus, the voltage angle must be solved for; there are no variables that must be solved for the Slack Bus. In a system with

*N*buses and

*R*generators, there are then unknowns.

In order to solve for the unknowns, there must be equations that do not introduce any new unknown variables. The possible equations to use are power balance equations, which can be written for real and reactive power for each bus. The real power balance equation is:

where is the net power injected at bus *i*, is the real part of the element in the bus admittance matrix Y_{BUS} corresponding to the *i*th row and *k*th column, is the imaginary part of the element in the Y_{BUS} corresponding to the *i*th row and *k*th column and is the difference in voltage angle between the *i*th and *k*th buses (). The reactive power balance equation is:

where is the net reactive power injected at bus *i*.

Equations included are the real and reactive power balance equations for each Load Bus and the real power balance equation for each Generator Bus. Only the real power balance equation is written for a Generator Bus because the net reactive power injected is assumed to be unknown and therefore including the reactive power balance equation would result in an additional unknown variable. For similar reasons, there are no equations written for the Slack Bus.

In many transmission systems, the voltage angles are usually relatively small. There is thus a strong coupling between real power and voltage angle, and between reactive power and voltage magnitude, while the coupling between real power and voltage magnitude, as well as reactive power and voltage angle, is weak. As a result, real power is usually transmitted from the bus with higher voltage angle to the bus with lower voltage angle, and reactive power is usually transmitted from the bus with higher voltage magnitude to the bus with lower voltage magnitude. However, this approximation does not hold when the voltage angle is very large.^{[3]}

## Newton–Raphson solution method

There are several different methods of solving the resulting nonlinear system of equations. The most popular is known as the Newton–Raphson method. This method begins with initial guesses of all unknown variables (voltage magnitude and angles at Load Buses and voltage angles at Generator Buses). Next, a Taylor Series is written, with the higher order terms ignored, for each of the power balance equations included in the system of equations . The result is a linear system of equations that can be expressed as:

where and are called the mismatch equations:

and is a matrix of partial derivatives known as a Jacobian: .

The linearized system of equations is solved to determine the next guess (*m* + 1) of voltage magnitude and angles based on:

The process continues until a stopping condition is met. A common stopping condition is to terminate if the norm of the mismatch equations is below a specified tolerance.

A rough outline of solution of the power-flow problem is:

- Make an initial guess of all unknown voltage magnitudes and angles. It is common to use a "flat start" in which all voltage angles are set to zero and all voltage magnitudes are set to 1.0 p.u.
- Solve the power balance equations using the most recent voltage angle and magnitude values.
- Linearize the system around the most recent voltage angle and magnitude values
- Solve for the change in voltage angle and magnitude
- Update the voltage magnitude and angles
- Check the stopping conditions, if met then terminate, else go to step 2.

## Other power-flow methods

- Gauss–Seidel method: This is the earliest devised method. It shows slower rates of convergence compared to other iterative methods, but it uses very little memory and does not need to solve a matrix system.
- Fast-decoupled-load-flow method is a variation on Newton-Raphson that exploits the approximate decoupling of active and reactive flows in well-behaved power networks, and additionally fixes the value of the Jacobian during the iteration in order to avoid costly matrix decompositions. Also referred to as "fixed-slope, decoupled NR". Within the algorithm, the Jacobian matrix gets inverted only once, and there are three assumptions. Firstly, the conductance between the buses is zero. Secondly, the magnitude of the bus voltage is one per unit. Thirdly, the sine of phases between buses is zero. Fast decoupled load flow can return the answer within seconds whereas the Newton Raphson method takes much longer. This is useful for real-time management of power grids.

- Holomorphic embedding load flow method: A recently developed method based on advanced techniques of complex analysis. It is direct and guarantees the calculation of the correct (operative) branch, out of the multiple solutions present in the power flow equations.

## References

- ↑ Low, S. H. (2013). "Convex relaxation of optimal power flow: A tutorial".
*2013 IREP Symposium Bulk Power System Dynamics and Control - IX Optimization, Security and Control of the Emerging Power Grid*. pp. 1–06. ISBN 978-1-4799-0199-9. doi:10.1109/IREP.2013.6629391. - ↑ Grainger, J.; Stevenson, W. (1994).
*Power System Analysis*. New York: McGraw–Hill. ISBN 0-07-061293-5. - ↑ Andersson, G: Lectures on Modelling and Analysis of Electric Power Systems