**Energy and Power Engineering**

Vol.11 No.04(2019), Article ID:91992,14 pages

10.4236/epe.2019.114011

Design and Power Flow Analysis of Electrical System Using Electrical Transient and Program Software

Raheel Muzzammel^{*}, Ibrahim Khail, Muhammad Huzaifa Tariq, Abubakar Muhammad Asghar, Ali Hassan^{ }

Department of Electrical Engineering, University of Lahore, Lahore, Pakistan

Copyright © 2019 by author(s) and Scientific Research Publishing Inc.

This work is licensed under the Creative Commons Attribution International License (CC BY 4.0).

http://creativecommons.org/licenses/by/4.0/

Received: March 17, 2019; Accepted: April 21, 2019; Published: April 24, 2019

ABSTRACT

Power flow analysis is a numerical way of study of behavior of flow of electric power in an interconnected system. In order to meet the growing demands of electrical energy in an optimum way, there is a need to upgrade existing systems or to install new systems. Therefore, planning of new installations and determination of best operating conditions of existing systems need power flow analysis. In this way, cost/benefit ratio for both suppliers and customers is maintained. This research involves the design and power flow analysis of IEEE-14 bus system. Newton Raphson method is applied for better efficiency and reduced computational time. Simulation analysis is conducted in ETAP software because of its excessive used in real life systems.

**Keywords:**

Power Flow Analysis, IEEE-14 Bus System, Newton Raphson Method, ETAP Software

1. Introduction

Behavior of flow of electric power in an interconnected system is studied numerically by power flow analysis. Single line diagram and per unit system are the fundamental components of this analysis. Voltage (V), voltage angles (δ), active power (P) and reactive power (Q) are the variables involved in this study. Active power and voltage are known at supply side and reactive power and voltage angles are determined through numerical analysis of power flow. Active power and reactive power are known at consumer side and voltage and voltage angles are evaluated through power flow analysis [1] [2] [3] .

There is a requirement to improve current power system or to add new systems to existing systems for meeting energy demands. Therefore, power flow analysis is an essential study for future expansion of power system and for finding the ideal operating conditions of existing electric power systems. Moreover, economic dispatch, unit commitment, contingency analysis, transient and steady state analysis and short circuit analysis require power flow analysis [2] [3] .

In power flow analysis, there are three types of buses i.e., swing bus, generator bus and load bus. Swing bus and generator bus are source buses. For swing bus, V and δ are known and P and Q are unknown values. The source bus with larger size of generator is normally taken as swing bus. For generator bus (PV bus), P and V are known values and Q and δ are unknown. For load bus (PQ bus), P and Q are known and V and δ are unknown values. The unknown parameters of buses (i.e., P and Q for swing bus, Q and δ for generator bus and V and δ for load bus) are determined from known values of buses (i.e., V and δ for swing bus, P and V for generator bus and P and Q for load bus) and impedance between these buses ( ${Z}_{ij}$ ) using power flow calculations. After performing power flow analysis, all the four parameters (V, δ, P and Q) are available for swing bus, generator bus and load bus. The other electrical parameters such as current, power factor, apparent power for the whole electrical system can be determined from these four parameters (V, δ, P and Q) and impedance between the buses ( ${Z}_{ij}$ ) [2] [3] .

Commercial power systems are complicated. It is not possible to analyze power flow through hand calculations. Physical models of power systems were analyzed through network analyzers in laboratories between 1929 and early 1960. Afterwards, invention of digital computers replaced the analog methods with numerical methods [1] - [7] .

Initially, linear methods were proposed to analyze power flow analysis. Among these, Cramer’s method, Gauss elimination and LU factorization are notable. However, these methods cannot handle complex, nonlinear and big power systems. Therefore, iterative techniques i.e., Gauss Seidel method, Newton Raphson method are developed to solve complex power systems [4] [5] [6] [7] [8] .

In this research paper, Newton Raphson method is implemented because of its accuracy and reduced computational time due to less iteration as compared to Gauss Seidel method. Iterative methods are techniques for solving the n equations of the linear system $Ax=b$ one at a time in sequence, and use previously computed results as soon as they are available, In Gauss Seidel method, the computations appear to be serial. Further, each component of new iteration depends upon all previously computed components. Updates cannot be done simultaneously. In addition to this, new iteration depends on the order in which equations are examined. If this ordering is changed, the components of new iteration (and not just their order) also change. These limitations persuade engineers and researchers to go for Newton Raphson method. Gauss Seidel method is easy to program. Newton Raphson method is complex to program and it acquires more memory space then Gauss Seidel method. Time required for per iteration in Newton Raphson method is larger than Gauss Seidel method but the overall time for iterative process is less because of less number of iterations for convergence [1] [2] [3] [4] [7] [8] [9] .

ETAP software is used for simulation because of its extension of real time intelligent power management systems for monitoring, controlling, automating and optimizing power systems. It is a high impact software used for power flow analysis is generation, transmission and distribution systems of electric power engineering [10] [11] [12] [13] .

This research paper consists of following sections: Section II covers the mathematical background and proposed flow chart for Newton Raphson method. Section III contains the details of IEEE-14 bus system as a test model for depicting accuracy of power flow analysis method. Simulation analysis in tabular form is presented in Section IV. Section V concludes the research.

2. Newton Raphson Method

Newton Raphson method is named after Isaac Newton and Joseph Raphson. Successively better approximations for the roots of a real-valued function are determined from this method. Newton-Raphson load flow analysis is based on Newton Raphson method for evaluation of a system of nonlinear equations. It is an iterative method which approximates a set of non-linear simultaneous equations is approximated to a set of linear simultaneous equations using Taylor’s series expansion by this iterative method [2] [3] .

Referring to Figure 1, polar form of power flow equations are formulated for n bus system in terms of bus admittance matrix Y as

${I}_{i}={\displaystyle {\sum}_{j=1}^{n}{Y}_{ij}{V}_{j}}$ (1)

${I}_{i}={\displaystyle {\sum}_{j=1}^{n}|\left|{Y}_{ij}\right|\left|{V}_{j}\right|<\left({\theta}_{ij}+{\delta}_{j}\right)}$ (2)

where i and j represent ${i}^{th}$ and ${j}^{th}$ bus respectively. The current in terms of the active and the reactive power at bus i is:

${I}_{i}=\frac{{P}_{i}-J{Q}_{i}}{{V}_{i}}$ (3)

Using Equation (3) into Equation (2) gives:

${P}_{i}-j{Q}_{i}=\left|{V}_{i}\right|<-{\delta}_{i}{\displaystyle {\sum}_{i=1}^{n}\left|{V}_{j}\right|\left|{Y}_{ij}\right|<{\theta}_{ij}+{\delta}_{j}}$ (4)

${P}_{i}-j{Q}_{i}={\displaystyle {\sum}_{i=1}^{n}\left|{V}_{i}{V}_{j}{Y}_{ij}\right|<{\theta}_{ij}+{\delta}_{j}-{\delta}_{i}}$ (5)

Real and imaginary parts are separated as:

${P}_{i}={\displaystyle {\sum}_{i=1}^{n}\left|{V}_{i}{V}_{j}{Y}_{ij}\right|\mathrm{cos}\left({\theta}_{ij}+{\delta}_{j}-{\delta}_{i}\right)}$ (6)

${Q}_{i}=-{\displaystyle {\sum}_{i=1}^{n}\left|{V}_{i}{V}_{j}{Y}_{ij}\right|\mathrm{sin}\left({\theta}_{ij}+{\delta}_{j}-{\delta}_{i}\right)}$ (7)

Taylor series expansion of Equation (6) and Equation (7) and neglecting higher order term result:

Figure 1. Typical power system bus bar model.

$\left[\begin{array}{cccccc}\frac{\partial {P}_{2}}{\partial {\delta}_{2}}& \cdots & \frac{\partial {P}_{2}}{\partial {\delta}_{n}}& \frac{\partial {P}_{2}}{\partial \left|{V}_{2}\right|}& \cdots & \frac{\partial {P}_{2}}{\partial \left|{V}_{n}\right|}\\ \vdots & \ddots & \vdots & \vdots & \ddots & \vdots \\ \frac{\partial {P}_{n}}{\partial {\delta}_{2}}& \cdots & \frac{\partial {P}_{n}}{\partial {\delta}_{n}}& \frac{\partial {P}_{2}}{\partial \left|{V}_{2}\right|}& \cdots & \frac{\partial {P}_{2}}{\partial \left|{V}_{2}\right|}\\ \frac{\partial {Q}_{2}}{\partial {\delta}_{2}}& \cdots & \frac{\partial {Q}_{2}}{\partial {\delta}_{n}}& \frac{\partial {Q}_{2}}{\partial \left|{V}_{2}\right|}& \cdots & \frac{\partial {Q}_{2}}{\partial \left|{V}_{n}\right|}\\ \vdots & \ddots & \vdots & \vdots & \ddots & \vdots \\ \frac{\partial {Q}_{n}}{\partial {\delta}_{2}}& \cdots & \frac{\partial {Q}_{n}}{\partial {\delta}_{n}}& \frac{\partial {Q}_{n}}{\partial \left|{V}_{2}\right|}& \dots & \frac{\partial {Q}_{n}}{\partial \left|{V}_{n}\right|}\end{array}\right]\left[\begin{array}{c}\Delta {\delta}_{2}\\ \vdots \\ \vdots \\ \Delta {\delta}_{n}\\ \Delta \left|{V}_{2}\right|\\ \vdots \\ \vdots \\ \Delta \left|{V}_{n}\right|\end{array}\right]=\left[\begin{array}{c}\Delta {P}_{2}\\ \vdots \\ \vdots \\ \Delta {P}_{n}\\ \Delta {Q}_{n}\\ \vdots \\ \vdots \\ \Delta {Q}_{n}\end{array}\right]$ (8)

Linearized relationship is obtained by this Jacobian matrix between small changes in voltage angles $\Delta {\delta}_{i}$ and voltage magnitude $\Delta \left|{V}_{i}\right|$ with the small changes in real and reactive power $\Delta {P}_{i}$ and $\Delta {Q}_{i}$ . (8) can be modified as:

$\left[\begin{array}{c}\Delta P\\ \Delta Q\end{array}\right]=\left[\begin{array}{cc}{J}_{1}& {J}_{2}\\ {J}_{3}& {J}_{4}\end{array}\right]\left[\begin{array}{c}\Delta \delta \\ \Delta \left|V\right|\end{array}\right]$ (9)

The diagonal and the off diagonal elements of ${J}_{1}$ are:

$\frac{\partial {P}_{i}}{\partial {\delta}_{i}}={\displaystyle {\sum}_{j\ne i}\left|{V}_{i}\right|\left|{V}_{j}\right|\left|{Y}_{ij}\right|\mathrm{sin}\left({\theta}_{ij}+{\delta}_{j}-{\delta}_{i}\right)}$ (10)

$\frac{\partial {P}_{i}}{\partial {\delta}_{j}}=-\left|{V}_{i}\right|\left|{V}_{j}\right|\left|{Y}_{ij}\right|\mathrm{sin}\left({\theta}_{ij}+{\delta}_{j}-{\delta}_{i}\right)$ (11)

where $j\ne i$ .

$\frac{\partial {Q}_{i}}{\partial {\delta}_{j}}={\displaystyle {\sum}_{j=1}^{n}\left|{V}_{i}{V}_{j}{Y}_{ij}\right|\mathrm{sin}\left({\theta}_{ij}+{\delta}_{j}-{\delta}_{i}\right)}$ (11)

Similarly, diagonal and off diagonal elements of ${J}_{2}$ , ${J}_{3}$ , ${J}_{4}$ are:

$\frac{\partial {P}_{i}}{\partial \left|{V}_{i}\right|}=2\left|{V}_{i}\right|\left|{Y}_{ii}\right|\mathrm{cos}{\theta}_{ii}+{\displaystyle {\sum}_{j\ne i}\left|{V}_{j}\right|\left|{Y}_{ij}\right|}\mathrm{cos}\left({\theta}_{ij}+{\delta}_{j}-{\delta}_{i}\right)$ (12)

$\frac{\partial {P}_{i}}{\partial \left|{V}_{j}\right|}=\left|{V}_{i}\right|\left|{Y}_{ij}\right|\mathrm{cos}\left({\theta}_{ij}+{\delta}_{j}-{\delta}_{i}\right)$ (13)

$\frac{\partial {Q}_{i}}{\partial {\delta}_{i}}={\displaystyle {\sum}_{j\ne i}\left|{V}_{i}\right|\left|{V}_{j}\right|\left|{Y}_{ij}\right|\mathrm{cos}\left({\theta}_{ij}+{\delta}_{j}-{\delta}_{i}\right)}$ (14)

$\frac{\partial {P}_{i}}{\partial {\delta}_{j}}=-\left|{V}_{i}\right|\left|{V}_{j}\right|\left|{Y}_{ij}\right|\mathrm{cos}\left({\theta}_{ij}+{\delta}_{j}-{\delta}_{i}\right)$ (15)

$\frac{\partial {Q}_{i}}{\partial \left|{V}_{i}\right|}=-2\left|{V}_{i}\right|\left|{Y}_{ij}\right|\mathrm{sin}{\theta}_{ii}+{\displaystyle {\sum}_{j\ne i}\left|{V}_{i}\right|\left|{Y}_{ij}\right|\mathrm{sin}\left({\theta}_{ij}+{\delta}_{j}-{\delta}_{i}\right)}$ (16)

$\frac{\partial {Q}_{i}}{\partial \left|{V}_{j}\right|}=-\left|{V}_{i}\right|\left|{Y}_{ij}\right|\mathrm{sin}\left({\theta}_{ij}+{\delta}_{j}-{\delta}_{i}\right)$ (17)

The terms $\Delta {P}_{i}$ and $\Delta {Q}_{i}$ in Equation (8) are the differences between the scheduled and calculated values of power called power residuals given as:

$\Delta {P}_{i}={P}_{i}^{sch}-{P}_{i}$ (18)

$\Delta {Q}_{i}={Q}_{i}^{sch}-{Q}_{i}$ (19)

Using Equation (8), Equation (18) and Equation (19), $\Delta {\delta}_{i}$ and $\Delta \left|{V}_{i}\right|$ are calculated to complete the particular iteration. The new values calculated as shown below are used for the next iteration (k + 1)

${\delta}_{i}^{k+1}={\delta}_{i}^{k}-\Delta {\delta}_{i}^{k}$ (20)

$\left|{V}_{i}^{k+1}\right|=\left|{V}_{i}^{k}\right|-\left|\Delta {V}_{i}^{k}\right|$ (21)

Flow chart of Newton Raphson method is given in Figure 2. Test system i.e., IEEE 14 bus system is analyzed in Figure 3.

3. Test System―IEEE 14 BUS System

IEEE 14 bus system is used to validate the performance of Newton Raphson method. Table 1 and Table 2 provide the details of buses data and branches data for power system. In Table 1, *Bus Type (1) represents swing bus, (2) represents generator bus (PV bus) and (3) represents load bus (PQ bus).

4. Simulation Analysis

ETAP software is used for simulation analysis and simulation circuit is given in Figure 4. Power flow analysis for IEEE-14 bus system is carried out by Newton Raphson method. Table 3 provides the results of power flow analysis on branches of electric power system.

Table 4 gives the detail of load and losses in electric power system after power flow analysis via Newton Raphson method. IEEE-14 bus system after power flow analysis is given in Figure 5.

Power flow analysis results in generation of alerts at generators. The alerts contain the conditions of operation of generator as shown in Table 5. Conditions of operation of generators are overload, overexcited, under excited and normal. After taking into consideration the capability curve and load values, the generation values are readjusted to bring operation of generators under normal conditions and it is shown in Table 6.

Figure 2. Flow chart of Newton Raphson method.

Figure 3. IEEE-14 bus system and Newton Raphson method.

Table 1. This table shows the bus data of IEEE-14 bus system.

Table 2. This table shows the branch data of IEEE-14 bus system.

Table 3. This table provides the result of power flow analysis of on branches of IEEE-14 bus system.

Table 4. This table shows the result of load and losses after load flow analysis at 230 kv and at 100 percent magnitude.

Table 5. This table gives the condition of three phase generators after power flow analysis via Newton Raphson method.

Table 6. This table gives the values of generation under normal operating conditions of generators.

ETAP report is generated and is given in Table 7 to depict the generation and load in electric power system test model.

Voltage and current of test system are measured before and after load flow analysis to depict the state of the system and are shown in Figure 6 and Figure 7. Change in the values of voltage and angles are observed. It is the requirement of power system to have good voltage regulation for ensuring acceptable power factor value.

5. Conclusion

In this research paper, IEEE-14 bus system is developed and analysed. Power flow analysis is conducted through Newton Raphson method. Further, operating conditions of generators are determined. Generation values are readjusted by

Figure 4. This figure shows the simulation circuit of IEEE-14 bus system on ETAP software.

Figure 5. IEEE-14 bus system after power flow analysis.

Table 7. This table shows the load flow ETAP software report via Newton Rahson method.

Figure 6. Graphical representation of voltage and current of IEEE-14 bus system before power flow analysis.

Figure 7. Graphical representation of voltage and current of IEEE-14 bus system after power flow analysis.

taking into consideration capability curve and load values to bring operation of generators under normal conditions. It is found that power flow analysis is comprehensively conducted through Newton Raphson method via ETAP software. This research depicts the importance of implementing Newton Raphson and using ETAP software at industrial and commercial levels. With a little change in voltage values at buses of power system, generators are brought to normal operating conditions. Power factor is not much compromised. Load is meeting in economic operating conditions. Weak branches are identified. Capacitor banks and static volt Ampere reactive compensator (SVC) would be the ultimate solution to make them strong. This load flow study would lead to the installation of flexible alternating current transmission system (FACTS) devices for reactive power compensation. This research led to the development of optimization algorithms for finding the location of FACTS devices. Transient and economic dispatch for circuit breaker placements and economics of generations will be the future work of this power flow analysis.

Conflicts of Interest

The authors declare no conflicts of interest regarding the publication of this paper.

Cite this paper

Muzzammel, R., Khail, I., Tariq, M.H., Asghar, A.M. and Hassan, A. (2019) Design and Power Flow Analysis of Electrical System Using Electrical Transient and Program Software. Energy and Power Engineering, 11, 186-199. https://doi.org/10.4236/epe.2019.114011

References

- 1. Muzzammel, R., Ahsan, M. and Ahmad, W. (2015) Non-Linear Analytic Approaches of Power Flow Analysis and Voltage Profile Improvement. 2015 Power Generation System and Renewable Energy Technologies (PGSRET), Islamabad, June 2015, 1-7.
- 2. Saadat, H. (1999) Power System Analysis. Mc Graw-hill, Inc., 2 Pennsylvania Plaza New York City.
- 3. Stevenson, W.D. (1982) Elements of Paver System Analysis. McGraw-Hill, 2 Pennsylvania Plaza New York City.
- 4. Athay, T. (1983) An Overview of Power Flow Analysis. 1983 American Control Conference, San Francisco, CA, USA, 22-24 June 1983, 404-410. https://doi.org/10.23919/ACC.1983.4788145
- 5. Mešanović, A., Münz, U. and Ebenbauer, C. (2018) Robust Optimal Power Flow for Mixed AC/DC Transmission Systems with Volatile Renewables. IEEE Transactions on Power Systems, 33, 5171-5182. https://doi.org/10.1109/TPWRS.2018.2804358
- 6. Levron, Y., Guerrero, J.M. and Beck, Y. (2013) Optimal Power Flow in Microgrids with Energy Storage. IEEE Transactions on Power Systems, 28, 3226-3234. https://doi.org/10.1109/TPWRS.2013.2245925
- 7. Stott, B. (1974) Review of Load-Flow Calculation Methods. Proceedings of the IEEE, 62, 916-929. https://doi.org/10.1109/PROC.1974.9544
- 8. Fikri, M., Cheddadi, B., Sabri, O., Haidi, T., Abdelaziz, B. and Majdoub, M. (2018) Power Flow Analysis by Numerical Techniques and Artificial Neural Networks. 2018 Renewable Energies, Power Systems & Green Inclusive Economy (REPS-GIE), Casablanca, 23-24 April 2018, 1-5. https://doi.org/10.1109/REPSGIE.2018.8488870
- 9. Montoya, O.D., Garrido, V.M., Gil-González, W. and Grisales-Noreña, L. (2019) Power Flow Analysis in DC Grids: Two Alternative Numerical Methods. IEEE Transactions on Circuits and Systems II: Express Briefs, 1-1. https://doi.org/10.1109/TCSII.2019.2891640
- 10. Asrari, A. and Ramos, B. (2018) Power System Protection Upgrade at Anclote Plant a Case Study in Florida State. 2018 IEEE Texas Power and Energy Conference (TPEC), College Station, TX, 8-9 February 2018, 1-6. https://doi.org/10.1109/TPEC.2018.8312091
- 11. Chandraratne, C., Woo, W.L., Logenthiran, T. and Naayagi, R.T. (2018) Adaptive Overcurrent Protection for Power Systems with Distributed Generators. 2018 8th International Conference on Power and Energy Systems (ICPES), Colombo, Sri Lanka, 21-22 December 2018, 98-103. https://doi.org/10.1109/ICPESYS.2018.8626908
- 12. Soni, C.J., Gandhi, P.R. and Takalkar, S.M. (2015) Design and Analysis of 11 KV Distribution System Using ETAP Software. 2015 International Conference on Computation of Power, Energy, Information and Communication (ICCPEIC), Chennai, Chennai, 22-23 April 2015, 0451-0456. https://doi.org/10.1109/ICCPEIC.2015.7259526
- 13. Alinejad-Beromi, Y., Sedighizadeh, M., Bayat, M.R. and Khodayar, M.E. (2007) Using Genetic Alghoritm for Distributed Generation Allocation to Reduce Losses and Improve Voltage Profile. 2007 42nd International Universities Power Engineering Conference, Brighton, 4-6 September 2007, 954-959. https://doi.org/10.1109/UPEC.2007.4469077