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 notations 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 and steady-state), unit commitment and economic dispatch.<ref>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. doi:10.1109/IREP.2013.6629391. ISBN 978-1-4799-0199-9. S2CID 14195805.</ref> 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, voltage magnitude and phase angle. Furthermore, power-flow computations are crucial for optimal operations of groups of generating units.
In term of its approach to uncertainties, load-flow study can be divided to deterministic load flow and uncertainty-concerned load flow. Deterministic load-flow study does not take into account the uncertainties arising from both power generations and load behaviors. To take the uncertainties into consideration, there are several approaches that has been used such as probabilistic, possibilistic, information gap decision theory, robust optimization, and interval analysis.<ref>Aien, Morteza; Hajebrahimi, Ali; Fotuhi-Firuzabad, Mahmud (2016). "A comprehensive review on uncertainty modeling techniques in power system studies". Renewable and Sustainable Energy Reviews. 57: 1077–1089. doi:10.1016/j.rser.2015.12.070.</ref>
Model
An alternating current power-flow model is a model used in electrical engineering to analyze power grids. It provides a nonlinear system of equations 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 power system is simplified by assuming balanced loading of all three phases. Sinusoidal steady-state operation is assumed, with no transient changes in power flow or voltage due to load or generation changes, meaning all current and voltage waveforms are sinusoidal with no DC offset and have the same constant frequency. The previous assumption is the same as assuming the power system is linear time-invariant (even though the system of equations is nonlinear), driven by sinusoidal sources of same frequency, and operating in steady-state, which allows to use phasor analysis, another simplification. 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 voltages angle and magnitude information for each bus in a power system for specified load and generator real power and voltage conditions.<ref>Grainger, J.; Stevenson, W. (1994). Power System Analysis. New York: McGraw–Hill. ISBN 0-07-061293-5.</ref> 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 PD and reactive power QD 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 PG 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 <math>2(N-1) - (R-1)</math> unknowns.
In order to solve for the <math>2(N-1) - (R-1)</math> unknowns, there must be <math>2(N-1) - (R-1)</math> 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:
- <math>0 = -P_{i} + \sum_{k=1}^N |V_i||V_k|(G_{ik}\cos\theta_{ik}+B_{ik}\sin\theta_{ik})</math>
where <math>P_{i}</math> is the net active power injected at bus i, <math>G_{ik}</math> is the real part of the element in the bus admittance matrix YBUS corresponding to the <math>i_{th}</math> row and <math>k_{th}</math> column, <math>B_{ik}</math> is the imaginary part of the element in the YBUS corresponding to the <math>i_{th}</math> row and <math>k_{th}</math> column and <math>\theta_{ik}</math> is the difference in voltage angle between the <math>i_{th}</math> and <math>k_{th}</math> buses (<math>\theta_{ik}=\theta_i-\theta_k</math>). The reactive power balance equation is:
- <math>0 = -Q_{i} + \sum_{k=1}^N |V_i||V_k|(G_{ik}\sin\theta_{ik}-B_{ik}\cos\theta_{ik})</math>
where <math>Q_i</math> 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 impedance of the power network lines is primarily inductive, i.e. the phase angles of the power lines impedance are usually relatively large and very close to 90 degrees. 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 phase angle of the power line impedance is relatively small.<ref>Andersson, G: Lectures on Modelling and Analysis of Electric Power Systems Archived 2017-02-15 at the Wayback Machine</ref>
Newton–Raphson solution method
There are several different methods of solving the resulting nonlinear system of equations. The most popular[according to whom?] is a variation of the Newton–Raphson method. The Newton-Raphson method is an iterative method which 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:
- <math>\begin{bmatrix}\Delta \theta \\ \Delta |V|\end{bmatrix} = -J^{-1} \begin{bmatrix}\Delta P \\ \Delta Q \end{bmatrix} </math>
where <math>\Delta P</math> and <math>\Delta Q</math> are called the mismatch equations:
- <math>\Delta P_i = -P_i + \sum_{k=1}^N |V_i||V_k|(G_{ik}\cos\theta_{ik}+B_{ik}\sin \theta_{ik})</math>
<math>\Delta Q_{i} = -Q_{i} + \sum_{k=1}^N |V_i||V_k|(G_{ik}\sin\theta_{ik}-B_{ik}\cos\theta_{ik})</math>
and <math>J</math> is a matrix of partial derivatives known as a Jacobian: <math>J=\begin{bmatrix} \dfrac{\partial \Delta P}{\partial\theta} & \dfrac{\partial \Delta P}{\partial |V|} \\ \dfrac{\partial \Delta Q}{\partial \theta}& \dfrac{\partial \Delta Q}{\partial |V|}\end{bmatrix}</math>.
The linearized system of equations is solved to determine the next guess (m + 1) of voltage magnitude and angles based on:
- <math>\theta_{m+1} = \theta_m + \Delta \theta\,</math>
- <math>|V|_{m+1} = |V|_m + \Delta |V|\,</math>
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.<ref>Stott, B.; Alsac, O. (May 1974). "Fast Decoupled Load Flow". IEEE Transactions on Power Apparatus and Systems. PAS-93 (3): 859–869. Bibcode:1974ITPAS..93..859S. doi:10.1109/tpas.1974.293985. ISSN 0018-9510.</ref>
- 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.
- Backward-Forward Sweep (BFS) method: A method developed to take advantage of the radial structure of most modern distribution grids. It involves choosing an initial voltage profile and separating the original system of equations of grid components into two separate systems and solving one, using the last results of the other, until convergence is achieved. Solving for the currents with the voltages given is called the backward sweep (BS) and solving for the voltages with the currents given is called the forward sweep (FS).<ref>Petridis, S.; Blanas, O.; Rakopoulos, D.; Stergiopoulos, F.; Nikolopoulos, N.; Voutetakis, S. An Efficient Backward/Forward Sweep Algorithm for Power Flow Analysis through a Novel Tree-Like Structure for Unbalanced Distribution Networks. Energies 2021, 14, 897. https://doi.org/10.3390/en14040897, https://www.mdpi.com/1996-1073/14/4/897</ref>
- Laurent Power Flow (LPF) method: Power flow formulation that provides guarantee of uniqueness of solution and independence on initial conditions for electrical distribution systems. The LPF is based on the current injection method (CIM) and applies the Laurent series expansion. The main characteristics of this formulation are its proven numerical convergence and stability, and its computational advantages, showing to be at least ten times faster than the BFS method both in balanced and unbalanced networks.<ref>Giraldo, J. S., Montoya, O. D., Vergara, P. P., & Milano, F. (2022). A fixed-point current injection power flow for electric distribution systems using Laurent series. Electric Power Systems Research, 211, 108326. https://doi.org/10.1016/j.epsr.2022.108326</ref> Since it is based on the system's admittance matrix, the formulation is able to consider radial and meshed network topologies without additional modifications (contrary to the compensation-based BFS<ref>Shirmohammadi, D., Hong, H. W., Semlyen, A., & Luo, G. X. (1988). A compensation-based power flow method for weakly meshed distribution and transmission networks. IEEE Transactions on power systems, 3(2), 753-762. https://doi.org/10.1109/59.192932</ref>). The simplicity and computational efficiency of the LPF method make it an attractive option for recursive power flow problems, such as those encountered in time-series analyses, metaheuristics, probabilistic analysis, reinforcement learning applied to power systems, and other related applications.
DC power-flow
Direct current load flow gives estimations of lines power flows on AC power systems. Direct current load flow looks only at active power flows and neglects reactive power flows. This method is non-iterative and absolutely convergent but less accurate than AC Load Flow solutions. Direct current load flow is used wherever repetitive and fast load flow estimations are required.<ref>Seifi, H. &. (2011). Appendix A: DC Load Flow. In H. &. Seifi, Electric power system planning: issues, algorithms and solutions (pp. 245-249). Berlin: Springer</ref>