Next Article in Journal
ANOVA-GP Modeling for High-Dimensional Bayesian Inverse Problems
Next Article in Special Issue
Numerical Investigation of Wind Flow and Speedup Effect at a Towering Peak Extending out of a Steep Mountainside: Implications for Landscape Platforms
Previous Article in Journal
Numerical Identification of Boundary Conditions for Richards’ Equation
Previous Article in Special Issue
Calculation of Stationary Magnetic Fields Based on the Improved Quadrature Formulas for a Simple Layer Potential
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Evolutionary Approach for DISCO Profit Maximization by Optimal Planning of Distributed Generators and Energy Storage Systems in Active Distribution Networks

1
College of Water Conservancy and Hydropower Engineering, Hohai University, Nanjing 210098, China
2
College of Energy and Electrical Engineering, Hohai University, Nanjing 210098, China
3
College of Civil and Transportation Engineering, Hohai University, Nanjing 210098, China
4
Technological Institute of Merida, Technological Avenue, Merida 97118, Mexico
5
Key Laboratory of Smart Grid of Ministry of Education, Tianjin University, Nankai District, Tianjin 300072, China
*
Author to whom correspondence should be addressed.
Mathematics 2024, 12(2), 300; https://doi.org/10.3390/math12020300
Submission received: 6 December 2023 / Revised: 13 January 2024 / Accepted: 15 January 2024 / Published: 17 January 2024

Abstract

:
Distribution companies (DISCOs) aim to maximize their annual profits by performing the optimal planning of distributed generators (DGs) or energy storage systems (ESSs) in the deregulated electricity markets. Some previous studies have focused on the simultaneous planning of DGs and ESSs for DISCO profit maximization but have rarely considered the reactive powers of DGs and ESSs. In addition, the optimization methods used for solving this problem are either traditional or outdated, which may not yield superior results. To address these issues, this paper simultaneously performs the optimal planning of DGs and ESSs in distribution networks for DISCO profit maximization. The utilized model not only takes into account the revenues of trading active and reactive powers but also addresses the active and reactive powers of DGs and ESSs. To solve the optimization problem, a new hybrid evolutionary algorithm (EA) called the oppositional social engineering differential evolution with Lévy flights (OSEDE/LFs) is proposed. The OSEDE/LFs is applied to optimize the planning model using the 30-Bus and IEEE 69-Bus networks as test systems. The results of the two case studies are compared with several other EAs. The results confirm the significance of the planning model in achieving higher profits and demonstrate the effectiveness of the proposed approach when compared with other EAs.

1. Introduction

In recent years, research on active distribution networks (ADNs) has rapidly improved, with a focus on numerous applications that integrate the latest technologies into such systems [1]. Distributed generators (DGs) are among the best technologies to integrate into ADNs due to their high availability, cost-effectiveness, efficiency, and overall advantages [2]. Several benefits can be achieved by installing DGs in ADNs, such as reliability improvement, loss reduction, voltage improvement, etc. [3]. Recent research studies suggest that even more advantages can be gained from the integrated DGs if energy storage systems (ESSs) are planned alongside them [4]. ESSs are becoming more involved in energy and power system planning due to their ability to provide techno-economic advantages, such as improving power quality, peak shaving, and energy management [5]. However, improper planning of energy sources in any power or energy system can result in the loss of desired benefits and create additional performance problems, which can negatively impact the overall functioning of the system [6]. Therefore, research on the effective coordination between DG and ESS units is of vital importance in the power and energy sector [7,8].

1.1. Literature Review

Various objectives, such as overall performance improvement [9], loss reduction [10], voltage profile improvement [11], and cost minimization [12,13,14], have been adopted to achieve optimal planning of DGs or ESSs in ADNs. However, the role of ADNs has evolved significantly compared to that of conventional (passive) networks. ADNs locally contribute to the power generation process through the integration of DG and ESS units. As a result, rather than minimizing total planning and operating costs, distribution companies (DISCOs) tend to increase their profit from selling energy to end users [15]. In deregulated electricity markets, electricity companies at different levels aim to maximize their revenues. Meanwhile, the system operators focus on maintaining the safe and secure operation of the corresponding networks [16]. In this regard, DISCOs can effectively utilize DG and ESS units to maximize their profit. The planning of DGs and ESSs for DISCO profit maximization was performed in [17], where the model was solved using the particle swarm optimization (PSO) method. The bi-level model proposed in [18] included techno-environmental criteria in the developed objective function to maximize the DISCO profit as well as the electric vehicle (EV) parking lot owner’s profit. A dynamic reliability planning model of DGs in ADNs for DISCO profit maximization under load uncertainty was used in the study presented in [19]. However, most of the previous studies on maximizing DISCO profit in deregulated electricity markets have focused on planning either DG or ESS. Moreover, these studies only included the revenue from active power trading in their models, considering the active power of the integrated generation units.
As mentioned before, it is necessary to optimize the utilization of DGs and ESSs in ADNs to obtain the maximum benefits from their installation. This has been achieved in previous works using different optimization methods. Conventional methods, such as the analytical method proposed in [11], have been used. Linear programming (LP) [20], mixed-integer LP (MILP) [21], and mixed-integer nonlinear programming (MINLP) [13,15] have been applied to build the proposed models. The main advantage of LP and NLP methods is their solvability with a variety of commercial solvers such as MOSEK [13] and IPOPT [15]. Nonetheless, the functions and codes of these solvers are masked and cannot be edited or modified. This reduces flexibility, especially for complex systems. Various concepts from game theory [16] and Karush-Kuhn-Tucker (KKT) conditions [18] have been adopted to solve the developed models. However, conventional methods suffer from increased complexity and inaccurate results in most applications, especially for complex systems. On the other hand, evolutionary algorithms (EAs) have been used to achieve the optimal planning of DGs and ESSs in ADNs. EA techniques provide more flexibility than conventional methods even when system nonlinearity increases. PSO has been applied with various objective functions such as cost minimization [12] and DISCO profit maximization [17]. The authors of [14] proposed an equilibrium optimization (EO) method to determine the optimal locations and sizes of PVs and ESSs by total cost minimization. In [22], the locations and sizes of wind turbines and batteries were optimized by GA based on a techno-economic model. Moreover, some hybrid methods have been developed. In [9], the original artificial bee colony (ABC) algorithm was combined with two other methods: fitness scaling and chaotic methods to avoid being trapped in local optima. The harmony search algorithm (HSA) was integrated with the firefly algorithm (FA) in [19]. This provided a more efficient method in terms of accuracy, convergence, and computation time. Other EA methods have been used in previous papers, such as the artificial ecosystem optimization (AEO) [23], the hybrid arithmetic optimization algorithm-sine-cosine approach (AOA-SCA) [24], and the hybrid gradient-based optimizer with moth–flame algorithm [25]. As observed from the literature, most of the methods do not guarantee obtaining global optima. Hence, it is still necessary to develop effective methods that are particularly compatible with the corresponding problem. This can be achieved by advanced hybrid methods. In this context, various state-of-the-art EAs have been recently proposed but not yet used to solve the optimal planning of DGs and ESSs in ADNs. An example of these EAs is the social engineering optimizer (SEO) algorithm proposed by Fathollahi-Fard et al. [26] in 2018. The original SEO and several modified versions have been applied to various optimization problems in many research areas. However, SEO still has significant potential for unique improvements and applications to other engineering problems.

1.2. Research Motivations and Contributions

The following research motivations and contributions can be highlighted based on the literature reviewed in this paper:
  • Existing research on maximizing DISCO profit in deregulated electricity markets separately performs the planning of DGs or ESSs, while planning both technologies simultaneously has been rarely addressed. Therefore, this paper simultaneously investigates the optimal planning of DGs and ESSs in ADNs to maximize the DISCO profit;
  • Unlike most previous studies, the model presented in this paper includes both active and reactive power of DGs and ESSs. This can greatly increase the reactive power support and enhance their role as effective ancillary services;
  • In deregulated electricity markets, not only active power but also reactive power is traded between the upstream grid and customers. Therefore, the revenues from trading both active and reactive power are included in the model, which has not been properly studied in previous relevant papers;
  • The optimization techniques used so far for the DISCO profit maximization are either traditional, software-based, or outdated EAs, which may not provide superior solutions. Therefore, developing hybrid methods to be specifically compatible with the studied model is necessary and worth investigation;
  • Moreover, although SEO has been applied to solve various optimization problems, it has not yet been applied to solve the optimal planning of DGs and ESSs in ADNs for DISCO profit maximization;
  • However, despite the remarkable results obtained by the SEO in solving the above problems, it may require further improvements to specifically solve the optimal planning of DGs and ESSs in ADNs;
  • Hence, this paper proposes a new hybrid approach that combines the optimization mechanisms of SEO, differential evolution (DE), Lévy flights (LFs), and quasi-oppositional-based learning (QOBL). With this developed combination, the global best of SEO is improved by distinctively applying the search mechanisms of DE and LFs. In addition, the QOBL technique is applied to improve the initial population of the proposed algorithm;
  • The new algorithm called the oppositional social engineering differential evolution with Lévy flights (OSEDE/LFs) is benchmarked and compared to several state-of-the-art EAs;
  • Furthermore, the developed OSEDE/LFs is applied to solve the optimal planning problem of DGs and ESSs in ADNs for DISCO profit maximization. The standard 30-Bus and IEEE 69-Bus distribution networks are used as test systems. The results are obtained for two case studies and compared to various algorithms, including the original SEO.
The rest of this paper is structured as follows: Section 2 demonstrates the integration of DGs and ESSs in distribution networks, while Section 3 presents the mathematical model of the DISCO profit maximization problem. The proposed OSEDE/LFs algorithm is introduced in detail in Section 4, and its application to the standard 30-Bus and IEEE 69-Bus networks is provided in Section 5 with several discussions and comparisons. Finally, Section 6 summarizes the conclusions.

2. Integrating DGs and ESSs into Distribution Networks

DG units are integrated into the distribution network to generate electrical power locally near the end user. Although a DG is mainly considered to be an active power source, it can also produce reactive power [13]. As shown in Figure 1a, for a typical DG system, active power (P kW) is generated and supplied to the grid. At the same time, reactive power (Q kVAr) can be produced or absorbed (bidirectional) [17]. Hence, a DG unit could be used as a reactive power compensator by setting the active power output to “zero” and generating only reactive power. A DG can be modeled as a P-Q bus or P-V bus. However, the P-Q model is more appropriate for distribution network applications, where the DG is considered to be a specified load with fixed values of P and Q [22].
Electrical energy can also be generated locally in distribution networks through the integration of ESSs. Nonetheless, the main difference between DG and ESS in this respect is that both P and Q of the ESS can flow bidirectionally, as depicted in Figure 1b.
As a controllable load or generator, an ESS can absorb P from the network and store it for later use. This power can then be injected back into the network on demand [9]. As shown in Figure 1b, a generic battery ESS unit needs to include a storage device, an inverter, and a transformer [12]. A DC voltage V d c is generated by the storage device, which is then converted into a controllable AC voltage V a c by means of the DC–AC inverter. To deliver this AC voltage to the distribution network, it must be raised by a suitable transformer. At the DC terminal, the storage device only absorbs (in charge mode) or injects (in discharge mode) active DC power. The inverter then connects the storage device to the transformer, where the power is converted to AC power at the AC terminal (the inverter output) [12]. By controlling the voltage magnitude and angle ( V a c δ a c ), P and Q delivered to the network by the transformer can be controlled independently. This provides four possible supply/absorption cases for both P and Q [5,22,27].

3. Mathematical Model of the DISCO Profit Maximization Problem

As discussed above, the optimal planning of DGs and ESSs (batteries) in ADNs is performed in this paper to maximize the DISCO profit subject to several constraints and take into account the active and reactive power of DGs and ESSs. Therefore, the decision variables of this problem are the locations and sizes of DG and ESS units (including their active and reactive power).

3.1. Objective Function

The objective function of the problem, represented by the net profit of the DISCO ( P R O F I T D I S (USD/year)), is to be maximized. The year is divided into 4 seasons of 91 days each, and each day is divided into 24 h. The objective function, including the active and reactive power of the system, is given as follows [6,17]:
Max   ( P R O F I T D I S ) , P R O F I T D I S = P R P + P R Q C o s t D G + C o s t E S S ,
where P R P and P R Q denote the DISCO revenues from selling active and reactive power to the customers (loads) (USD/year) as given in Equations (2) and (3), respectively:
P R P = s = 1 4 91 × t = 1 T α D I S × P t , s s o l d × α t , s P P t , s p u r c h . × α t , s P ,
P R Q = s = 1 4 91 × t = 1 T α D I S × Q t , s s o l d × α t , s Q Q t , s p u r c h . × α t , s Q ,
where P t , s s o l d (kW) and Q t , s s o l d (kVAr) represent the active and reactive power sold to the customers at time t in season s , and P t , s p u r c h . (kW) and Q t , s p u r c h . (kVAr) are the active and reactive power purchased by DISCO from the upstream grid at time t in season s , respectively. The prices of active and reactive power at time t in season s are denoted by α t , s P (USD/kWh) and α t , s Q (USD/kVArh), while α D I S is a percentage that defines the DISCO profit from this process.
The third term of Equation (1) represents the total cost of DGs in the ADN, which is calculated by:
C o s t D G = C o s t D G i n v . + C o s t D G O & M ,
where C o s t D G i n v . and C o s t D G O & M (USD/year) denote the investment and operation and maintenance costs of DGs. The investment cost of a DG is mainly related to its apparent power. The maintenance cost is related to the performance, service fees, and the price of other equipment, and its value is usually fixed. The operation cost depends on the type of DG and its output power. However, for conventional DG units, the operation and maintenance cost is slightly increased on a seasonal basis, which is considered in this paper [6]. The investment and operation and maintenance costs of DGs are given in Equations (5) and (6), respectively:
C o s t D G i n v . = n = 1 N D G S n D G × C i n v . D G × E A C ,
C o s t D G O & M = n = 1 N D G s = 1 4 91 × t = 1 T P n , t D G × C P O & M , s D G + Q n , t D G × C Q O & M , s D G ,
where S n D G represents the apparent power (kVA) of the n t h DG, N D G is the number of DG units, while P n , t D G (kWh) and Q n , t D G (kVArh) are the active and reactive power of the n t h DG at time t . The parameters C i n v . D G (USD/kVA), C P O & M , s D G (USD/kWh), and C Q O & M , s D G (USD/kVArh) denote the investment unit cost of DG and seasonal operation and maintenance unit costs of active and reactive power, respectively. To convert the investment cost of DGs to the annual value, the equivalent annual cost (EAC) factor is used in Equation (5), which is calculated as follows:
E A C = d × ( 1 + d ) Y ( 1 + d ) Y 1 ,
where d represents the discount rate, and Y (years) is the selected lifetime [5,6,17].
Moreover, the total cost of ESSs in the ADN represented by the fourth term of Equation (1) is given by:
C o s t E S S = C o s t E S S i n v . + C o s t E S S O & M ,
where C o s t E S S i n v . and C o s t E S S O & M (USD/year) are the investment and operation and maintenance costs of ESSs as given in Equations (9) and (10), respectively:
C o s t E S S i n v . = n = 1 N E S S S n E S S × C S i n v . E S S + E n E S S × C E i n v . E S S × E A C ,
C o s t E S S O & M = n = 1 N E S S s = 1 4 91 × t = 1 T S n , t E S S × C O & M , s E S S .
The investment cost of ESSs should be calculated for batteries and inverters, as shown in Equation (9). Hence, for the total number of ESS units N E S S , S n E S S denotes the apparent power (kVA) of the n t h ESS’s inverter and E n E S S is the n t h ESS’s capacity (kWh). To calculate the operation and maintenance cost in Equation (10), the apparent power S n , t E S S (kVAh) of the n t h ESS’s inverter at time t is used. The parameters C S i n v . E S S (USD/kVA) and C E i n v . E S S (USD/kWh) are the investment unit costs of the inverter and ESS capacity, respectively, while C O & M , s E S S (USD/kVAh) is the seasonal operation and maintenance unit cost [6].

3.2. Constraints

DISCO profit is maximized subject to several constraints on network power flow and DG and ESS operation. Network power balance is maintained for active and reactive power as defined in Equations (11) and (12), respectively [5,6,17]:
  b = 1 N B P b , t I N = b = 1 N B P b , t O U T ,
b = 1 N B Q b , t I N = b = 1 N B Q b , t O U T ,
where P b , t I N and Q b , t I N represent the active and reactive power entering bus b at time t ; P b , t O U T and Q b , t O U T denote the active and reactive power leaving bus b at time t , and N B is the set of network buses.
Network voltages are also constrained as follows [18,28]:
V m i n V b , t V m a x ; b = 1 , , N B ,
where V b denotes the voltage on bus b at time t , and V m i n and V m a x are the maximum and minimum voltage limits.
The apparent power of the n t h DG at time t should not exceed the maximum limit S m a x D G as described in Equation (14):
S n , t D G S m a x D G ; n = 1 , , N D G ,
where the relationship between S n , t D G , P n , t D G , and Q n , t D G is defined as follows [13,17,22]:
S n , t D G = P n , t D G 2 + Q n , t D G 2 .
The operation of ESS units (batteries) is also constrained, where the apparent power of the n t h ESS’s inverter at time t must be maintained within the permissible limit as described below:
S n , t E S S S m a x E S S ; n = 1 , , N E S S ,
where S n , t E S S is calculated based on the inverter’s active power P n , t E S S and reactive power Q n , t E S S at time t as follows [22,27]:
S n , t E S S = P n , t E S S 2 + Q n , t E S S 2 .
The n t h ESS’s capacity is also restricted, where its value at time t should not exceed the maximum limit E m a x E S S as given below:
E n , t E S S E m a x E S S ; n = 1 , , N E S S ,
where E n , t E S S is calculated as follows [5,12,28]:
E n , t E S S = E n , t 1 E S S + P n , t 1 E S S × η c h P n , t 1 E S S η d i s ,
where η c h and η d i s (%) represent the charge and discharge efficiencies of the inverter.
The initial energy stored in ESS at time t = 0 should be predefined, which is described as follows:
E n , t E S S = E n , 0 E S S ;   f o r   t = 0 .
In this paper, E n , 0 E S S is taken as 10% of the maximum capacity, i.e., the depth of discharge is 0.9.
Moreover, the energy balance of the ESS should be preserved at the end of the day ( t = T = 24 ). Hence, the following equation is required:
E n , t E S S = E n , 0 E S S ;   f o r   t = T .

4. The Proposed Algorithm for DISCO Profit Maximization

In this section, the proposed OSEDE/LFs algorithm is presented in detail. First, the mechanisms and steps of the algorithm are explained. Then, the performance analysis is performed by solving benchmark functions and comparing the results with those obtained by other original algorithms. Finally, the proposed approach is applied to solve the DISCO profit maximization problem.

4.1. Mechanisms of the Proposed Algorithm

The proposed algorithm is a unique hybridization of three mechanisms, namely SEO, DE, and LFs. In addition, QOBL is applied to improve the initial population. On this basis, the developed algorithm is called “oppositional social engineering differential evolution with Lévy flights” (OSEDE/LFs).

4.1.1. Oppositional and Quasi-Oppositional-Based Learning

Several EAs suffer from performance-related drawbacks, such as being trapped around local optima or slow convergence. This especially occurs for complex and high-dimensional optimization problems. Recently, the concept of oppositional-based learning (OBL) has been presented to further enhance the performance of EAs in terms of convergence, local optima avoidance, and computational time [29]. The main advantages of OBL are the simplicity and effectiveness when processing EA-based populations, either in the initialization step or within the main loop [30]. The OBL is structured by comparing the current population with its opposite, as the latter could be closer to the global optimum. Furthermore, the quasi-opposite number has been shown to be even closer to the global optimum than the opposite number [31]. Thus, the quasi-opposite population is calculated by a random probabilistic value and compared to the current population, then the best candidate between them is selected, as shown in Figure 2.
The mathematical definition of quasi-oppositional-based learning (QOBL) is presented as follows [30,31]:
X i j I t + 1 = C j + r a n d ( ) × C j X i j I t , i f X i j I t < C j , C j r a n d ( ) × X i j I t C j , i f X i j I t C j ,
where X i j I t + 1 denotes the quasi-opposition number in dimension j of solution i at iteration I t + 1 , rand() represents a random number, and C j is the midpoint of the distance between the upper bound (UB) and the lower bound (LB) in dimension j, which is calculated as follows:
C j = ( U B + L B ) 2 .

4.1.2. Social Engineering Optimizer (SEO)

The original SEO was developed as a single-solution metaheuristic algorithm by Fathollahi-Fard et al. [26], inspired by the social interrelationship between individuals, i.e., how a person and his counterpart might interact given their conditions and environment. Based on this principle, each potential solution in SEO is a vector containing an individual and its counterpart. The characteristics of each member in this vector symbolize its social abilities to represent the variables of each solution. To initialize the SEO, two random individuals (representing two initial solutions) are generated and compared. After that, the better solution between them is defined as (attacker), while the other is defined as (defender). Then, the search process is led by the attacker trying to evaluate the defender by its merits through a process called training-retraining. During this random pattern process, the attacker replaces some of its variables with the best merits found in the defender, and then the fitness function is tested once again. The training-retraining mechanism continues the search until the best attacker-defender pair is found, which will guide the searching process by defining a set of trait-exchange experiments that are calculated as follows:
N t r = r o u n d , N v a r ,
where N t r denotes the number of tested traits (merits), is the selected trait’s percent, and N v a r represents the total number of a person’s traits, i.e., decision variables.
The algorithm then proceeds to the process of spotting an attack by performing four unique techniques, as illustrated in Figure 3. During this process, a key parameter β is used as input to improve the exploration of the search space. These four techniques are briefly described as follows [26]:
  • The first technique is known as “obtaining”, in which the attacker directly mistreats the defender to effectively obtain its desired traits. Based on that, the defender’s new position is updated using the following equation:
D e f n = D e f c × 1 sin β × r a n d 1 0,1 + ( D e f c + A t t ) 2 × sin β × r a n d 2 0,1 ,
where D e f n and D e f c denote the new and current positions of the defender, A t t represents the attacker’s current position, and r a n d 1,2 0,1 are randomly generated numbers;
2.
The second technique, known as “phishing”, involves the attacker faking an attack against the defender. The defender then reacts by moving to a safe place. As a result, two new positions of the defender are generated based on the movement of both the attacker and defender, as described in the following equations:
D e f n 1 = A t t × 1 sin β × r a n d 1 0,1 + ( D e f c + A t t ) 2 × 1 sin β × r a n d 2 0,1 ,
D e f n 2 = D e f c × 1 sin π 2 β × r a n d 1 0,1 + ( D e f c + A t t ) 2 × sin π 2 β × r a n d 2 0,1 ,
3.
The next technique is called “diversion theft”, in which the attacker deceives the defender by leading the defender to a desired position (set by the attacker). This is achieved using the average distance between the defender and a scaled amount of the attacker. The defender’s new position is then updated by:
D e f n = D e f c × 1 sin β × r a n d 1 0,1 + ( D e f c + A t t × sin π 2 β × r a n d 2 0,1 ) 2 × sin β × r a n d 3 0,1 ,
4.
The final technique is defined as “pretext”, in which the attacker uses some of the defender’s favorite traits as bait to completely guide and defeat the defender. By the end of this process, the defender’s new position is re-updated using a scaled amount of the defender’s current position and the average distance between the weighted attacker and defender as follows:
D e f n = ( D e f c × sin π 2 β × r a n d 1 0,1 ) × 1 sin β × r a n d 2 0,1 + ( D e f c × sin π 2 β × r a n d 3 0,1 + A t t ) 2 × sin β × r a n d 4 0,1 ,
Finally, after the completion of the four techniques, the eventual position of the defender is evaluated by comparing it with its old position, where the best position is selected. Moreover, if the selected defender’s position is better than the attacker’s, it will be defined as the new attacker, while another position of the defender will be randomly generated. The whole procedure will be iteratively repeated until the termination condition is met.

4.1.3. Differential Evolution (DE)

The well-known DE is an effective technique for solving optimization problems in various applications. Mutation, crossover, and greedy selection are the three main mechanisms that define the structure of DE [32]. Based on the mutation process, new mutant solutions S M are generated in each iteration as follows:
S M = S B + A P · S A 1 S A 2 + S A 3 S A 4 ,
where S B represents the best solution in every iteration while S A 1 ,   S A 2 ,   S A 3 , and S A 4 denote arbitrary solutions. The amplifying parameter A P is calculated as follows:
A P = A P ¯ ( I t 1 ) · A P ¯ A P _ / ( I t m a x 1 ) ,
where A P _ = 0 ,   A P ¯ = 2 are the limits of A P ; I t and I t m a x denote the current and maximum number of iterations, respectively.
The obtained mutated solution is then improved by applying the crossover process, evolving a trail solution S T in the next iteration by:
S T I t + 1 = S M I t + 1   i f   R R C O S I t   i f   R R C O ,
where R represents a parameter within the range [0, 1] and R C O represents the crossover rate.
After that, S M I t + 1 and S T I t + 1 are compared by greedy selection to keep the best solution in the population [32].

4.1.4. Lévy Flights (LFs)

The LFs is a powerful search mechanism defined as the mathematical representation of the random walks of the creatures as given in Equation (33), where the new solution is obtained by [33]:
S I t + 1 = S I t + S T E P ,
where S T E P represents the step size given by:
S T E P = C · S A 1 I t S A 2 I t L e v y β 0.01 x 1 x 2 1 β S A 1 I t S A 2 I t ,
where C denotes a constant, S A 1 I t and S A 2 I t are arbitrary solutions, stands for the entry-wise multiplication, L e v y β is the Lévy probability distribution function of β , and x 1 and x 2 are calculated by the normal distribution function as follows:
x 1 = N ( 0 , σ x 1 2 ) x 2 = N ( 0 , σ x 2 2 ) ,
where σ x 1 = Γ ( 1 + κ ) s i n ( π κ 2 ) Γ ( 1 + κ ) 2 κ 2 ( κ 1 ) 2 1 η , κ is an index within the range [1,2], Γ represents the gamma function, η = 1.5 , and σ x 2 = 1 .

4.1.5. The Proposed OSEDE/LFs Algorithm

To build the proposed algorithm, the above optimization mechanisms are uniquely combined. The flowchart of the OSEDE/LFs algorithm showing its detailed steps is demonstrated in Figure 4. A stepwise variation process is applied to the stochastic parameters of the algorithm to determine their optimal values, which guarantees that the best performance is achieved by the combined mechanisms. As depicted in Figure 4, the algorithm starts by initializing a random population and defining the required operating parameters. At this stage, the initial values of the attacker and the defender are also defined. The randomly generated initial population is then improved by applying the QOBL mechanism. It is worth mentioning that the QOBL technique is used only at the initialization stage to enhance the initial population without its application within the main loop of the algorithm. After that, the main loop begins by applying SEO, where the training-retraining mechanism is performed. Then, a social attack is spotted and responded to through an iterative process until all attacks are over. Subsequently, a new defender is selected, and the global best is updated according to the value of the new attacker. This updated global best is then improved using the DE mechanisms (mutation, crossover, and greedy selection). Furthermore, greedy LFs are performed, where the LF perturbation is improved by reapplying crossover and greedy selection. This ensures achieving the best performance. Then, the global best is updated and set as the new attacker. The main loop is executed iteratively until the termination criteria are met. Finally, global optima are obtained.

4.2. Benchmarking of the OSEDE/LFs Algorithm

In this subsection, the performance of the proposed OSEDE/LFs is verified by solving a set of benchmark functions (BFs). These BFs include unimodal, multimodal, fixed-dimensional, and free-dimensional objective functions. A total of 23 BFs with multiple local minima and different shapes (valley, bowl, and plate shapes) are used. Their detailed mathematical formulations can be found in [34,35]. Hence, by solving these BFs, the performance of OSEDE/LFs is compared to that of 9 well-known state-of-the-art algorithms from the literature: the ant lion optimizer (ALO) [36], dragonfly algorithm (DA) [37], grasshopper optimization algorithm (GOA) [38], grey wolf optimizer (GWO) [39], moth–flame optimizer (MFO) [40], multi-verse optimizer (MVO) [34], sine cosine algorithm (SCA) [35], salp swarm algorithm (SSA) [41], and whale optimization algorithm (WOA) [42]. This comparison is carried out using the original parameters of each algorithm, as recommended by their developers and using the same 23 BFs. For a fair comparison, the population size and maximum iterations are set to 100 and 500, respectively, for all algorithms. The results of 20 individual runs of each algorithm are recorded as given in Table 1 for fixed-dimensional BFs ( F 1 to F 13 ) and free-dimensional BFs ( F 14 to F 23 ). As shown in this table, the average (Avg) and standard deviation (STD) values are used for a comprehensive analysis of the obtained results. Then, by ranking the performance of each algorithm for all the BFs, it is observed that the best rank among all the compared algorithms is recorded by the proposed OSEDE/LFs (the best total rank of 49 and the best average rank of 2.13). Moreover, Figure 5 depicts the convergence curves of the compared algorithms for some of the BFs, which further validates the performance of the proposed OSEDE/LFs against several powerful original algorithms found in the literature. In addition, the Wilcoxon signed rank test is applied to all the algorithms corresponding to the solved BFs, as shown in Table 2. By conducting this nonparametric test, the p-values for the compared algorithms are obtained. These values demonstrate that the proposed OSEDE/LFs is statistically significant compared to the other algorithms since most of the resulting p-values are below the 5% significance level. Therefore, the proposed OSEDE/LFs can be recommended as a powerful method for solving real-world problems and engineering applications.

4.3. Applying OSEDE/LFs Algorithm to Maximize DISCO Profit

In this subsection, the proposed OSEDE/LFs is applied to solve the mathematical model established in Section 2 for DISCO profit maximization. This application is demonstrated in detail below Algorithm 1.
Algorithm 1: OSEDE/LFs for DISCO profit maximization
I—Input the distribution network’s data, define the algorithm’s parameters, and decision variables (number and type).
II—Run the power flow and calculate the base-case value of the objective function (before adding DGs or ESSs).
III—The algorithm’s initialization:
1. Generate a random population of initial solutions ( I P 1 ) containing locations and sizes of DGs and ESSs. Active and reactive powers of DGs and ESSs are considered, and charging and discharging schedules of ESSs are defined.
2. Initialize random values for the attacker and defender.
3. Run the power flow and evaluate I P 1 by the objective function (OF) using Equation (1) subject to all constraints using Equations (11)–(21).
4. Regenerate an initial population by QOBL technique ( I P 2 ) using Equation (22) and run the power flow to evaluate it by the OF subject to all constraints.
5. Compare I P 1 and I P 2 , save the best population, and assign it as the input population to the main loop.
IV—Main loop:
6. While stopping criteria are not satisfied:
7. Perform SEO on the current population:
● Train-retrain process.
● Set the 1st social attack.
● While number of attacks < max. number of attacks:
   ➢ Spot a social attack by the “obtaining,” Equation (25), “phishing,” Equations (26) and (27), “diversion theft,” Equation (28), and “pretext,” Equation (29).
   ➢ Respond to the social attack.
   ➢ Number of attacks is increased by 1.
End while
● Evaluate the population by the OF subject to all constraints.
● Select a new defender.
8. Update the Global Best based on the new attacker.
9. Apply DE to the current population:
● Mutation using Equation (30) and evaluation of the population using the OF subject to all constraints.
● Crossover using Equation (32) and evaluate the population using the OF subject to all constraints.
● Greedy selection to compare the populations and save the best.
10. Execute LF perturbation on the best population using Equation (33) and evaluate it using the OF subject to all constraints.
11. Crossover using Equation (32) and evaluate the population using the OF subject to all constraints.
12. Greedy selection to compare the populations and save the best.
13. Update the Global Best and set its value as the new attacker.
14. End while.
V—Save the global best solutions and display the final results.

5. Results and Discussion

The optimal planning of DGs and ESSs in ADNs for DISCO profit maximization is performed using the proposed OSEDE/LFs. The standard 30-Bus and IEEE 69-Bus distribution networks shown in Figure 6 are used as test systems, and the full line and load data can be obtained from [24,30]. The base power and voltage are 10 MVA and 11 kV for the 30-Bus system and 100 MVA and 12.66 kV for the 69-Bus system. Moreover, all parameters required to perform the simulations are given in Table 3 and Table 4, which are taken from the relevant literature references [6,17,18,24]. The seasonal prices of active and reactive power α t , s P (USD/kWh) and α t , s Q (USD/kVArh) are taken in which the prices in autumn and winter are the same, and the prices in spring and summer are the same. Accordingly, the operation and maintenance unit costs of active and reactive power of DGs C P O & M , s D G (USD/kWh) and C Q O & M , s D G (USD/kVArh) are the same in autumn and winter. Then, these prices are increased by 20% in spring and summer. Since the operation and maintenance cost of ESS is mainly dependent on its apparent power, the operation and maintenance unit cost C O & M , s E S S (USD/kVAh) is fixed for all seasons [6]. The maximum apparent power of DGs ( S m a x D G ) and ESSs ( S m a x E S S ) given in Equations (14) and (16), respectively, should not exceed the sum of total load and network loss without DGs or ESSs [6,17,24].
For each system, the simulation is carried out considering two cases: the planning of DGs only (Case 1) and the planning of DGs and ESSs simultaneously (Case 2). To validate the performance of the proposed OSEDE/LFs, the model is also solved by the original state-of-the-art algorithms: DE, SEO, GWO, MVO, WOA, and PSO for all cases to compare the results. The comparisons are performed based on the original parameters of each algorithm. The parameters of OSEDE/LFs are defined by a stepwise variation to achieve the best performance. For a fair comparison, the population size and the maximum number of iterations are fixed to 50 and 200 for all algorithms, 10 independent runs are executed for each case, and the best solutions are recorded and analyzed using the minimum (Min), maximum (Max), Avg, and STD. Coding and simulations are carried out using Matlab-R2016a on a PC with an Intel Core (TM) i7 processor, 3.2 GHz speed, and 8 GB RAM.

5.1. The 30-Bus Network

5.1.1. Case 1: The Optimal Planning of DGs

In this case, only DG units are considered. Hence, Equations (8)–(10) and (16)–(21) are excluded, where the decision variables are the locations and sizes of DGs (for active and reactive power). The results are obtained for all algorithms and listed in Table 5. As can be seen in this table, the DISCO profit increased from 109,960.54 USD/year, which is the base case before adding DGs to the network, to 167,003.63 USD/year by PSO. This value is further increased to 167,276.76 USD/year by DE, 167,308.25 USD/year by WOA, 167,354.22 USD/year by SEO, 167,518.23 USD/year by GWO, and 167,639.37 USD/year by MVO. However, when using the proposed ODEDE/LFs, the DISCO profit reaches 168,383.40 USD/year, which is obviously the maximum value compared to the other algorithms.
In addition, the STD of the results obtained by ODEDE/LFs (7.43) is smaller than those of the other algorithms. These results verify the robustness of the proposed ODEDE/LFs, further illustrated in Figure 7, which shows the convergence characteristics of all compared algorithms for Case 1. The ODEDE/LFs require a smaller number of iterations to reach the optimal solution.

5.1.2. Case 2: The Optimal Planning of DGs and ESSs Simultaneously

In this case, DG and ESS units are considered. Hence, the decision variables are the locations and sizes of DGs and ESSs (for active and reactive power). The locations and sizes of DGs and ESSs obtained by all the algorithms are listed in Table 6. Comparing the results of Case 1 (Table 5) to those of Case 2 (Table 6), it can be observed that the locations of DG units obtained by each algorithm are not the same compared to Case 1. This is because the algorithms consider the simultaneous planning of DGs and ESSs in Case 2 rather than only DGs in Case 1. This demonstrates the importance of this strategy as it affects the final results. It is also worth mentioning that all the algorithms are programmed to freely select the locations of ESSs to obtain the maximum profit, even if these locations would be the same as the locations of DGs. However, as can also be seen in Table 6, the optimal locations of ESSs are different from the locations of DGs for all algorithms. This demonstrates that when the DGs and ESSs are planned simultaneously, it is not necessary to allocate DG and ESS units at the same location.
In addition, as can also be seen in Table 6, the reactive power of ESS units is higher than their active power (these active and reactive powers represent the size of the ESS inverter). This explains the high impact of reactive power control on the network. When there is no exchange of active power (P is zero), the ESS unit can still exchange reactive power with the network. In other words, when the inverter is neither charging nor discharging active power, it can still draw or inject reactive power. During these periods, the ESS operates as a capacitor bank, which greatly improves the performance of the network. However, this exchange of reactive power is limited as the apparent power of the inverter must satisfy the technical constraints given in Equations (16) and (17).
Based on the results of the optimal planning of DGs and ESSs shown in Table 6, the DISCO profit is further maximized compared to Case 1, as detailed in Table 7. When PSO is applied, the DISCO profit is increased to 176,734.33 USD/year. The profit reaches 176,975.90 USD/year, 177,097.47 USD/year, 177,100.48 USD/year, 177,282.74 USD/year, and 177,359.65 USD/year by DE, WOA, SEO, GWO, and MVO, respectively. However, the profit reaches its maximum value when the OSEDE/LFs is applied (178,314.58 USD/year). These results emphasize the usefulness of considering the revenues from active and reactive power trading when calculating the DISCO profit, where higher profits could be achieved. Moreover, the simultaneous planning of DGs and ESSs, considering their active and reactive power in the model, proves to be efficient as the profit is further maximized.
In addition, the effectiveness of the proposed algorithm is validated as the highest profits are obtained when the OSEDE/LFs are applied. As also illustrated in Table 7, the proposed algorithm achieves the optimal solutions with higher robustness as the STD is the lowest among all compared algorithms (9.23). The robustness of ODEDE/LFs is maintained even when the number of decision variables is increased. Accordingly, the proposed algorithm can be applied to larger models with higher complexity. These findings are further illustrated in Figure 8, which depicts the convergence characteristics of all the algorithms compared to Case 2. The ODEDE/LFs require fewer iterations to reach the optimal solution.
To demonstrate the operation of ESS during the optimization process using the OSEDE/LFs, the charging and discharging powers, as well as the stored energy of the ESS unit on Bus 18, are shown in Figure 9. It can be seen that the ESS is charged, discharged, and disconnected in accordance with the load levels given in Table 3. During the light-load hours, the ESS operates in charge mode, where the maximum charge power does not exceed the maximum active power of the ESS. To avoid unnecessary power losses, the ESS is disconnected from the network during the medium-load hours, while it operates in discharge mode during full-load hours. This figure also shows that the applied strategy is sufficient to maintain the energy balance of the ESS, where at the end of the day ( t = T = 24 ), the residual energy is equal to the initial stored energy ( t = 0 ).

5.1.3. Technical Impacts of DGs and ESSs

To analyze the technical impacts of DGs and ESSs on the 30-Bus network, the active power loss is calculated when the OSEDE/LFs are applied for Cases 1 and 2 and compared to that of the base case, as illustrated in Figure 10a.
It is obvious that maximizing the DISCO profit also reduces the active power losses in both studied cases, especially during the full-load hours, where the impact is remarkably significant. Nonetheless, when DG and ESS units are considered, the active power losses are still slightly higher during the ESS charging hours. This is reasonable since the ESS units are considered to be loads during this period. However, when the ESS units operate in discharge mode, the losses of Case 2 are further reduced compared to those of Case 1 during the same period. As a result, more benefits can be achieved if the DGs and ESSs are integrated into the network simultaneously, considering their active and reactive power.
To better visualize the impact of the planning strategy on the network voltage, Figure 10b depicts the voltage profile of all buses at Hour 17 (network fully loaded and ESS units in discharge mode). It is validated that the voltages of all buses are greatly improved compared to the base-case voltages. These improvements are clearly seen on the bus with the lowest base-case voltage (the voltage on Bus 27 is improved from 0.8944 p.u. to 0.9631 in Case 1 and to 0.9701 p.u. in Case 2). Hence, the safe and secure operation of the network is maintained in both cases since all voltages are within permissible limits. Nevertheless, the voltages in Case 2 are better improved throughout the network than in Case 1. More precisely, the worse the base-case voltages are, the better Case 2 improves over Case 1.
Finally, it is necessary to demonstrate the active and reactive power that the DISCO exchanges with the upstream network during the day. This will further justify the above results. It will also validate the effectiveness of the planning strategy. Figure 10c shows the active power exchanged with the upstream network using the OSEDE/LFs for Cases 1 and 2. When only DGs are added to the network (Case 1), the received power from the upstream network is well reduced compared to the base case. However, when DGs and ESSs are added (Case 2), the power received is also lower than the base case but higher than that of Case 1 during ESS charging and disconnecting hours. This is because more power is needed to charge the ESS units. Starting from Hour 17, the power received in Case 2 becomes lower than that of Case 1 since the power stored in ESS units is discharged and used. Thus, the DISCO can make more profit when DGs and ESSs are added because the power used to charge the ESS units (during light-load hours) is cheaper than when ESS units are discharged (the load levels are between 100% and 70%).
The reactive power exchanged with the upstream network is also analyzed, as illustrated in Figure 10d. After adding DG units to the network, the DISCO still must receive reactive power but with a lower amount compared to that before adding DGs. Nevertheless, in Case 2, the reactive power is sold to the upstream network during hours 1 to 9 instead of receiving reactive power compared to Case 1 during the same period. Moreover, the DISCO sells more reactive power in the last two hours of the day. Furthermore, during the rest of the day, the reactive power received from the upstream network is clearly lower in Case 2 than in Case 1. This was previously explained since the ESS is still exchanging reactive power with the network when there is no active power being exchanged. Therefore, by adding DGs and ESSs to the network considering their active and reactive power, the DISCO can obtain more income by exchanging higher amounts of reactive power and reducing the amount of power received from the upstream network.

5.2. The 69-Bus Network

5.2.1. Case 1: The Optimal Planning of DGs

Similar to the 30-Bus network, 3 DGs are added. The results for all of the compared algorithms are listed in Table 8, which demonstrates that the DISCO profit increases from 729,008.14 USD/year (base case) to 871,266.96 USD/year, 871,500.15 USD/year, 871,831.28 USD/year, 872,448.63 USD/year, 873,201.55 USD/year, 873,765.87 USD/year, and 875,457.79 USD/year by PSO, SEO, WOA, DE, GWO, MVO, and OSEDE/LFs, respectively. The maximum profit is obtained by the proposed algorithm. Moreover, the STD of the results obtained by ODEDE/LFs (9.80) is smaller than those of the other algorithms. Comparing the results of Case 1 for the 30-Bus and 69-Bus networks, it can be noticed that the STD values of all algorithms are higher for the 69-Bus network. This is because the search space is increased, and thus, the complexity of the problem is increased. However, the proposed OSEDE/LFs maintains its robustness, as the optimal solution is obtained with the smallest STD value compared to the other algorithms. These results are further illustrated in Figure 11, showing the convergence characteristics of all compared algorithms for Case 1. The ODEDE/LFs require fewer iterations to reach the optimal solution.

5.2.2. Case 2: The Optimal Planning of DGs and ESSs Simultaneously

In this case, the decision variables are the locations and sizes of 3 DGs and 3 ESSs (for active and reactive power). The locations and sizes of DGs and ESSs obtained by all the algorithms are listed in Table 9. The results of Case 1 (Table 8) and Case 2 (Table 9) show the difference between planning only DGs and planning DGs and ESSs simultaneously in terms of optimal locations. However, unlike the 30-Bus network, the 69-Bus network requires some DG and ESS units to be placed at the same locations to achieve the maximum profit, as shown in Table 9. These results emphasize that the simultaneous planning of DG and ESS units is also related to the nature and topology of the network under study.
Based on the results of Case 2 shown in Table 10, the DISCO profit is further maximized to reach 889,726.09 USD/year (by PSO), 891,756.92 USD/year (SEO), 897,791.51 USD/year (WOA), 898,119.76 USD/year (DE), 900,334.02 USD/year (GWO), 900,813.13 USD/year (MVO), and 904,013.05 USD/year (ODEDE/LFs), respectively.
Subsequently, it is proved that the utilized optimization model is effective for DISCO profit maximization. It is also observed that as the complexity of the problem increases (increasing the search space between the 30-Bus and 69-Bus networks), the compared algorithms may perform differently. For example, the results of the SEO algorithm are better than those of PSO, DE, and WOA for the 30-Bus system but worse than those of DE and WOA for the 69-Bus system. Moreover, for both test systems, the SEO performs worse than GWO, MVO, and the proposed OSEDE/LFs, especially for the 69-Bus system. These results confirm that the original SEO needs improvements to handle complex optimization problems like the model used in this paper, especially for large-scale systems. This has been achieved by the proposed OSEDE/LFs algorithm.
It is clear that the highest profits with the lowest STD values are obtained for all cases when the OSEDE/LFs are applied. Using the proposed algorithm, the performance of SEO and DE is remarkably improved to overcome even the powerful state-of-the-art GWO, MVO, and WOA algorithms. To further validate these results, the convergence characteristics of all the algorithms compared to Case 2 are depicted in Figure 12, showing that the ODEDE/LFs reach the optimal solution with fewer iterations.
Furthermore, the charging and discharging powers and the stored energy of the ESS unit on Bus 21 are shown in Figure 13, demonstrating that the energy balance of the ESS is maintained.

5.2.3. Technical Impacts of DGs and ESSs

The technical impacts of DGs and ESSs on the 69-Bus network when the OSEDE/LFs are applied for Cases 1 and 2 are shown in Figure 14, analyzing the (a) active power losses, (b) voltage profile at Hour 17, (c) active power and (d) reactive power exchanged with the upstream network.
Similar observations can be made when compared to the results of the 30-Bus network. As shown in Figure 14a, the power losses are well reduced in both cases, especially during the full-load hours. In Case 2, the active power losses are higher during ESS charging hours, and during the discharging hours, the losses are further reduced, which leads to higher profits. Figure 14b illustrates that the voltages of all buses are significantly improved, especially in Case 2. The lowest base-case voltage (on Bus 65) is improved from 0.9092 p.u. to 0.9621 in Case 1 and to 0.9690 p.u. in Case 2. Figure 14c shows the active power exchange with the upstream network using the OSEDE/LFs for Cases 1 and 2. In Case 1, the power received from the upstream network is well reduced compared to the base case. In Case 2, the received power is also reduced compared to the base case, but it is higher than that of Case 1 during the charging and disconnecting hours of the ESSs. From Hour 17, the received power in Case 2 becomes lower than in Case 1. This leads to higher profits due to the difference in energy prices. The reactive power exchange with the upstream network is illustrated in Figure 14d. In Case 1, the DISCO receives less reactive power than in the base case. In Case 2, the reactive power is sold to the upstream network during hours 1 to 6. During the rest of the day, the reactive power received from the upstream network in Case 2 is clearly lower than in Case 1. This is because the ESS is still exchanging reactive power with the network when there is no active power being exchanged. Thus, the DISCO can generate more income through the exchange of higher amounts of reactive power and the reduction of the power received from the upstream network.

6. Conclusions

This paper has addressed the simultaneous planning of DGs and ESSs in deregulated electricity markets for DISCO profit maximization. The revenues from trading active and reactive power have been considered in the optimization model to further improve the accuracy of the results. Meanwhile, the active and reactive power of DGs and ESSs have also been included in the optimization process, which maximizes their utilization in the reactive power support. Thus, the decision variables have been set to be the locations and sizes (active and reactive power) of DGs and ESSs simultaneously. To solve the designated model, a new hybrid EA called the OSEDE/LFs has been proposed based on the recently developed SEO algorithm. The OSEDE/LFs exploits the advantages of the search mechanisms of DE and LFs to improve the performance of SEO by their distinctive combination within the main loop. Furthermore, the initial population of the algorithm is generated using the QOBL technique. The proposed OSEDE/LFs has been benchmarked and compared with the other nine state-of-the-art EAs using a set of well-known BFs. The results obtained for most of the tested BFs have confirmed the outstanding performance of the OSEDE/LFs over the other algorithms in terms of obtaining the global optima, fast convergence, and robustness with the best total and average ranks achieved. Moreover, the Wilcoxon signed rank test has proved the statistical significance of the OSEDE/LFs. Based on this, the proposed algorithm has been applied to solve the planning model of DISCO profit maximization using the standard 30-Bus and IEEE 69-Bus distribution networks. Two case studies have been considered for each network, namely the optimal planning of DGs and the optimal planning of DGs and ESSs simultaneously. For both networks, the maximum DISCO profits with faster convergence and higher robustness have been obtained by the OSEDE/LFs compared to other original algorithms. In addition, by comparing the results of Case 2 with Case 1 for each network, it has been verified that the proposed algorithm maintains its robustness even when the number of decision variables and the search space are increased, especially for the 69-Bus network. The results have also shown that some algorithms, such as the original SEO, may have worse performance as the complexity of the optimization model increases. This has justified the need to improve its performance for complex optimization problems. Thus, the OSEDE/LFs can be recommended as a robust method for solving more complex and larger-scale problems in different engineering applications, which may be promising for future research. Moreover, the comparisons made between Cases 1 and 2 have highlighted the importance of considering the revenues from active and reactive power trading to achieve higher DISCO profits. This has been done by including the active and reactive power of DGs and ESSs in the optimization model, which has remarkably increased the reactive power support. These results have been validated by observing the reduced power losses, improved voltage profile, and power exchanged with the upstream network.
Finally, several potential directions are worthy of investigation in future research, such as including renewable DGs in the planning model, developing an objective function that considers the environmental revenues, and comparing different types of storage systems. For example, the utilization of pumped hydro storage or gravity energy storage in ADNs for DISCO profit optimization could be an interesting trend for further research.

Author Contributions

Conceptualization, R.J.M. and N.F.A.; methodology, R.J.M. and N.F.A.; software, R.J.M. and N.F.A.; validation, R.J.M., N.F.A., E.F.-R., Y.Z. (Yuan Zheng), Y.S., S.Z. and Y.Z. (Yuquan Zhang); formal analysis, R.J.M., N.F.A., E.F.-R. and Y.Z. (Yuquan Zhang); investigation, R.J.M., N.F.A. and Y.Z. (Yuquan Zhang); resources, R.J.M. and Y.Z. (Yuquan Zhang); data curation, R.J.M. and S.Z.; writing—original draft preparation, R.J.M.; writing—review and editing, R.J.M., N.F.A., E.F.-R., Y.Z. (Yuan Zheng), Y.S., S.Z. and Y.Z. (Yuquan Zhang); visualization, R.J.M., N.F.A., E.F.-R. and Y.Z. (Yuquan Zhang); supervision, Y.Z. (Yuan Zheng), Y.S. and Y.Z. (Yuquan Zhang); project administration, Y.Z. (Yuan Zheng), Y.S. and Y.Z. (Yuquan Zhang); funding acquisition, R.J.M., Y.Z. (Yuan Zheng), Y.S. and Y.Z. (Yuquan Zhang). All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Fundamental Research Funds for the Central Universities (No. B220201034), the National Natural Science Foundation of China (No. 52271275), the National Natural Science Foundation of China for Young International Scientists (No. 52250410359), and the 2022 National Young Foreign Talents Program of China (No. QN2022143002L).

Data Availability Statement

Data sharing does not apply to this article as no datasets were generated or analyzed during the current study.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Zhang, D.; Shafiullah, G.M.; Das, C.K.; Wong, K.W. A systematic review of optimal planning and deployment of distributed generation and energy storage systems in power networks. J. Energy Storage 2022, 56, 105937. [Google Scholar] [CrossRef]
  2. Prakash, P.; Meena, D.C.; Malik, H.; Alotaibi, M.A.; Khan, I.A. A Novel Hybrid Approach for Optimal Placement of Non-Dispatchable Distributed Generations in Radial Distribution System. Mathematics 2021, 9, 3171. [Google Scholar] [CrossRef]
  3. Elseify, M.A.; Kamel, S.; Abdel-Mawgoud, H.; Elattar, E.E. A Novel Approach Based on Honey Badger Algorithm for Optimal Allocation of Multiple DG and Capacitor in Radial Distribution Networks Considering Power Loss Sensitivity. Mathematics 2022, 10, 2081. [Google Scholar] [CrossRef]
  4. Ma, M.; Huang, H.; Song, X.; Peña-Mora, F.; Zhang, Z.; Chen, J. Optimal sizing and operations of shared energy storage systems in distribution networks: A bi-level programming approach. Appl. Energy 2022, 307, 118170. [Google Scholar] [CrossRef]
  5. Mehrjerdi, H. Simultaneous load leveling and voltage profile improvement in distribution networks by optimal battery storage planning. Energy 2019, 181, 916–926. [Google Scholar] [CrossRef]
  6. Li, Y.; Feng, B.; Wang, B.; Sun, S. Joint planning of distributed generations and energy storage in active distribution networks: A Bi-Level programming approach. Energy 2022, 245, 123226. [Google Scholar] [CrossRef]
  7. Xiang, Y.; Lu, Y.; Liu, J. Deep reinforcement learning based topology-aware voltage regulation of distribution networks with distributed energy storage. Appl. Energy 2023, 332, 120510. [Google Scholar] [CrossRef]
  8. Zhang, Y.; Zang, W.; Zheng, J.; Cappietti, L.; Zhang, J.; Zheng, Y.; Fernandez-Rodriguez, E. The influence of waves propagating with the current on the wake of a tidal stream turbine. Appl. Energy 2021, 290, 116729. [Google Scholar] [CrossRef]
  9. Das, C.K.; Bass, O.; Mahmoud, T.S.; Kothapalli, G.; Masoum, M.A.S.; Mousavi, N. An optimal allocation and sizing strategy of distributed energy storage systems to improve performance of distribution networks. J. Energy Storage 2019, 26, 100847. [Google Scholar] [CrossRef]
  10. Adegoke, S.A.; Sun, Y.; Wang, Z. Minimization of Active Power Loss Using Enhanced Particle Swarm Optimization. Mathematics 2023, 11, 3660. [Google Scholar] [CrossRef]
  11. Anuradha, K.B.J.; Jayatunga, U.; Perera, H.Y.R. Loss-Voltage Sensitivity Analysis Based Battery Energy Storage Systems Allocation and Distributed Generation Capacity Upgrade. J. Energy Storage 2021, 36, 102357. [Google Scholar] [CrossRef]
  12. Saboori, H.; Hemmati, R.; Abbasi, V. Multistage distribution network expansion planning considering the emerging energy storage systems. Energy Convers. Manag. 2015, 105, 938–945. [Google Scholar] [CrossRef]
  13. Bai, L.; Jiang, T.; Li, F.; Chen, H.; Li, X. Distributed energy storage planning in soft open point based active distribution networks incorporating network reconfiguration and DG reactive power capability. Appl. Energy 2018, 210, 1082–1091. [Google Scholar] [CrossRef]
  14. El-Ela, A.A.A.; El-Seheimy, R.A.; Shaheen, A.M.; Wahbi, W.A.; Mouwafi, M.T. PV and battery energy storage integration in distribution networks using equilibrium algorithm. J. Energy Storage 2021, 42, 103041. [Google Scholar] [CrossRef]
  15. Wang, Y.; Qiu, J.; Tao, Y. Robust energy systems scheduling considering uncertainties and demand side emission impacts. Energy 2022, 239, 122317. [Google Scholar] [CrossRef]
  16. Zarenia, O.; Shabani, M.J.; Salehpour, M.J.; Zhang, J.; Wang, L. A new two-stage game-based approach for energy storage pricing in radial distribution system considering uncertainty. J. Energy Storage 2021, 38, 102510. [Google Scholar] [CrossRef]
  17. Saboori, H.; Hemmati, R. Maximizing DISCO profit in active distribution networks by optimal planning of energy storage systems and distributed generators. Renew. Sustain. Energy Rev. 2017, 71, 365–372. [Google Scholar] [CrossRef]
  18. Sadati, S.M.B.; Moshtagh, J.; Shafie-khah, M.; Rastgou, A.; Catalão, J.P.S. Bi-level model for operational scheduling of a distribution company that supplies electric vehicle parking lots. Electr. Power Syst. Res. 2019, 174, 105875. [Google Scholar] [CrossRef]
  19. Jeddi, B.; Vahidinasab, V.; Ramezanpour, P.; Aghaei, J.; Shafie-khah, M.; Catalão, J.P.S. Robust optimization framework for dynamic distributed energy resources planning in distribution networks. Int. J. Electr. Power Energy Syst. 2019, 110, 419–433. [Google Scholar] [CrossRef]
  20. Weckesser, T.; Dominković, D.F.; Blomgren, E.M.V.; Schledorn, A.; Madsen, H. Renewable Energy Communities: Optimal sizing and distribution grid impact of photovoltaics and battery storage. Appl. Energy 2021, 301, 117408. [Google Scholar] [CrossRef]
  21. Rajabzadeh, M.; Kalantar, M. Improving the resilience of distribution network in coming across seismic damage using mobile battery energy storage system. J. Energy Storage 2022, 52, 104891. [Google Scholar] [CrossRef]
  22. Khaki, B. Joint sizing and placement of battery energy storage systems and wind turbines considering reactive power support of the system. J. Energy Storage 2021, 35, 102264. [Google Scholar] [CrossRef]
  23. Thanh Nguyen, T.; Trung Nguyen, T.; Le, B. Artificial ecosystem optimization for optimizing of position and operational power of battery energy storage system on the distribution network considering distributed generations. Expert Syst. Appl. 2022, 208, 118127. [Google Scholar] [CrossRef]
  24. Abdel-Mawgoud, H.; Fathy, A.; Kamel, S. An effective hybrid approach based on arithmetic optimization algorithm and sine cosine algorithm for integrating battery energy storage system into distribution networks. J. Energy Storage 2022, 49, 104154. [Google Scholar] [CrossRef]
  25. Mohamed, A.A.; Kamel, S.; Hassan, M.H.; Mosaad, M.I.; Aljohani, M. Optimal Power Flow Analysis Based on Hybrid Gradient-Based Optimizer with Moth–Flame Optimization Algorithm Considering Optimal Placement and Sizing of FACTS/Wind Power. Mathematics 2022, 10, 361. [Google Scholar] [CrossRef]
  26. Fathollahi-Fard, A.M.; Hajiaghaei-Keshteli, M.; Tavakkoli-Moghaddam, R. The Social Engineering Optimizer (SEO). Eng. Appl. Artif. Intell. 2018, 72, 267–293. [Google Scholar] [CrossRef]
  27. Pires, V.F.; Pombo, A.V.; Lourenço, J.M. Multi-objective optimization with post-pareto optimality analysis for the integration of storage systems with reactive-power compensation in distribution networks. J. Energy Storage 2019, 24, 100769. [Google Scholar] [CrossRef]
  28. Saini, P.; Gidwani, L. An investigation for battery energy storage system installation with renewable energy resources in distribution system by considering residential, commercial and industrial load models. J. Energy Storage 2022, 45, 103493. [Google Scholar] [CrossRef]
  29. Tizhoosh, H.R. Opposition-Based Learning: A New Scheme for Machine Intelligence. In Proceedings of the International Conference on Computational Intelligence for Modelling, Control and Automation and International Conference on Intelligent Agents, Web Technologies and Internet Commerce (CIMCA-IAWTIC’06), Vienna, Austria, 28–30 November 2005; pp. 1–7. [Google Scholar]
  30. Mahfoud, R.J.; Alkayem, N.F.; Sun, Y.; Haes Alhelou, H.; Siano, P.; Parente, M. Improved Hybridization of Evolutionary Algorithms with a Sensitivity-Based Decision-Making Technique for the Optimal Planning of Shunt Capacitors in Radial Distribution Systems. Appl. Sci. 2020, 10, 1384. [Google Scholar] [CrossRef]
  31. Alkayem, N.F.; Shen, L.; Al-hababi, T.; Qian, X.; Cao, M. Inverse Analysis of Structural Damage Based on the Modal Kinetic and Strain Energies with the Novel Oppositional Unified Particle Swarm Gradient-Based Optimizer. Appl. Sci. 2022, 12, 11689. [Google Scholar] [CrossRef]
  32. Storn, R.; Price, K. Differential Evolution—A Simple and Efficient Heuristic for Global Optimization over Continuous Spaces. J. Glob. Optim. 1997, 11, 341–359. [Google Scholar] [CrossRef]
  33. Yang, X.S.; Deb, S. Cuckoo search via Lévy flights. In Proceedings of the 2009 World Congress on Nature & Biologically Inspired Computing (NaBIC), Coimbatore, India, 9–11 December 2009; pp. 210–214. [Google Scholar]
  34. Mirjalili, S.; Mirjalili, S.M.; Hatamlou, A. Multi-Verse Optimizer: A nature-inspired algorithm for global optimization. Neural Comput. Appl. 2016, 27, 495–513. [Google Scholar] [CrossRef]
  35. Mirjalili, S. SCA: A Sine Cosine Algorithm for solving optimization problems. Knowl.-Based Syst. 2016, 96, 120–133. [Google Scholar] [CrossRef]
  36. Mirjalili, S. The Ant Lion Optimizer. Adv. Eng. Softw. 2015, 83, 80–98. [Google Scholar] [CrossRef]
  37. Mirjalili, S. Dragonfly algorithm: A new meta-heuristic optimization technique for solving single-objective, discrete, and multi-objective problems. Neural Comput. Appl. 2016, 27, 1053–1073. [Google Scholar] [CrossRef]
  38. Saremi, S.; Mirjalili, S.; Lewis, A. Grasshopper Optimisation Algorithm: Theory and application. Adv. Eng. Softw. 2017, 105, 30–47. [Google Scholar] [CrossRef]
  39. Mirjalili, S.; Mirjalili, S.M.; Lewis, A. Grey Wolf Optimizer. Adv. Eng. Softw. 2014, 69, 46–61. [Google Scholar] [CrossRef]
  40. Mirjalili, S. Moth-flame optimization algorithm: A novel nature-inspired heuristic paradigm. Knowl.-Based Syst. 2015, 89, 228–249. [Google Scholar] [CrossRef]
  41. Mirjalili, S.; Gandomi, A.H.; Mirjalili, S.Z.; Saremi, S.; Faris, H.; Mirjalili, S.M. Salp Swarm Algorithm: A bio-inspired optimizer for engineering design problems. Adv. Eng. Softw. 2017, 114, 163–191. [Google Scholar] [CrossRef]
  42. Mirjalili, S.; Lewis, A. The Whale Optimization Algorithm. Adv. Eng. Softw. 2016, 95, 51–67. [Google Scholar] [CrossRef]
Figure 1. Typical units connected to the distribution network: (a) DG; (b) ESS.
Figure 1. Typical units connected to the distribution network: (a) DG; (b) ESS.
Mathematics 12 00300 g001
Figure 2. The QOBL concept.
Figure 2. The QOBL concept.
Mathematics 12 00300 g002
Figure 3. The techniques of SEO: (a) Obtaining. (b) Phishing. (c) Diversion theft. (d) Pretext.
Figure 3. The techniques of SEO: (a) Obtaining. (b) Phishing. (c) Diversion theft. (d) Pretext.
Mathematics 12 00300 g003
Figure 4. Flowchart of the proposed OSEDE/LFs algorithm.
Figure 4. Flowchart of the proposed OSEDE/LFs algorithm.
Mathematics 12 00300 g004
Figure 5. The convergence characteristics of the proposed OSEDE/LFs against other algorithms for some BFs.
Figure 5. The convergence characteristics of the proposed OSEDE/LFs against other algorithms for some BFs.
Mathematics 12 00300 g005aMathematics 12 00300 g005b
Figure 6. The standard 30-Bus and IEEE 69-Bus distribution networks used as test systems.
Figure 6. The standard 30-Bus and IEEE 69-Bus distribution networks used as test systems.
Mathematics 12 00300 g006
Figure 7. Convergence characteristics of the OSEDE/LFs compared to other algorithms for the 30-Bus network (Case 1).
Figure 7. Convergence characteristics of the OSEDE/LFs compared to other algorithms for the 30-Bus network (Case 1).
Mathematics 12 00300 g007
Figure 8. Convergence characteristics of the OSEDE/LFs compared to other algorithms for the 30-Bus network (Case 2).
Figure 8. Convergence characteristics of the OSEDE/LFs compared to other algorithms for the 30-Bus network (Case 2).
Mathematics 12 00300 g008
Figure 9. The power and stored energy of the ESS unit on Bus 18 of the 30-Bus network using the OSEDE/LFs.
Figure 9. The power and stored energy of the ESS unit on Bus 18 of the 30-Bus network using the OSEDE/LFs.
Mathematics 12 00300 g009
Figure 10. The technical impacts of DGs and ESSs on the 30-Bus network using the OSEDE/LFs: (a) Active power loss; (b) Voltage profile at Hour 17; (c) Active power; and (d) Reactive power exchanged with the upstream network.
Figure 10. The technical impacts of DGs and ESSs on the 30-Bus network using the OSEDE/LFs: (a) Active power loss; (b) Voltage profile at Hour 17; (c) Active power; and (d) Reactive power exchanged with the upstream network.
Mathematics 12 00300 g010
Figure 11. Convergence characteristics of the OSEDE/LFs compared to other algorithms for the 69-Bus network (Case 1).
Figure 11. Convergence characteristics of the OSEDE/LFs compared to other algorithms for the 69-Bus network (Case 1).
Mathematics 12 00300 g011
Figure 12. Convergence characteristics of the OSEDE/LFs compared to other algorithms for the 69-Bus network (Case 2).
Figure 12. Convergence characteristics of the OSEDE/LFs compared to other algorithms for the 69-Bus network (Case 2).
Mathematics 12 00300 g012
Figure 13. The power and stored energy of the ESS unit on Bus 21 of the 69-Bus network using the OSEDE/LFs.
Figure 13. The power and stored energy of the ESS unit on Bus 21 of the 69-Bus network using the OSEDE/LFs.
Mathematics 12 00300 g013
Figure 14. The technical impacts of DGs and ESSs on the 69-Bus network using the OSEDE/LFs: (a) Active power loss; (b) Voltage profile at Hour 17; (c) Active power; and (d) Reactive power exchanged with the upstream network.
Figure 14. The technical impacts of DGs and ESSs on the 69-Bus network using the OSEDE/LFs: (a) Active power loss; (b) Voltage profile at Hour 17; (c) Active power; and (d) Reactive power exchanged with the upstream network.
Mathematics 12 00300 g014
Table 1. The benchmarking of the proposed OSEDE/LFs.
Table 1. The benchmarking of the proposed OSEDE/LFs.
FunctionALODAGOAGWOMFOMVOSCASSAWOAOSEDE/LFs
F 1 Avg1.03 × 10−83.9498191.42 × 10−81.67 × 10−271.2412530.0146651.58 × 10−122.69 × 10−71.64 × 10−741.94 × 10−229
STD8.12 × 10−99.0151419.60 × 10−93.28 × 10−270.8372780.0050573.00 × 10−124.86 × 10−75.58 × 10−740
Rank51063984721
F 2 Avg0.4683021.5991961.4052817.46 × 10−1723.158800.0374295.18 × 10−100.0001476.99 × 10−516.33 × 10−116
STD1.1356631.2843302.1057335.56 × 10−1720.418690.0107978.11 × 10−100.0003412.26 × 10−502.32 × 10−115
Rank79831064521
F 3 Avg0.057536413.56631.15 × 10−52.48 × 10−517309.750.1074850.0023503.86 × 10−642423.252.93 × 10−228
STD0.1146931254.9543.48 × 10−57.41 × 10−59753.1220.0822200.0057751.63 × 10−515003.660
Rank68349752101
F 4 Avg0.0020353.3479570.0002467.15 × 10−740.444410.0950110.0016312.34 × 10−552.055669.89 × 10−116
STD0.0021502.0756590.0004418.15 × 10−710.342810.0313630.0056511.03 × 10−529.410852.27 × 10−115
Rank68429753101
F 5 Avg84.758711453.581245.009726.8865523671.32260.38317.531969268.698127.8508728.689685
STD154.99741966.364598.73790.73142539396.17471.30510.561004641.25320.4138440.0212941
Rank59621071834
F 6 Avg6.90 × 10−920.024572.76 × 10−80.7139361.1204530.0137530.3749480.5470760.4946839.06 × 10−10
STD2.36 × 10−931.599265.67 × 10−80.3547810.8962670.0060950.1335070.1417830.3219103.99 × 10−10
Rank21038945761
F 7 Avg0.0279270.0268910.0263510.0017132.2319930.0032250.0031660.0165370.0033422.17 × 10−5
STD0.0145740.0159400.0387600.0014626.6553550.0015240.0032210.0111960.0027991.87 × 10−5
Rank98721043651
F 8 Avg−2294.46−2611.78−1502.40−6216.58−8779.65−2981.60−5987.54−2862.42−9428.42−2207.91
STD422.8099312.7750175.4154619.3926919.0249374.4465860.8516318.07201492.768252.9189
Rank23489675101
F 9 Avg26.7643227.104669.7287923.484453127.036818.164751.32598320.346881.14 × 10−140
STD13.6341013.549988.5286714.47777946.112807.3037664.0983788.9428083.50 × 10−140
Rank89541063721
F 10 Avg0.3562852.9996781.7892841.03 × 10−1312.712170.1092762.67 × 10−60.9376224.26 × 10−158.88 × 10−16
STD0.6580601.1046763.6091732.05 × 10−148.2796530.2489289.34 × 10−61.0260543.15 × 10−150
Rank69831054721
F 11 Avg0.1945090.6659930.1399380.00520614.263290.3416010.1009530.23560200
STD0.1041950.3650760.0594710.00857832.857960.1069140.1518240.14045600
Rank69531084711
F 12 Avg1.8460532.0980390.0339590.0425833.1885680.0521790.1095330.3541580.0312280.095399
STD2.2073581.5515110.1424770.0165483.8298390.1703130.0383260.5388630.0422580.031320
Rank89231046715
F 13 Avg0.0042410.8405572.8691100.5473334.2821310.0055570.3429770.0027470.4317190.001131
STD0.0085681.2151820.3291200.2083813.5698880.0074260.0858930.0048810.2471680.003385
Rank38971045261
F 14 Avg11.8703611.51923289.51719.702993203.72399.9587756.623736.3366657.4553110.998004
STD6.6781887.662714227.85565.229677217.40686.6131664.7701854.0186644.9294869.30 × 10−12
Rank87105963241
F 15 Avg0.0113800.0399802.0649830.0015700.3273370.0185340.0014300.0053870.0015450.001493
STD0.0174260.0503957.7492710.0045411.3862980.0275420.0004760.0075320.0022810.004136
Rank68104971532
F 16 Avg−0.95001−0.70088178.4440−1.0190677.97936−1.03159−1.03038−1.03163−1.00860−1.03163
STD0.2512100.408504368.35890.015822215.19513.51 × 10−50.0015952.36 × 10−130.0335204.73 × 10−9
Rank78105934162
F 17 Avg0.3978870.51891113.610410.3979617.4996720.3979591.81783110.889120.7242030.397887
STD1.83 × 10−100.34493217.486890.00015613.101110.0001202.16480010.222421.0468282.96 × 10−8
Rank15104837962
F 18 Avg11.185.69132757.788511.110886094.75738.100787.088386333.923383.000001
STD19.78277182.3800986.293619.7818521684.5136.2245318.115312.87 × 10−1251.157431.14 × 10−6
Rank48951073162
F 19 Avg−3.84879−3.61741−2.61897−3.57359−3.47050−3.86112−3.66962−3.86071−3.70897−3.86239
STD0.019540.3478950.9680000.8798760.6698470.0029630.7279900.0044230.1908130.000588
Rank47108926153
F 20 Avg−3.26794−2.93263−2.45848−3.26838−3.15473−3.25628−2.44660−3.21957−2.93217−3.24402
STD0.0775110.6860120.6721280.1237300.1793020.0679310.7191940.0703740.4035420.062463
Rank27916310584
F 21 Avg−4.47386−3.77144−1.65018−5.64516−3.95988−5.73927−0.79106−5.51181−3.86936−5.05515
STD1.7716461.8990461.7613023.5548683.1069632.7979880.9686103.2680462.5836658.35 × 10−5
Rank58926110374
F 22 Avg−5.45753−4.56419−1.03874−8.58711−3.88754−5.97999−1.38504−5.71782−4.41368−5.61545
STD3.4495333.0641620.7142302.950611.9812793.7467171.1618923.256452.4213251.62468
Rank56101829374
F 23 Avg−6.75264−4.66103−0.91397−8.45723−4.15571−6.53090−2.16716−6.25604−3.87789−5.12839
STD3.5980212.8142680.3248183.3364933.2983304.1160661.6728823.7153532.2739310.000214
Rank26101739485
Total rank1171791678820611311810712049
Average rank5.097.787.263.838.964.915.134.655.222.13
Table 2. The Wilcoxon signed rank test results.
Table 2. The Wilcoxon signed rank test results.
Functionp-Value
ALODAGOAGWOMFOMVOSCASSAWOA
F 1 8.86 × 10−58.86 × 10−58.86 × 10−58.86 × 10−58.86 × 10−58.86 × 10−58.86 × 10−58.86 × 10−58.86 × 10−5
F 2 8.86 × 10−51.03 × 10−48.86 × 10−58.86 × 10−58.86 × 10−58.86 × 10−58.86 × 10−58.86 × 10−58.86 × 10−5
F 3 8.86 × 10−58.86 × 10−58.86 × 10−58.86 × 10−58.86 × 10−58.86 × 10−58.86 × 10−58.86 × 10−58.86 × 10−5
F 4 8.86 × 10−58.86 × 10−58.86 × 10−58.86 × 10−58.86 × 10−58.86 × 10−58.86 × 10−58.86 × 10−58.86 × 10−5
F 5 0.6012008.86 × 10−50.5503008.86 × 10−58.86 × 10−50.1454008.86 × 10−50.6012001.03 × 10−4
F 6 8.86 × 10−53.90 × 10−48.86 × 10−50.0522000.0017008.86 × 10−50.0022008.86 × 10−50.350700
F 7 8.86 × 10−58.86 × 10−58.86 × 10−58.86 × 10−58.86 × 10−58.86 × 10−58.86 × 10−58.86 × 10−58.86 × 10−5
F 8 8.86 × 10−58.86 × 10−58.86 × 10−50.2959008.86 × 10−58.86 × 10−58.86 × 10−58.86 × 10−58.86 × 10−5
F 9 8.86 × 10−58.86 × 10−58.86 × 10−58.75 × 10−58.86 × 10−58.86 × 10−51.32 × 10−48.77 × 10−50.500000
F 10 8.86 × 10−58.86 × 10−58.86 × 10−57.69 × 10−58.86 × 10−58.86 × 10−58.86 × 10−58.82 × 10−50.000488
F 11 8.86 × 10−58.86 × 10−58.86 × 10−50.0312508.86 × 10−58.86 × 10−58.86 × 10−58.86 × 10−51.00000
F 12 0.0099968.86 × 10−50.0015070.0001200.0001030.0137410.3905300.2958800.000254
F 13 8.86 × 10−50.0002548.86 × 10−58.86 × 10−50.1913308.86 × 10−58.86 × 10−58.86 × 10−58.86 × 10−5
F 14 0.0001308.86 × 10−58.86 × 10−50.0001308.86 × 10−58.86 × 10−58.73 × 10−50.0002828.43 × 10−5
F 15 0.0008920.0006818.86 × 10−50.2179608.86 × 10−58.86 × 10−50.0022040.0015070.033340
F 16 0.2265608.86 × 10−58.86 × 10−58.86 × 10−58.86 × 10−58.86 × 10−58.86 × 10−50.0004880.000103
F 17 8.83 × 10−58.86 × 10−58.86 × 10−58.86 × 10−50.0001038.86 × 10−58.86 × 10−58.86 × 10−50.000103
F 18 0.2471400.0001038.86 × 10−58.86 × 10−58.86 × 10−58.86 × 10−58.86 × 10−58.86 × 10−58.86 × 10−5
F 19 0.0045500.0001208.86 × 10−50.0017130.0001200.0400448.86 × 10−50.2789608.86 × 10−5
F 20 0.1084300.0051118.86 × 10−50.1258600.1913300.5015908.86 × 10−50.2627200.000120
F 21 8.86 × 10−58.86 × 10−58.86 × 10−50.5256500.1168900.6012108.86 × 10−50.7089100.015240
F 22 0.5502900.1560008.86 × 10−50.0051110.0064250.7089108.86 × 10−50.8519200.012374
F 23 0.0929630.3702608.86 × 10−50.0015070.2322300.0619530.0001400.2179600.003592
Table 3. Load levels and hourly energy prices during the day (24 h) [6,17].
Table 3. Load levels and hourly energy prices during the day (24 h) [6,17].
Hours1–56–89–1011–1415–1617–2021–2223–24
Load (%)50607080901009070
Energy prices in autumn and winter
α t , s P (USD/kWh)0.140.140.220.220.300.300.300.22
α t , s Q (USD/kVArh)0.0280.0280.0440.0440.0600.0600.0600.044
Energy prices in spring and summer
α t , s P (USD/kWh)0.180.200.240.240.260.330.330.24
α t , s Q (USD/kVArh)0.0360.040.0480.0480.050.0660.0660.048
Table 4. Simulation parameters [6,17,18,24].
Table 4. Simulation parameters [6,17,18,24].
Parameter ValueParameterValue
α D I S (%)15 C E i n v . E S S (USD/kWh)81
d (%)20 η c h ,   η d i s (%)95
Y (years) 5 C O & M , s E S S (USD/kVAh)0.02
V m i n (p.u.)0.9 C P O & M , s D G (USD/kWh), autumn and winter0.189
V m a x (p.u.)1.05 C Q O & M , s D G (USD/kVArh), autumn and winter0.021
C i n v . D G (USD/kVA)1150 C P O & M , s D G (USD/kWh), spring and summer 0.2268
C S i n v . E S S (USD/kVA)805 C Q O & M , s D G (USD/kVArh), spring and summer 0.0252
Table 5. The optimal planning of DGs for the 30-Bus network (Case 1).
Table 5. The optimal planning of DGs for the 30-Bus network (Case 1).
Algorithm Optimal
Locations
Optimal Sizes P R O F I T D I S (USD/Year)
P (kW)Q (kVAr)MaxMinAvgSTD
Base case---109,960.54
DE11102.6468.71167,276.76167,209.48167,270.0021.28
22170.92111.74
2777.4851.46
SEO1178.2752.80167,354.22167,278.66167,346.7023.89
21137.9594.86
25136.2993.01
GWO10112.7575.18167,518.23167,480.62167,510.7015.86
22154.58102.27
2689.2560.44
MVO10112.4575.86167,639.37167,592.21167,634.7014.91
22155.04103.79
2688.5160.17
WOA1199.0766.57167,308.25167,214.94167,298.9029.51
21124.1181.46
25130.3686.92
PSO11102.7665.84167,003.63166,923.33166,995.6025.39
22164.25107.38
2687.0655.33
OSEDE/LFs10110.5879.48168,383.40168,359.84168,381.007.43
22154.02111.91
2686.3361.60
Table 6. The optimal planning of DGs and ESSs for the 30-Bus network (Case 2).
Table 6. The optimal planning of DGs and ESSs for the 30-Bus network (Case 2).
Algorithm DG Units ESS Units
Optimal
Locations
Optimal Sizes Optimal Locations Optimal Sizes
P (kW)Q (kVAr)P (kW)Q (kVAr)
DE1239.8324.99656112
23161.02100.2194379
2827.3217.22274287
SEO1220.0312.476101200
21102.7963.98102955
2499.7561.82273467
GWO1170.7545.7034185
2197.1661.74853101
2684.4153.202361114
MVO1057.7438.3554896
1235.6323.571854103
23157.50104.61273974
WOA1175.6751.05351103
2078.6452.2384586
23113.1675.75275096
PSO21114.0971.30659116
2493.7260.05104788
3021.0413.26273976
OSEDE/LFs1165.5240.7894074
22124.6377.241859113
2554.6033.98273568
Table 7. DISCO profit for the 30-Bus network, Case 2 (based on the results given in Table 6).
Table 7. DISCO profit for the 30-Bus network, Case 2 (based on the results given in Table 6).
Algorithm P R O F I T D I S (USD/Year)
MaxMinAvgSTD
Base case109,960.54
DE176,975.90176,907.66176,969.1021.58
SEO177,100.48177,023.97177,092.8024.20
GWO177,282.74177,223.70177,276.8018.67
MVO177,359.65177,322.13177,352.1515.82
WOA177,097.47177,010.40177,088.7727.53
PSO176,734.33176,655.29176,726.4024.99
OSEDE/LFs178,314.58178,295.48178,308.809.23
Table 8. The optimal planning of DGs for the 69-Bus network (Case 1).
Table 8. The optimal planning of DGs for the 69-Bus network (Case 1).
Algorithm Optimal
Locations
Optimal Sizes P R O F I T D I S (USD/Year)
P (kW)Q (kVAr)MaxMinAvgSTD
Base case---729,008.14
DE2286.5854.79872,448.63872,360.19872,439.8027.97
611003.17655.84
6520.0012.76
SEO20168.26111.76871,500.15871,445.35871,483.7026.47
61146.4794.99
62853.11575.52
GWO2472.4648.88873,201.55873,145.33873,195.9017.78
61976.67646.15
6543.9128.82
MVO2190.5260.60873,765.87873,715.50873,760.8015.93
61786.28518.14
64231.27151.20
WOA1768.2344.78871,831.28871,751.03871,817.0030.44
2121.5613.93
611020.37661.76
PSO61147.0199.18871,266.96871,110.72871,267.0049.41
62244.06161.47
63640.21440.21
OSEDE/LFs2488.0360.53875,457.79875,438.81875,450.209.80
61765.34530.23
64240.87169.38
Table 9. The optimal planning of DGs and ESSs for the 69-Bus network (Case 2).
Table 9. The optimal planning of DGs and ESSs for the 69-Bus network (Case 2).
Algorithm DG Units ESS Units
Optimal
Locations
Optimal Sizes Optimal Locations Optimal Sizes
P (kW)Q (kVAr)P (kW)Q (kVAr)
DE1781.1454.5219136295
61398.98270.194042141
64347.69230.9361181433
SEO1030.7820.538174390
22180.25122.0749278747
61620.86410.7561289528
GWO1858.61836.4861199366
2541.5126.2764118221
61670.89429.8567212446
MVO1720.2712.93421738
2620.0012.6161316584
61690.55449.6669159322
WOA2242.9028.2762243491
2362.0341.84631324
62689.98460.0866114302
PSO27181.65122.0756204393
60155.16100.2360115262
62436.43289.8762176274
OSEDE/LFs61478.16320.0812111232
64178.24122.092188178
6555.1136.6161281526
Table 10. DISCO profit for the 69-Bus network, Case 2 (based on the results given in Table 9).
Table 10. DISCO profit for the 69-Bus network, Case 2 (based on the results given in Table 9).
Algorithm P R O F I T D I S (USD/Year)
MaxMinAvgSTD
Base case729,008.14
DE898,119.76898,054.43898,100.2031.56
SEO891,756.92891,629.72891,744.2040.23
GWO900,334.02900,253.20900,325.9025.56
MVO900,813.13900,767.78900,799.5021.91
WOA897,791.51897,721.00897,770.4034.06
PSO889,726.09889,551.00889,708.6055.37
OSEDE/LFs904,013.05903,979.67904,006.4014.07
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.

Share and Cite

MDPI and ACS Style

Mahfoud, R.J.; Alkayem, N.F.; Fernandez-Rodriguez, E.; Zheng, Y.; Sun, Y.; Zhang, S.; Zhang, Y. Evolutionary Approach for DISCO Profit Maximization by Optimal Planning of Distributed Generators and Energy Storage Systems in Active Distribution Networks. Mathematics 2024, 12, 300. https://doi.org/10.3390/math12020300

AMA Style

Mahfoud RJ, Alkayem NF, Fernandez-Rodriguez E, Zheng Y, Sun Y, Zhang S, Zhang Y. Evolutionary Approach for DISCO Profit Maximization by Optimal Planning of Distributed Generators and Energy Storage Systems in Active Distribution Networks. Mathematics. 2024; 12(2):300. https://doi.org/10.3390/math12020300

Chicago/Turabian Style

Mahfoud, Rabea Jamil, Nizar Faisal Alkayem, Emmanuel Fernandez-Rodriguez, Yuan Zheng, Yonghui Sun, Shida Zhang, and Yuquan Zhang. 2024. "Evolutionary Approach for DISCO Profit Maximization by Optimal Planning of Distributed Generators and Energy Storage Systems in Active Distribution Networks" Mathematics 12, no. 2: 300. https://doi.org/10.3390/math12020300

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop