Open Access
Issue
Sci. Tech. Energ. Transition
Volume 81, 2026
Article Number 17
Number of page(s) 14
DOI https://doi.org/10.2516/stet/2026016
Published online 10 June 2026

© The Author(s), published by EDP Sciences, 2026

Licence Creative CommonsThis is an Open Access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Nomenclatures

Nbr, Nbs, Nld, Niter : Total number of branches, buses, loads, and iterations

Npv, Nwt: Total
number of connected photovoltaics and wind turbines

RP h grid , AP h grid Mathematical equation: $$ {RP}_h^{grid},{AP}_h^{grid} $$ : Reactive and active power, which are injected by main source at the h-th hour

RP pv , h , AP pv , h Mathematical equation: $$ {RP}_{pv,h},{AP}_{pv,h} $$ : Reactive and active power, which are generated by photovoltaics at the h-th hour

RP wt , h , AP wt , h Mathematical equation: $$ {RP}_{wt,h},{AP}_{wt,h} $$ : Reactive and active power, which are generated by wind turbines at the h-th hour

RP load , ld , h , AP load , ld , h Mathematical equation: $$ {RP}_{load, ld,h},{AP}_{load, ld,h} $$ : Reactive and active power of the ld-th load at the h-th hour

RP loss , br , h , AP loss , br , h Mathematical equation: $$ {RP}_{loss, br,h},{AP}_{loss, br,h} $$ : Reactive and active power loss of the br-th line at the h-th hour

Ibr, Vbs : The br-th line current and the bs-th bus voltage

opf pv MAX , opf wt MAX Mathematical equation: $$ {opf}_{pv}^{MAX},{opf}_{wt}^{MAX} $$ : Upper bound for operating power factor of the pv-th photovoltaic and the wt-th wind turbine

opf pv MIN , opf wt MIN Mathematical equation: $$ {opf}_{pv}^{MIN},{opf}_{wt}^{MIN} $$ : Lower bound for operating power factor of the pv-th photovoltaic and the wt-th wind turbine

opf pv , opf wt Mathematical equation: $$ {opf}_{pv},{opf}_{wt} $$ : The operating power factor of the pv-th photovoltaic and the wt-th wind turbine

AP loss , br , h base Mathematical equation: $$ {AP}_{loss, br,h}^{base} $$ : Active power loss of the br-th line at the h-th hour in the base system

Lo pv MAX , Lo wt MAX Mathematical equation: $$ {Lo}_{pv}^{MAX},{Lo}_{wt}^{MAX} $$ : Upper bound of access location of the pv-th photovoltaic and the wt-th wind turbine

Lo pv MIN , Lo wt MIN Mathematical equation: $$ {Lo}_{pv}^{MIN},{Lo}_{wt}^{MIN} $$ : Lower bound of access location of the pv-th photovoltaic and the wt-th wind turbine

Lo pv , Lo wt Mathematical equation: $$ {Lo}_{pv},{Lo}_{wt} $$ : Access location of the pv-th photovoltaic and the wt-th wind turbine

AP pv MAX , AP wt MAX Mathematical equation: $$ {AP}_{pv}^{MAX},{AP}_{wt}^{MAX} $$ : Upper bound for installed active power of the pv-th photovoltaic and the wt-th wind turbine

AP pv MIN , AP wt MIN Mathematical equation: $$ {AP}_{pv}^{MIN},{AP}_{wt}^{MIN} $$ : Lower bound for installed active power of the pv-th photovoltaic and the wt-th wind turbine

AP pv rated , AP wt rated Mathematical equation: $$ {AP}_{pv}^{rated},{AP}_{wt}^{rated} $$ : The rated active power of the pv-th photovoltaic and the wt-th wind turbine

φ 2 , φ 1 Mathematical equation: $$ {\varphi}_2,{\varphi}_1 $$ : The coefficient of total reactive and active power generation of RESs

1 Introduction

The connection of distributed generation sources, mainly renewable energy, into the distribution networks has become popular in many countries around the world due to the great benefits from this penetration [13]. Several major countries have also made remarkable progress in promoting the integration of renewable energies into the national grid. Specifically, China has also announced that RESs, such as solar and wind power, have reached 50.90% (equivalent to 1330 GW) of the total installed power generation of the country in 2023. Thus, the target for 50% generation capacity from non-fossil fuel energy sources set by the government in 2021 has exceeded the plan earlier than the expected 2025 [4]. According to the report by the Ministry of New and Renewable Energy, 2024 [5], the total renewable energy generation is achieved 201.45 GW, accounting for 46.3% of India’s total installed generation. In which significant contributions come from solar and wind power with 90.76 GW and 47.36 GW, respectively. Similarly, with the policy of promoting the use of renewable energies and carbon reduction, in 2022, Canada also produced 639 terawatt hours of electricity, of which 70% came from renewable energy sources. Investments in Canada’s potential renewable energy market are enormous; the Canadian Center for Energy Information in 2024 estimated it at $20 to $150 billion by 2050 [6]. Thereby showing that the potential for the development of RES for reducing fossil energy use is huge. However, the connection of these energy sources requires appropriate planning to avoid negative impacts on the existing power grid. The penetration of RESs into the distribution grid has changed the original configuration of the grid and can lead to many problems, such as overvoltage, increased losses, harmonic distributions, and low reliability in operating the grid [7]. Therefore, to overcome above problems, it is necessary to consider the access location and capacity of RESs in the hybrid power grids [8, 9].

Many researchers in the world have also paid attention to these problems and proposed different approaches for integrating Distributed Generation Sources (DGSs) in general and RESs in particular to maximize benefits while meeting technical criteria. Like the authors in [10, 11] suggested, a Genetic Algorithm (GA) for determining the sizing and siting of DGSs in IEEE RDNs with 14 buses and 33 buses to cut total distribution line losses of active power. Besides, the other authors in [12, 13] also applied another long-standing algorithm of PSO for improving the voltage profile and maximizing loss reduction in different networks. Similarly, by using the same implemented method of PSO, [14] determines the appropriate connection locations for both DGSs and DSTATCOMs in systems of 12 buses, 34 buses, and 69 buses. Although both GA and PSO are popular and long-standing methods, their drawbacks are often related to convergence issues and control parameter sensitivity. Additionally, another interesting study in [15] has also succeeded in identifying the optimal integration of DGSs for cutting power loss as the main goal by using the Artificial Bee Colony algorithm (ABC). Likewise, [16] used an improved version of ABC, namely chaotic ABC (CABC), for reducing system losses as well as enhancing the stability of the voltage in three models of residential, industrial, and commercial loads. Another useful method is known as Biogeography-Based Optimization (BBO), used for solving the problem of connecting DGSs in the RDNs [17]. In that work, the researchers demonstrated the performance advantage of BBO over others such as GA, PSO, and ABC in minimizing power losses and harmonic distortions from nonlinear loads. Although both ABC and BBO are more positive than GA and PSO, their convergence is quite slow and easily falls into the area of local extremes for complex optimization problems. Obviously, the above studies have applied stochastic optimization algorithms with poor efficiency in mining and searching for feasible solutions. These traditional methods are widely used in many different optimization issues due to their simple algorithmic structure. The biggest common drawback of these algorithms is premature convergence, which results in performance not being guaranteed. Thanks to the rapid development of computer science, many newer optimization algorithms have also been introduced. Specifically, [18] has developed and applied the Butterfly Optimization Algorithm (BOA) for improving the system voltage stability in two different hypothetical RDNs of 33 buses and 69 buses. Besides, the authors in [19] also successfully implemented the Whale Optimization Algorithm (WOA) for finding an optimal solution to increase the voltage quality and minimize the power loss in the grid by properly connecting DGSs. With the same objective as [19], the study in [20] used another active method, named the Intelligent Water Drop Algorithm (IWDA), for tackling the optimal problem of DGSs in three RDNs, including IEEE 10 buses, 33 buses, and 69 buses. In that study, the performance and stability of IWDA have also been proven to outperform other methods. Moreover, recently published powerful algorithms have also attracted much attention in solving various optimization problems such as Derivative Search-based Political Optimization Algorithm (DSPOA) [21], Secretary Bird Optimization Algorithm (SBOA) [22], the OX optimizer [23], Egyptian Stray Dog Optimization (ESDO) [24], Walking Palm Tree Algorithm (WPTA) [25], Single Candidate Optimizer (SCO) [26], Hippopotamus Optimization Algorithm (HOA) [27], Walrus Optimization Algorithm (WaOA) [28], etc. Although these new methods have been indicated to be more effective than previous algorithms in solving benchmark cases. However, these algorithms should also be applied to many different specific problems to demonstrate the effectiveness of each algorithm.

Overall, past studies have focused on determining the sizing and siting of DGSs in RDNs to enhance the voltage profile and minimize total power loss as the primary objectives. However, this is not enough to prove the effectiveness of a project of integration of DGSs in the distribution power grid. In other words, besides the technical factor, the economic factor should also be considered. Furthermore, previous works only sought the optimal solution at a load level, which leads to the found solution having poor quality at other load levels. Therefore, it is necessary to consider the time-varying generation and load demand to determine the most suitable solution. Moreover, besides the placement and installed capacity, the operating power factor of inverter-based distributed generation sources should be considered to maximize the received welfare, but this has been neglected in the past research. Ultimately, the quality of the found solution mainly depends on the used optimization algorithm, so applying a robust algorithm for addressing the optimization problem should be encouraged. In this paper, the existing gaps in the past will be overcome. In short, the main contributions of this paper are summarized as follows:

  • The study finds the optimal connection parameters for generation capacity, placement, and operating power factor of inverter-based renewable generators, such as solar photovoltaics and wind turbines, for minimizing the multi-Objective Function (multi-OF) considering techno-economic aspects.

  • The research objective is to simultaneously reduce total power loss of the system and total cost of generating electricity from the primary grid for load demand, considering permissible limits of bus voltage, line current, and penetration of connected units.

  • The study considers the simulation conditions of the time-varying generation and load demand to determine the most suitable solution.

  • The study suggests applying the Weighted Sum Method (WSM) to identify the best compromise output of the multi-OF. Besides, the backward-forward sweep is also used for solving the load flow problem.

  • A robust optimization algorithm, called the walrus optimization algorithm, is suggested to apply for determining the globally optimal solution for the problem of integrating RESs in the distribution grid.

The remaining contents of the paper are included in four sections: Section 2 covers the objective function and constraints. Section 3 describes the applied optimization algorithm. Section 4 shows the obtained simulation results. Section 5 summarizes all the main contents of the paper.

2 Problem statement

This study optimizes the connection of RESs in the RDNs to maximize techno-economic benefits. The system model with integrated PVs and WTs in this research is illustrated in Figure 1. Besides, the study objectives and technical constraints are also clearly stated in the sections below.

Thumbnail: Figure 1 Refer to the following caption and surrounding text. Figure 1

The hybrid power network model.

Thumbnail: Figure 2 Refer to the following caption and surrounding text. Figure 2

The flowchart of using WaOA for addressing the optimization problem.

2.1 Objective function

The main objectives are to minimize: (1) the total losses on the distribution lines and (2) the total cost of generating electricity by the primary grid. The calculation process for the multi-OF’s components is described below in the sub-section.

2.1.1 The total power loss

Loss reduction is one of the primary criteria in evaluating the performance of a distribution network, and it is currently a challenge that needs to be addressed. Power loss cannot be completely eliminated, but it can be minimized. Therefore, reducing power losses is considered an important factor related to economic-technical aspects [17]. In this study, the power loss becomes the first component in the multi-OF and can be determined by:TPL=br=1NbrRbr.(Ibr)2;br=1:NbrMathematical equation: $$ TPL=\sum_{br=1}^{N_{br}}{R}_{br}.{\left({I}_{br}\right)}^2;\kern1em br=1:{N}_{br} $$(1)

Where, RbrMathematical equation: $$ {R}_{br} $$ is the resistance on the br-th branch and IbrMathematical equation: $$ {I}_{br} $$ is the current on the br-th branch.

Since each different target component has a different range, the value of each component should be normalized in the range of [0, 1]. In this case, the first component can be expressed as equation (2):ObjFA=TPLTPLbaseMathematical equation: $$ {ObjF}_A=\frac{TPL}{TPL^{base}} $$(2)

In equation (2), TPLMathematical equation: $$ TPL $$ and TPLbaseMathematical equation: $$ {TPL}^{base} $$ are denoted as total power loss with and without the connecting RDSs.

2.1.2 Cost of electricity generation by the primary grid

One of the important goals of integrating RESs in the distribution grid is to reduce the power generation from the main source, which uses fossil fuels. This will greatly contribute to cutting the cost of generating electricity of the main power grid as well as mitigating environmental pollution from the power grid operation [29]. Thus, in this study, the total cost of electric generation from the main source becomes a key component in the multi-OF, and it can be determined by:EGC=h=1NhPrihgrid.APhgridMathematical equation: $$ EGC=\sum_{h=1}^{N_h}{Pri}_h^{grid}.{AP}_h^{grid} $$(3)

Here, PrihgridMathematical equation: $$ {Pri}_h^{grid} $$ is the electric generation price by the main source at the h-th hour, and APhgridMathematical equation: $$ {AP}_h^{grid} $$ is the actual active power injected into the distribution grid through the substation after penetrating RESs at the h-th hour, respectively. Similarly, this component is also normalized to the same range as the first target component for evaluation. The mathematical equation of this component is also placed in the range of [0, 1] as equation (4):ObjFB=EGCEGCbaseMathematical equation: $$ {ObjF}_B=\frac{EGC}{EGC^{base}} $$(4)

Where, EGCMathematical equation: $$ EGC $$ and EGCbaseMathematical equation: $$ {EGC}^{base} $$ are defined as the daily electricity generation cost to the distribution network by the main source before and after penetrating RESs.

For identifying the best compromise solution, the weighted sum method (Mohandas et al. 2015) is applied in the multi-OF, and it can be mathematically expressed by equation (5)MinimizeTOF=ωA.ObjFA+ωB.Obj;WhereωA+ωB=1&0<ωA,ωB<1FBMathematical equation: $$ \mathit{\operatorname{Minimize}}\kern0.5em TOF={\omega}_A.{ObjF}_A+{\omega}_B. Obj;\kern1em \mathrm{Where}\ {\omega}_A+{\omega}_B=1\&0<{\omega}_A,\kern0.5em {\omega}_B<1{F}_B $$(5)

In this paper, ωAMathematical equation: $$ {\omega}_A $$ and ωBMathematical equation: $$ {\omega}_B $$ are defined as the weighted factors of the target component related to the power loss (ObjFA)Mathematical equation: $$ {ObjF}_A\Big) $$and the cost of generating electricity from the main source (ObjFB)Mathematical equation: $$ {ObjF}_B\Big) $$, respectively.

2.2 Technical constraints

To guarantee the satisfaction of the requirements, the constraints of the objective function are established as.

2.2.1 The constraints of power balance

With the integration of RESs into the grid, the total power generation includes the main source, which is directly connected to the slack bus through the substation, solar photovoltaics, and wind turbines. Therefore, total generated power must equal total consumed power to maintain stability in the power grid [13]:APhgrid+pvNpvAPpv,h+wtNwtAPwt,h=ld=1NldAPload,ld,h+br=1NbrAPloss,br,hMathematical equation: $$ {AP}_h^{grid}+\sum_{pv}^{N_{pv}}{AP}_{pv,h}+\sum_{wt}^{N_{wt}}{AP}_{wt,h}=\sum_{ld=1}^{N_{ld}}{AP}_{load, ld,h}+\sum_{br=1}^{N_{br}}{AP}_{loss, br,h} $$(6)RPhgrid+pvNpvRPpv,h+wtNwtRPwt,h=ld=1NldRPload,ld,h+br=1NbrRPloss,br,hMathematical equation: $$ {RP}_h^{grid}+\sum_{pv}^{N_{pv}}{RP}_{pv,h}+\sum_{wt}^{N_{wt}}{RP}_{wt,h}=\sum_{ld=1}^{N_{ld}}{RP}_{load, ld,h}+\sum_{br=1}^{N_{br}}{RP}_{loss, br,h} $$(7)

2.2.2 The overcurrent limits

To avoid changing the original network structure, the current on each branch with the penetration of RESs should not be higher than the permissible limit of each branch (IbrMAX)Mathematical equation: $$ {I}_{br}^{MAX}\Big) $$ [12]:IbrIbrMAX;br=1:NbrMathematical equation: $$ {I}_{br}\le {I}_{br}^{MAX};\kern1em br=1:{N}_{br} $$(8)

2.2.3 The constraints of bus voltage

The voltage range represents the voltage difference between the lowest and highest values. In this research, the voltage at each bus should also be maintained within the best voltage limits of VbsMINMathematical equation: $$ {V}_{bs}^{MIN} $$ (0.95 pu) and VbsMAXMathematical equation: $$ {V}_{bs}^{MAX} $$ (1.05 pu) [17]VbsMINVbsVbsMAX;bs=1:NbsMathematical equation: $$ {V}_{bs}^{MIN}\le {V}_{bs}\le {V}_{bs}^{MAX};\kern1em bs=1:{N}_{bs} $$(9)

2.2.4 The operating power factor’s limits

The operating power factor from inverter-based renewable generators can be taken as a positive or negative value to absorb or emit reactive power into the network. In this paper, the operating power factor of the units is set to the lower and upper limits between 0 and 1 for compensating the reactive power [29]:opfpvMINopfpvopfpvMAX;pv=1:NpvMathematical equation: $$ {opf}_{pv}^{MIN}\le {opf}_{pv}\le {opf}_{pv}^{MAX};\kern1.25em pv=1:{N}_{pv} $$(10)opfwtMINopfwtopfwtMAX;wt=1:NwtMathematical equation: $$ {opf}_{wt}^{MIN}\le {opf}_{wt}\le {opf}_{wt}^{MAX};\kern1em wt=1:{N}_{wt} $$(11)

2.2.5 Degradation of power loss

Proper integration of RES into the RDN will contribute to minimizing total losses. Therefore, total power loss with integrated RES in the system must be below that of the base case [30]:br=1NbrAPloss,br,hbase>br=1NbrAPloss,br,hMathematical equation: $$ \sum_{br=1}^{N_{br}}{AP}_{loss, br,h}^{base}>\sum_{br=1}^{N_{br}}{AP}_{loss, br,h} $$(12)

2.2.6 The connection placement limits

The study determines the solution of the most suitable installation for the penetration of RESs, so the allowed connection locations in the system need to be predefined [17]:LopvMINLopvLopvMAX;pv=1:NpvMathematical equation: $$ {Lo}_{pv}^{MIN}\le {Lo}_{pv}\le {Lo}_{pv}^{MAX};\kern1em pv=1:{N}_{pv} $$(13)LowtLowtMAX;wt=1:NwtMathematical equation: $$ \le {Lo}_{wt}\le {Lo}_{wt}^{MAX};\kern1em wt=1:{N}_{wt} $$(14)

2.2.7 The rated power limits

The limits for the generation capacity of RESs in the system should also be predetermined. They are constrained by [15]:APpvMINAPpvratedAPpvMAX;pv=1:NpvMathematical equation: $$ {AP}_{pv}^{MIN}\le {AP}_{pv}^{rated}\le {AP}_{pv}^{MAX};\kern1em pv=1:{N}_{pv} $$(15)APwtMINAPwtratedAPwtMAX;wt=1:NwtMathematical equation: $$ {AP}_{wt}^{MIN}\le {AP}_{wt}^{rated}\le {AP}_{wt}^{MAX};\kern1em wt=1:{N}_{wt} $$(16)

2.2.8 Power generation limits

In this study, to limit the reverse power flow, the total penetration of RESs should not be greater than the total load demand and branch losses [20]:pvNpvAPpv,h+wtNwtAPwt,hφ1.(ld=1NldAPload,ld,h+br=1NbrAPloss,br,h)Mathematical equation: $$ \sum_{pv}^{N_{pv}}{AP}_{pv,h}+\sum_{wt}^{N_{wt}}{AP}_{wt,h}\le {\varphi}_1.\left(\sum_{ld=1}^{N_{ld}}{AP}_{load, ld,h}+\sum_{br=1}^{N_{br}}{AP}_{loss, br,h}\right) $$(17)pvNpvRPpv,h+wtNwtRPwt,hφ2.(ld=1NldRPload,ld,h+br=1NbrRPloss,br,h)Mathematical equation: $$ \sum_{pv}^{N_{pv}}{RP}_{pv,h}+\sum_{wt}^{N_{wt}}{RP}_{wt,h}\le {\varphi}_2.\left(\sum_{ld=1}^{N_{ld}}{RP}_{load, ld,h}+\sum_{br=1}^{N_{br}}{RP}_{loss, br,h}\right) $$(18)

3 Applied optimization algorithm

The Walrus Optimization Algorithm (WaOA) is applied to solve the problem of optimizing the installation of RESs in the power network. WaOA is inspired and developed based on the three intelligent behaviors of walruses in nature, including (1) the leadership of the dominant walrus to guide the group members for finding food sources, (2) the migration of walruses to more suitable places due to warmer weather in summer, and (3) fighting and escaping from predators [28]. The implemented steps for applying WaOA to an optimization problem are briefly presented below:

Step No. 1: Initialize the initial population by generating random solutions within the predetermined upper bounds. The equation for producing the first solutions is described as equation (19):Ss,d=Ss,dMIN+rd1.(Ss,dMAXSs,dMIN);sNs&dNdMathematical equation: $$ {S}_{s,d}={S}_{s,d}^{MIN}+{r}_{d1}.\left({S}_{s,d}^{MAX}-{S}_{s,d}^{MIN}\right);\kern1em s\in {N}_s\&d\in {N}_d $$(19)

In equation (19), rd1Mathematical equation: $$ {r}_{d1} $$ is a randomly created number in the allowable range of [0, 1], and Ss,dMINMathematical equation: $$ {S}_{s,d}^{MIN} $$ and Ss,dMAXMathematical equation: $$ {S}_{s,d}^{MAX} $$ are the lower and upper search limits of the d-th control variable at the s-th solution, respectively.

Step No. 2: At this stage, the evaluation process to determine the best solution is implemented by comparing the obtained results from the fitness function. The best quality solution will be assigned as the leader (dominant) of the current population. The mathematical equation of the fitness function (fs)Mathematical equation: $$ {f}_s\Big) $$ is presented by equation (20):fs=TOFs+Pens;sNsMathematical equation: $$ {f}_s={TOF}_s+{Pen}_s;\kern1em s\in {N}_s $$(20)

Where,TOFsandPensMathematical equation: $$ {TOF}_s\ \mathrm{and}\ {Pen}_s $$ are the found values by the objective function and the penalty function from violation of declared constraints at the s-th solution, respectively.

Step No. 3: Search and exploit food sources according to the instructions of the dominant. This stage is considered the first phase of the feeding strategy in WaOA, and it is mathematically described as:Ss,dPh1=Ss,d+rd2.(SdleaderIs,d.Ss,d);sNs&dNdMathematical equation: $$ {S}_{s,d}^{Ph1}={S}_{s,d}+{r}_{d2}.\left({S}_d^{leader}-{I}_{s,d}.{S}_{s,d}\right);\kern1em s\in {N}_s\&d\in {N}_d $$(21)

Where, Ss,dPh1Mathematical equation: $$ {S}_{s,d}^{Ph1} $$ is the s-th solution of the first phase at the d-th control variable, rd2Mathematical equation: $$ {r}_{d2} $$ is a randomly created number in the allowable range of [0, 1], SdleaderMathematical equation: $$ {S}_d^{leader} $$ is the d-th control variable of the leader in the current population. Is,dMathematical equation: $$ {I}_{s,d} $$ is the integers that are taken randomly between 2, and 1, and this is applied to expand the search space for new possible solutions. Besides, the movement of the worst solution to around the best solution opens up better opportunities for finding new potential locations that promise better quality.

Like most other metaheuristic algorithms, comparison will be performed to eliminate the worst solution. In this algorithm, equation (20) is applied to evaluate the fitness value of the current solution (Ss,d)Mathematical equation: $$ {S}_{s,d}\Big) $$ and the new solution (Ss,dPh1)Mathematical equation: $$ {S}_{s,d}^{Ph1}\Big) $$. Comparison for retaining a good solution is implemented according to the following rules:Ss,d={Ss,dPh1iff(Ss,d)>f(Ss,dPh1)Ss,delse;sNs&dNdMathematical equation: $$ {S}_{s,d}=\left\{\begin{array}{c}{S}_{s,d}^{Ph1}\ if\ f\left({S}_{s,d}\right)>f\left({S}_{s,d}^{Ph1}\right)\\ {}{S}_{s,d}\ else\kern1.5em \end{array};\kern1em \right.s\in {N}_s\&d\in {N}_d $$(22)

Step No. 4: Migrate to the other, more suitable environment. This action is also considered the second phase in the WaOA algorithm, and it is expressed by:Ss,dPh2={Ss,d+rd3.(Sk,dIs,d.Ss,d)iff(Sk,d)<f(Ss,d)Ss,d+rd3.(Ss,dSk,d)else;sNs,dNd&kNk(ks)Mathematical equation: $$ {S}_{s,d}^{Ph2}=\left\{\begin{array}{c}{S}_{s,d}+{r}_{d3}.\left({S}_{k,d}-{I}_{s,d}.{S}_{s,d}\right)\ \mathrm{if}\ f\left({S}_{k,d}\right)<f\left({S}_{s,d}\right)\ \\ {}{S}_{s,d}+{r}_{d3}.\left({S}_{s,d}-{S}_{k,d}\right)\ else\kern1.5em \end{array};\right.\kern1em s\in {N}_s,d\in {N}_d\&k\in {N}_k\ \left(k\ne s\right) $$(23)

In the equation (23), rd2Mathematical equation: $$ {r}_{d2} $$ is a randomly created number in the allowable range of [0, 1] and Sk,dMathematical equation: $$ {S}_{k,d} $$ is defined as the k-th randomly selected solution for migrating. In this step, there are two cases for updating the new position. Depending on the current solution quality compared to the randomly selected solution, different update equations will be taken as presented in equation (23). The process of retaining a good quality solution also follows the below mechanism, thanks to solution quality assessment by using the fitness function, such as equation (20):Ss,d={Ss,dPh2iff(Ss,d)>f(Ss,dPh2)Ss,delse;sNs&dNdMathematical equation: $$ {S}_{s,d}=\left\{\begin{array}{c}{S}_{s,d}^{Ph2}\ if\ f\left({S}_{s,d}\right)>f\left({S}_{s,d}^{Ph2}\right)\\ {}{S}_{s,d}\ else\kern1.5em \end{array};\right.\kern1em s\in {N}_s\&d\in {N}_d $$(24)

Step No. 5: Fight and escape from the predator. This is the third phase in the WaOA algorithm.Ss,dPh3=Ss,d+(Lloc,diter+(Uloc,diterrd4.Lloc,diter));sNs,dNd&iterNiterMathematical equation: $$ {S}_{s,d}^{Ph3}={S}_{s,d}+\left(\frac{L_{loc,d}}{iter}+\left(\frac{U_{loc,d}}{iter}-{r}_{d4}.\frac{L_{loc,d}}{iter}\right)\right);\kern1em s\in {N}_s,d\in {N}_d\&\kern0.5em iter\in {N}_{iter} $$(25)

Where, rd4Mathematical equation: $$ {r}_{d4} $$ is a randomly created number in the allowable range of [0, 1], iterMathematical equation: $$ iter $$ is called the current iteration number, and Lloc,dandUloc,dMathematical equation: $$ {L}_{loc,d}\ \mathrm{and}\ {U}_{loc,d} $$ are respectively defined as the lower limit and upper limit for the d-th control variable. Similarly, like the two above phases, comparison and selection of good quality solutions are also implemented according to the following rules based on the result of the fitness function:Ss,d={Ss,dPh3iff(Ss,d)>f(Ss,dPh3)Ss,delse;sNs&dNdMathematical equation: $$ {S}_{s,d}=\left\{\begin{array}{c}{S}_{s,d}^{Ph3}\ \mathrm{if}\ f\left({S}_{s,d}\right)>f\left({S}_{s,d}^{Ph3}\right)\\ {}{S}_{s,d}\ \mathrm{else}\kern1.5em \end{array};\right.\kern1em s\in {N}_s\&d\in {N}_d $$(26)

Step No. 6: Determine the best quality solution in the present population. If the loop exit condition of (iter<NiterMathematical equation: $$ iter<{N}_{iter} $$) is satisfied, then return to Step No. 3. Otherwise, end the iteration and show the global optimal solution for the optimization problem.

The application of WaOA for the optimization problem is briefly presented in the following flowchart:

4 Simulation results

In this paper, WaOA is suggested to address the optimization problem for access location, sizing, and operating power factor of PVs and WTs in the IEEE 69 bus RDN. This network has 12.66 kV base voltage with total power consumption at the peak load stage of 3.802 MW/2.694 MVar. The single-line diagram is plotted as Figure 3 and the network data is referenced from [17]. Moreover, the study considers the time variation of generation and consumption simultaneously. Therefore, the data of output curves for PVs and WTs, as well as loads, are taken in [31] and these values are illustrated in Figure 4. Besides, the electricity generation price from the main power grid during off-peak hours (22 h00–04 h00), normal hours (04 h00–09 h00, 11 h00–17 h00 and 20 h00–22 h00) and peak hours (9 h00–11 h00 and 17 h00–20 h00) are also stated as 45.4 $/MWh, 70.0 $/MWh and 128.9 $/MWh, respectively [32]. As mentioned, the study also used WSM for identifying the suitable compromise output for the multi-OF, so the weighted factors such as ωAandωBMathematical equation: $$ {\omega}_A\ \mathrm{and}\ {\omega}_B $$are chosen according to the importance level of each single target component. In this work, the minimization of the daily cost of generating energy by the main source is more important than total power loss reduction of the grid; thus, the weighted factor of ωBMathematical equation: $$ {\omega}_B $$ is larger than ωAMathematical equation: $$ {\omega}_A $$. Specifically, these factor should be assigned as 0.7 and 0.3 for ωBandωAMathematical equation: $$ {\omega}_B\ \mathrm{and}\ {\omega}_A $$, respectively. This study determines the optimal integration solution for 03 PVs and 03 WTs with the smallest and largest allowable output power of (2000 modules and 30000 modules) and (02 turbines and 15 turbines), respectively. In which the rated power of each module is 50 W, and each turbine is 100 kW as assumed. The penetration coefficient of RESs (φ1andφ2)Mathematical equation: $$ {\varphi}_1\ \mathrm{and}\ {\varphi}_2\Big) $$are assigned the same value of 1.0. Besides, the grid-connected units are allowed to generate appropriate reactive power, so the operating power factor is also determined to have the optimal value between 0 and 1. In addition, this study also supposes that all locations in the test distribution grid (except the slack bus) have the ability to connect PVs and WTs.

Thumbnail: Figure 3 Refer to the following caption and surrounding text. Figure 3

The IEEE 69-bus RDN.

Thumbnail: Figure 4 Refer to the following caption and surrounding text. Figure 4

The output power curves of loads, solar photovoltaics, and wind turbines.

For the simulation of three implemented methods, the individual control parameters for each algorithm of PSO, BFOA, and WaOA are referenced from [33, 34], and [28], respectively. Additionally, the common control parameters for the algorithms in this study are determined through surveys to ensure convergence. Specifically, the number of iterations (Niter) is surveyed from 80 to 160, with each step being 20, and the population (Ns) is also surveyed from 20 to 50, with each step being 10. The survey results indicated that Niter is 140 and Ns is 30; the used algorithms can be converged completely. Moreover, due to the random characteristics of the metaheuristic algorithms, 40 trials (Ntri) with the randomly generated initial population are also performed. The best results from three different implemented methods for the simultaneous installation of RESs are presented in Table 1. In optimization problems, the fitness value of the objective function is used to determine the optimal solution’s quality. Therefore, the evaluation of the effectiveness of each algorithm is based on the calculated fitness value. As presented in Table 1, the best fitness values in 40 random runs of PSO, BFOA, and WaOA are 0.1673, 0.1667, and 0.1634, respectively. Obviously, the found fitness function value of WaOA is the lowest compared to the other methods, with the fitness value difference up to 2.39% for PSO and 2.02% for BFOA. In other words, the suggested algorithm, WaOA, is more effective than PSO and BFOA, and among them, BFOA is better than PSO in tackling the optimization problem of connecting RESs in the RDN. Besides, based on the optimal solution’s results from the used methods, it indicated that the total number of proposed wind turbines for installation is 25 turbines (equivalent to 2.50 MW) for all three methods. However, the number of solar panel modules is different between the methods. The number of proposed modules by PSO, BFOA, and WaOA is 35,927 modules (equivalent to 1.7964 MW), 35,792 modules (equivalent to 1.7896 MW), and 35,790 modules (equivalent to 1.7895 MW), respectively. Obviously, the found optimal solution of the suggested method in terms of the number of wind turbines is on par with the other methods, but the number of solar modules is lower than that of the other compared methods, leading to the lower investment, maintenance, and operation costs with the solution of WaOA. This also contributes to affirming the excellent efficiency of the suggested method compared to others in optimal integration of RESs in RDNs.

Table 1

The optimal results for connecting RESs in the distribution network.

In this work, the optimal solution from the suggested method (WaOA) is applied to demonstrate the multi-benefits from the connection of PVs and WTs in the distribution grid. As presented in Figures 5 and 6, thanks to the integration of RESs with suitable installation parameters for access placement, sizing, and operating power factor, total daily loss on the distribution lines has been reduced significantly from 3.7778 MW to 0.1868 MW. Power loss reduction of up to 95.06% (corresponding to 3.591 MW) has demonstrated the great benefit in determining the appropriate integration of RESs in the system. In addition, another huge benefit from the penetration of RESs is the cost minimization of electricity generation from the main power grid. Specifically, the total daily demand in the original network is 75.8444 MW and is completely supplied through the substation by the main power grid. However, after connecting RESs, the main grid only supplies 15.5995 MW per day, and the remaining demand is compensated by RESs as plotted in Figure 7. Thanks to the planning of daily power generation from the grid-connected units as presented in Figure 8, the total grid generation is only 20.57% of the total demand. This mainly contributes to cutting the cost of generating energy from the primary source. As shown in Figures 7 and 8, the total daily generation of RESs is up to 60.2449 MW (corresponding to 79.43% of total demand), leading to significant cost reduction of importing electricity from the primary grid. In this scenario, the total daily cost for generating energy by the main source is only $1274.9, a saving of up to 79.57% compared to the original case. As presented in Figure 9, during the stages of favorable natural conditions such as high irradiation and strong wind, PVs and WTs supply electricity to the load demand almost completely. This high penetration of RESs not only contributes mainly to minimizing electricity import at the peak hours but also reduces the use of electricity from fossil fuels. In short, the above numerical results demonstrated the enormous economic–technical benefits from determining the appropriate integration of RESs in the distribution grid.

Thumbnail: Figure 5 Refer to the following caption and surrounding text. Figure 5

The distribution line power losses without connecting PVs and WTs.

Thumbnail: Figure 6 Refer to the following caption and surrounding text. Figure 6

The distribution line power losses with connecting PVs and WTs.

Thumbnail: Figure 7 Refer to the following caption and surrounding text. Figure 7

Load demand and power generation by RESs and main source at each hour.

Thumbnail: Figure 8 Refer to the following caption and surrounding text. Figure 8

Power generation of each unit at each hour.

Thumbnail: Figure 9 Refer to the following caption and surrounding text. Figure 9

The hourly cost for generating electricity from main source without and with RESs.

Furthermore, other great benefits of voltage improvement and current congestion reduction on the distribution branches due to the integration of RESs are also demonstrated. As plotted in Figure 10, the voltage at the buses without RESs is in the voltage range of 0.909 to 1.0 pu. This obviously violates the voltage constraint of [0.95, 1.05] pu. However, due to the suitable integration of RESs, the profile voltage is sharply improved to [0.9785, 1.0127] pu as shown in Figure 11. As mentioned, thanks to the proper penetration of RESs, the current on the branches has also strongly decreased. In which the highest branch current is 387.1941A at the original case, and it is reduced to 163.7125A with connecting RESs as shown in Figure 12. This current reduction has significantly mitigated the congestion on the distribution branches of the system. These have contributed to demonstrating multiple economic and technical benefits from connecting suitable RESs in the distribution grids.

Thumbnail: Figure 10 Refer to the following caption and surrounding text. Figure 10

The voltage profile at each hour without connecting RESs.

Thumbnail: Figure 11 Refer to the following caption and surrounding text. Figure 11

The voltage profile at each hour with connecting RESs.

Thumbnail: Figure 12 Refer to the following caption and surrounding text. Figure 12

The current on distribution lines at each hour without and with connecting RESs.

5 Conclusion

This study has successfully applied a novel and powerful algorithm, called the walrus optimization algorithm, for determining installation parameters of placement, sizing, and operating power factor for PVs and WTs. The main target of the research is to minimize both the total system power loss and the total cost of generating electricity from the primary source. The collected results demonstrated the outstanding performance of WaOA compared to other algorithms of PSO and BFOA under the same conditions. Moreover, thanks to the integration of RESs in the RDN, total system power loss is cut by 95.06%, and total cost of power generation from the primary grid is also cut by 79.57% compared to the original case. Besides, the profile voltage is also pulled from [0.9090, 1.00] pu to [0.9785, 1.0127] pu, and the maximum branch current is reduced from 387.1941A to 163.7125A, thanks to the penetration of RESs. These indicated the huge benefits of properly connecting RESs in the RDN. In the future, the research will consider the integration of smart inverters to maximize the penetration of RESs while still ensuring the satisfaction of technical criteria. Not only that, consideration for WaOA improvement is also necessary to further enhance the performance and stability of the algorithm, especially in tackling complex optimization problems with many control variables and large search spaces.

References

All Tables

Table 1

The optimal results for connecting RESs in the distribution network.

All Figures

Thumbnail: Figure 1 Refer to the following caption and surrounding text. Figure 1

The hybrid power network model.

In the text
Thumbnail: Figure 2 Refer to the following caption and surrounding text. Figure 2

The flowchart of using WaOA for addressing the optimization problem.

In the text
Thumbnail: Figure 3 Refer to the following caption and surrounding text. Figure 3

The IEEE 69-bus RDN.

In the text
Thumbnail: Figure 4 Refer to the following caption and surrounding text. Figure 4

The output power curves of loads, solar photovoltaics, and wind turbines.

In the text
Thumbnail: Figure 5 Refer to the following caption and surrounding text. Figure 5

The distribution line power losses without connecting PVs and WTs.

In the text
Thumbnail: Figure 6 Refer to the following caption and surrounding text. Figure 6

The distribution line power losses with connecting PVs and WTs.

In the text
Thumbnail: Figure 7 Refer to the following caption and surrounding text. Figure 7

Load demand and power generation by RESs and main source at each hour.

In the text
Thumbnail: Figure 8 Refer to the following caption and surrounding text. Figure 8

Power generation of each unit at each hour.

In the text
Thumbnail: Figure 9 Refer to the following caption and surrounding text. Figure 9

The hourly cost for generating electricity from main source without and with RESs.

In the text
Thumbnail: Figure 10 Refer to the following caption and surrounding text. Figure 10

The voltage profile at each hour without connecting RESs.

In the text
Thumbnail: Figure 11 Refer to the following caption and surrounding text. Figure 11

The voltage profile at each hour with connecting RESs.

In the text
Thumbnail: Figure 12 Refer to the following caption and surrounding text. Figure 12

The current on distribution lines at each hour without and with connecting RESs.

In the text

Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.

Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.

Initial download of the metrics may take a while.