# Development of a MATLAB-GAMS Framework for Solving the Problem Regarding the Optimal Location and Sizing of PV Sources in Distribution Networks

^{1}

^{2}

^{*}

## Abstract

**:**

## 1. Introduction

#### 1.1. General Context

#### 1.2. Literature Review

#### 1.3. Motivation, Contributions, and Scope

- i.
- A complete description of the mathematical formulation representing the problem of the siting and sizing of PV generators in distribution networks while considering the deactivation of maximum power point tracking.
- ii.
- A new optimization methodology based on the interconnection of MATLAB and GAMS that allows finding the best locally optimal solution to the problem under study.
- iii.
- A new master–slave methodology to solve the mathematical model representing the problem under study. In the master stage, the MATLAB software is used as a tool to develop the discrete version of the sine–cosine algorithm, with the aim to determine the locations of the PV generators. Then, in the slave stage, GAMS is used to solve the MINLP model that represents the studied problem, thus yielding the objective function value and the necessary nominal power to be generated by the PV systems.

#### 1.4. Document Structure

## 2. Mathematical Formulation

#### 2.1. Formulating Objective Function

#### 2.2. Set of Constraints

#### 2.3. Model Interpretation

## 3. Proposed Hybrid Optimization Approach

#### 3.1. Master Stage: DSCA

_{2}emissions, and voltage profiles, among others. The authors of [46] used the SCA in order to optimize the reactive power generated in power systems integrating a distributed generator, employing the IEEE 14-node test system. In [47], an automatic generation control was implemented, using the SCA to determine the gains of a PID controller to be applied in hydrothermal generators.

#### 3.2. Initial Population

#### 3.3. Evolution Criteria

#### 3.4. Updating the Individuals

Algorithm 1: Sine–cosine algorithm to solve the problem regarding the siting and sizing of PV generation sources [49]. |

#### 3.5. Slave Stage: GAMS

#### 3.6. Interface Connection

## 4. Test Systems

#### 4.1. First Test Feeder: IEEE 33-Node

#### 4.2. Second Test Feeder: IEEE 69-Node

#### 4.3. Additional Parametric Information

## 5. Numerical Results and Simulations

#### 5.1. Numerical Results for IEEE 33-Node Test System

#### 5.2. Comparison with Metaheuristics—IEEE 33-Node Test System

#### 5.3. Numerical Results for IEEE 69-Node Test System

#### 5.4. Comparison with Metaheuristics—IEEE 69-Node Test System

#### 5.5. Convergence Analysis

## 6. Conclusions and Future Works

- For the proposed simulation scenario, the master–slave methodology, when compared to the base case, allows for reductions of approximately USD/year 1,103,324.12 and USD/year 1,157,492.3 in the IEEE 33- and 69-node test systems, respectively. These results constitute the highest reductions when solving the problem regarding the siting and sizing of PV generators, with values of 29.82% for the 33-node system and 29.85% for the 69-node grid. This means that the MATLAB-GAMS interface achieves a high-quality solution for the problem addressed in this research paper.
- The proposed solution methodology succeeds in finding a high-quality solution to the problem, outperforming the solutions reported by the MIC in the specialized literature. The literature reports that the MIC solution ensures that the optimal global point is found via the interior-point method combined with the branch-and-cut optimization approach. However, the presence of binary variables increases the complexity of the problem, making it difficult to find the global optimum due to the approximations involved in the MIC approach. The above demonstrates that the proposed methodology is the best at solving problems that involve binary and continuous variables, as it separates the location problem from the sizing problem.
- As seen in the convergence curve, the proposed methodology is independent of the number of nodes in the system under study. Due to the high complexity of the MINLP model, as the number of nodes in the system increases, the solution space becomes larger, and the chances of getting stuck in a locally optimal solution increase. However, it takes the proposed methodology about 22 and 26 iterations to find a high-quality solution for the IEEE 33- and 69-bus test systems, respectively. The above leads to the conclusion that the MATLAB-GAMS interface is the best choice for solving the problem regarding the location and sizing of PV generators in distribution power grids.

## Author Contributions

## Funding

## Institutional Review Board Statement

## Informed Consent Statement

## Data Availability Statement

## Acknowledgments

## Conflicts of Interest

## References

- Beltrán-Telles, A.; Morera-Hernández, M.; López-Monteagudo, F.E.; Villela-Varela, R. Prospectiva de las energías eólica y solar fotovoltaica en la producción de energía eléctrica. CienciaUAT
**2017**, 11, 105–117. [Google Scholar] [CrossRef][Green Version] - Andrade-Castañeda, H.J.; Arteaga-Céspedes, C.C.; Segura-Madrigal, M.A. Emisión de gases de efecto invernadero por uso de combustibles fósiles en Ibagué, Tolima (Colombia). Cienc. Tecnol. Agropecu.
**2017**, 18, 103–112. [Google Scholar] [CrossRef][Green Version] - Wang, G.; Shi, R.; Cheng, W.; Gao, L.; Huang, X. Bibliometric Analysis for Carbon Neutrality with Hotspots, Frontiers, and Emerging Trends between 1991 and 2022. Int. J. Environ. Res. Public Health
**2023**, 20, 926. [Google Scholar] [CrossRef] [PubMed] - Adib, R.; Zervos, A.; Eckhart, M.; El-Ashry, M.; Hales, D.; Hamilton, K.; Rae, P. Available online: https://www.ren21.net/wp-content/uploads/2019/05/gsr_2020_full_report_en.pdf (accessed on 5 January 2023).
- de la Ley, G.P.P.l.A.d.L.I.T. Invierta y Gane con Energía. Available online: https://www1.upme.gov.co/Documents/Cartilla_IGE_Incentivos_Tributarios_Ley1715.pdf (accessed on 5 January 2023).
- Srisaen, N.; Sangswang, A. Effects of PV grid-connected system location on a distribution system. In Proceedings of the APCCAS 2006-2006 IEEE Asia Pacific Conference on Circuits and Systems, Singapore, 4–7 December 2006; IEEE: Piscataway, NJ, USA, 2006; pp. 852–855. [Google Scholar]
- Tan, W.H.; Mohamad-Saleh, J. Critical Review on Interrelationship of Electro-Devices in PV Solar Systems with Their Evolution and Future Prospects for MPPT Applications. Energies
**2023**, 16, 850. [Google Scholar] [CrossRef] - Hoff, T.; Shugar, D.S. The value of grid-support photovoltaics in reducing distribution system losses. IEEE Trans. Energy Convers.
**1995**, 10, 569–576. [Google Scholar] [CrossRef] - Iria, J.; Scott, P.; Attarha, A.; Gordon, D.; Franklin, E. MV-LV network-secure bidding optimisation of an aggregator of prosumers in real-time energy and reserve markets. Energy
**2022**, 242, 122962. [Google Scholar] [CrossRef] - Valencia, A.; Hincapie, R.A.; Gallego, R.A. Optimal location, selection, and operation of battery energy storage systems and renewable distributed generation in medium–low voltage distribution networks. J. Energy Storage
**2021**, 34, 102158. [Google Scholar] [CrossRef] - Wei, J.; Zhang, Y.; Wang, J.; Cao, X.; Khan, M.A. Multi-period planning of multi-energy microgrid with multi-type uncertainties using chance constrained information gap decision method. Appl. Energy
**2020**, 260, 114188. [Google Scholar] [CrossRef] - Gil-González, W.; Montoya, O.D.; Grisales-Noreña, L.F.; Perea-Moreno, A.J.; Hernandez-Escobedo, Q. Optimal placement and sizing of wind generators in AC grids considering reactive power capability and wind speed curves. Sustainability
**2020**, 12, 2983. [Google Scholar] [CrossRef][Green Version] - Buitrago-Velandia, A.F.; Montoya, O.D.; Gil-González, W. Dynamic reactive power compensation in power systems through the optimal siting and sizing of photovoltaic sources. Resources
**2021**, 10, 47. [Google Scholar] [CrossRef] - Molina, A.; Montoya, O.D.; Gil-González, W. Exact minimization of the energy losses and the CO
_{2}emissions in isolated DC distribution networks using PV sources. Dyna**2021**, 88, 178–184. [Google Scholar] [CrossRef] - Cortinas, D.; Juston, P. Assessing the impact of dispersed generation on medium voltage networks: Analysis methods. In Proceedings of the PowerTech Budapest 99, Abstract Records, (Cat. No.99EX376), Budapest, Hungary, 29 August–2 September 1999; IEEE: Piscataway, NJ, USA, 2003. [Google Scholar]
- Hadjsaid, N.; Canard, J.F.; Dumas, F. Dispersed generation impact on distribution networks. IEEE Comput. Appl. Power
**1999**, 12, 22–28. [Google Scholar] [CrossRef] - Moradi, M.H.; Abedini, M. A combination of genetic algorithm and particle swarm optimization for optimal DG location and sizing in distribution systems. Int. J. Electr. Power Energy Syst.
**2012**, 34, 66–74. [Google Scholar] [CrossRef] - Nguyen, T.P.; Dieu, V.N.; Vasant, P. Symbiotic organism search algorithm for optimal size and siting of distributed generators in distribution systems. Int. J. Energy Optim. Eng.
**2017**, 6, 1–28. [Google Scholar] [CrossRef] - Grisales-Noreña, L.; Gonzalez Montoya, D.; Ramos-Paja, C. Optimal sizing and location of distributed generators based on PBIL and PSO techniques. Energies
**2018**, 11, 1018. [Google Scholar] [CrossRef][Green Version] - Deshmukh, R.; Kalage, A. Optimal placement and sizing of distributed generator in distribution system using artificial bee colony algorithm. In Proceedings of the 2018 IEEE Global Conference on Wireless Computing and Networking (GCWCN), Lonavala, India, 23–24 November 2018; IEEE: Piscataway, NJ, USA, 2018. [Google Scholar]
- Bayat, A.; Bagheri, A. Optimal active and reactive power allocation in distribution networks using a novel heuristic approach. Appl. Energy
**2019**, 233–234, 71–85. [Google Scholar] [CrossRef] - Bocanegra, S.Y.; Montoya, O.D. Heuristic approach for optimal location and sizing of distributed generators in AC distribution networks. WSEAS Trans. Power Syst.
**2019**, 14, 113–121. [Google Scholar] - Montoya, O.D.; Ramos-Paja, C.A.; Grisales-Noreña, L.F. An efficient methodology for locating and sizing PV generators in radial distribution networks using a mixed-integer conic relaxation. Mathematics
**2022**, 10, 2626. [Google Scholar] [CrossRef] - Cortés-Caicedo, B.; Molina-Martin, F.; Grisales-Noreña, L.F.; Montoya, O.D.; Hernández, J.C. Optimal design of PV systems in electrical distribution networks by minimizing the annual equivalent operative costs through the discrete-continuous Vortex Search Algorithm. Sensors
**2022**, 22, 851. [Google Scholar] [CrossRef] - Montoya, O.D.; Grisales-Noreña, L.F.; Ramos-Paja, C.A. Optimal allocation and sizing of PV generation units in distribution networks via the generalized normal distribution optimization approach. Computers
**2022**, 11, 53. [Google Scholar] [CrossRef] - Montoya, O.D.; Grisales-Noreña, L.F.; Giral-Ramírez, D.A. Optimal placement and sizing of PV sources in distribution grids using a modified gradient-based metaheuristic optimizer. Sustainability
**2022**, 14, 3318. [Google Scholar] [CrossRef] - Ghosh, S.; Ghoshal, S.P.; Ghosh, S. Optimal sizing and placement of distributed generation in a network system. Int. J. Electr. Power Energy Syst.
**2010**, 32, 849–856. [Google Scholar] [CrossRef] - Hung, D.Q.; Mithulananthan, N.; Bansal, R.C. Analytical Expressions for DG Allocation in Primary Distribution Networks. IEEE Trans. Energy Convers.
**2010**, 25, 814–820. [Google Scholar] [CrossRef] - Rider, M.J.; López-Lezama, J.M.; Contreras, J.; Padilha-Feltrin, A. Bilevel approach for optimal location and contract pricing of distributed generation in radial distribution systems using mixed-integer linear programming. IET Gener. Transm. Distrib.
**2013**, 7, 724–734. [Google Scholar] [CrossRef] - Wang, C.; Lei, S.; Ju, P.; Chen, C.; Peng, C.; Hou, Y. MDP-based distribution network reconfiguration with renewable distributed generation: Approximate dynamic programming approach. IEEE Trans. Smart Grid
**2020**, 11, 3620–3631. [Google Scholar] [CrossRef] - Pesaran, M.; Zin, A.A.M.; Khairuddin, A.; Shariati, O. Optimal sizing and siting of distributed generators by exhaustive search. Distrib. Gener. Altern. Energy J.
**2015**, 30, 29–56. [Google Scholar] [CrossRef] - Kasaei, M. Optimal placement of distributed generation and capacitor in distribution networks by ant colony algorithm. Int. J. Tech. Phys. Probl. Eng.
**2014**, 20, 52–56. [Google Scholar] - Dadkhah, A.; Bayati, N.; Khodadadi, A. An investigation of the impact of size and location of DG on system reliability by employing sequential Monte Carlo simulation. Int. J. Electr. Electron. Eng. Telecommun.
**2016**, 5, 1–11. [Google Scholar] - Das, C.K.; Bass, O.; Kothapalli, G.; Mahmoud, T.S.; Habibi, D. Optimal placement of distributed energy storage systems in distribution networks using artificial bee colony algorithm. Appl. Energy
**2018**, 232, 212–228. [Google Scholar] [CrossRef] - Su, H. Siting and sizing of distributed generators based on improved simulated annealing particle swarm optimization. Environ. Sci. Pollut. Res. Int.
**2019**, 26, 17927–17938. [Google Scholar] [CrossRef] - Venkata Rao, R. Jaya: A simple and new optimization algorithm for solving constrained and unconstrained optimization problems. Int. J. Ind. Eng. Comput.
**2016**, 7, 19–34. [Google Scholar] [CrossRef] - Cortés-Caicedo, B.; Grisales-Noreña, L.F.; Montoya, O.D.; Perea-Moreno, M.A.; Perea-Moreno, A.J. Optimal Location and Sizing of PV Generation Units in Electrical Networks to Reduce the Total Annual Operating Costs: An Application of the Crow Search Algorithm. Mathematics
**2022**, 10, 3774. [Google Scholar] [CrossRef] - Kollu, R.; Rayapudi, S.R.; Sadhu, V.L.N. A novel method for optimal placement of distributed generation in distribution systems using HSDO: DG PLACEMENT IN DISTRIBUTION SYSTEMS USING HSDO. Int. Trans. Electr. Energy Syst.
**2014**, 24, 547–561. [Google Scholar] [CrossRef] - Kaur, S.; Kumbhar, G.; Sharma, J. A MINLP technique for optimal placement of multiple DG units in distribution systems. Int. J. Electr. Power Energy Syst.
**2014**, 63, 609–617. [Google Scholar] [CrossRef] - Sultana, S.; Roy, P.K. Multi-objective quasi-oppositional teaching learning based optimization for optimal location of distributed generator in radial distribution systems. Int. J. Electr. Power Energy Syst.
**2014**, 63, 534–545. [Google Scholar] [CrossRef] - Gupta, S.; Saxena, A.; Soni, B.P. Optimal placement strategy of distributed generators based on radial basis function neural network in distribution networks. Procedia Comput. Sci.
**2015**, 57, 249–257. [Google Scholar] [CrossRef][Green Version] - Mohanty, B.; Tripathy, S. A teaching learning based optimization technique for optimal location and size of DG in distribution network. J. Electr. Syst. Inf. Technol.
**2016**, 3, 33–44. [Google Scholar] [CrossRef][Green Version] - Sultana, S.; Roy, P.K. Krill herd algorithm for optimal location of distributed generator in radial distribution system. Appl. Soft Comput.
**2016**, 40, 391–404. [Google Scholar] [CrossRef] - Mahdad, B.; Srairi, K. A new interactive sine cosine algorithm for loading margin stability improvement under contingency. Electr. Eng.
**2018**, 100, 913–933. [Google Scholar] [CrossRef] - Shaik, K.; K, R. Solving multi objective power flow problem using enhanced sine cosine algorithm. Ain Shams Eng. J.
**2021**, 12, 3803–3817. [Google Scholar] - Wang, L.; Shi, Z.; Wang, Z. Reactive power optimization for power system with distributed generations using PSO hybrid SCA algorithm. In Proceedings of the 2021 IEEE 10th Data Driven Control and Learning Systems Conference (DDCLS), Suzhou, China, 14–16 May 2021; IEEE: Piscataway, NJ, USA, 2021; pp. 248–253. [Google Scholar]
- Oleiwi, A.O.; Jasim Sultan, A. AGC of hydro-thermal power systems using sine cosine optimization algorithm. In Proceedings of the 2021 3rd International Conference on Electrical, Control and Instrumentation Engineering (ICECIE), Kuala Lumpur, Malaysia, 27 November 2021; IEEE: Piscataway, NJ, USA, 2021; pp. 1–7. [Google Scholar]
- Mirjalili, S. SCA: A Sine Cosine Algorithm for solving optimization problems. Knowl. Based Syst.
**2016**, 96, 120–133. [Google Scholar] [CrossRef] - Khalilpourazari, S.; Pasandideh, S.H.R. Sine—cosine crow search algorithm: Theory and applications. Neural Comput. Appl.
**2020**, 32, 7725–7742. [Google Scholar] [CrossRef] - Soroudi, A. Power System Optimization Modeling in GAMS; Springer: Berlin/Heidelberg, Germany, 2017; Volume 78. [Google Scholar]
- Porkar, S.; Poure, P.; Abbaspour-Tehrani-fard, A.; Saadate, S. A novel optimal distribution system planning framework implementing distributed generation in a deregulated electricity market. Electr. Power Syst. Res.
**2010**, 80, 828–837. [Google Scholar] [CrossRef] - Gams. GDXXRW. Available online: https://www.gams.com/latest/docs/T_GDXXRW.html (accessed on 12 November 2022).
- Baran, M.E.; Wu, F.F. Network reconfiguration in distribution systems for loss reduction and load balancing. IEEE Power Eng. Rev.
**1989**, 9, 101–102. [Google Scholar] [CrossRef] - Sahoo, N.; Prasad, K. A fuzzy genetic approach for network reconfiguration to enhance voltage stability in radial distribution systems. Energy Convers. Manag.
**2006**, 47, 3288–3306. [Google Scholar] [CrossRef] - Baran, M.E.; Wu, F.F. Optimal capacitor placement on radial distribution systems. IEEE Trans. Power Deliv.
**1989**, 4, 725–734. [Google Scholar] [CrossRef] - Castiblanco-Pérez, C.M.; Toro-Rodríguez, D.E.; Montoya, O.D.; Giral-Ramírez, D.A. Optimal Placement and Sizing of D-STATCOM in Radial and Meshed Distribution Networks Using a Discrete-Continuous Version of the Genetic Algorithm. Electronics
**2021**, 10, 1452. [Google Scholar] [CrossRef] - Wang, P.; Wang, W.; Xu, D. Optimal sizing of distributed generations in DC microgrids with comprehensive consideration of system operation modes and operation targets. IEEE Access
**2018**, 6, 31129–31140. [Google Scholar] [CrossRef] - Grisales-Noreña, L.F.; Montoya, O.D.; Ramos-Paja, C.A. An energy management system for optimal operation of BSS in DC distributed generation environments based on a parallel PSO algorithm. J. Energy Storage
**2020**, 29, 101488. [Google Scholar] [CrossRef]

**Figure 1.**Representation of the information exchange in the connection of the MATLAB-GAMS interfaces.

**Figure 5.**Behavior of the objective function value for the test feeders: (

**a**) IEEE 33-node and (

**b**) IEEE 69-node.

Method/Algorithm | Acronym | Ref | Objective Function |
---|---|---|---|

Genetic Algorithm and Particle Swarm Optimizer | GA-PSO | [17] | Minimization of power losses |

Harmonic Search Algorithm | HSA | [38] | Minimizing power losses |

Mixed Integer Nonlinear Programming | MINLP | [39] | Minimizing real power losses |

Optimization based on Quasi-Oppositional Teaching | QOTLBO | [40] | Minimization of power losses, improving voltage profiles, and maximizing voltage stability |

Radial Basis Function Neural Network and Particle Swarm Optimization | RBFNN-PSO | [41] | Minimizing power losses |

Teaching Learning-Based Optimization | TLBO | [42] | Minimizing power losses, improving voltage profiles, and maximizing voltage stability |

Krill-Herd Algorithm | KHA | [43] | Minimizing power losses |

Search for Symbiotic Organisms | SOS | [18] | Minimizing active power losses |

Population-Based Incremental Learning and Particle Swarm Optimizer | PBIL-PSO | [19] | Minimizing power losses and square error in the voltage profiles |

Artificial Bee Colony Algorithm | ABC | [20] | Minimizing power distribution losses and enhancing voltage profiles |

Heuristic Algorithmic Approach | AHA | [21] | Minimizing power losses and improving voltage profiles |

Constructive Heuristic Vortex Search Algorithm | CHVSA | [22] | Minimizing active power losses |

Mixed-integer conic | MIC | [23] | Minimizing the costs of power purchasing and PV purchasing, investment, and operation |

Discrete-Continuous Vortex Search Algorithm | DCVSA | [24] | Minimizing the costs of power purchasing and PV purchasing, investment, and operation |

Generalized Normal Distribution Optimization | DCGNDO | [25] | Minimizing the costs of power purchasing and PV purchasing, investment, and operation |

Metaheuristic Optimizer based on a Modified Gradient | MGbMO | [26] | Minimizing the costs of power purchasing and PV purchasing, investment, and operation |

Discrete–Continuous version of the Crow Search Algorithm | DSCSA | [37] | Minimizing the costs of power purchasing and PV purchasing, investment, and operation |

Parameter | Unit | Value | Parameter | Unit | Value |
---|---|---|---|---|---|

${C}_{kWh}$ | 0.1390 | USD/kWh | ${t}_{e}$ | 2 | % |

${C}_{pv}$ | 1036.49 | USD/kWp | ${N}_{t}$ | 10 | años |

${C}_{O\&M}$ | 0.0019 | USD/kWh | ${P}_{i}^{pv,min}$ | 0 | kW |

$\Delta h$ | 1 | hour | ${P}_{i}^{pv,max}$ | 2400 | kW |

T | 365 | days | ${N}_{pv}^{ava}$ | 3 | - |

${t}_{a}$ | 10 | % | $\Delta V$ | $\pm 10$ | % |

Method | Location (Node) | Size (MW) | ${\mathit{A}}_{\mathit{c}\mathit{o}\mathit{s}\mathit{t}}$ (USD/Year) | Reduction (%) |
---|---|---|---|---|

Benchmark case | - | - | 3,700,455.38 | - |

MIC${}_{0}$ | [11, 16, 32] | [1.8400, 0.6799, 2.3083] | 2,603,465.00 | 29.64 |

MIC${}_{1/2}$ | [13, 24, 29] | [1.4116, 1.7145, 1.9471] | 2,597,283.00 | 29.81 |

MIC${}_{1}$ | [13, 24, 30] | [1.4392, 1.7745, 1.8596] | 2,597,139.00 | 29.82 |

DSCA-BONMIN | [14, 24, 30] | [1.3877, 1.8007, 1.8852] | 2,597,131.26 | 29.82 |

**Table 4.**Comparison of the results obtained by the metaheuristic optimizers and the proposed methodology.

Method | Location (Node) | Size (MW) | ${\mathit{A}}_{\mathit{c}\mathit{o}\mathit{s}\mathit{t}}$ (USD/Year) | Reduction (%) |
---|---|---|---|---|

Benchmark case | - | - | 3,700,455.38 | - |

DCVSA | [11, 14, 31] | [0.7606, 1.0852, 1.8030] | 2,699,761.71 | 27.0424 |

DCGNDO | [10, 16, 31] | [1.0083, 0.9137, 1.7257] | 2,699,671.76 | 27.0436 |

DCCSA | [10, 16, 31] | [1.0093, 0.9138, 1.7246] | 2,699,671.76 | 27.0449 |

DSCA-BONMIN | [14, 24, 30] | [1.3877, 1.8007, 1.8852] | 2,597,131.26 | 29.82 |

Method | Location (Node) | Size (MW) | ${\mathit{A}}_{\mathit{c}\mathit{o}\mathit{s}\mathit{t}}$ (USD/Year) | Reduction (%) |
---|---|---|---|---|

Benchmark case | - | - | 3,878,199.93 | - |

MIC${}_{0}$ | [23, 27, 46] | [2.3578, 0.0585, 2.4000] | 2,752,021.00 | 29.04 |

MIC${}_{1/2}$ | [17, 49, 61] | [1.0977, 1.7981, 2.4000] | 2,721,282.00 | 29.83 |

MIC${}_{1}$ | [17, 49, 61] | [1.0977, 1.7981, 2.4000] | 2,721,282.00 | 29.83 |

DSCA-BONMIN | [8, 17, 61] | [2.0714, 0.8300, 2.3999] | 2,720,707.63 | 29.85 |

**Table 6.**Comparison of the results obtained by the metaheuristic optimizers and the proposed methodology.

Method | Location (Node) | Size (MW) | ${\mathit{A}}_{\mathit{c}\mathit{o}\mathit{s}\mathit{t}}$ (USD/Year) | Reduction (%) |
---|---|---|---|---|

Benchmark case | - | - | 3,700,455.38 | - |

DCVSA | [16, 61, 63] | [0.2632, 2.2719, 2.2934] | 2,825,264.56 | 27.1502 |

DCGNDO | [21, 61, 64] | [0.4812, 2.4, 0.9259] | 2,824,923.38 | 27.1589 |

DCCSA | [21, 61, 64] | [0.4816, 2.4, 0.9254] | 2,824,923.05 | 27.1589 |

DSCA-BONMIN | [8, 17, 61] | [2.0714, 0.8300, 2.3999] | 2,720,707.63 | 29.85 |

Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |

© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).

## Share and Cite

**MDPI and ACS Style**

Guzmán-Romero, D.S.; Cortés-Caicedo, B.; Montoya, O.D.
Development of a MATLAB-GAMS Framework for Solving the Problem Regarding the Optimal Location and Sizing of PV Sources in Distribution Networks. *Resources* **2023**, *12*, 35.
https://doi.org/10.3390/resources12030035

**AMA Style**

Guzmán-Romero DS, Cortés-Caicedo B, Montoya OD.
Development of a MATLAB-GAMS Framework for Solving the Problem Regarding the Optimal Location and Sizing of PV Sources in Distribution Networks. *Resources*. 2023; 12(3):35.
https://doi.org/10.3390/resources12030035

**Chicago/Turabian Style**

Guzmán-Romero, David Steveen, Brandon Cortés-Caicedo, and Oscar Danilo Montoya.
2023. "Development of a MATLAB-GAMS Framework for Solving the Problem Regarding the Optimal Location and Sizing of PV Sources in Distribution Networks" *Resources* 12, no. 3: 35.
https://doi.org/10.3390/resources12030035