1 Introduction

Generating units using fossil fuels often have low efficiency and high pollution during power generation [1], so both must be considered in engineering applications [2]. At present, even in the state-of-the-art combined cycle power plants, the energy conversion efficiency is only between 50 and 60% [3]. To improve the efficiency of the use of existing power systems, combined heat and power unit (CHP) was introduced [4]. CHP enables effective control of operating cost and pollution emissions [5, 6]. However, some references only consider the optimization of the economic aspects of CHP, ignoring the environmental advantages of the unit [7,8,9]. With the increasingly serious environmental problems, many countries around the world are actively working on energy saving and emission reduction. The economic emission dispatch as an effective way to cope with the energy crisis and environmental pollution. The purpose is to ensure reliable power supply while balancing economic efficiency and pollutant emissions, thus achieving safe and stable operation of the power system with the lowest operating costs and minimal pollution emissions [10].

The solution methods for multi-objective economic emission dispatch problems are usually divided into two types: traditional mathematical methods and heuristic algorithms. In many literatures, traditional mathematical methods are widely used in CEED and CHPEED, such as λ iteration [11], Newton–Raphson method [12], and Lagrangian multiplier method [13]. Since economic emission dispatch has high-dimensional, nonlinear, discontinuous, and non-differentiable characteristics, traditional mathematical methods often fall into local optimum or converge prematurely, making it difficult to obtain a set of optimal Pareto fronts (PF). In contrast, heuristic algorithms are empirical-based optimization methods, so they are widely used in high-complexity optimization problems such as artificial intelligence and production dispatching, such as dwarf meerkat optimization algorithm (DMO) [14], crawl search algorithm (RSA) [15], and arithmetic optimization algorithm [16]. Heuristic algorithms are a simple and effective solution for economic emission dispatch problems with valve point effects and feasible operating zones [17, 18]. To solve the CEED problem, Koridak et al. used weight coefficients to transform the bi-objective optimization problem into a single-objective optimization problem, which can lead to optimization results that depend on the setting of the weight coefficients [19]. Abdelaziz et al. used a switching factor p to determine the global and local search of the flower pollination algorithm (FPA) with a p value that is biased towards local search, which can lead the population to fall into a local optimum [20]. In reference [21], the ant colony optimization (ACO) combined with the ratio of maximum fuel cost and emissions transforms the CEED problem into an economic optimization problem, which reduces the optimization difficulty. Because fuel cost and emissions are nonlinear functions whose weight varies with the output power of the generator set, it is not reasonable to use a fixed ratio of fuel cost to emissions. A new symbiotic organisms search algorithm (NSOS) is used to solve the CEED problem with an algorithm that generates complementary terms for individuals that do not guarantee a priori an improvement in algorithm performance [22]. Sharifi et al. proposed a price penalty function to balance the relationship between economy and emissions and solved the CEED problem by spiral optimization algorithm (SOA). This method can obtain the optimal solution quickly, but the maximum capacity of each generating unit differs, which can lead to large or small emissions of other generating units when the price penalty factor is multiplied with the emissions of other generating units [23]. A gravity-based artificial bee colony algorithm is used to solve the CEED problem. The mathematical model developed in this literature is not practical because its objective function does not take into account the valve point effect of the generating unit, which can cause huge fluctuations in the output power of the generating unit [24].

The above solution methods all convert the CEED problem into a single objective for optimization by the weighting method. This method relies heavily on the reasonable assignment of weight coefficients, and it is often difficult to obtain a suitable weight without a priori knowledge. Therefore, the use of multi-objective optimization algorithms to solve such problems is a current research hotspot. In solving the CHPEED problem, NSGA-II is used to solve the CHPEED problem. Although it converges quickly to the PF, there are too few test systems and comparison algorithms to fully validate the effectiveness of NSGA-II on the CHPEED problem [25]. A particle swarm algorithm with time-varying acceleration coefficients (TVAC-PSO) is used to deal with this problem. It combines an originally fixed acceleration factor with the number of iterations to prevent the algorithm from falling into a local optimum [26]. An Indicator & crowding Distance-based Evolutionary Algorithm (IDBEA) increases the diversity of solutions in solving the CHPEED problem, but the performance of the method is heavily dependent on the setting of reference points [27]. A two-stage optimization approach is proposed in the reference [28], which first uses a multi-objective optimization algorithm based on θ domination for optimization and then selects the best compromise solution by an integrated decision-making approach. Since θ values do not use adaptive techniques, this can lead to the need for multiple solutions to determine the appropriate θ value when solving the problem.

However, the above approach to solving the CHPEED problem focuses only on how to minimize the economic emission target and does not study much about the constraints in this problem. In order to solve the problem of multi-objective and multi-constraint, a multi-objective multi-verse optimization algorithm based on a chaotic opposition strategy is proposed. And the combination of constraint processing technique ensures that the solution is in the feasible zones [29]. In the reference [30], a multi-objective line-up competition algorithm (MLCA) with diversity mechanism and constraint processing technique is proposed to solve the CHPEED problem considering valve point effect and transmission loss. In general, constraint processing techniques can be divided into repair strategy, penalty function, and rejection strategy. The repair strategy obtains individuals that satisfy the constraints by multiple cycles, and its optimization process is complex. The penalty function adds the constraint violation value to the objective function by the penalty factor, and it is very dependent on the value of the penalty factor. The rejection strategy selects the superior individual by comparing the constraint violation values of two individuals, and this strategy is simple and effective. The constraint processing techniques proposed in references [29, 30] are based on the repair approach. Therefore, a two-stage cooperative multi-objective evolutionary differential algorithm incorporating rejection strategy is proposed to solve the CHPEED problem in this study. The method is divided into two stages: the first stage uses a dual-population strategy, in which two populations use different adaptive differential operators and obtain offspring according to the ε-constrained processing technique and the Pareto principle to ensure that the population gets more superior individuals; in the second stage, to ensure a more uniform PF for the economic emission dispatch problem, the elite population and ordinary population are combined into one population and evolve according to the adaptive differential operator and CDP. The experimental results of CEED and CHPEED show that the TCADEA algorithm is able to obtain solutions with better distributivity.

The main contributions of this article are as follows:

  1. 1.

    A two-stage cooperative multi-objective evolutionary differential algorithm (TCADEA) is proposed. The method uses a two-stage framework for optimization. The first stage uses a dual-population mutation strategy to generate offspring and then updates the solution through an ε-constraint processing technique. For example, the dual-population strategy generates offspring through adaptive differential operators, and the ε-constrained processing technique selects the next generation of populations through ε-constrained non-dominated sorting. The second stage obtains offspring by single-population optimization and CDP. For example, elite population and ordinary population are combined into a single population to obtain offspring by differential operator, and then the next-generation population is obtained by environmental selection according to CDP.

  2. 2.

    The CEED and CHPEED problems with valve point effect and transmission loss are solved.

  3. 3.

    The simulation experiments are performed for the CEED problem and the CHPEED problem. TCADEA obtained better results on four cases compared to MODE, NSGA-II and TOP. For example, in Case 4, the TCADEA algorithm reduces $0.034 × 106, $0.008 × 106, $0.07 × 106 and 113 × 105 lb, 102 × 105 lb, 155 × 105 lb in fuel cost and emissions compared to MODE, NSGA-II, and TOP, respectively.

The rest of this paper is organized as follows. Section 2 introduces two typical models of economic emission dispatch problems: the CEED problem and the CHPEED problem. Section 3 describes the overall framework of the algorithm and gives the implementation details of the algorithm. Section 4 is a comparative experiment, comparing and analyzing the advantages and disadvantages of the proposed algorithm and other algorithms. Section 5 summarizes the main work of this article.

2 Economic Emission Dispatch Problem

Economic emission dispatch problems are roughly divided into CEED problems and CHPEED problems. They are a multi-objective dispatch problem that minimizes fuel cost and pollution emissions while satisfying multiple constraints. The general multi-objective problem model is as follows:

$$\begin{aligned} \min \, F\left( x \right) & = \left[ {F_{1} \left( x \right),F_{2} \left( x \right)} \right] \\ s.t. \, g\left( x \right) & = \left[ {g_{1} \left( x \right),g_{2} \left( x \right), \ldots ,g_{K} \left( x \right)} \right] \le 0 \\ \, h\left( x \right) & = \left[ {h_{1} \left( x \right),h_{2} \left( x \right), \ldots ,h_{M} \left( x \right)} \right] = 0 \\ \, x & = \left[ {x_{1} ,x_{2} , \ldots ,x_{d} , \ldots ,x_{D} } \right] \\ \, x_{d}^{\min } & \le x_{d} \le x_{d}^{\max } ,\left( {d = 1,2, \ldots ,D} \right) \\ \end{aligned}$$
(1)

where \(F_{1} \left( x \right)\) and \(F_{2} \left( x \right),\) respectively, represent operating cost and pollution emission, \(g\left( x \right)\) represents k-term inequality constraint, \(h\left( x \right)\) represents M-term equality constraint, X represents output power of D generator unit, and \(x_{d}^{{{\text{min}}}}\) and \(x_{d}^{{{\text{max}}}}\) represent upper and lower limits of output power of each unit.

2.1 Formulation of CEED Problem

2.1.1 Objective Function

In the real power generation process, the plucking phenomenon caused by the sudden opening of the turbine inlet valve will cause the pulsation effect of the unit consumption characteristics, i.e., the valve point effect [31]. In order to ensure the accuracy of solving the CEED problem, the valve point effect should be considered when establishing the mathematical model of the problem.

The fuel cost of the generator unit is shown in Eq. (2).

$$F_{1} \left( x \right) = \sum\limits_{i = 1}^{{M_{p} }} {a_{i} P_{i}^{2} } + b_{i} P_{i} + c_{i} { + }\left| {d_{i} \sin \left\{ {e_{i} \left( {P_{i}^{\min } - P_{i} } \right)} \right\}} \right|$$
(2)

where \(\left| {d_{i} {\text{sin}}\left\{ {e_{i} \left( {P_{i}^{{{\text{min}}}} - P_{i} } \right)} \right\}} \right|\) represents the valve point effect, \(e_{i}\) and \(d_{i}\) represent the cost coefficient of the ith power-only unit, \(P_{i}^{{{\text{min}}}}\) represents the minimum output power of the ith power-only unit, \(P_{i}\) represents the actual output power of the ith power-only unit, \(a_{i}\), \(b_{i}\), \(c_{i}\) represent the cost coefficient of the ith power-only unit, and \(M_{p}\) represents the number of power-only units.

When fossil fuels are used for power generation, the power generation system produces various harmful gases that pollute the environment (here mainly \(NO_{x}\), \(SO_{x}\), \(CO_{2}\)). The emissions are shown as follows:

$$F_{2} \left( x \right) = \sum\limits_{{i{ = 1}}}^{{M_{p} }} {g_{i} P_{i}^{2} + h_{i} P_{i} + k_{i} + n_{i} e^{{l_{i} P_{i} }} }$$
(3)

where \(g_{i}\), \(h_{i}\), \(k_{i}\), \(l_{i}\) represent the emission coefficient of the ith power-only unit.

2.1.2 Constraints

In the CEED problem, the energy balance constraint and the power constraints of each unit are considered mainly, which are summarized as follows.

The power generated by the unit is equal to the sum of the power required on the load side plus the transmission losses between the units.

$$\sum\limits_{{i{ = 1}}}^{{M_{p} }} {P_{i} } = Pd + Pl$$
(4)

where \(Pd\) represents the electricity demand on the load side. Transmission loss \(Pl\) is shown by Eq. (5).

$$Pl{ = }\sum\limits_{i = 1}^{{M_{p} }} {\sum\limits_{j = 1}^{{M_{p} }} {P_{i} P_{j} B_{ij} + \sum\limits_{i = 1}^{{M_{p} }} {B_{0i} P_{i} + B_{00} } } }$$
(5)

where \(B_{ij}\) represents the loss coefficient between the ith power-only unit and the jth power-only unit, \(B_{0i}\) represents the loss coefficient of the ith power-only unit, and \(B_{00}\) represents the loss coefficient parameter.

Power constraints of each unit.

$$P_{i}^{\min } \le P_{i} \le P_{i}^{\max } \, , \, i = 1,2,...,M_{p}$$
(6)

where \(P_{i}^{{{\text{min}}}}\) and \(P_{i}^{{{\text{max}}}}\), respectively, represent the minimum power and maximum power of the ith power-only units.

2.2 Formulation of CHPEED Problem

2.2.1 Objective Function

The CHPEED problem results in better operating cost and emissions of the power generation system due to the incorporation of CHP [32]. The fuel cost function and emission function of the CHPEED problem are added to the fuel cost and emission of the CHP and the heat-only unit. The expressions are shown in Eqs. (7) and (8).

$$\begin{aligned} F_{1} \left( x \right) & = \sum\limits_{i = 1}^{{M_{P} }} {C_{p,i} \left( {p_{i} } \right)} + \sum\limits_{j = 1}^{{M_{c} }} {C_{c,j} \left( {O_{j} ,H_{j} } \right) + \sum\limits_{n = 1}^{{M_{h} }} {C_{h,n} \left( {T_{n} } \right)} } \\ \, & { = }\sum\limits_{i = 1}^{{M_{p} }} {a_{i} P_{i}^{2} } + b_{i} P_{i} + c_{i} { + }\left| {d_{i} \sin \left\{ {e_{i} \left( {P_{i}^{\min } - P_{i} } \right)} \right\}} \right| \, \\ \, & \quad { + }\sum\limits_{j = 1}^{{M_{c} }} {\left[ {\alpha_{j} O_{j}^{2} + \beta_{j} O_{j} + \chi_{i} + \varphi_{i} H_{j}^{2} + \gamma_{j} H_{j} + \eta_{j} O_{j} H_{j} } \right]} \\ \, & \quad + \sum\limits_{n = 1}^{{M_{h} }} {\left[ {\iota_{n} T_{n}^{2} + \kappa_{n} T_{n} + \lambda_{n} } \right]} \\ \end{aligned}$$
(7)

where \(C_{p,i}\), \(C_{c,j}\), \(C_{h,n}\), respectively, represent the fuel cost of the ith power-only unit, the jth CHP unit and the nth heat-only unit. \(P_{i}\) represents the actual power generation of the ith power-only unit, \(O_{j}\) represents the actual power generation of the jth CHP unit, \(H_{j}\), \(T_{n}\) respectively represent the actual heat production power of the jth CHP unit and the nth heat-only unit, \(\alpha_{j}\), \(\beta_{j}\), \(\chi_{j}\), \(\varphi_{j}\), \(\gamma_{j}\), \(\eta_{j}\) represent the cost coefficients of the jth CHP unit, and \(\iota_{n}\), \(\kappa_{n}\), \(\lambda_{n}\) represent the cost coefficients of the nth heat-only unit.

$$\begin{aligned} F_{2} \left( x \right) & = \sum\limits_{i = 1}^{{M_{p} }} {E_{p,i} \left( {P_{i} } \right)} + \sum\limits_{j = 1}^{Mc} {E_{c,j} \left( {O_{j} ,H_{j} } \right)} + \sum\limits_{n = 1}^{{M_{h} }} {E_{h,n} \left( {T_{n} } \right)} \\ & { = }\sum\limits_{{i{ = 1}}}^{{M_{p} }} {g_{i} P_{i}^{2} + h_{i} P_{i} + k_{i} + n_{i} e^{{l_{i} P_{i} }} } \\ & \quad { + }\sum\limits_{j = 1}^{{M_{c} }} {\mu {}_{j}O_{j} + } \sum\limits_{n = 1}^{{M_{h} }} {\nu_{n} T_{n} } \\ \end{aligned}$$
(8)

where \(E_{p,i}\), \(E_{c,j}\), \(E_{h,n}\), respectively, represent the emissions of the ith power-only unit, the jth CHP unit, and the nth heat-only unit. \(\mu_{j}\) represents the emission coefficient of the jth CHP unit, \(\nu_{n}\) represents the emission coefficient of the nth heat-only unit, and \(M_{c}\), \(M_{h}\), respectively, represent the number of CHP unit and heat-only unit.

2.2.2 Constraints

Due to the incorporation of the CHP unit, it is important to ensure that the power of the CHP unit is in the feasible operating zone, in addition to considering the basic constraints of the power-only unit. As can be seen in Fig. 1, points A, B, C, D, E, and F constitute the feasible operating zone for the CHP unit. In this operating zone, there is a strong dependence between the heat and power production capacity of the CHP unit, i.e., as the heat production capacity changes, so does its power production capacity, and vice versa. For example, in the BC section, as the electrical output of the CHP unit decreases, its thermal output gradually increases. In the CD section, as the thermal output of the CHP unit rises, its electrical output rises gradually.

Fig. 1
figure 1

Feasible operation area of cogeneration unit

The power balance constraint is defined as the actual power generated by the power-only unit and CHP unit equal to the load side power plus the transmission losses between the units.

$$\sum\limits_{{i{ = 1}}}^{{M_{p} }} {P_{i} } + \sum\limits_{j = 1}^{{M_{c} }} {O_{j} } = Pd + Pl$$
(9)

where \(Pd\) represents the electricity demand on the load side. Transmission loss \(Pl\) is shown by Eq. (10).

$$\begin{aligned} Pl & { = }\sum\limits_{i = 1}^{{M_{p} }} {\sum\limits_{j = 1}^{{M_{p} }} {P_{i} P_{j} B_{ij} } } + \sum\limits_{i = 1}^{{M_{p} }} {\sum\limits_{j = 1}^{{M_{c} }} {P_{i} O_{j} B_{ij} } } \\ & \quad { + }\sum\limits_{i = 1}^{{M_{c} }} {\sum\limits_{j = 1}^{{M_{c} }} {O_{i} O_{j} B_{ij} } } + \sum\limits_{j = 1}^{{M_{c} }} {B_{0j} O_{j} } + \sum\limits_{i = 1}^{{M_{p} }} {B_{0i} P_{i} + B_{00} } \\ \end{aligned}$$
(10)

where \(B_{ij}\) represents the transmission loss coefficient between the two generating units, \(B_{0i}\) represents the self-loss coefficient of each generating unit, and \(B_{00}\) represents a constant loss coefficient.

The thermal power balance required on the load side is shown in Eq. (11).

$$\sum\limits_{{\text{n = 1}}}^{{M_{h} }} {T_{n} } + \sum\limits_{j = 1}^{{M_{c} }} {H_{j} } = Hd$$
(11)

where \(Hd\) represents the total heat demand by the load in the system.

All power-only units, CHP units, and heat-only units have to meet the capacity constraints of the units [33].

$$P_{i}^{\min } \le P_{i} \le P_{i}^{\max } ,\quad \, i = 1,2, \ldots ,M_{p}$$
(12)
$$T_{n}^{\min } \le T_{n} \le T_{n}^{\max } ,\quad \, n = 1,2, \ldots ,M_{n}$$
(13)
$$O_{j}^{\min } \left( {H_{j} } \right) \le O_{j} \le O_{j}^{\max } \left( {H_{j} } \right),\quad \, j = 1,2, \ldots ,M_{c}$$
(14)
$$H_{j}^{\min } \left( {O_{j} } \right) \le H_{j} \le H_{j}^{\max } \left( {O_{j} } \right),\quad \, j = 1,2, \ldots ,M_{c}$$
(15)

where \(T_{n}^{{{\text{min}}}}\), \(T_{n}^{{{\text{max}}}}\) represent the lower and upper limits of the nth heat-only unit, \(O_{j}^{{{\text{min}}}}\), \(O_{j}^{{{\text{max}}}}\) A and B represent the lower and upper limits of the power production of the jth CHP unit, \(H_{j}^{{{\text{min}}}}\), \(H_{j}^{{{\text{max}}}}\) represent the lower and upper limits of the heat production power of the jth CHP unit, \(T_{n}\), \(H_{j}\), \(O_{j}\), respectively, represent the actual heat production power of the nth heat-only unit and the actual heat production power and actual power production of the jth CHP unit.

3 Two-Stage Collaborative Multi-objective Differential Evolution Algorithm

3.1 Differential Evolution

Differential evolution (DE) was first proposed by Storn and Price [34]. Because the algorithm has good search ability and robustness, it is now widely used in various practical problems. DE consists of three main processes: mutation, crossover, and selection.

First, the differential operator uses a mutation strategy to generate a set of target vectors \(X_{i,G}^{D} = \left( {X_{i,G}^{1} ,X_{i,G}^{2} ,X_{i,G,}^{3} , \ldots ,X_{i,G}^{D} } \right)\), where D represents the dimension of the decision space, G is the number of iterations, \(i = 1,2, \ldots ,N\), where \(N\) represents the population size. The commonly used mutation strategies are as follows.

$$V_{i,G} = X_{r1,G} + F \cdot \left( {X_{r2,G} - X_{r3,G} } \right)$$
(16)

where, \(X_{r1,G}\), \(X_{r2,G}\), \(X_{r3,G}\) represent individuals randomly selected from the population of the Gth iteration, and these individuals are not equal to each other. F represents a mutation rate.

Crossover, each individual \(X_{i,G}\) of the G-generation population and the variant individual \(V_{i,G}\) perform crossover operations between individuals.

$$U_{ij,G} = \left\{ {\begin{array}{*{20}l} {V_{ij,G} {,}} \hfill & {\quad {\text{if}}\;rand{ < }CR\;{\text{or}}\;j = j_{rand} } \hfill \\ {X_{ij,G} ,} \hfill & {\quad {\text{others}}} \hfill \\ \end{array} } \right.$$
(17)

where CR represents the crossover rate and \(j_{rand}\) represents an integer randomly selected from the decision dimension D, which guarantees that \(X_{i,G}\) and \(V_{i,G}\) are different in a certain dimension. \(U_{ij,G}\) represents crossover individuals.

Selection, follow the principle of greed to select the next generation of individuals.

$$X_{i,G + 1} = \left\{ {\begin{array}{*{20}l} {U_{i,G} {,}} \hfill & {\quad {\text{if}}\;f\left( {U_{i,G} } \right) < f\left( {X_{i,G} } \right)} \hfill \\ {X_{i,G} {,}} \hfill & {\quad {\text{others}}} \hfill \\ \end{array} } \right.$$
(18)

where \(f\left( \cdot \right)\) represents the fitness of the individual and \(X_{i,G + 1}\) represents the next generation of individuals.

3.2 Two-Stage Cooperative Multi-objective Evolutionary Differential Algorithm

DE is widely used for solving complex optimization problems. However, DE cannot obtain a set of optimal PF when solving multi-constraint and multi-objective problems. For this reason, a two-stage cooperative multi-objective differential algorithm (TCADEA) is proposed in this paper to obtain the PF for multi-objective and multi-constrained CHPEED problems. TCADEA uses a two-stage framework. The first stage uses different mutation strategies to update elite population and ordinary population and uses ε-constrained non-dominated sorting to ensure that populations obtain a large number of feasible solutions. The second stage ensures that the population finds more good individuals in the feasible domain by means of the differential operator and constrained non-dominated sorting. In addition, adaptive techniques are used to update the differential control parameters throughout the evolutionary process. The overall framework is shown in Fig. 2.

Fig. 2
figure 2

Framework of TCADEA

3.2.1 The First Stage

The first stage aims to find a large number of feasible solution individuals in the target space. Therefore, the use of a dual-population framework and ε-constrained non-dominated sorting in this stage is to ensure that the population can obtain high-quality solution quickly.

  1. (a)

    Dual-population framework

Elite population contain high-quality individuals in the population, and elite individuals undergo evolution to provide more high-quality solutions to the population. Therefore, the elite population uses the following mutation strategy to generate offspring.

$$X_{i,G} = X_{i,G} + F_{G} \cdot \left( {X_{r1,G} - X_{r2,G} } \right)$$
(19)

where \(X_{i,G}\), \(X_{r1,G}\), \(X_{r2,G}\) represents the different individuals in the elite population. \(F_{G}\) represents the mutation rate.

The ordinary population contains secondary individuals of the population that need to be guided by elite individuals to obtain better offspring. Its mutation strategy is as follows.

$$\begin{aligned} X_{i,G}& = X_{i,G} + F_{G} \cdot \left( {X_{best,G} - X_{i,G} } \right)\\ &\quad + F_{\max } \cdot \left( {X_{{r{1},G}} - X_{{r{2},G}} } \right)\end{aligned}$$
(20)

where \(X_{i,G}\), \(X_{r1,G}\), \(X_{r2,G}\) represent the different individuals in the ordinary population. \(X_{{{\text{best}},G}}\) represents elite individual. \(F_{{{\text{max}}}}\) represents the maximum mutation rate.

Figure 3 shows the effects of the two mutation strategies on the two populations. In Fig. 3a, elite individual \(x_{1}^{G}\) combined with other elite individuals \(x_{2}^{G}\). and \(x_{3}^{G}\) generates more elite individuals through Eq. (19). In Fig. 3b, ordinary individual \(x_{1}^{G}\) combined with other ordinary individuals \(x_{2}^{G}\) and \(x_{3}^{G}\) under the guidance of elite individual \(x_{{{\text{best}}}}^{G}\) through Eq. (20) to produce individuals with better target value, which can provide more solutions to the elite population in the process of selecting the next generation of individuals.

Fig. 3
figure 3

Mutation strategy diagram

In order to dynamically adjust the mutation rate F and crossover rate CR in the differential operator, an adaptive parameter technique is proposed in this paper. It is shown as follows:

$$F_{G} = F_{\max } \cdot \left( {1 - gen} \right)$$
(21)
$$CR_{G} { = }\left\{ {\begin{array}{*{20}l} {{0}{\text{.8}}} \hfill & {\quad {\text{if}}\;G < \partial \cdot {\text{maxgen}} } \hfill \\ {0.2} \hfill & {\quad {\text{others}}} \hfill \\ \end{array} } \right.$$
(22)

where \(F_{{{\text{max}}}}\) represents the maximum mutation rate and \(gen\) represents the ratio of the number of iterations G to the maximum number of iterations maxgen.

  1. (b)

    \(\varepsilon\)-Constrained non-dominated sorting

To solve the multi-objective and multi-constraint conditions in the economic emission dispatch problem, an \(\varepsilon\)-constrained non-dominated sorting is proposed in this paper. The purpose of this method is to set a constraint violation threshold \(\varepsilon\) to select individuals in the population with small target and constraint violation values, and to produce offspring with good target values by combining these individuals with feasible individuals in the population where \(\varepsilon\)-constrained non-dominated sorting and threshold ε are shown in Fig. 4 and Eq. (21), respectively.

Fig. 4
figure 4

ε-constrained non-dominated sorting

Figure 4 shows that the population selects individuals by ε-constrained non-dominated sorting. Individuals B, C, and D are infeasible individuals in the Figure, where individuals C and D possess good target values. Since the constraint violation values of individuals C and D are less than ε and the constraint violation value of individual B is greater than ε, individuals C and D are selected into the second level and individual B is placed in the last level. Through ε-constrained non-dominance ranking, the population is able to obtain valid information among infeasible individuals to enable the population to produce more high-quality solutions.

$$\varepsilon \left( G \right) =\left\{ \begin{array}{*{20}l} {\Phi_{\max }^{G} } \hfill & {\quad {\text{if}}\;G = 0} \hfill \\ {\left( {1 - \psi } \right) * \varepsilon \left( {G - 1} \right)} \hfill & {\quad {\text{if}}\;Pf^{G} < \Upsilon ,\;\left( {1 - \psi } \right) * \varepsilon \left( {G - 1} \right) > \Phi_{\min }^{G} } \hfill \\ {rand()*\left( {\Phi_{\max }^{G} - \Phi_{\min }^{G} } \right) \, + \Phi_{\min }^{G} } \hfill & {\quad {\text{if}}\;Pf^{G} < \Upsilon ,\left( {1 - \psi } \right) * \varepsilon \left( {G - 1} \right) < \Phi_{\min }^{G} } \hfill \\ {0} \hfill & {\quad {\text{if}}\;Pf^{G} \ge \Upsilon } \hfill \\ \end{array} \right.$$
(23)

where \(\Phi_{{{\text{max}}}}^{G}\), \(\Phi_{{{\text{min}}}}^{G}\), respectively, represent the maximum and minimum values of contemporary constraint violations, \(Pf^{G}\) represents the ratio of feasible solutions in the contemporary population. \(\Upsilon\) represents the search preference for controlling feasible and infeasible regions. \(\psi\) represents the reduction in the value of \(Pf^{G} < \Upsilon\) when \(\varepsilon\) is controlled. When \(\left( {1 - \psi } \right){*}\varepsilon \left( {G - 1} \right) < \Phi_{{{\text{min}}}}^{G}\), it is necessary to quantify the channel individuals to ensure that the population is moving in the optimal direction, and then the value of \(\varepsilon\) is reset to \(rand() \cdot \left( {\Phi_{{{\text{max}}}}^{G} - \Phi_{{{\text{min}}}}^{G} } \right) + \Phi_{{{\text{min}}}}^{G}\).

3.2.2 The Second Stage

When a large number of feasible solutions are found in the first stage, we combined the elite population with the ordinary population and ensured that the population could obtain more feasible solutions by updating the population using the adaptive difference operator and selecting the next generation according to the CDP. As shown in Fig. 5, when entering the second stage, most of the solutions in the population lie within the feasible region and the target values do not differ much. Therefore, there is no need to divide the population into two populations, and it is sufficient to generate offspring by adaptive differential operators. The next generation is also selected according to CDP, i.e., the feasibility of both individuals is checked first. If both individuals are feasible, the individuals are selected based on Pareto dominance. In Fig. 5, A is an infeasible individual and B and C are feasible individuals. According to the CDP, A is compared with B and C to eliminate individual A, and B is compared with C. Based on Pareto dominance, individual B wins.

Fig. 5
figure 5

Stage 2

When the population enters the second stage, the following criteria need to be met:

  1. 1.

    The overall constraint violation value Aoc in the first stage varies less than Ve at n generations apart

    $$A{\text{oc}} = \frac{{\left| {sum(\varepsilon_{G} ) - sum\left( {\varepsilon_{G - n} } \right)} \right|}}{{sum\left( {\varepsilon_{G} } \right)}} \, < \, Ve$$
    (24)
  2. 2.

    The contemporary constraint violation average Ave is less than Cva

    $$Ave = \frac{{sum(\varepsilon_{G} )}}{N} \, < \, Cva$$
    (25)

    Here Ve and Cva are set to 10−3 and 10−4, respectively. \({\varepsilon }_{\mathrm{G}}\) represents the constraint violation value for each individual in the G-th generation. Condition 1 determines whether the population reaches the neighborhood of the feasible region. Condition 2 determines the proportion of feasible solutions in the population.

3.2.3 Algorithm Steps

Through the above analysis of the algorithm proposed in this article, we can get its specific steps:

  • Step 1: The initial population \(P\) is generated according to the power interval of each unit. Set the population size to \(N\), the maximum number of iterations to \(\mathrm{max}gen\), and the number of iterations counter to m = 0.

  • Step 2: Determine whether m is greater than or equal to maxgen. If it holds, output PF. Otherwise, execute the following steps.

  • Step 3: Determine whether Eqs. (24) and (25) are valid. If it holds, skip to step 7. Otherwise, perform step 4.

  • Step 4: The population is divided into elite population P1 and ordinary population P2 according to the non-dominated level and crowding; the elite population P1 uses Eq. (19) to generate offspring, and the ordinary population uses Eq. (20) to generate offspring and calculate the target value for each individual.

  • Step 5: Obtaining next-generation populations by ε-constrained non-dominated sorting.

  • Step 6: Update Aoc and Ave with m = m + 1 and return to step 2.

  • Step 7: Determine whether m is greater than or equal to maxgen. If it holds, output PF. If not, execute the following steps.

  • Step 8: The elite population P1 and ordinary population P2 are combined into one population and the offspring are generated according to Eq. (19).

  • Step 9: Get the next generation according to CDP.

  • Step 10: Update m = m + 1 and return to step 7.

4 Experimental Results and Analysis

In this section, firstly, the effectiveness of the algorithm proposed in this paper is verified using a test function. Secondly, to test the feasibility of the algorithm in real-world problems, we use three standard cases as well as a real case to verify it. Case 1 includes one power-only unit, one heat-only unit and three CHP units. Case 2 includes ten pure electric units with valve point effects and transmission loss. Case 3 includes four power-only units, two CHP units, and one heat-only unit, with valve point effects and transmission loss. NSGA-II, TOP, and MODE are compared with the proposed algorithm with a population size of 100 and a maximum number of iterations of 200, where the maximum number of iterations for the real case is 1000. The proposed algorithm was implemented in Matlab 2018b and executed on a PC equipped with an Intel Core i5 processor with 4 GB of memory.

4.1 Algorithm Improvement Effectiveness Test

Considering that CEED and CHPEED are constrained multi-objective minimization problems, we use the constrained multi-objective model of reference [35]. TCADEA was compared with MODE, NSGA2, and TOP [36] on the constrained multi-objective test set CF.

In order to analyze the performance of the TCADEA algorithm more easily, the inverse generation distance (IGD) and the hypervolume (HV) will be used for qualitative evaluation. IGD and HV can simultaneously reflect the convergence and diversity of the algorithm. + , − and ≈ A, B and C, respectively, represent that other algorithms are better, TCADEA is better, and there is no significant difference between them.

As seen in Table 1, the TCADEA algorithm obtains significantly better results on the seven test problems and the proposed algorithm has an IGD close to 0 and the HV value is the largest, which shows that the proposed algorithm maintains population convergence while ensuring better population distributivity. This is because the constraint processing technique adopted in this paper is able to handle the constraints in the constraint problem very well. Meanwhile, the adopted dual-population framework can improve the convergence of populations by adopting different mutation strategies according to the characteristics of different populations. The bolded black font in the tables all represent excellent values in a given problem in this paper.

Table 1 Various index values of different algorithms in the test function

Due to the stochastic character of intelligent optimization algorithms, the results of a single run do not prove that the algorithm can solve a problem well. Therefore, to demonstrate the robustness of TCADEA for economic emission dispatch problems, we will perform 100 experiments for each of the different cases and compare them with MODE, NSGA-II, and TOP. It can be seen from Fig. 6 that the distribution of solutions obtained by the TCADEA algorithm is concentrated compared to MODE, NSGA-II, and TOP, which shows the good robustness of the TCADEA algorithm in the economic emission dispatch problem.

Fig. 6
figure 6

Robustness distribution diagram of different cases

4.2 Case 1

This case has a total of five units, one power-only unit, three CHP units and one heat-only unit. The electrical load demand is 300 MW, and the heat load demand is 150 MWth. The model parameters can be found in [27]. To demonstrate more intuitively the distributivity of the solutions solved by the algorithm, we compare the optimal PFs obtained at the end of the run for NSGA-II, MODE, TOP, and TCADEA, as shown in Fig. 7.

Fig. 7
figure 7

PF of the four test algorithms in Case 1

It can be seen from Fig. 7 that TCADEA can obtain a uniform and convergent PF in the CHPEED problem. Compared to NSGA-II, MODE, and TOP, TCADEA contains a more extensive solution and offers a lot more options. Figure 7 demonstrates that TCADEA has a good ability to optimize this problem. It is also evident that fuel costs and emissions are two conflicting goals. As the fuel cost increases, it leads to a decrease in emissions. Therefore, to facilitate the comparison between TCADEA and other algorithms, we take the best compromise solution from the optimal solution set. The best compromise solution is the one that is the most intermediate solution in the PF, i.e., by ranking the PFs according to their economic objectives to obtain the ranking order, and then selecting the individual with the middle ranking number as the best compromise solution to the optimization problem. The best compromise solution is indicated by an asterisk in Fig. 7.

Table 2 shows the best compromise solutions for NSGA-II, TOP, IDBEA, BCS1, MODE, and TCADEA. By analyzing the model parameters in [27], we can know that the impact of power-only units on emissions is high and the impact of electrical power of CHP units on fuel costs is high. In Table 2, the output of the power-only unit of TCADEA is 85.9 MW, which is the smallest among several tested algorithms, and the total electrical power of the CHP unit is also the smallest. As a result, the fuel cost of TCADEA is reduced by $84, $55, $57, $151.3, and $35, and the emissions are reduced by 0.17 kg, 0.1 kg, 0.07 kg, 0.27 kg, and 0.37 kg, respectively.

Table 2 Results obtained in Case 1 for different testing algorithms

Figure 8 shows the unit output power for the economic optimal solution (ECOS) and the emission optimal solution (EMOS) obtained by the TOP and TCADEA algorithms in Case 1. From the analysis of Table 2, it is clear that the impact of power-only units on emissions is high and the impact of electrical power of CHP units on fuel costs is high. Among the three CHP units, the power increase of unit 2 has the greatest impact on fuel cost. In Fig. 8a, the electric power of TCADEA's CHP unit is 6 MW less than TOP, so TCADEA can obtain lower fuel cost. In Fig. 8b, the output power of TCADEA's power-only unit is 6.7 MW less than TOP, so TCADEA gets less emissions.

Fig. 8
figure 8

Unit power of ECOS and EMOS in Case 1 for TCADEA and TOP

The convergence and diversity of the obtained solution sets are verified using the metrics in reference [37]. Some of the evaluation metrics in multi-objective optimization algorithms require reference solution sets, but in practical problems there are often no reference solution sets. Therefore, to facilitate the comparison of the results in the paper, three metrics are selected to compare the convergence and diversity of the algorithms, namely hypervolume (HV), spacing metric (SM), diversity metric (DM). The HV is used to evaluate the convergence of the algorithm. The SM and the DM evaluate the uniformity and extensiveness of the solution set, respectively, and the combination of both can be used to evaluate the diversity of the algorithm.

In Table 3, the HV of TCADEA is the largest, and SM and DM are close to zero with regard to the other algorithms, which shows that the TCADEA algorithm can obtain better PF and has good convergence and diversity in Case 1.

Table 3 Various index values of different test algorithms in Case 1

4.3 Case 2

In order to verify the broadness of the proposed algorithm in practical applications, the algorithm is applied to the CEED problem. The case has a total of ten power-only units, with valve point effects and transmission loss. The electrical load demand is 2000 MW, and the model parameters are available in Reference [38].

The analysis of the model parameters for this Case shows that unit 9 has the greatest impact on the fuel cost and emissions of CEED. In Table 4, the output power of unit 9 obtained by TCADEA is the smallest compared to NSGA-II, TOP, MODE, PDE, and GSA, with the result of 428.158 MW. As a result, TCADEA's fuel costs and emissions were reduced by $199.7, $105.8, $125.2, $31.7, $7.2 and 4.8 lb, 11.4 lb, 19.9 lb, 4 lb, 4 lb, respectively. It is worth noting that the transmission loss of TCADEA is the smallest because the transmission loss is related to the output power of the unit, and the output power of each unit of the proposed algorithm is the smallest sum. In summary, TCADEA is more effective in energy saving and emission reduction in the CEED problem.

Table 4 Results of different test algorithms in Case 2

Figure 9 shows the PFs obtained by MODE, NSGA-II, TOP, and TCADEA for the CEED problem. In Fig. 9, the PF of TCADEA possesses good extensiveness and uniformity. Compared with NSGA-II, MODE, and TOP, most of the solutions of TCADEA are better than all three, which can more intuitively show that TCADEA has good superiority in the CEED problem.

Fig. 9
figure 9

The PFs of the four test algorithms in Case 2

From Table 5, it can be seen that TCADEA is $333, $136, and $377 less than MODE, NSGA-II, and TOP, respectively, in the fuel cost optimum case. In the emission optimal case, TCADEA emits 22.6 lb, 12.6 lb, and 15.8 lb less than MODE, NSGA-II, and TOP, respectively. This shows that the TCADEA algorithm provides a more extensive solution for decision makers.

Table 5 Multiple solutions of the test algorithm in Case 2

Figure 10 shows the unit output power of ECOS and EMOS obtained by TOP and TCADEA algorithms in Case 2. The analysis of the model parameters shows that the squared term coefficients in the fuel cost functions of units 7–10 are the smallest among all units, so the amount of their changes has the least effect on the fuel cost functions when the output power of the units increases. The quadratic term coefficients in the emission functions of units 1–4 are − 80 times the primary term coefficients, while units 7–10 are − 110 times, which indicates that the changes in emissions are mainly caused by units 7–10. In Fig. 10a, the output of unit 7–10 in TCADEA is larger than that of TOP, so it has a smaller change in fuel cost. In Fig. 10b, the emission of unit 7–10 in TCADEA is 2086.7 lb, and the emission of unit 7–10 in TOP is 2102.1 lb, so it is obvious that the emission of TCADEA is less.

Fig. 10
figure 10

Unit power of ECOS and EMOS in Case 2 for TCADEA and TOP

In Table 6, TCADEA has a larger HV and smaller SM and DM compared to NSGA-II, MODE and TOP. This shows that the TCADEA algorithm is able to obtain better PF and the diversity of the solutions obtained.

Table 6 Various index values of different test algorithms in Case 2

4.4 Case 3

To better demonstrate the practicality and validity of the method in this paper, a more complex test system was introduced. This test system contains four power-only units (units 1–4), two CHP units (units 5–6), and one heat-only unit (unit 7). The system includes valve point effect and transmission loss. The electrical load demand is 600 MW, and the heat load demand is 150 MWth. The model parameters can be found in [27].

In Fig. 11, the solutions of TCADEA are more widely distributed and have more solutions compared to NSGA-II, MODE, and TOP. In addition, the optimal PF of the four algorithms shows that the performance of the TCADEA solution is better in most cases. This indicates that the constraint processing technique of the proposed algorithm is able to solve the constraints in the CHPEED problem to provide more solutions for the population.

Fig. 11
figure 11

The PFs of the four test algorithms in Case 3

In Table 7, the HV of TCADEA is the largest, and SM and DM are close to zero compared to the other algorithms, which shows the good convergence and diversity of the TCADEA algorithm in Case 3.

Table 7 Various index values of different test algorithms in Case 3

Table 8 shows the best compromise solution, ECOS and EMOS for the four tested algorithms. Based on the model parameters in [27], we can see that the impact of power-only units on emissions is larger and the impact of CHP units on fuel costs is larger. From Table 8, it is concluded that the total output power of the power-only units is approximately equal for each algorithm in the best compromise solution, while the total output power of the CHP units is the smallest for TCADEA. As a result, the fuel cost and emissions of TCADEA are reduced by $108.7, $220.4, $55.6, and 1.2 kg, 0.4 kg, 1.2 kg compared to NSGA-II, MODE, and TOP, respectively. The optimal fuel cost and optimal emissions of TCADEA are also minimized under both ECOS and EMOS.

Table 8 Results of different test algorithms in Case 3

Figure 12 gives the transmission loss for the different test algorithms under the three different solutions. It can be seen from Eq. (10) that the transmission loss of the system is related to the electrical power of each power producing unit. In Table 7, the total electrical power obtained by TCADEA is the smallest in the three cases. Therefore, the transmission loss of TCADEA under the best compromise solution is reduced by 1.9 MW, 0.5 MW, and 0.9 MW compared to NSGA-II, MODE, and TOP. The transmission loss of TCADEA under ECOS is reduced by 0.4 MW, 1.1 MW, and 9.1 MW compared to NSGA-II, MODE, and TOP. The transmission loss of TCADEA under EMOS is reduced by 2.3 MW, 11 MW, and 0.6 MW compared to NSGA-II, MODE, and TOP.

Fig. 12
figure 12

Transmission loss of different solutions of different test algorithms in Case 3

Figure 13 shows the unit output power of ECOS and EMOS obtained by TOP and TCADEA algorithms in Case 3. The analysis of the model parameters shows that the fuel cost of the power-only unit is much lower than the other units and the emissions of the CHP unit are much lower than the other units for the same amount of electricity generated. Therefore, the fuel cost and emissions are reduced by increasing the power of the power-only unit and CHP unit. In Fig. 13a, the total power of the power-only unit of the TCADEA algorithm is greater than the total power of the power-only unit of the TOP algorithm, and thus TCADEA can obtain a solution with lower fuel cost. In Fig. 13b, the total power of the CHP units of the TCADEA algorithm is greater than the total power of the CHP units of the TOP algorithm, and thus TCADEA can obtain a solution with lower emissions.

Fig. 13
figure 13

Unit power of ECOS and EMOS in Case 3 for TCADEA and TOP

4.5 Case 4

The dispatch cycle for this case is one day. The daily load data graph is shown in Fig. 14. The system contains eight power-only units, two CHP units and one heat-only unit, and valve point effects and transmission loss are taken into account.

Fig. 14
figure 14

Daily load data

Figure 15 shows the PF obtained by MODE, NSGA-II, TOP, and TCADEA on the daily dispatch problem. In Fig. 15, the PF of TCADEA possesses good extensiveness and convergence. Compared to MODE, NSGA-II and TOP, most of TCADEA's solutions are close to the coordinate origin, which is a more intuitive indication that TCADEA is able to obtain high-quality solutions with small economy and emissions on daily dispatch.

Fig. 15
figure 15

The PFs of the four test algorithms in Case 4

The best compromise solutions for MODE, NSGA-II, TOP, and TCADEA are given in Table 9. In Table 9, TCADEA reduces $0.034 × 106, $0.008 × 106, $0.07 × 106 and 113 × 105 lb, 102 × 105 lb, 155 × 105 lb in terms of fuel cost and emissions compared to MODE, NSGA-II, and TOP, respectively. This indicates that the TCADEA algorithm can provide decision makers with better solutions for the target values.

Table 9 Best compromise solutions for the four tested algorithms

Figure 16 shows the fuel costs and emissions for each moment of the day for the best compromise solution of TCADEA and TOP. In Fig. 16, the fuel cost and emissions of TCADEA are smaller than those of TOP at almost every moment. This indicates that TCADEA also performs better than TOP in real Cases.

Fig. 16
figure 16

Fuel cost and emission diagrams for the best compromise solution in Case 4

The model parameters for this case show that the impact in terms of fuel cost is greatest for units 1–2, followed by units 3–4, and least for units 5–8. As a result, in Fig. 17a, units 5–8 are operating at full load power between 4:00–22:00. Units 3–4 are also operating at full load power during the peak electricity consumption period of 8:00–15:00. In terms of emissions impact, CHP units emit much less than other units when generating the same amount of electricity. Therefore, the generation power of the CHP units is maintained near the maximum power production during 00:00–24:00. In Fig. 17b, the heating power of the heat-only unit has been maintained at about 300 MW, which is much higher than the heat energy provided by the CHP unit. This is because the fuel cost function of the CHP unit takes into account not only the heat production power but also the power generation power, while the heat-only unit takes into account only the heat production power.

Fig. 17
figure 17

Output power of each unit in the best compromise solution of Case 4

5 Conclusion

To ensure that lower fuel costs and emissions can be obtained in the economic emission dispatch of power systems, a two-stage cooperative adaptive differential evolutionary algorithm is proposed in this paper. In the first stage, the population is divided into elite populations and ordinary population and combined with two variation strategies and \(\varepsilon\)-constrained non-dominated sorting in order to obtain more solutions. In the second stage, more feasible solutions are generated through CDP and Pareto advantage, which gives decision makers more options to choose.

The modeling of the economic emission dispatch problem for power systems takes into account valve point effects and transmission losses. By testing the proposed algorithm for CEED and CHPEED, the results effectively demonstrate the good practicality and generality of TCADEA for this class of problems. For the CEED problem, the transmission loss of the best compromise solution of TCADEA in Case 2 is reduced by 0.5 MW, 1.1 MW, and 0.7 MW compared to NSGA-II, MODE, and TOP. For the CHPEED problem, TCADEA's fuel cost and emissions in Case 3 are reduced by $108.7, $220.4, $55.6, and 1.2 kg, 0.4 kg, 1.2 kg compared to NSGA-II, MODE, and TOP, respectively. The actual case results show that the TCADEA algorithm reduces $0.034 × 106, $0.008 × 106, $0.07 × 106 and 113 × 105 lb, 102 × 105 lb, 155 × 105 lb in fuel cost and emissions compared to MODE, NSGA-II, and TOP, respectively. Due to the uncertainty of electricity consumption at the customer side, the load at different times will have errors with the predicted load, which will lead to deviations from the actual situation when using the predicted load data to solve the CEED and CHPEED problems in this paper. In addition, for the optimal set of Pareto solutions obtained, we will focus on automatic selection techniques to select the best compromise solution from the Pareto front.