1 Introduction

The inclusion of distributed generation (DG) into the electric power distribution system has risen quickly due to technological, economic, and environmental benefits [1,2,3] as seen in Fig. 1. Depending on the location and size of the DG, DG integration may have a beneficial or negative impact on the delivery system. The beneficial effects included into the distribution network are accomplished by positioning and sizing the DG optimally. The distribution network suffers as a result of DG’s erroneous position.

Fig. 1
figure 1

Advantages of DG benefits

Distribution companies (DISCOs) have not received the desired technological support as in transmission and generation, despite 30–40% of total investment in electric power sector is going to electric power distribution systems. In general, 3–6% of active power losses exist in electric power sector. The total distribution active power losses in developed countries are not greater than 10% of total active power losses in electric power sector. However, these active power losses are around 20% in developing countries like India. Due to this reason, electric power utilities in developing countries are trying to reduce active power losses by effective operating mechanisms like providing financial incentives. To manage active power losses in distribution network, an efficient and effective computation algorithm has to be developed for optimal placement of DG units so that active power losses in active distribution system are reduced. As per the statistics, energy sector is responsible for 70% of overall greenhouse gas emissions due to burning coal. Hence, more focus will be required in this sector. If the distribution companies are able to use low emission coefficient generators available as DG units in distribution network, then the amount of power purchased from thermal plants will be reduced. This leads to reduction of burning of coal and greenhouse gas emissions. Hence, there is a need to develop a robust computation algorithm for optimal utilization of DG units in active distribution system based on the reduction of greenhouse gas emissions. Due to these reasons, in this paper, DG placement and sizing are discussed based on active power loss and greenhouse gas emissions.

Many of the research findings have proposed various optimization methods and objective functions to identify the optimal position and scale of the DG units so that distribution businesses can benefit from adding the DG units into the distribution system. Optimal placement of DG units by considering the loss reduction as an objective using genetic algorithm for IEEE 14 and 30 bus distribution test systems is discussed in [4], for IEEE 33 and PG & E 69 bus distribution test systems is discussed in [5] and for IEEE 15 and PG & E 69 bus distribution test systems is discussed in [6]. Optimal placement of DG units in PG & E 69 bus distribution test systems by considering the loss reduction as an objective using particle swarm optimization is discussed in [7].

Optimal location and sizing of DG units in IEEE 33 and PG & E 69 bus test systems based on loss reduction using Quasi-Oppositional Chaotic Symbiotic Organisms Search (QOCSOS) algorithm are discussed in [8]. Optimal placement including sizing of DG units in IEEE 33 and 69 bus distribution test systems based on loss reduction using firefly algorithm is discussed in [9, 10] and using Hybrid Genetic Dragonfly Algorithm is discussed in [11] and using Crop Pollination Algorithm is discussed in [12]. Optimal location and size of DG units in IEEE 33 and 69 bus distribution test systems based on DISCO’s financial benefit using Self-Adaptive Levy Flight-Based Black Widow Optimizer are discussed in [13]. Optimal placement including sizing of DG units in IEEE 33 and 69 bus distribution test systems based on active power loss, reactive power loss, voltage deviation and line loading using Improved Raven Roosting Optimization is discussed in [14].

Optimal location and sizing of DG units in IEEE 33 and PG & E 69 bus test systems based on loss reduction and voltage deviation using enhanced genetic algorithm are discussed in [15], and using fuzzy logic controller, ant-lion optimization algorithm and particle swarm optimization are discussed in [16]. Optimal location and size of DG units in IEEE 33 and 69 bus distribution test systems based on voltage stability index using whale optimization are discussed in [17]. Identification of optimal location and size for DG units in IEEE 33 and PG & E 69 bus test systems based on loss reduction and voltage deviation using genetic algorithm is discussed in [18]. Optimal location and size identification for DG units in Tezpur University distribution system based on distribution loss reduction index and voltage deviation reduction index are discussed in [19]. Optimal placement of DG units in IEEE 33 bus test system based on emissions, voltage deviation and active power loss using spring search algorithm is discussed in [20]. Summary of all the discussed literature on DG placement is presented in Table 1.

Table 1 Literature information
Fig. 2
figure 2

Schematic diagram for the problem formulation

A novel improved Elitism oppositional Jaya algorithm is developed in [21] for optimal placement of DG units in IEEE 33 and 69 bus distribution test systems. Optimal placement of DG units in IEEE 33 and 69 bus distribution test systems by considering voltage limits at buses, current-carrying limits of lines, radial configuration, and no isolated node in the network as constraints is discussed in [22]. Optimal placement of renewable energy distributed generation units based on minimization of total active power loss and improvement of the voltage profile using coronavirus herd immunity optimizer is discussed in [23]. All of these study techniques contribute significantly to the optimal location of DG units, but none of them addressed the extra advantage of DISCO due to loss and emission reduction.

In this paper, a new hybrid meta-heuristic algorithm by combining jaya and red deer meta-heuristic algorithms is proposed to find the solution for DG placement optimization problem. DISCOs are getting some financial benefit due to integration of DG units. In this paper, financial benefit, i.e., DISCO’s financial benefit is derived based on loss and emission reduction. Maximization of this financial benefit is considered as an objective function subjected to constraints like thermal loading capacity of line and voltage deviation. This approach can be helpful to distribution network in environmental friendly with less carbon emissions and also with low active power losses. A brief schematic figure about the problem formulation is shown in Fig. 2.

The main contributions of this paper are as follows:

  1. 1.

    Maximization of DISCO’s financial benefit due to loss and emission reduction is considered for the first time

  2. 2.

    First time a hybrid algorithm by combining Jaya and Red Deer meta-heuristic algorithms has been developed to exploit the advantages of both Jaya and Red Deer algorithms.

  3. 3.

    The performance of the proposed algorithm on the given objective function is validated statistically by implementing on IEEE 15 bus and PG& E 69 bus test systems

The rest of the paper is organized as follows: Sect. 2 describes the methodology, Sect. 3 presents results discussion and Sect. 4 provides conclusions of this paper

2 Methodology

This section discusses the Hybrid Jaya–Red Deer optimizer (HJRDO) and offers mathematical modeling of DISCO’s financial benefit due to loss and emissions reduction. It also presents an optimization issue relating to optimal placement of DG units.

2.1 DISCO’s financial benefit (DFB)

DISCO’s profit without DG units is defined as the difference between total revenue collected from customers and total money spent to purchase the power from the grid and emission penalty and it is shown in Eq. (1).

$$\begin{aligned} \textrm{DP}_{0}=\gamma ^{c}P_{D}-\lambda (P_{D}+P_\textrm{loss}^{0})-\omega _\textrm{epf}EP_{0} \end{aligned}$$
(1)

where EP\(_{0}\) is the emission penalty for a DISCO with out any DG units. EP\(_{0}\) is computed using Eq. (2).

$$\begin{aligned} \textrm{EP}_{0}{} & {} =(\textrm{Pe}_{\textrm{SO}_{2}}\textrm{SO}_{2}^\textrm{grid}+\textrm{Pe}_{\textrm{CO}_{2}}\textrm{CO}_{2}^\textrm{grid}+\textrm{Pe}_{\textrm{NO}_{x}}\textrm{NO}_{x}^\textrm{grid}\nonumber \\{} & {} \quad +\textrm{Pe}_{\textrm{CO}}\textrm{CO}^\textrm{grid}) \times (P_{D}+P_\textrm{loss}^{0}) \end{aligned}$$
(2)

In this paper, emission participation factor between generation companies and DISCO, i.e., \(\omega _\textrm{epf}\) is considered as 0.5, which means that emission penalty is shared between generation companies and DISCO equally.

DISCO’s profit with DG units is defined as the difference between total revenue collected from customers and total money spent on emission penalty and to purchase the power from the grid and DG owners and it is shown in Eq. (3).

$$\begin{aligned} \textrm{DP}_\textrm{dg}{} & {} =\gamma ^{c}P_{D}-\lambda \left( P_{D}+P_\textrm{loss}^\textrm{dg}-\sum _{i=1}^{N_\textrm{DG}}P_\textrm{DG}^{i}\right) \nonumber \\{} & {} \quad -\sum _{i=1}^{N_\textrm{DG}}P_\textrm{DG}^{i} \times (2a_{i}P_\textrm{DG}^{i}+b_{i})-\omega _\textrm{epf}\textrm{EP}_\textrm{dg} \end{aligned}$$
(3)

Where \(\textrm{EP}_\textrm{dg}\) is the emission penalty for a DISCO with DG units. \(EP_{dg}\) is computed using Eq. (4).

$$\begin{aligned} \begin{aligned} \textrm{EP}_\textrm{dg}&=(\textrm{Pe}_{\textrm{SO}_{2}}\textrm{SO}_{2}^\textrm{grid}+\textrm{Pe}_{\textrm{CO}_{2}}\textrm{CO}_{2}^\textrm{grid}+\textrm{Pe}_{\textrm{NO}_{x}}\textrm{NO}_{x}^\textrm{grid}\\&\quad +\textrm{Pe}_\textrm{CO}\textrm{CO}^\textrm{grid}) \times (P_{D}+P_\textrm{loss}^\textrm{dg}-\sum _{i=1}^{N_\textrm{DG}}P_\textrm{DG}^{i})+\\&\quad \sum _{i=1}^{N_\textrm{DG}}(\textrm{Pe}_{\textrm{SO}_{2}}\textrm{SO}_{2}^{\textrm{DG}_{i}}+\textrm{Pe}_{\textrm{CO}_{2}}\textrm{CO}_{2}^{\textrm{DG}_{i}}\\&\quad +\textrm{Pe}_{\textrm{NO}_{x}}\textrm{NO}_{x}^{\textrm{DG}_{i}}+\textrm{Pe}_\textrm{CO}\textrm{CO}^{\textrm{DG}_{i}})\times P_\textrm{DG}^{i} \end{aligned} \end{aligned}$$
(4)

DISCO’s Financial Benefit (DFB) is used as main parameter to place DG units. DFB is defined as the difference between DISCO’s profit with and without DG units and shown in Eq. (5)

$$\begin{aligned} \textrm{DFB}{} & {} =\lambda (P_\textrm{loss}^{0}-P_\textrm{loss}^\textrm{dg})+\omega _\textrm{epf}(\textrm{EP}_{0}-\textrm{EP}_\textrm{dg})\nonumber \\{} & {} \quad +\sum _{i=1}^{N_\textrm{DG}}(\lambda -b_{i})*P_\textrm{DG}^{i}-2a_{i}(P_\textrm{DG}^{i})^{2} \end{aligned}$$
(5)

2.2 Mathematical modeling of optimization problem

Mathematical modeling of DG placement problem consists maximization of DFB as objective function equation shown in Eq. (6) and also consists constraints like voltage deviation, thermal loading limit of lines, DG size and DG location as shown in equation (7).

$$\begin{aligned} \textrm{Maximize}~~ \textrm{DFB} \end{aligned}$$
(6)

subjected to

$$\begin{aligned} \begin{aligned} V_\textrm{Lo}^{i} \le V_{i} \le V_\textrm{Up}^{i}\\ I_{l} \le I_{l}^\textrm{max}\\ 0 \le P_\textrm{DG}^{i} \le P_\textrm{DG}^{i,\textrm{Max}}\\ 2 \le P_\textrm{DG}^{i,\textrm{loc}} \le n \end{aligned} \end{aligned}$$
(7)

2.3 Hybrid Jaya–Red Deer optimizer

Jaya algorithm [24] is one of the most powerful meta-heuristic algorithm to reach near global optimum by moving the solution away from worst solution and moving toward best solution in a search space. Except for standard control factors like population size and iterations, this method does not require any extra control parameters. Jaya algorithm suffers with less local search or exploitation capability, and it may lead to converge solution at local optimum point instead of global [25].

Red Deer (RD) optimization algorithm [26] is developed based on mating process of Red Deers which are generally visible in Scotland. This optimization algorithm has good exploration and exploitation characteristics. Red Deers mating process is classified into 4 categories as shown below. The main advantage of RD optimization is better exploitation capability with Roaring of male RD phase, Fight between commander and stag phase and mating between stag and nearest hind phase.

  1. 1.

    Roaring of male RD (Local search, Exploitation)

  2. 2.

    Fight between commander and stag (Local search, Exploitation)

  3. 3.

    Mating between commander and hinds within hareem (Global search, Exploration)

  4. 4.

    Mating between commander and hinds from other hareem (Global search, Exploration)

  5. 5.

    Mating between stag and nearest hind (Exploration,Exploration)

To achieve these objectives like good exploration and exploitation capabilities, this study proposes a unique hybrid algorithm based on Jaya and Red Deer that takes use of both Jaya and Red Deer algorithms. To overcome the problem of trapping the solution toward the local optimal point, the suggested Hybrid Jaya Red Deer Optimizer (HJRDO) obtains strong local and global searching capabilities. Algorithm 1 depicts the step-by-step method for HJRDO.

figure a
figure b
Table 2 Statistical performance of proposed HJRDO method
Fig. 3
figure 3

Converging characteristics over 10 simulations—IEEE 15 bus test system

3 Analytical studies

The suggested approach was applied on IEEE 15 bus and PG & E 69 bus distribution systems to identify the best place and size for two DG units with 0.9 lagging power factor in the MATLAB. The information about maximum capacity of DG units and power factor, line and bus data of the test systems are drawn from [27]. Market clearing price to take the power from the grid is considered as 47 $/MWh; this is the realistic price taken from IEX website [28]. Fuel cost coefficient for DG units and emission coefficients data for DG units and substation bus are drawn from [29]. Backward and forward sweep load flow technique [30] is used in this paper to calculate the active power losses in the distribution system.

3.1 Case study: IEEE 15 bus radial distribution system

For determining the location and generating capacity of DG units of maximum 1MW capacity, the suggested HJRDO method is simulated ten times. For selecting the placement and generating capacity of DG unit, the best simulation in terms of greatest DISCO’s financial benefit is evaluated out of ten simulations. Table 2 shows the performance of the suggested method in a stochastic setting. As the suggested method gives the same amount of DISCO’s financial benefit above all simulations, the standard deviation is zero. A standard deviation of zero indicates that the suggested HJRDO gives a solution with no ambiguity.

Figure 3 depicts the performance curves of the proposed HJRDO for optimal DG unit placement across ten simulations. Figure 3 shows that the suggested method is converging at DFB of 34.01 $/h for all ten runs.

Table 3 shows the appropriate position and size for the two DG units in the IEEE 15 bus distribution scheme. According to Table 3, the distribution network will run at maximum DFB, i.e., 34.01 $/h, if two DG units with generating capacity of 1MW each are linked at bus 2 and 3.

Table 3 Optimal location and size of DG units—PG & E 69 bus test system

The developed HJRDO for optimal placement of DG based on DFB is compared with existing meta-heuristic algorithms like GA [31], PSO [32], BWO [33], DA [34],Red Deer Optimization [35], Jaya [24] and presented in Table 4. From Table 4, it has been observed that the proposed HJRDO method provides maximum DFB of 34.01 $/h in comparison with Red Deer Optimization, GA and PSO. The performance of the proposed HJRDO for optimal DG placement has been statistically validated using the Wilcoxon rank sum test [36], and the resultant p values are shown in Table 4. The proposed HJRDO is more significant in comparison with GA, PSO, RD and BWO as the p values of these algorithms are less than 0.05. Whereas BWO, DA and Jaya algorithms provides same DFB value as proposed HJRDO, standard deviation of these algorithms is high that represents the proposed HJRDO method has no ambiguity toward reaching final solution in comparison with BWO, DA and Jaya algorithms. The individual values of power loss and emission values at DISCO’s financial benefit of 34.01 $/h are presented in Table 5.

Table 4 Validation of proposed HJRDO method in stochastic environment—IEEE 15 bus test system
Fig. 4
figure 4

Validation in terms of converging characteristics—IEEE 15 bus test system

Figure 4 depicts a comparison of the proposed HJRDO with existing meta-heuristic algorithms in terms of convergence characteristics. The suggested HJRDO exhibits quick convergence properties. HJRDO achieves the ideal point, i.e., maximal DAB, faster than other meta-heuristic algorithms. The DA and Jaya algorithms are reaching the maximum DFB value, i.e., 34.01 $/h same as proposed HJRDO but with more uncertainty in reaching near to global optimum, whereas other meta-heuristic algorithms like GA, PSO, RD and BWO fall behind HJRDO.

Figure 5 depicts the voltage at each bus in the IEEE 15 bus distribution network. Voltage at each bus is lower in the absence of DG units in the system than in the presence of DG units owing to reverse power flow, which reduces losses and improves voltage profile. Voltage profiles with HJRDO are better than GA, PSO, RD and BWO, and almost near to one per unit.

Table 5 Optimal power loss (in MW) and emission (in kg) on IEEE 15 bus test system
Fig. 5
figure 5

Validation in terms of voltage profile—IEEE 15 bus test system

Average voltage deviation from flat voltage profile is considered as a single statistical numerical value to validate the proposed algorithm by comparing with other meta-heuristic techniques and presented in Table 6. From Table 6, it is observed that HJRDO, Jaya and DA have same mean voltage deviation from flat voltage and better then remaining meta-heuristic algorithms. Even though HJRDO has same mean voltage deviation as Jaya and DA, HJRDO has less ambiguity to reach global optimum with less standard deviation value.

3.2 Case study: PG& E 69 bus radial distribution system

The proposed HJRDO technique is simulated 10 times to determine the placement and generating capacity of two DG units with a maximum capacity of 1MW in PG& E 69 bus radial distribution system. Out of 10 simulations, the best simulation in terms of highest DFB is assessed for determining the placement and producing capacity of DG unit. The performance of the proposed approach in a stochastic situation is shown in Table 7.

Figure 6 depicts the performance curves of the proposed HJRDO for optimal DG unit placement across ten simulations. Figure 6 shows that the suggested method is converging at DFB of 41.52 $/h for all seven runs out of 10 simulations, for the remaining three simulations also solution not far from maximum DFB value.

Fig. 6
figure 6

Converging characteristics over 10 simulation Moderns—PG& E 69 bus test system

Table 8 shows the appropriate position and size for the two DG units in the PG & E 69 bus distribution scheme. According to Table 8, the distribution network will run at maximum DFB, i.e., 41.52 $/h, if two DG units with generating capacity of 1MW each are linked at bus 61.

Table 6 Validation of proposed HJRDO method in terms of average voltage deviation in IEEE 15 bus test system
Table 7 Statistical performance of proposed HJRDO method-PG& E 69 bus radial distribution system

The performance of developed HJRDO for optimal placement of DG in PG & E 69 bus test system based on DFB is compared with existing meta-heuristic algorithms like GA [31], PSO [32], BWO [33], DA [34], Red Deer Optimization [35], Jaya [24] and presented in Table 9. From Table 9, it has been observed that the proposed HJRDO method provides maximum DFB of 41.52 $/h in comparison with Red Deer Optimization, GA and PSO. The performance of the proposed HJRDO for optimal DG placement has been statistically validated using the Wilcoxon rank sum test [36], and the resultant p values are shown in Table 9. The proposed HJRDO is more significant in comparison with GA, PSO, RD, Jaya and DA as the p values of these algorithms are less than 0.05. Whereas BWO, DA and Jaya algorithms provide same DFB value as proposed HJRDO, standard deviation of these algorithms is high which represents that the proposed HJRDO method has less ambiguity toward reaching final solution in comparison with BWO, DA and Jaya algorithms.

Table 8 Optimal location and size of DG units—PG & E 69 bus test system
Table 9 Validation of proposed HJRDO method in stochastic environment—PG & E 69 bus test system

Figure 7 depicts a comparison of the proposed HJRDO with existing meta-heuristic algorithms in terms of convergence characteristics while finding the optimal location and size of DG units for PG & E 69 bus test system. The suggested HJRDO exhibits quick convergence properties. HJRDO achieves the ideal point, i.e., maximal DFB, faster than other meta-heuristic algorithms. The DA, BWO and Jaya algorithms are reaching the maximum DFB value, i.e., 41.52 $/h same as proposed HJRDO but with more uncertainty in reaching near to global optimum, whereas other meta-heuristic algorithms like GA, PSO and RD fall behind HJRDO.

Fig. 7
figure 7

Validation in terms of converging characteristics—PG & E 69 bus test system

Fig. 8
figure 8

Validation in terms of voltage profile—PG & E 69 bus test system

Figure 8 depicts the voltage at each bus in the PG & E 69 bus distribution network. Voltage at each bus is lower in the absence of DG units in the system than in the presence of DG units owing to reverse power flow, which reduces losses and improves voltage profile. Overall voltage profiles on PG & E 69 bus distribution network with HJRDO are better than GA, PSO and RD, and almost near to one per unit. Table 10 presents the optimal location and size of each DG units in both test systems with respect to each meta-heuristic algorithm. The proposed HJRDO, Jaya and DA algorithms suggest same optimal location and size for each DG unit with same value of DISCO’s financial benefit, i.e., 34.01 $/h in case of IEEE 15 bus test system and 41.52 $/h in case of PG & E 69 bus test system.

4 Conclusions

The Hybrid Jaya Red Deer Optimization (HJRDO) method was designed to discover the best location and size of DG units by combining the benefits of both jaya and red deer meta-heuristic techniques. The optimization problem that deals with optimal placement of DG units has an objective function, which is maximization of DISCO’s financial benefit based on active power losses and green house gas emissions, and it also takes bus voltage limits and thermal limits of the line into account as constraints.

Robustness of swarm intelligence-based algorithms is measured in terms of deviation from its global optimum point. If deviation is less, i.e., standard deviation is less, then the algorithm will be robust for the working problem. The performance of the proposed hybrid algorithm on the optimal DG placement problems was validated in a stochastic environment by considering two test systems, i.e., IEEE 15 bus and PG & E 69 bus test systems. For IEEE 15 bus system, the standard deviation is zero, but in case of PG & E 69 bus system, it is 0.227. But in both cases, deviation is less in comparison with other swarm intelligence based algorithms. From these results, authors concluded that the proposed algorithm has robust performance by reaching global point always in case of small test system whereas it slightly deviated from global in case of larger test systems like PG & E 69 bus.

Table 10 Optimal location and optimal size information of tested systems for different compared algorithms

Simulation results of this study show that HJRDO method provides maximum DFB for distribution companies while placing the DG units at suitable location and size with less ambiguity to reach near global optimum solution in comparison with a well known existing meta-heuristic algorithms. The proposed approach provides maximum DFB for distribution companies, i.e., 34.01 $/MWh by keeping two DG units with size 1MW at bus 2 and bus 3 in case of IEEE 15 bus and 41.52 $/MWh by keeping two DG units with size 1 MW at bus 61 in case of PG & E 69 bus test system.

This work may be beneficial to DISCO operators in other regions of the world where there are a large number of DG units accessible to integrate with the distribution network. This work may be beneficial to distribution network operators in order to incorporate DG units into the network with the greatest financial advantage. This DG placement problem may further be expanded by including emissions and dependability as goals, as well as the influence of load modeling.