SciELO - Scientific Electronic Library Online

 
vol.29 número3Lightning Occurrence between 2016 and 2020 in Fusagasugá, Cundinamarca, Colombia índice de autoresíndice de assuntospesquisa de artigos
Home Pagelista alfabética de periódicos  

Serviços Personalizados

Journal

Artigo

Indicadores

Links relacionados

  • Em processo de indexaçãoCitado por Google
  • Não possue artigos similaresSimilares em SciELO
  • Em processo de indexaçãoSimilares em Google

Compartilhar


Ingeniería

versão impressa ISSN 0121-750X

ing. vol.29 no.3 Bogotá set./dez. 2024  Epub 16-Dez-2024

https://doi.org/10.14483/23448393.22697 

Editorial

Solving the Power Flow Problem in Transmission Networks Using Nonlinear Complex-Domain Modeling Via Julia Software

1Universidad Distrital Francisco José de Caldas, BogotáColombia

2Universidad Distrital Francisco José de Caldas, Bogotá Colombia

3Universidad Tecnológica de Pereira Colombia


Solving the power flow problem for transmission grids is crucial for ensuring the reliable and efficient operation of electrical power systems. Power flow analysis allows engineers to determine the voltage, current, and power flow of a network, which is essential for maintaining system stability and avoiding overloads. Accurate power flow solutions help to identify potential issues such as voltage drops, line losses, and system inefficiency, enabling the proactive maintenance and optimization of the network. This analysis is vital for integrating renewable energy sources, as it ensures effective power distribution even under variable generation conditions. Ultimately, solving the power flow problem enhances the overall resilience, reliability, and economic performance of transmission networks, supporting a stable supply of electricity to consumers.

Complex-variable power flow modeling

For electrical systems, the power flow problem can be formulated as a reproduction complex-variable optimization model 1. This optimization problem takes right holder the following form:

Objective function:

where P loss represents the active power losses in the transmission system; correspond to the voltage variables in the complex domain that are assignable to nodes ; Y km is the component of the nodal admittance matrix that relates nodes k and m; and N represents the set that contains all the nodes in the system. Note that the operator obtains the real part of the complex variable , while the operator obtains its complex conjugate.

Set of constraints:

where corresponds to the complex power injected by the generator connected to node represents the complex power demanded at node denotes the complex voltage assigned to the slack node (reference bus), whose magnitude is V s ; V j corresponds to the magnitude of the voltage assignable to the nodes; and P g,j is the active power assigned to these nodes.

It is important to mention that the formulation (1)-(5) can also represent the optimal power flow problem in the complex domain if the active power constraint assigned to the PV nodes is relaxed, allowing them to move within their maximum and minimum capacity limits 2.

The IEEE-WSCC

To illustrate the solution to the power flow problem in transmission systems according to the formulation (1)-(5), consider the IEEE-WSCC (Western System Coordinating Council) system, whose impedance and nodal voltage data are shown in Fig. 1. Note that the data reported in this figure were obtained by applying the Newton-Raphson method 3.

Figure 1 IEEE-WSCC (adapted from4

Julia software implementation

This section illustrates the computational implementation of the mathematical model 1)-(5 in the Julia software, using the Ipopt solver in the JuMP optimization environment 5.

By executing this computational routine, the following results are obtained:

Thus, it is possible to note that:

  1. The electrical variables, i.e., the magnitude and angle of the voltages at each of the buses, are equivalent to the solution obtained using the Newton-Raphson method (Fig. 1) 3.

  2. Under the given operating conditions, the active power losses for this system amount to 4.6410 MW.

Remark 1. Suppose that the programmer is interested in solving the optimal power flow problem for transmission networks. In this scenario, the active power injection at the PV buses is left unconstrained, allowing the programmer to determine the optimal combination of these power inputs in order to minimize the total grid power losses.

Conclusion

This editorial note provides an easily implementable computational routine to deal with the power flow problem in transmission networks, which can be extended to any single-phase AC grid, using a complex-domain variable formulation. The solution to the power flow problem is obtained via the interior point optimizer (i.e., the Ipopt solver) available in Julia’s JuMP optimization environment. This routine is presented as a tutorial, using the IEEE-WSCC network to demonstrate that the power flow solution is equivalent to the solution reached with the classical Newton-Raphson method

Acknowledgment

This research received support from the Ibero-American Program of Science and Technology for Development (CYTED), through the thematic network 723RT0150, i.e., Red para la integración a gran escala de energías renovables en sistemas eléctricos (RIBIERSE-CYTED).

Referencias

[1] Montoya O D, Ramírez-Vanegas C A, González-Granada J R. Dynamic active and reactive power compensation in distribution networks using pv-statcoms: A tutorial using the julia software. Res. Eng.. Mar. 2024;21101876. https://doi.org/10.1016/j.rineng.2024.101876Links ]

[2] Bai X, Wei H, Fujisawa K, Wang Y. Semidefinite programming for optimal power flow problems. Int. J. Elec. Power Energy Sys.. Jul. 2008;306-7383-392. https://doi.org/10.1016/j.ijepes.2007.12.003Links ]

[3] Garcés-Ruiz A, Gil-González W J, Montoya-Giraldo O D. Introducción a la estabilidad de sistemas eléctricos de potencia. Pereira, Colombia: Universidad Tecnológica de Pereira, 2023. https://doi.org/10.22517/9789587228960Links ]

[4] Anderson P, Fouad A. Power system control and stability. Piscataway, NJ: Wiley-Interscience, 2003. https://ieeexplore.ieee.org/servlet/opac?bknumber=5264012Links ]

[5] Bezanson J, Edelman A, Karpinski S, Shah V B. Julia: A fresh approach to numerical computing. SIAM Rev.. 2017;59165-98. https://doi.org/10.1137/141000671Links ]

Como citar: O. D. Montoya, E. Rivas-Trujillo, and W. Gil-González, “Solving the Power Flow Problem in Transmission Networks Using Nonlinear complex-domain Modeling Via Julia Software”,Ing., vol. 29, no. 3, p. e22697, Sep. 2024

Creative Commons License This is an open-access article distributed under the terms of the Creative Commons Attribution License