Hierarchical Multiobjective Dispatching Strategy for the Microgrid System Using Modified MOEA/D

+e large-scale electric vehicles connected to the microgrid have brought various challenges to the safe and economic operation of the microgrid. In this paper, a hierarchical microgrid dispatching strategy considering the user-side demand is proposed. According to the operation characteristics of each dispatch unit, the strategy divides the microgrid system into two levels: sourceload level and source-grid-load level. At the source-load level, priority should be given to the use of the renewable energy output. On the basis of considering the user demand, energy storage, electric vehicles, and dispatchable loads should be utilized to maximize the consumption of the renewable energy and minimize the user’s electricity cost. +e source-grid-load level can smooth the tie-line power fluctuation through dispatching of the power grid and diesel generators. Furthermore, the study presents a modified MOEA/D algorithm to solve the hierarchical scheduling problem. In the proposed algorithm, a modified Tchebycheff decomposition method is introduced to obtain uniformly distributed solutions. In addition, initialization and replacement strategies are introduced to enhance the convergence and diversity. A wind-photovoltaic-diesel-storage hybrid power system is considered to verify the performance of the proposed dispatching strategy and the modified algorithm. +e obtained results are compared with other dispatching approaches, and the comparisons confirm the effectiveness and scientificity of the proposed strategy and algorithm.


Introduction
With the shortage of global resources and the aggravation of ecological pollution, countries all over the world begin to take the microgrid as an important supplement for the operation of the main network [1]. As the basis and core problem of the optimal operation of the microgrid system, economic environment dispatching of the microgrid has been concerned by scholars all over the world. On the premise of meeting the power system security constraints, the economic/environmental dispatching (EED) problem needs to make use of the existing technology to reasonably schedule the microsource operation mode and unit output. On the contrary, the core of the EED problem is to minimize environmental pollution and maximize economic benefits in the whole scheduling period [2].
However, reducing the pollution of the environment and improving the economic benefits of the microgrid are two goals that influence and restrict each other.
ere is no absolute optimal solution to make both optimal at the same time. erefore, in order to find the optimal solution to the scheduling problem, scholars from various countries have proposed various schemes. Hernandez-Aramburo et al. [3] established a microgrid model with two reciprocating natural gas generators, cogeneration systems, wind turbines, and photovoltaic arrays. Moreover, the system was optimized with minimum fuel consumption as the objective function. Mohamed and Koivo [4] also considered the model with the lowest operation and maintenance cost and the lowest environmental cost. e multiobjective economic environment scheduling problem is transformed into a single-objective optimization problem by using the maximum fuzzy satisfaction degree in [4], which significantly reduces the calculation difficulty. However, because the membership function is mainly based on the practical experience, the reliability of the optimization result may be somewhat reduced. Farzin et al. [5] used the nondominant sorting genetic algorithm with elite strategy (NSGA-II) to solve the microgrid scheduling problem, where the objective functions are the minimum operation cost and the minimum load reduction index of the microgrid. In [6], an artificial shark optimization (ASO) was proposed to solve the economical operation problem of the MG. By comparing with other heuristic algorithms, the ASO performs relatively better than the existing techniques.
Farzin et al. and Singh and Khan [5,6] used classic bionic algorithms to solve the dynamic economic environment dispatching problem in the microgrid and achieved better results. However, as a classic bionic algorithm, its related research and application have been more in-depth and extensive, but it also exposes its integrated evolutionary solution strategy, poor optimization ability for complex optimization problems, and weak ability to cover the optimal frontier [7]. In contrast, the MOEA/D algorithm adopts the method of decomposing multiobjective problems into a certain number of single-objective problems [8]. is algorithm represents a new development direction of multiobjective optimization problems. In recent years, it has gradually attracted extensive attention from scholars. Ross et al. [9] proposed a novel multiobjective dynamic economic emission dispatch (DEED) model considering the EVs and uncertainties of wind power. Also, it proposes a two-step dynamic constraint processing strategy for decision variables based on the penalty function, and on this basis, the multiobjective evolutionary algorithm based on decomposition (MOEA/D) algorithm is improved to solve the problem.
e MOEA/Dusing the localized penalty-based boundary intersection (LPBI) method was proposed in [10]. e algorithm is demonstrated to outperform its competitors on the hybrid renewable energy system (HRES) model as well as a set of benchmarks.
EVs have the potential for low-carbon development and sustainable development. EVs with renewables to participate in the scheduling can improve the utilization of energy. erefore, it is necessary to study how to arrange them to participate in grid dispatching. Based on the randomness of the wind energy and electric vehicles, the probability density function of wind speed and the energy storage and travel characteristic model of EVs are established in [11]. e improved MOEA/D problem is used to solve the DEED problem, but the effect of the load demand on the DEED problem is not considered in [11]. Lu et al. [12] established a multiobjective optimization model of the microgrid including EVs, but only small-scale EVs were considered to connect to the grid. Zhao et al. [13] proposed a distribution network with the inn for electric vehicles and photovoltaic arrays, which verified that fragmented energy management could effectively reduce the fluctuation of renewables. However, only one charging pile was considered, and the grid with a large number of electric vehicles was not considered. Li et al. [14] introduced the double-chain structure and dynamic rotation angle adjustment strategy. It proposed an improved quantum genetic algorithm, optimized the EED problem of EVs connected to the microgrid system, and verified the superiority of this improved algorithm compared with other algorithms. Whether it is a singleobjective or multiobjective optimization, the objective function of microgrid scheduling is relatively limited. More importantly, the operation characteristics of distributed energy generation and the interests of users are not adequately considered in those dispatching models.
In addition, in order to fully consider the interests of the user side, some scholars have begun to study the dispatchable load in the microgrid system. e model established in [15], based on the time-of-use power price mechanism, considered the overall economic optimization of multiobjective and multi-interest groups within the microgrid. e model provided effective help for the operation of the microgrid system and realized electric power marketing for the demand side by using a variant of the NSGA-II algorithm. Zheng et al. [16] considered a microgrid composed of distributed energy, energy storage, and transferable loads. And it changed users' electricity consumption habits through dispatchable loads. Strbac et al. [17] reported the electricity price of interruptible loads based on the economic dispatching model's existing price. Qiu et al. [18] considered the cost of the interruptible load and proposed a scheduling model with the objective function of power grid economic optimization. e results showed that the model could improve the flexibility of scheduling in [18].
At the same time, there are many studies on hierarchical scheduling of microgrids and electric vehicles, and many scholars begin to consider the generation-side and the userside demand comprehensively [19]. Liu et al. [20] proposed the hierarchical energy system management strategy, considering the diversity of the load and the demand-side response. In [20], the microgrid system was divided into the user layer and microsource layer and used the NSGA-II to realize coordinated control between distributed energy resources (DER), controllable loads, and energy storages (ES). Wang et al. [21] proposed a two-stage scheduling strategy, combining day-ahead scheduling with real-time scheduling.
us, the load management center could conduct rolling optimization by tracking the load curve and then giving a clear charge and discharge plan for EVs. Ye et al. [22] presented a hierarchical multistage scheduling scheme for the AC/DC hybrid active distribution network. is twolevel model avoids the difficulty of solving multiobjective optimization and can clarify the role of various stakeholders in the system scheduling. However, few studies comprehensively consider the operating characteristics of DER and generation and load integrated optimal dispatching. Based on the above background and research results, this paper proposes a microgrid hierarchical dispatching strategy containing wind turbines (WTs), photovoltaic arrays (PVs), diesel generators (DGs), schedulable loads, and EVs. In the microgrid system, the hierarchical strategy gives full consideration to the influence of the user demands on the economic operation. It uses the modified MOEA/D algorithm to solve the problem. In the proposed strategy, according to the operation characteristics of each dispatch unit, the system is divided into the source-load level and the source-gird-load level. At the source-load level, the dispatchable load and the vehicle-to-grid (V2G) model of electric vehicles are established to maximize the consumption of the renewable energy. us, it can achieve peak load cutting of the system load curve and maximize the user's interests. In dispatching of the source-gird-load level, the output of the DGs and the power of connection lines of the main grid are taken as the decision variables. e objectives of the level are to reduce the overall operation cost and power fluctuation between the microgrid and the main grid. On the premise of meeting the grid energy constraint, the overall optimization of the system side and the user side is realized. e main result of this paper has the following three points: first, it adopts a hierarchical scheduling strategy. Based on the operation characteristics of each dispatch unit, the strategy divides the microgrid system into two levels: source-load level and source-grid-load level. Furthermore, it proves the scientific nature and effectiveness of the dispatching strategy in the simulation. Second, this paper improves the MOEA/D algorithm for solving the multiobjective problem. A modified Tchebycheff decomposition method is introduced as the decomposition approach in order to obtain uniformly distributed Pareto solutions. And this paper proposes a strategy of initializing the primary population based on the constraint violation value. In addition, a replacement strategy based on the maximum fitness value improvement is also integrated. In the end, it proves that hierarchical scheduling is more capable of coordinating the interests of all stakeholders than conventional scheduling strategies. And through the final comparison experiment, it can be indicated that the participation of schedulable load can effectively improve user satisfaction and reduce load variance. e rest of this paper is organized as follows. Section 2 introduces the hierarchical dispatching strategy and details of the dispatching processes of the source-load level and the source-grid-load level, respectively. In Section 3, it outlines the mathematical models of EVs and dispatchable load, and on this basis, the microgrid hierarchical dispatching model is established. Section 4 describes the modified MOEA/D algorithm in detail and gives the pseudo-code of the improved part. Section 5 realizes the simulation of the scheduling model in Matlab and compares it with other scheduling strategies and the original algorithm, respectively. e conclusion is drawn in Section 6.

The Hierarchical Dispatching Strategy of
the Microgrid e microgrid system with controllable loads, EVs, WTs, PVs, DGs, and ES is shown in Figure 1. In order to solve the economic optimization problem of this complex microgrid system, this section proposes a hierarchical scheduling strategy considering the interests of multiple stakeholders and the characteristics of distributed power supply. According to the operation characteristics of each dispatch unit, the strategy divides the microgrid system into two levels, source-load level and source-grid-load level, based on the coordinated and optimized operation of the source-gridload system.

Source-Load Level.
e purpose of source-load level dispatching is to reduce the peak-valley difference of the total loads. e strategy of the level takes into account the demand response of the user side and guides users to change the way of electricity consumption from the perspective of the electricity market such as electricity price. e consumption of renewable energy can be realized through source-load level dispatching, which makes the load curve closer to the renewable output curve. More importantly, it can well mobilize the enthusiasm of users to participate in grid dispatching, thus improving the reliability and stability of the grid. e dispatching objects of the source-load stage are EVs, ES, and controllable loads.
EVs have dual characteristics of load and onboard energy storage. Reasonable charging and discharging of electric vehicles can effectively achieve peak-load shifting. Since electric vehicles not only need to satisfy users' travel needs but also need to participate in grid dispatching, this paper divides electric vehicles into two categories: one is subjected to users' driving habits, and the other is entirely subjected to the microgrid management, which is fully dispatchable [23]. e probabilistic travel model of EVs, managed by orderly charging and discharging, is subjected to users' driving habits. Its output curve is obtained by the Monte Carlo simulation algorithm [24]. e fully dispatchable EVs can reduce the peak and valley differences of the load, and energy storage cooperates with dispatchable EVs to smooth the load's peak-valley difference.
On the user side, the load can be divided into dispatchable load and undispatchable load [20], in which the dispatchable load can be divided into transferable load and interruptible load. Undispatchable load cannot be interrupted in the optimization process; otherwise, it will cause severe economic loss and social harm. e interruptible load is the lowest among all loads. When the power supply of the system cannot meet all load demands, the load can be interrupted for a short period of time. At this time, corresponding power failure compensation will be provided to the user side [18]. e total electric quantity of the transferable load in the dispatching period is a certain amount. On the premise of not exceeding the maximum allowable transfer electric quantity, the startup time of the transferable load can be delayed or advanced, such as washing machines and charging equipment in the household load. erefore, scheduling of the transferable load is an important measure in the microgrid optimal scheduling. It can not only cut the peak and fill the valley and absorb extra renewable energy but also realize the economic operation of the microgrid [16]. e dispatchable load studied in this paper is the transferable load.
e multiobjective optimization algorithm obtains the Pareto optimal solution set with minimum user cost and minimum system net load variance. Using the method of fuzzy membership degree [7], the compromise solution is selected in the Pareto solution set for analysis, and the output curve of each scheduling unit of the solution is substituted into the next step.

Source-Grid-Load Level.
e net load from the first level is absorbed at the source-grid-load level by the diesel generators and connection lines of the main grid, while the surplus renewable energy is sold to the main grid to gain benefits. e dispatching object of this level is the output of a large power grid and diesel generators. e second dispatching stage's main purpose is to reduce the overall operation cost of the microgrid, as well as the power fluctuation of the connection lines of the grid. e objective function is to minimize the operation cost and the power fluctuation between the microgrid and the main grid. e ramp-rate constraint is adopted for the DGs. And the output upper and lower limits and power balance constraints of the generators should be satisfied at the same time. e net load of the microgrid obtained in the first step is substituted at this level, and the MOEA/D algorithm is used again to obtain the optimal Pareto frontier distribution of the system. After calculation, the compromise optimal solution is selected to discuss the results.

Mathematical Model and Characteristic Analysis of the Microgrid
According to the scheduling policy's description, scheduling of the microgrid system is divided into two levels: sourceload level and source-grid-load level. is section will carry out mathematical modeling to the EVs and the dispatchable load and establish the corresponding objective function at each level of the system. In order to ensure safe and reliable operation of the system, the last part of this section will systematically introduce the constraints of microgrid scheduling.

Probabilistic Model of Electric Vehicle
Travel. e probability density functions (PDFs) of the EV's departure and return journey were obtained by fitting the statistical data in [25]. e return trip time of the last trip of electric vehicles satisfies the normal distribution t 0 ∼ N(μ t , σ 2 t ), and the PDF is as follows: where the expectation μ t is 17.6 and variance σ t is 3.4. Driving distance S approximately obeys lognormal distribution S ∼ logN(μ s , σ 2 s ). e PDF is as follows: where the expectation μ s is 3.2 and the standard deviation σ s is 0.88. e daily energy consumption of the electric vehicle can be obtained from the daily driving distance, so as to obtain where S OC,EC is the state of charge (SOC) when entering the network, W 100 is the power consumption of 100 kilometers, and C is the total capacity of the battery. T all−disc is the total discharge duration required to discharge the electric vehicle to the lower limit of the state of charge when it is fully charged: where S OC,max and S OC,min are the upper and lower limits of the charged state of the battery, respectively, and P disc is the discharge power of the EV. e actual discharge duration T disc is e discharge time T start−disc is obtained from the comparison between the last return time and the starting time of the morning and evening peak of the original load in the microgrid. e end time of discharge T end−disc is determined by the beginning time of discharge T start−disc and the duration of discharge T disc . e upper limit of T end−disc is 12:00 p.m. Due to the limitation of the discharge time, some EVs have not completely discharged their electricity. erefore, the initial state of charge at the beginning of charging varies with the discharge condition, and the initial state of charge is only determined by the above discharge condition. e charging load P EV required by a single electric vehicle is the total energy consumed in a day: Since the charging time of each EV is independent, the corresponding parameters of each EV can be obtained by random tests. According to the obtained charging and discharging initial time and the maximum discharge power by the Monte Carlo method, the charging time T char (i) and discharging time T dischar (i) of the i-th EV and the daily charging and discharging load E ev (t) of each EV at time t are decided.

Dispatchable Electric Vehicle
Modeling. Large-scale EV which are dispatched directly in the microgrid system will produce "dimension disaster." e area of electric cars is gathered by agents in this paper, equivalent to large aggregate "virtual electric vehicles." en, through the system scheduling mechanism, all the aggregates are dispatched to alleviate the pressure on the system side [26]. e following part mainly focuses on the scheduling problem of systemside aggregates.
In order to meet the travel characteristics and energy storage characteristics of electric vehicles, this paper makes the following assumptions about dispatchable EVs: (1) e SOC of electric vehicles is 100% when they leave home every morning (2) Electric vehicles can drive to and from work within an hour starting at 7 o'clock and 17 o'clock and can flexibly participate in grid dispatching during the rest of the time e minimum SOC limit and rated charge and discharge power of the vehicle battery in the dispatching cycle are set at 20% of the rated value. And the charging and discharge efficiency is set at 0.85. e total driving distance of each EV in one dispatching period is 50 km. Taking into account the V2G behavior of electric vehicles and considering the energy consumption to meet users' driving needs, the remaining electric quantity S t of electric vehicles in time t can be obtained [27]: where η C and η D are the charging and discharging efficiency, ΔT is the scheduling interval, and S Trip,t is the energy consumed by the electric vehicle in the process of driving in time period t: where ΔS presents the average power consumption per unit distance and L is the driving distance. In order to ensure battery's life and operation safety, its remaining capacity S t must be limited within a certain range, that is, where S max and S min are the upper and lower limits of battery power. e charging and discharging power of an electric vehicle have a certain safety constraint and cannot exceed its rated charging and discharging power as follows: where P NCh and P NDch present the rated charging and discharging power of an electric vehicle. e most important function of electric vehicles is to meet the vehicle owners' travel needs. Since too many charge and discharge cycles will damage the battery life, this paper sets that only one charge and discharge cycle is completed in each scheduling cycle. e vehicle owners' travel needs are constrained as follows: Complexity

Schedulable Load Modeling.
Dispatching of the transferable load is an important measure in optimal dispatching of the microgrid. It can also realize peak-load shifting optimization and the absorption of renewable energy, as well as the optimal economic operation of the microgrid. In this paper, the load of the microgrid system is composed of the undispatchable load and transferable load. e load model is as follows [28]: where P L , P L,im , and P L,tr are, respectively, the total load power of the system, the undispatchable load power, and the transferable load power. Transferable loads can be transferred from one time period to another, but the total power of transferable loads remains the same in one scheduling period T: where P L,tr (t) is the demand of the transferable load in time period t.
In addition, transferable load shall be transferred within the load power range: where P max L,tr (t) and P min L,tr (t), respectively, represent the upper and lower limits of the power consumption of the transferable load in time t.

Objective Functions.
In this paper, we study the economic scheduling problem of the WT-PV-DG-ES microgrid system, which takes into account V2G and the dispatchable load. Economic scheduling, as a complex multiobjective optimization problem, is worth considering not only the operation cost but also the environmental protection, user satisfaction, and load peak-valley difference. On the one hand, dispatching of the source-load level is to improve the satisfaction of the user's electricity expenditure; on the other hand, it is to realize the absorption of renewable energy and make the load curve fit the renewable energy output as much as possible [21]. e objective functions of the source-gridload level are the power fluctuation of the tie line between the main grid and the microgrid and the comprehensive operation cost of the system. e objective functions of the optimization model will be established in the following.

User-Side Cost and Load Variance.
In the first stage of dispatching, the user cost mainly refers to the user electricity charge C load and the discharge subsidy C dis of V2G: where T is the number of scheduling time periods. Scheduling of the day studied in this paper is 24 hours; P ev,ch (t) and P ev,dis (t) are the charging power and discharging power of the EV in time period t, both of which are positive; p ev is the uniform discharge subsidy of the microgrid system to the electric vehicle; and p L (t) is the TOU (time-of-use) price in t period.
In order to alleviate the impact of the wind turbine and photovoltaic grid connection on the power grid and reduce the fluctuation of the load, the objective function was established by taking the minimum load variance f var of grid connection as the optimization objective [29]: where P ES (t), P new , and P av , respectively, represent the output of the ES in time period t, the predicted renewable energy output power, and the average load in the dispatching period.

Integrated Operation Cost and Power Fluctuation.
At the second-level dispatching, the scheduling objects are the power grid and DGs. It aims to reduce the comprehensive operation cost on the system side and improve the safety and reliability of the microgrid system, which is reflected by the power fluctuation of connection lines of the main grid. erefore, the objective function is the minimum integrated operation cost f cos t of diesel generators and the power grid [30] and the power fluctuation f flu of the tie lines.
As the problem of air pollution becomes more and more serious, more and more countries and regions begin to consider environmental protection. However, conventional thermal power units will produce greenhouse gases and air pollutants in the process of power generation, such as SO x and NO x [6]. erefore, it is very necessary to reduce the emission of air pollutants caused by thermal power units.
e comprehensive operation cost f cos t refers to the comprehensive operation cost of DGs C de, cos t and the power grid C grid,cost . e operating cost of DGs includes operating and maintenance cost C de,om , fuel cost C de,fuel , and environmental governance cost C de,en [7]: where K om,de is the running maintenance coefficient of the diesel engine; a, b, and c are the fuel coefficients of the diesel engine; C k is the treatment of category k pollutants; and c de,k is the emission of class k pollutants generated by DG operation. e operating cost C grid,cost of the main grid connection lines includes the electricity transaction cost C grid,price between the main grid and the microgrid and the environmental governance cost C grid,en generated during operation: where C k presents the treatment of category k pollutants; c grid,k is the emission of class k pollutants generated by the grid; and P grid (t) is the tie-line power of the main network at time t, whose value is positive, which means that the microgrid buys electricity from the main grid, and negative means that the microgrid sells electricity to the main grid. e expression of power fluctuation f flu of the connection lines is as follows [31]:

System Constraints.
In order to ensure normal and safe operation of the system, the following general constraints are required [27].

System Equality Constraint.
e power balance constraint is expressed in the form of equality constraint, which represents the unit output's satisfaction with the load in each dispatching period: Interpretation of the equation: P grid (t) represents the power of the main grid connection lines at time t; P new (t) represents the power of the WT and PV predicted at time t; P de (t) is the output of the DGs at time t; P L (t) is to the net load power of the microgrid system at time t; and P EV (t) and P ES (t), respectively, represent the output state of the EV and ES unit at time t; the positive value represents charging, and the negative value represents discharge. e units of the above parameters are kw·h.

3.4.2.
Upper and Lower Bound Constraints.
where P min Gi and P max Gi represent the lower and upper limits of power per unit time of generator i, respectively.

Ramp-Rate Constraints.
e ramp-rate constraints are the unit lift (drop) power capacity within the unit scheduling period: where U Ri and D Ri are the lift and drop ramp rate of generator i, respectively. e object of the ramp-rate constraint is diesel generator.

Energy Storage Constraints.
Constraint of the state of charge is given by Energy storage output limits: where S max , S min , P min ES , and P max ES represent the upper and lower limits of the charged state and output of the energy storage unit, respectively.

Spinning Reserve Constraint.
e configuration of spinning reserve capacity has played a positive role in the actual operation of the power system. Due to the uncertainty and intermittency of the renewable output, it is necessary to have a certain reserve capacity to ensure the safety and reliability of the grid connection [32]. N i�1 P i, max + P wt + P pt ≥ P ev,t + P L,t + S R,t , where S R,t is the spinning reserve capacity requirement of the system at time t.

Modified MOEA/D Algorithm
As described in the previous section, the economic scheduling problem of the microgrid is a multiobjective optimization problem. e optimization problem needs to consider complex unit operation and system constraints, some of which are nonlinear and time-coupled equality and inequality constraints. is section will introduce the general framework of the multiobjective optimization problem. In order to solve this problem, this paper adopts the MOEA/D algorithm and improves some shortcomings of the algorithm. e last part gives detailed steps for the modified MOEA/D algorithm.

Multiobjective Optimization Problem.
In general, a multiobjective optimization problem consists of two or more mutually restrictive objectives to be optimized and a series of equality and inequality constraints to be satisfied.

Complexity 7
Multiobjective optimization problems are usually expressed in the following forms [30]: In this paper, the i-th objective function of the multiobjective optimization problem is represented by f i (x); x is an n-dimensional decision vector. And G and H represent the number of inequality constraints and equality constraints, respectively. In single-objective optimization problems, the optimal solution is usually unique. However, due to the mutual restriction between different objective functions in multiobjective problems, the optimal solutions of multiobjective optimization usually consist of a solution set. erefore, in order to solve the multiobjective optimization problem, it is necessary to understand the concepts of Pareto dominance, Pareto optimal, Pareto-optimal set, and Pareto-optimal front [33]. According to these definitions, a multiobjective optimization problem can be treated as finding Pareto-optimal solutions or approaching the Paretooptimal front [34].

e Main
Framework for the MOEA/D Algorithm. As described in [35], the objective functions of a multiobjective problem are usually contradictory, and generally, there is no one solution in the feasible region that can minimize all the objective functions at the same time. erefore, the purpose of the multiobjective optimization problem is to find all the nondominant or noninferior solutions. In order to find all nondominant solutions, the MOEA/D algorithm decomposes a multiobjective problem into a series of single-objective subproblems by using the weighted sum approach, the Tchebycheff approach, and the boundary intersection approach [36]. ese subproblems then produce offspring through collaborative optimization using an evolutionary algorithm [8]. ese subproblems are optimized by referring to information about their neighborhood problems. e neighborhood relation of subproblems refers to the Euclidean distance based on their aggregation coefficient vectors [8]. Pareto-optimal front of a multiobjective problem can be decomposed into N scalar optimization subproblems in MOEA/D. As described in [34], the above decomposition method transforms the approximate frontier of the multiobjective optimization problem into a series of single-objective optimization problems. Here, we use the Tchebycheff approach to explain the main framework of the MOEA/D algorithm. e j-th single-objective optimization subproblem is expressed as e MOEA/D algorithm is designed to optimize N problems at the same time rather than to solve multiple problems in one run. In [36], the neighborhood of λ j is composed of T weight vectors, which are in λ 1 , λ 2 , . . . , λ N , closest to it. Neighborhood weight vectors of λ j are the neighborhoods of the j-th subproblem. e population is composed of the optimal solution for each subproblem at the moment.

Improved Tchebycheff Decomposition Method.
According to Section 3, the value range and measurement unit of each objective function are different. As a result, each objective function will have a certain weight before being weighted, which may lead to local convergence or failure, to obtain the uniformly distributed Pareto front. For example, the value range of objective 1 is [1500, 1800], and the value range of objective 2 is [30,50], so the algorithm will focus on the optimization of objective 1 in the process of optimization. Although some articles proposed an improved Tchebycheff approach to reduce the impact of different units and value ranges, a single-target optimization subproblem is as follows [37]: where m represents m objective functions; f i (x) and z i , respectively, represent the i-th objective function value and the ideal value of the objective; and ω � (ω 1 , ω 2 , . . . , ω m ) T is the weight vector, which satisfies However, when confronted with a complex multiobjective optimization problem, the obtained Pareto front is still not uniform [8]. So here, we propose the modified Tchebycheff approach to overcome the above shortcomings. In the modified Tchebycheff approach, the decomposition of Tchebycheff mentioned above is extended, and a new Tchebycheff decomposition method with a norm constraint on the direction vector is proposed [38]. In this decomposition, each subproblem is constructed based on a direction vector λ, such as (30), which satisfies ‖λ i ‖ 2 � 1, rather than the weight vector ω mentioned above. At this point, the representation of each subproblem is shown in (31): Based on the modified Tchebycheff decomposition, the particle is in the direction vector corresponding to its subproblem, so the particle distribution is also uniform [38]. erefore, the improved decomposition method can obtain 8 Complexity a more uniform frontier solution than the original decomposition.

Initialization Strategy.
Obviously, in the microgrid hierarchical dispatching model, there are various high-dimensional nonlinear and time-coupled constraints, which make the feasible solution domain relatively narrow and topologically complex [38]. erefore, the basic algorithm must be improved according to the characteristics of the problem. And in order to obtain the optimal feasible solution, the effective treatment of the complex constraints of the model is proposed.
Since the process of optimization starts from the initialization of particles, the selection of primary particles is crucial. If the primary particles can be uniformly distributed in the whole space and most of them meet the constraints, the offspring can maintain better diversity in the subsequent process. On the contrary, if all constraints are hard constraints at the beginning of algorithm optimization, such as they are forced to return to the constraint range or constraint boundary when particles do not meet the constraints, it will greatly reduce the diversity of optimization results [38]. erefore, this paper proposes a strategy of initializing the primary population based on the constraint violation value as outlined in Algorithm 1. First, an initial population P containing N particles is generated according to the given data. And the initial population may not satisfy all the constraint conditions. Secondly, differential evolution is used to generate N offspring, and 2N particles are arranged from small to large according to the constraint violations. en, the first N particles with fewer constraint violations are added to the external file. When comparing the constraint violations of the N-th particle with ξ and the two are equal, it means that the first N particles satisfy all constraints. In order to ensure diversity, ξ is set as a constant close to zero. If the N-th particle constraint violation is lower than ξ, the particles in the external archives are the first-generation population meeting most of the constraints, otherwise back to the second step. rough this optimization, the firstgeneration particles can enter into the optimization process of the algorithm under the condition that most of the constraints are satisfied. Since the particles are not forced to satisfy all constraints, the diversity is not lost. On the contrary, in the optimization process, the offspring particles just need to make small adjustments to meet the constraints, so the convergence can be achieved at a faster speed.

Replacement Strategy.
Population replacement strategy is a key part of MOEAs, which has been studied by many people in recent years [39]. Although most improved population renewal strategies can successfully improve MOEA/D performance, only a part of the subproblem performance can be optimized [40]. is paper adopts a replacement strategy based on the maximum fitness value improvement as outlined in Algorithm 2. Firstly, parameters are initialized that l � −1 and MaxFitImp � −∞. Secondly, the difference between the fitness value of offspring particle y and parent particle x i in each subproblem is obtained. V improvement represents the value of the improvement of offspring particle y over parent particle x i in subproblem i. l represents the subproblem of the maximum fitness increase obtained by particle y. en, if MaxFitImp is greater than zero, the existence of subproblem l is proved. In this subproblem, the fitness value of the parent generation is larger than that of the offspring. It means that offspring y is superior to the parent generation particle, and the corresponding parent particle x i is replaced by y. Finally, in order to improve the robustness of the algorithm, y is randomly selected to replace a certain number of parent solutions.
e pseudo-code of the replacement strategy based on the maximum fitness value improvement is shown as follows:

Best Compromise Solution Based on Fuzzy Decision.
After obtaining the Pareto optimal solution set, it is necessary to find the best compromise solution in the final nondominant solution set by decision. In this paper, we use the fuzzy decision function to get a relatively satisfactory final solution in the Pareto front. In order to obtain the most precise judgment for the decision maker, the satisfaction degree of each objective function of the i-th solution can be defined as follows [7]:

Complexity 9
where μ ij represents the satisfaction degree of the j-th objective function of the i-th solution. e higher the value of μ ij is, the more satisfied the value of the objective function will be; min(F j ) and max(F j ) are the minimum and maximum bounds of the j-th objective function, respectively.
For each nondominant solution, the normalized membership function can be expressed as where M is the number of nondominant solutions and N obj is the number of objective functions. e larger the value of μ i , the better the solution, so the maximum value of μ i is the best compromise.

Detailed
Steps of the Modified MOEA/D Algorithm. e microgrid optimization dispatching problem involves solving control variables and calculating state variables. e control variables of the problem are generator active power outputs. And the state variables are composed of renewable power output and load demand. All the control variables constitute an individual which represents one solution to the microgrid dispatching problem. When using the modified MOEA/D algorithm to solve the multiobjective optimization problem, the detailed steps are shown in Figure 2. Step 2 Find the sub-problem of maximal fitness improvement Step 3 Replace a parent solution: If MaxFitImp > 0, then set x i � y, F(x i ) � F(y) and c � c + 1 Step 4 Replace improvable parent solutions randomly: While c < n r and Neigh j ≠ ∅ do (1) Randomly select an index i from Neigh j End of While ALGORITHM 2: Replacing the parent solution.

Example Parameters.
According to the relevant historical data and models, the curve of the renewable energy output and the daily load curve were simulated by the Monte Carlo method [41]. Referring to a real microgrid system in the central region of China, the output of the wind turbine and photovoltaic arrays and the total load are shown in Figure 3, in which the dispatchable load is 10% of the total load. e system contains two diesel generators with a capacity of 0.6 MW and 0.8 MW, respectively, 1 MW lead-acid batteries for energy storage, and 700 EVs with a battery capacity of 24 kw·h. Among them, 400 EVs are subject to user habits, and 300 are fully dispatchable.
In this paper, day-ahead economic dispatching is adopted for the microgrid system, the total dispatching cycle is 24 hours a day, the unit time interval is 1 h, and the electricity price of the main grid adopts TOU price [42]. e electricity price data are shown in Figure 4. e operating parameters of EVs, ES, DGs, and the power grid are shown in Table 1. And the types of pollutants and the disposing cost are shown in Table 2.

Source-Load Level Dispatching.
e Monte Carlo algorithm is used to simulate the travel of 400 EVs. e results and the daily load curve of the system are shown in Figure 5.
As can be seen from the figure, the morning peak load begins to appear in the system at 8:00 a.m., and almost all the EVs finish charging and leave the microgrid system before the morning peak. During the period from 9:00 a.m. to 16:00 p.m., the EVs neither charge nor discharge, that is, they are off the grid. After 17:00 p.m., the EVs return to discharge and participate in system dispatching. And the travel curve is more in line with the user's travel habits. On the contrary, the charging time of EVs is basically from 23:00 p.m. to 8:00 a.m., when the total load is in a low state, and the electricity price is low. Obviously, charging in this period can save charging cost for users. Electric vehicles return to the system after 17:00 p.m. to support peak load demand by discharging. It can alleviate the power shortage in the evening peak and obtain the discharge subsidy. WT, PV, ES, transferable loads, and EVs participate in level dispatching. e simulated traffic data of 400 electric vehicles and the microgrid load are substituted into the mathematical model established above. e objective functions Complexity are user cost and load variance in level dispatching. e Pareto front is obtained by using the modified MOEA/D algorithm, as shown in Figure 6. e fuzzy decision method is used to select (13,732 kw, 25,437 yuan) as the final compromise solution for further analysis. As shown in Figure 7, afterLoad and Load represent the load curves of the transferable load participating in scheduling and not participating in scheduling. And trLoad represents the outpower of the transferable load. It can be seen from the figure that, between 11:00 and 16:00, the electricity price is low, and the power of renewables is large.
us, most of the transferable loads participate in dispatching in this time period, and the load value of afterLoad is higher than the original load value in this time period. It can be indicated that the original load curve's peak value is greatly reduced when the schedulable load is added. e curve of netLoad represents the net load of the user side in Figure 8. e netLoad value consists of undispatchable loads, transferable loads, energy storage, and two types of EVs. And the curve of EV is the charging and discharging power of dispatchable EVs. As can be seen from Figure 8, the trend of the EV curve basically follows the output power curve of the renewables. e EVs are driven off-grid from 7:00 a.m. to 8:00 a.m. and from 17:00 p.m. to 18:00 p.m. en, EVs participate in microgrid scheduling with energy storage in the rest of the time. e output of the energy storage unit also follows the total output of the renewables and the load curve, but the output is not very obvious due to the limitation of its SOC. During the evening peak, EVs discharge along with the energy storage to provide power to the load. When the output of renewable energy is enough to meet the load demand, the energy storage battery and electric vehicle are charged to absorb the redundant renewable energy. At the same time, it can be seen from the figure that the net load curve has been as close to the renewable energy output curve as possible. us, it demonstrates that the purpose of maximizing the consumption of renewable energy is achieved. Due to the limitation of the SOC of the energy storage unit, all the surplus renewables have not been absorbed in some periods. e surplus power will be sold to the main grid in the next step.

Source-Grid-Load Level Dispatching.
In this stage, the modified MOEA/D algorithm is still used to solve the problem. e objective functions are the minimization of the total operating cost of the system and the power fluctuation of the tie lines. e Pareto front obtained by MOEA/D has been illustrated in Figure 9. It can be seen from the figure that the Pareto front is uniformly distributed. According to the fuzzy decision degree, the compromise optimal solution of the curve is selected, and the results are discussed. e power outputs of the connection lines and two DGs are shown in Figure 10. If the curve of the grid is negative, it means that the surplus renewables are sold to the main network. e curve of netLoad in the figure consists of the original undispatchable load, the transferable load, the EVs, the ES, and the renewable output. From 7:00 a.m. to 22:00 p.m., renewable energy power is still not consumed after the first step of optimization. us, the value of netLoad at this time is less than zero. e redundant renewables are sold to the main network through the connection lines to obtain income for the microgrid side. At this time, the diesel generator stops working, and the power of the connection lines is the same as the netLoad value. When netLoad is positive, the needed power is mainly provided by the main grid due to the low electricity price and the expensive generation cost of the DGs. It can be seen from the figure that the power of tie lines basically fluctuates with the netLoad curve. Two diesel generators are used as the backup supplementary power supply to provide partial power support for the load of the microgrid.

Comparison of Algorithms.
In order to prove the effectiveness of the improved algorithm, this part uses the initial MOEA/D algorithm to solve the hierarchical scheduling problem. We take source-load level scheduling as an example and compare the Pareto solution sets that the two algorithms obtained as follows. As can be seen in Figure 11, the improved MOEA/D algorithm is closer to the real Pareto frontier than the original algorithm. In order to further explain the performance of the improved algorithm better than the original algorithm, the relationship between the objective functions and the number of iterations is shown in Figure 12.
It can be seen from the figure that although both algorithms eventually converge to the approximate position in the same objective functions, the improved MOEA/D algorithm converges faster than the original algorithm. More importantly, the improved MOEA/D algorithm can eventually reach a smaller value of objective functions. It indicates that the modified MOEA/D algorithm is more effective in this problem.

Analysis of Dispatchable
Loads. According to Qiu et al. [18], this section establishes the source-load level scheduling strategy excluding the dispatchable load and compares it with     Complexity 13 the scheduling model proposed in this paper. e strategy of nonconsidering dispatchable loads is adopted in the sourceload level, and the curve of netLoad is shown in Figure 13. By comparison with Figure 6, it can be seen that the netLoad curve still follows the output of renewables in Figure 13. However, after considering the schedulable load, the netLoad curve is more consistent with the renewable energy curve in Figure 6, especially in the period from 1:00 to 4:00.
In order to better illustrate the satisfaction of the user side after joining the demand-side response, this section divides user satisfaction into two aspects of comfort and economy: where U com , U eco , and U represent the degree of comfort, economy, and comprehensive satisfaction of users, respectively. And |ΔP t | is the sum of the absolute value of the electric quantity change in each period before and after the optimization; it is equal to the dispatching load in this paper. P before L (t) and P after L (t) represent the total load value of t period before and after optimization. e comprehensive satisfaction degree of users is introduced to quantify the satisfaction degree of the scheduling strategy. When the schedulable load is not considered, the user's comfort degree is the largest. At the same time, U com and U eco are all equal to one. e load variance value, user-side cost, and user satisfaction rate of the two strategies are shown in Table 3.
From Table 3, it can be indicated that, due to considering the transferable loads, some of the loads will be shifted to the period with a low price in the proposed strategy. us, the user-side cost is smaller than the strategy of nonconsidering dispatchable loads. At the same time, the dispatchable load can improve renewable energy utilization and reduce the load variance. By comparing the user satisfaction degrees, it can be seen that the comfort degree decreased by 11%, but the electricity cost decreased by 16%, and the overall satisfaction increased by 4%.
It can be indicated that the proposed strategy can reduce the impact on users' comfort as much as possible and maximize the economic benefits of users. erefore, the strategy with dispatchable loads can maximize users' satisfaction, and the transferable loads can greatly optimize the scheduling results in the dispatching process.

Comparison with the Nonhierarchical Dispatching
Strategy. In the microgrid system mentioned above, the dispatching strategy without considering hierarchy is used to solve the optimization problem. For a comprehensive comparison, the nonhierarchical scheduling strategy is divided into nonhierarchical scheduling 1 and nonhierarchical scheduling 2. e objective functions of nonhierarchical scheduling 1 are the lowest user cost and operating cost of the microgrid, while the objective functions of nonhierarchical scheduling 2 are the minimum load variance and the minimum power fluctuation of the connection lines. ese two scheduling problems are still multiobjective optimization problems, so the modified MOEA/ D algorithm is adjustable to solve them. e operation results of the three scheduling policies are compared, as shown in Table 4.
As can be seen from Table 4, compared with the result of the hierarchical scheduling strategy, the user-side cost and microgrid cost increased by 40% and 10%, respectively, in nonhierarchical strategy 1. In a dispatching period, the load variances of nonhierarchical strategy 2 increased by 21%, and the power fluctuation of the tie lines increased by 32%. It can be drawn that the hierarchical strategy can obtain better optimization results than nonhierarchical strategies in the same objective functions. Besides, the optimization of the other two objectives can be realized in the hierarchical strategy. It can be seen that, in the microgrid system proposed in this paper, the indexes of the hierarchical strategy are better than those of the nonhierarchical strategy. And the result of this comparative experiment proves the comprehensiveness of hierarchical scheduling.

Conclusion
In this paper, a microgrid hierarchical dispatching strategy is proposed. e source-load level strategy considers user-side fees, and load variance, the operation cost of the microgrid, and the power fluctuation of the connection lines are minimized at the source-grid-load level of the system. e modified MOEA/D algorithm is used to solve the optimal dispatching problem.
rough analysis and comparison with the result of the final scheduling, the following conclusions can be drawn: (1) e participation of schedulable load and EVs in microgrid dispatching has a significant effect on peak load clipping and valley filling of the load curve. Moreover, it also improves the utilization rate of renewable generation and the microgrid's income to a certain extent. (2) By comparing the modified MOEA/D with the original algorithm, it can be found that the replacement strategy based on the maximum value and the initialization strategy based on the constraint violations can effectively improve the convergence speed of the algorithm. (3) e hierarchical scheduling strategy can fully consider the operation characteristics of the generation units at each level of scheduling. It can not only improve the overall satisfaction of users but also reduce the economic operation cost of the microgrid. us, the proposed strategy can realize the win-win situation of user satisfaction, good economy, and high system security.

Parameters μ t :
Expectation of t 0 σ t : Variance of t 0 μ s : Expectation of S σ s : Standard deviation of S W 100 : Power consumption of 100 kilometers C: Total capacity of the EV battery S OC, max (S OC, min ): Upper (lower) limit of the SOC η C , η D : Charging and discharging efficiency ΔT: Scheduling interval ΔS: Average power consumption per unit distance S max (S min ): Upper (lower) limits of battery power P NCh (P NDch ): Rated charging (discharging) power of an EV P L : Total load power of the system P L,tr : Transferable load power C dis : Discharge subsidy T: Number of scheduling time periods p ev : Uniform discharge subsidy of the microgrid system to the electric vehicle K om,de : Running maintenance coefficient U Ri (D Ri ): Lift (drop) ramp rate of generator i S max (S min ): Upper (lower) limits of the SOC P min ES (P max ES ): Upper (lower) output limits of ES x: Decision vector λ: Direction vector G: Number of inequality constraints H: Number of equality constraints m: Objective functions ω: Weight vector ξ: A constant close to zero N: Population size EP: External archive y: Offspring particle z: Reference point N obj : Number of objective functions M: Number of nondominant solutions a, b, c: Fuel coefficients of the diesel engine Variables t 0 : Return trip time of the last trip of electric vehicles S: Driving distance S OC,EC : SOC of the EV battery P disc : Discharge power of the EV T start−disc (T end−disc ): Beginning (end) time of EV discharge T disc : Duration of discharging P EV : Charging load of the EV T char (i)(T dischar (i)): Charging (discharging) time of the i-th EV  Daily charging and discharging load of each EV at time t S t : Remaining electric quantity of an electric vehicle in time t S Trip,t : Energy consumed by the electric vehicle in the process of driving in time period t L: Driving distance P max L,tr (t)(P min L,tr (t)): Upper (lower) limits of the power consumption of the transferable load in time t C load : User electricity charge P ev,ch (t)(P ev,dis (t)): Charging (discharging) power of the EV in time period t p L : TOU price f var : Load variance P ES : Output of the ES P new : Predicted renewable energy output power P av : Average load f cos t : Integrated operation cost of DGs and the power grid f flu : Power fluctuation of the tie lines C de, cos t : Comprehensive operation cost of DGs C grid, cos t : Comprehensive operation cost of the power grid C de,om : Operating and maintenance cost of DGs C de,fuel : Fuel cost of DGs C de,en : Environmental governance cost of DGs C k : Treatment of category k pollutants c de : Emission of pollutants generated by DGs C grid,price : Electricity transaction cost C grid,en : Environmental governance cost c grid : Emission of pollutants generated by the grid P grid : Tie-line power of the main network P de : Output of the DGs P new : Power of the WT and PV predicted P ES : Output state of ES S R : Spinning reserve capacity requirement of the system f i (x): i-th objective function of the multiobjective optimization problem z i : Ideal value of the i-th objective function V i : Summing all the constraint violations of the i-th solution V improvement : Value of the improvement of the offspring particle l: Subproblem of the maximum fitness Neigh j : Indices of the neighbor subproblems of the j-th subproblem F j : Objective function of the j-th subproblem n r : Maximum number of the replaced parent solutions by one offspring solution μ ij : Satisfaction degree of the j-th objective function of the i-th solution U com : Degree of comfort satisfaction of users U eco : Degree of economy satisfaction of users U: Degree of comprehensive satisfaction of users |ΔP t |: Sum of the absolute value of the electric quantity change in each period P before L (t): Total load value of t period before optimization P after L (t): Total load value of t period after optimization Acronyms EED: Economic/environmental dispatching NSGA-II: Nondominant sorting genetic algorithm with elite strategy ASO: Artificial shark optimization MG: Microgrid DEED: Dynamic economic emission dispatch MOEA/D: Multiobjective evolutionary algorithm based on decomposition LPBI: Localized penalty-based boundary intersection HRES: Hybrid renewable energy system EV: Electric vehicle DER: Distributed energy resources ES: Energy storages WT: Wind turbine PV: Photovoltaic arrays DG: Diesel generator V2G: Vehicle-to-grid SOC: State of charge TOU: Time of use PDF: Probability density function.

Data Availability
e data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest
e authors declare no conflicts of interest.

Authors' Contributions
X.W., H.L., and X.D. conceived and designed the study; X.W. and H.L. performed the study; X.W., J.P., and Y.W. reviewed and edited the manuscript; and X.W. and H.L. wrote the paper. All authors read and agreed to the published version of the manuscript.