DOI:

https://doi.org/10.14483/23448393.22049

Published:

2024-11-11

Issue:

Vol. 29 No. 3 (2024): September-December

Section:

Electrical, Electronic and Telecommunications Engineering

Comparative Analysis of the Julia and AMPL Computational Tools Used in the Radial Distribution Network Optimization Problem

Análisis comparativo de las herramientas computacionales Julia y AMPL utilizadas en el problema de optimización de redes de distribución radiales

Authors

Keywords:

mathematical optimization, distribution power networks, solvers, optimal capacitor placement, optimal distributed generation allocation (en).

Keywords:

optimización matemática, redes de distribución eléctrica, solucionadores, colocación óptima de condensadores, asignación óptima de generación distribuida (es).

Abstract (en)

Context: Research on the development of mathematical models to optimize electric power distribution systems has become increasingly important in recent years. Choosing the right optimization tools and solvers to address optimization problems in these systems has therefore become fundamental.

Method: Nonlinear and mixed-integer nonlinear mathematical models addressing optimal capacitor placement and the allocation of distributed generation were implemented in the AMPL and Julia platforms. These models together with the Ipopt, Knitro, and Bonmin solvers, were tested and compared using 33-, 69-, and 83-bus test systems.

Results: The comparative analysis shows that AMPL allows for a more direct and adequate implementation of this type of optimization problem, while Julia requires more elaborate constructions. The experimental results show significant reductions in system losses through optimal capacitor and distributed generation placement.

Conclusions: AMPL offers a faster learning curve and a syntax that is more suitable for mathematical modeling. On the other hand, Julia provides superior versatility and access to a wider diversity of solvers. Although the evaluated nonlinear solvers proved to be suitable for the non-convex models and reached equivalent solutions, Knitro, a commercial solver, exhibited shorter processing times. In this sense, choosing between free or commercial alternatives involves a compromise between processing times and the available budget. Furthermore, solving the aforementioned optimization problems effectively minimized losses in the test systems. These models are basic versions that can be extended to more complex optimization problems.

Abstract (es)

Contexto: La investigación sobre el desarrollo de modelos matemáticos para optimizar los sistemas de distribución de energía eléctrica ha cobrado cada vez más importancia en los últimos años. La selección de las herramientas de optimización y solvers adecuados para resolver los problemas de optimización en estos sistemas se ha vuelto fundamental.

Método: Se implementaron modelos matemáticos no lineales y no lineales de enteros mixtos para abordar la ubicación óptima de capacitores y generación distribuida en las plataformas AMPL y Julia. Estos modelos, junto con los solvers Ipop, Knitro y Bonmin, fueron evaluados y comparados utilizando sistemas de prueba de 33, 69 y 83 barras.

Resultados: El análisis comparativo evidencia que AMPL permite una implementación más directa y adecuada para este tipo de problemas de optimización, mientras que Julia requiere construcciones más elaboradas. Los resultados experimentales evidencian reducciones significativas en las pérdidas del sistema mediante la ubicación optima de capacitores y generación distribuida.

Conclusiones: AMPL ofrece una curva de aprendizaje más rápida y una sintaxis más adecuada para el modelado matemático. Por otro lado, Julia proporciona una versatilidad superior y acceso a una diversidad más amplia de solvers. Aunque los solvers no lineales evaluados resultaron adecuados para los modelos no convexos y alcanzaron soluciones equivalentes, Knitro, un solver comercial, presentó tiempos de procesamiento más cortos. En este sentido, elegir entre alternativas gratuitas o comerciales implica un compromiso entre los tiempos de procesamiento y el presupuesto disponible. Además, la solución de los problemas de optimización mencionados permitió minimizar de manera efectiva las perdidas en los sistemas de prueba. Estos modelos son versiones básicas que pueden ampliarse a problemas de optimización más complejos.

References

R. Dos Reis Gonçalves, “Modelos de programação linear inteira Mista para resolver problemas de Otimização de sistemas de distribuição de Energia elétrica radiais,” PhD thesis, Dept. Electrical Eng., Universidade Estadual Paulista, Ilha Solteira, BRA 2013. [Online]. Available: https://repositorio.unesp.br/items/bd089af3-8e0b-4ee7-a33b-d7f7a42a4170

L. A. Gallego Pareja, J. M. Lopez Lezama, and O. Gomez Carmona, “Optimal placement of capacitors, voltage regulators, and distributed generators in electric power distribution systems,” Ingeniería, vol. 25, no. 3, pp. 334-354, Oct. 2020. https://doi.org/10.14483/23448393.16925

A. Karbowski and K. Wyskiel, “Comparative study of AMPL, Pyomo and JuMP optimization modeling languages on a flood control problem example,” Pomiary Automatyka Robotyka, vol. 25, no. 4, pp. 19-24, Dec. 2021. https://doi.org/10.14313/par_242/19

I. Dunning, J. Huchette, and M. Lubin, “JuMP: A Modeling Language for Mathematical Optimization,” SIAM Rev., vol. 59, no. 2, pp-295-320, Sep. 2017. https://doi.org/10.1137/15M1020575

M.-B. Lucioograndinetti and A. Editors, “Springer proceedings in mathematics & statistics,” 2014. [Online]. Available: http://www.springer.com/series/10533

R. Anand, D. Aggarwal, and V. Kumar, “A comparative analysis of optimization solvers,” J. Stat. Manag. Syst., vol. 20, no. 4, pp. 623-635, Jul. 2017. https://doi.org/10.1080/09720510.2017.1395182

L. A. Gallego, J. M. López-Lezama, and O. G. Carmona, “A mixed-integer linear programming model for simultaneous optimal reconfiguration and optimal placement of capacitor banks in distribution networks,” IEEE Access, vol. 10, pp. 52655-52673, 2022. https://doi.org/10.1109/ACCESS.2022.3175189

J. C. Hoyos Vallejo, “Análisis de herramientas computacionales libres utilizadas en el modelado y en la solución del problema de optimización en la ubicación de capacitores y de la generación en redes de distribución radiales,” Undergraduate Thesis, Dept. Engineering, Universidad Autónoma de Occidente, Cali, Colombia, 2023. [Online]. Available: https://red.uao.edu.co/handle/10614/15108

Norma Técnica: Calidad de la potencia de redes de distribución, Empresas Públicas de Medellín, Colombia, 2019, pp.11-12.

J. C. Hoyos, “Repositorio código AMPL - JuMP.” [Online]. Available: https://github.com/camilohoyos0499/Code

“Documentation for JuMP,” JuMP. [Online]. Available: https://jump.dev/JuMP.jl/stable/

R. Fourer, D. M. Gay, and B. W. Kernighan, “AMPL: A modeling language for mathematical programming, second edition,” 2003. [Online]. Available: https://vanderbei.princeton.edu/307/textbook/AMPLbook.pdf

How to Cite

APA

Hoyos Vallejo, J. C., and Quintero Restrepo, J. (2024). Comparative Analysis of the Julia and AMPL Computational Tools Used in the Radial Distribution Network Optimization Problem. Ingeniería, 29(3), e22049. https://doi.org/10.14483/23448393.22049

ACM

[1]
Hoyos Vallejo, J.C. and Quintero Restrepo, J. 2024. Comparative Analysis of the Julia and AMPL Computational Tools Used in the Radial Distribution Network Optimization Problem. Ingeniería. 29, 3 (Nov. 2024), e22049. DOI:https://doi.org/10.14483/23448393.22049.

ACS

(1)
Hoyos Vallejo, J. C.; Quintero Restrepo, J. Comparative Analysis of the Julia and AMPL Computational Tools Used in the Radial Distribution Network Optimization Problem. Ing. 2024, 29, e22049.

ABNT

HOYOS VALLEJO, Juan Camilo; QUINTERO RESTREPO, Jaime. Comparative Analysis of the Julia and AMPL Computational Tools Used in the Radial Distribution Network Optimization Problem. Ingeniería, [S. l.], v. 29, n. 3, p. e22049, 2024. DOI: 10.14483/23448393.22049. Disponível em: https://revistas.udistrital.edu.co/index.php/reving/article/view/22049. Acesso em: 13 nov. 2024.

Chicago

Hoyos Vallejo, Juan Camilo, and Jaime Quintero Restrepo. 2024. “Comparative Analysis of the Julia and AMPL Computational Tools Used in the Radial Distribution Network Optimization Problem”. Ingeniería 29 (3):e22049. https://doi.org/10.14483/23448393.22049.

Harvard

Hoyos Vallejo, J. C. and Quintero Restrepo, J. (2024) “Comparative Analysis of the Julia and AMPL Computational Tools Used in the Radial Distribution Network Optimization Problem”, Ingeniería, 29(3), p. e22049. doi: 10.14483/23448393.22049.

IEEE

[1]
J. C. Hoyos Vallejo and J. Quintero Restrepo, “Comparative Analysis of the Julia and AMPL Computational Tools Used in the Radial Distribution Network Optimization Problem”, Ing., vol. 29, no. 3, p. e22049, Nov. 2024.

MLA

Hoyos Vallejo, Juan Camilo, and Jaime Quintero Restrepo. “Comparative Analysis of the Julia and AMPL Computational Tools Used in the Radial Distribution Network Optimization Problem”. Ingeniería, vol. 29, no. 3, Nov. 2024, p. e22049, doi:10.14483/23448393.22049.

Turabian

Hoyos Vallejo, Juan Camilo, and Jaime Quintero Restrepo. “Comparative Analysis of the Julia and AMPL Computational Tools Used in the Radial Distribution Network Optimization Problem”. Ingeniería 29, no. 3 (November 11, 2024): e22049. Accessed November 13, 2024. https://revistas.udistrital.edu.co/index.php/reving/article/view/22049.

Vancouver

1.
Hoyos Vallejo JC, Quintero Restrepo J. Comparative Analysis of the Julia and AMPL Computational Tools Used in the Radial Distribution Network Optimization Problem. Ing. [Internet]. 2024 Nov. 11 [cited 2024 Nov. 13];29(3):e22049. Available from: https://revistas.udistrital.edu.co/index.php/reving/article/view/22049

Download Citation

Visitas

0

Dimensions


PlumX


Downloads

Download data is not yet available.

Similar Articles

<< < 19 20 21 22 23 24 25 26 27 28 > >> 

You may also start an advanced similarity search for this article.

Publication Facts

Metric
This article
Other articles
Peer reviewers 
2
2.4

Reviewer profiles  N/A

Author statements

Author statements
This article
Other articles
Data availability 
N/A
16%
External funding 
No
32%
Competing interests 
N/A
11%
Metric
This journal
Other journals
Articles accepted 
76%
33%
Days to publication 
214
145

Indexed in

Editor & editorial board
profiles
Loading...