Research on Stochastic Optimal Operation Strategy of Active Distribution Network Considering Intermittent Energy

Active distribution networks characterized by high flexibility and controllability are an important development mode of future smart grids to be interconnected with large scale distributed generation sources including intermittent energies. However, the uncertainty of intermittent energy and the diversity of controllable devices make the optimal operation of distribution network a challenging issue. In this paper, we propose a stochastic optimal operation strategy for distribution networks with the objective function considering the operation state of the distribution network. Both distributed generations and flexible loads are taken into consideration in our strategy. The uncertainty of the intermittent energy is considered in this paper to obtain an optimized operation and an efficient utilization of intermittent energy under the worst scenario. Then, Benders decomposition is used in this paper to solve the two-stage max-min problem for stochastic optimal operation. Finally, we test the effectiveness of our strategy under different scenarios of the demonstration project of active distribution network located in Guizhou, China.


Introduction
In recent years, the access of intermittent energy, such as wind and solar, keeps increasing in distribution networks.Under such a circumstance, active distribution networks (ADNs) characterized by high distributed generation penetration and high control requirements have been widely accepted as an important development mode of future smart grids [1,2].Compared with traditional distribution networks, active distribution networks have more controllable equipment, including energy storage systems, flexible loads, and other distributed generation sources.In order to ensure the optimal operation of active distribution networks, reasonable arrangement for the output of different types of controllable equipment is essential [3].However, in active distribution network, the uncertainty of intermittent energy makes the traditional deterministic power system to a random-deterministic coupling power system.At the same time, distribution network operation concerns more about the economic benefit and the operating state, which brings great challenge to the power system optimization.
To realize optimal operation of an ADN considering the uncertainty of intermittent energy, two key issues need to be taken into consideration: the uncertainty of intermittent energy and the coordination between the risk and the economic benefit of the ADN.
Intermittent energy power forecasting is usually introduced to optimal operation to achieve a more precisely control.There are a variety of models and prediction methods such as artificial Energies 2017, 10, 522 2 of 23 neural networks (ANN), Kalman filtering method and fuzzy logic method used in power forecasting to obtain accurate predictions [4].However, the forecasting for intermittent energy influenced by complex factors related to the environment is still a challenging problem.Researchers have done a lot of works on optimal operation considering the uncertainty of intermittent energy including stochastic unit commitment (SUC) [5][6][7] or stabilizing the unpredicted power fluctuation by energy storage system and demand response [8].Such as both [6,7], the uncertainty of wind power or load is divided into several scenarios which represent different wind power output probability.It is obvious that the accuracy of the solution mainly depends on the selection of uncertainty scenarios.
To deal with the coordination between the risk and the economic benefits in power system, most researchers focus on minimizing the operating cost [9,10].Like [9], it takes the minimization of total UC schedule cost as main consideration, while considering the alleviation of wind power curtailment and the risk of inclusion of wind energy generation at the same time.Due to the different requirements of the system operators, some other objectives are also used such as minimizing the variance for the risk-averse case or even multi-objectives [11][12][13].Unlike the transmission network concerns more about the operating cost, one of the priorities of ADN is to improve the economic benefits brought by different controllable devices.At the same time, the operational characteristics of ADN like the peak-valley difference and the network loss are also concerned.The reduction of peak-valley difference and network loss can reduce the reserve capacity of the transmission network and improve the efficiency of energy usage, which will also improve the economic efficiency of ADN.So, the objective function presented in this paper will take the peak-valley difference, the network loss and the economic benefits brought by different controllable devices into consideration.In order to avoid the risk of optimization due to intermittent energy prediction errors, the uncertainties of intermittent energies are also taken into account to ensure optimal operation of ADN under the worst scenario.
Due to the complexity of both controllable equipment and objective function, the optimal operation problem formulated as a mixed-integer linear programming (MILP) is non-deterministic polynomial-time hard (NP-hard).Several algorithms such as the hybrid genetic algorithm [14], differential evolution algorithm [15], discrete particle swarm optimization [11,16] and artificial bee colony [17] are used to solve the problem.However, the intelligent algorithms mentioned above have a common problem.They may not be able to obtain the optimal solution but a better one instead which will lead to a considerable uncertainty of the optimal result.Outer approximation methods are used in [18,19] to solve the mixed-integer nonlinear programming (MINLP) problem of unit commitment.Some researchers also have applied other methods such as Lagrangian relaxation (LR) and Benders decomposition (BD) to solve the problem [20,21].This type of algorithm requires certain characteristics for constraints or objective functions, such as convex functions, etc.So it cannot be applied to solve all problems.But it is an effective way to simplify the problem-solving process.
In this paper, we mainly aimed to integrate the controllable resources in ADN to achieve a more efficient power system operation.As discussed before, the objective function for optimization will take the economic benefits of DGs, two key characteristics of ADN and the uncertainty of intermittent energies into consideration.While taking the constraint of power flow and so on into consideration, the optimization problem will form a complicated non-linear problem.To simplify the nonlinear programming problem proposed, we reformulated the objective function into a two-stage max-min problem.Benders decomposition is introduced to the approach to simplify the complexity of sub-problem.The algorithm can limit the uncertainty of intermittent energy output according to the requirement and find out the optimal controllable resource output.
The remaining part of this paper is organized as follows: Section 2 provides mathematical modeling of an optimal operation strategy.Section 3 introduces the solution approach based on Benders decomposition.The case study and optimization results are discussed in Section 4, combined with the active distribution network demonstration project located in Guizhou, China.Section 5 concludes with the main results of this paper.

Mathematical Formulation
In this section, we establish the optimization formulation for optimal operation of active distribution network considering multi-controllable resources.Combined with the conditions of Guizhou demonstration project, direct load control for flexible loads are also taken into account in this formulation as an adjustable resource for distribution network.In order to simplify the complexity of flexible load modeling, we will divide flexible load including Heating, Ventilation and Air Conditioning (HVAC) devices and electric vehicles into two categories, in accordance with their characteristics and unified it with the distributed generation model.This can simplify the optimization formulation.
In general, there are three kinds of distributed generations in a distribution network: power regulation generations, energy storage systems, and intermittent energy.Different types of distributed generations correspond to different constraints.In active distribution network, intermittent energy is generally desirable to achieve the maximum power consumption, so in this paper we only consider the uncertainty of intermittent energy.It won't be taken as one of the controllable resources.
For power regulation generations such as thermal power generations and hydropower generations, the constrains mainly include the ramp-up rate, ramp-down rate, maximum power limit and minimum power limit in the form of ( 1)-( 3): In this paper, we lump flexible loads such as HVAC together with former power regulation generations as 'power regulation devices'.For flexible load such as HVAC, the instantaneous power will keep changing when it turns on or off to maintain the room temperature.However, we only concern about the average power when taking optimization instead of instantaneous power.The average power for a HVAC when the set-temperature is ν set,i (t) can be expressed as (4) [22]: R eq,i is the equivalent thermal resistance for TCL i (degrees Celsius/W).ν outside (t) is the ambient temperature.ν set,i (t) is the set temperature for TCL i .η i is the conversion efficiency from electricity to heat.We assume that the set temperature for a customer can be adjusted from ν min,i to ν max,i when taking customers' comfort into consideration.The adjustable power range can be expressed as ( 5) and (6): So constraint for flexible load such as HVAC can be expressed as ( 7): Considering that the set temperature of HVAC can be changed instantaneously, Constraints (1) and ( 2) can be neglected or set α down = α up = M. M is a large number.Other flexible loads like brightness adjustable lighting can also be expressed as (7).
Apart from former 'power regulation devices', energy storage systems (ESSs) are another kind of distributed energy in ADNs.This type of equipment can realize the energy transfer between different time spans by charging and discharging.The characteristics of such equipment can be described by the index of state of charge (SOC).The constraints for SOC can be expressed as ( 8)-( 10): Energies 2017, 10, 522 Here we introduce ϑ t i,eq into the formulation to make sure all variables are non-negative and ϑ t i = ϑ t i,eq − ϑ r i .It should be noticed that, S t soc,i is usually used to express the SOC for energy storage device i by the end of time period t.But to simplify the future solution process, while not affecting the variables, S t soc,i in this paper is defined as the SOC before the start of time period t.In this paper, we merge flexible load with energy storage characteristics such as water heater and electric vehicle with energy storage system as 'energy storage devices'.For flexible load such as water heater, it is usually used once a day.And it is necessary to reach a specified temperature at a specified time.The state of household water heater can be expressed by temperature ν i (t).The state of the water heater can be expressed as (11): ν E i is the desired temperature for water heater i. ν 0 i is the initial temperature for water heater i.If we take the sensitivity of temperature to energy into account, the constraints for water heater can also be expressed as ( 8)- (10).As the water heater cannot release energy, constraint (9) need to be replaced by (12): SOC limit for a water heater is S max soc = 1 when ν i (t) = ν E i and S min soc = 0, when ν i (t) = ν 0 i .The rated capacity can be expressed as: e n0,i is the energy required for the temperature of the water heater increased by one degree.Other flexible load like electric vehicle is similar to energy storage battery.So it is much easier to be reformulated as the mode of ESS.To reflect the customers' requirement, an extra constraint will be added to origin constraints.The SOC of an electric vehicle S EV soc,i (t) needs to arrive a specific value S EV SOC,set at specific time t EV set as expressed in (14).
The formula can also be meaningful for a BESS.We can assume that BESS should return to the initial state after a cycle of operation to support a continuous operation for next time span.The model of energy storage devices when electric vehicles are merged can add an extra constraint shown as (15).
Apart from former model merging, the uncertainty for the intermittent energy is also considered in this paper described as a solution space for specify scenario.The prediction for intermittent energy is p t ψ,i .We use the normal distribution or Cauchy distribution to describe the prediction error for intermittent energy centered on the predicted value p t ψ,i .In this paper, we set a power deviation to make sure the probability for intermittent energy output within the deviation range to be at least 0.95.We can assume the upper deviation of the confidence interval for intermittent energy i is p t ψ+,i and the lower one is p t ψ−,i .The output range for intermittent energy is [p t ψ,i − p t ψ−,i , p t ψ,i + p t ψ+,i ].To limit the conservatism degree for intermittent power output, we introduce the method described in [23] to employ an integer i as the 'cardinality budget'.The budget is used to restrict the number of time intervals when the output of intermittent energy reaches the limitation.If i equals 12, there will be less than 12 time intervals when the output reaches the limitation and for other time intervals the output will be restricted to p t ψ,i .When i ≥ 8, the optimization solution will be feasible with a probability greater than 0.95 [23].In this paper, we assume η + t,i and η − t,i are two binary variables represent the status of deviation for p t ψ,i .If η + t,i = 1, the output of intermittent energy will be p t ψ,i + p t ψ+,i .If η − t,i = 1, the output of intermittent energy will be p t ψ,i − p t ψ−,i , so the uncertainty set ℵ to describe the intermittent energy output can be shown as (16): Based on the aforementioned unified model and uncertainty set of intermittent energy, the optimization formulation for optimal operation of active distribution network can be described as follow: The former objection for optimal operation is consist by two parts.The first part includes the profit for power regulation devices (e.g., Equation (18)) and the profit for the reduction of network loss (e.g., Equation (19)).The second part includes the profit for energy storage devices (e.g., Equation (20)) and the profit for the reduction of peak-valley difference (e.g., Equation (21)).The objection is expressed by two parts because the energy storage devices mainly focuses on the effect of peak load shifting in this paper.The power regulation devices preferentially meet the network loss reduction requirement.Since the capacity of intermittent energy is relatively small in the demonstration project, the influence of its uncertainty on network loss is far less than that on peak-valley difference, so the uncertainty of intermittent energy is considered in the second part.The network loss and the peak-valley difference are two main indicators concerned by DSOs when assessing the operation of distribution network.The calculation for both indicators are described in ( 22)-( 24): The initial state before optimization is recorded when the output for power regulation devices maintain at current power χ Now i (for flexible loads such as HVAC, maintain at the user set value), the output for energy storage devices maintain at 0 (for flexible loads such as EV, the charging time Energies 2017, 10, 522 6 of 23 will start immediately until target is reached), the outputs for intermittent energy maintain at p t ψ,i .Correspondingly, the optimized state is recorded when the output for power regulation devices and energy storage devices are optimized, the output for intermittent energy is p t i when taking uncertainty into account.This is to make sure we can get an optimized result when the intermittent energy output reaches the worst scenario.f loss (•) is the calculation formula for network loss, which won't be discussed in detail in this paper.ε 1 to ε 4 are weights for each objective.We can adjust the weights to obtain a desired target combination.Then constraint for former objection is described as a set Ω. Some constraints are aforementioned.We will rewrite it here for a more clearly expression.

Solution Methodology
The formerly proposed equation it is a relatively complicated problem with several extremum calculations, thus the equation cannot be solved directly.The uncertainty for intermittent energy has increased the solving difficulty of the problem significantly.To decrease the solving complexity, Benders decomposition is introduced to this paper.
Benders decomposition is an effective method to solve complex programming problem [24].An example of Benders decomposition can be expressed as (40): The Benders decomposition method will decompose the original optimization problem into several parts to be solved.By the process of iteration, the solution of reformulated problem will gradually approximate the optimal solution of the original problem.This method requires the separation of variables shown as x and y, both variables can be vectors.f (x) and F(x) are the functions for variable x.A is the coefficient matrix; b, c is the coefficient vector.S is the feasible set for variable x.Then the original problem (40) can be divided into two parts by Benders decomposition.Main problem is defined on the set S, it can be linear, non-linear or discrete.The problem is formulated when y = y, where y is the solution of the sub-problem: The sub-problem should be a linear programming, shown as (42): Firstly, the algorithm will solve the duration problem of sub-problem (42) based on a "possible solution" of the main problem (41).This "possible solution" is one of the feasible solutions for main problem.Then, additional constraints (feasibility cuts and optimal cuts) will be formed by solving the sub-problem and new constraints will be added to main problem.The formation of both cuts will be discussed in detail later.Furthermore, solve the main problem and bring the optimized results x back to sub-problem (42) again, and so on.Solve the two questions alternately until the optimal solution is obtained.
Based on the aforementioned algorithm, the main problem and the sub-problem for the optimization problem proposed in this paper are expressed as ( 43) and (44).
Main problem:  16) constraint( 24) constraints( 29) to (35) The main problem takes the outputs of 'power regulation devices' as variables and the sub-problem takes the outputs of both energy storage devices and intermittent energies as variables.
Firstly, the sub-problem needs to be simplified to a single extremum value problem.In the sub-system V 0 ζ = max σ 0 t − min σ 0 t is determined by the predicted value, therefore belongs to a constant.To express max(σ rslt t ) − min(σ rslt t ) by inequality, we introduce extra variable and constraints in ( 45)-( 47 Therefore problem (44) can be described as (48): 16) constraints(29) to (35) constraints( 46) to (47) Furthermore, (48) can be transformed as (49): To solve the further min-max problem, we use the dual approach to translate the maximize problem of G (ϑ t i,eq , h up , h low ) to a minimize problem.The solution space is defined as Ψ: Energies 2017, 10, 522 In the former equation, ω + t and ω − t correspond to the dualizing of constrains ( 46) and (47).µ t +,i and µ t −,i correspond to constraint (31).τ t i corresponds to constraint (30).δ t i , δ begin i , δ end i correspond to constraints (29) and (32) and (33).Constraints (51) to (56) correspond to initial variables h low , h up , ϑ t i,eq and S t soc,i .In the dual problem formation process, p t i is considered as a known quantity, when taking the uncertainty set of intermittent energy into consideration, (50) is a bilinear problem.To linearize the equation, we first separate the bilinear part of problem as (58): The bilinear pars of (58) can be reformulated by introduce some extra variables ω t , ω + t , ω − t , η + t,i , and η − t,i .Among which η + t,i , and η − t,i are binary variables: Energies 2017, 10, 522 10 of 23 Now we have already translate the former multi-extremum equation to a single minimum equlation.The optimization equation can be summarized as (67): When we use Benders decomposition algorithm to solve the problem, the sub-problem will formulate the feasibility-cuts and optimality-cuts.Take the problem shown in Equations ( 40)-( 42) as example.The duration for sub-problem (42) can be expressed as: According to the dual principle, when problem (68) has an unbounded solution, the sub-problem (42) has no solution, which means original problem (40) also has no solution.In this situation, an extra cuts (b − F(x)) T u f sb ≤ 0 will be added to the main problem as feasibility-cuts.u f sb is the corresponding solution when the objective function is unbounded, also known as extreme direction.When problem (68) has a bounded solution, in order to ensure the optimization result, an extra cuts z ≥ (b − F(x)) T u opt will be added to the main problem as optimality-cuts.u opt is the solution when the objective function get extreme value, also known as optimal pole.For the main problem, y is eliminated but not completely disappeared.The optimization results for the sub-problem will feedback to the main problem by the form of feasibility-cuts and optimality-cuts.Each iteration will form new cuts.These cuts will accumulate until the optimal solution is obtained.The express for main problem considering additional cuts can be expressed as: Energies 2017, 10, 522 11 of 23 Therefore the main problem proposed in this paper can be reformulated as: We establish a relaxation function for the original sub-problem to check the feasibility, which is also called L-shaped method.Here, we don't care about the objection, so the problem can be formulated as: The dual form of the aforementioned problem can be expressed as (72): If Y (χ t i ) = 0, χ t i is a feasible solution for the check problem.If Y (χ t i ) < 0, the feasibility-cuts formulation can be expressed as: (2) Optimality-cuts formulation: As shown in (70), we use ι represent the optimized value for the sub-system.In the k-th iteration, we solve the main problem and introduce χ t i to the sub-problem (67).If the solution of the sub-problem is smaller than ι i , then this solution is not an optimal one, so the optimality-cuts can be expressed as follows: The computational algorithm framework is shown as Figure 1.The core steps include main problem solving, sub-problem solving and constraint set updating.

Demonstration Application for Optimal Operation
The demonstration application for active distribution network located in Guizhou, China.The strategy of stochastic optimal operation is verified based on the structure of the demonstration.The schematic diagram for the demonstration project is shown in Figure 2. The distributed generation and flexible load conditions are listed in Table 1.All electric vehicles support vehicle-to-grid (V2G) mode.

Demonstration Application for Optimal Operation
The demonstration application for active distribution network located in Guizhou, China.The strategy of stochastic optimal operation is verified based on the structure of the demonstration.The schematic diagram for the demonstration project is shown in Figure 2. The distributed generation and flexible load conditions are listed in Table 1.All electric vehicles support vehicle-to-grid (V2G) mode.

Demonstration Application for Optimal Operation
The demonstration application for active distribution network located in Guizhou, China.The strategy of stochastic optimal operation is verified based on the structure of the demonstration.The schematic diagram for the demonstration project is shown in Figure 2. The distributed generation and flexible load conditions are listed in Table 1.All electric vehicles support vehicle-to-grid (V2G) mode.The electricity price adopts the peak valley electricity price as Shanghai, the electricity price is ¥0.68 per kWh from 9:00 to 22:00, and electricity price is ¥0.33 per kWh for the rest of the time.ζ is set to ¥0.167 per kWh [25].The controllable range for HVACs in the demonstration are shown in Figure 3.
Energies 2017, 10, 522 14 of 24 The electricity price adopts the peak valley electricity price as Shanghai, the electricity price is ¥0.68 per kWh from 9:00 to 22:00, and electricity price is ¥0.33 per kWh for the rest of the time.ζ is set to ¥0.167 per kWh [25].The controllable range for HVACs in the demonstration are shown in Figure 3.The upper and lower deviations for intermittent energies are shown in Figure 4.It should be noticed that the deviation for photovoltaic during the night is 0, as it is obvious that the photovoltaic system cannot generate electricity during the night.
(a) The upper and lower deviations for intermittent energies are shown in Figure 4.It should be noticed that the deviation for photovoltaic during the night is 0, as it is obvious that the photovoltaic system cannot generate electricity during the night.
Energies 2017, 10, 522 14 of 24 The electricity price adopts the peak valley electricity price as Shanghai, the electricity price is ¥0.68 per kWh from 9:00 to 22:00, and electricity price is ¥0.33 per kWh for the rest of the time.ζ is set to ¥0.167 per kWh [25].The controllable range for HVACs in the demonstration are shown in Figure 3.The upper and lower deviations for intermittent energies are shown in Figure 4.It should be noticed that the deviation for photovoltaic during the night is 0, as it is obvious that the photovoltaic system cannot generate electricity during the night. (a)

Basic Optimization Scenario
The optimization effect for stochastic operation strategy of ADN is firstly discussed under the basic optimization scenario.The weight selection for objective function ( 1ε to 4 ε ) is set as Table 2.As the benefit brought by controllable devices is significantly higher than the network loss reduce benefit when 1 ε is close to 2 ε , we select the weights by the sensitivity of distributed power output to network loss to ensure both the distributed power supply gains and loss benefits are considered simultaneously.The uncertainty for intermittent energy i ϖ is set to 8. Table 3 showed the worst case after the solution for intermittent energy.It can be seen that the worst case for intermittent tend to have a negative deviation ( , =1 t i η + ) when the load is relatively larger and have a positive deviation ( , =1 when the load is relatively smaller.The optimization result for both energy storage devices and power regulation devices are shown in Figures 5 and 6.

Basic Optimization Scenario
The optimization effect for stochastic operation strategy of ADN is firstly discussed under the basic optimization scenario.The weight selection for objective function (ε 1 to ε 4 ) is set as Table 2.As the benefit brought by controllable devices is significantly higher than the network loss reduce benefit when ε 1 is close to ε 2 , we select the weights by the sensitivity of distributed power output to network loss to ensure both the distributed power supply gains and loss benefits are considered simultaneously.
The uncertainty for intermittent energy i is set to 8. Table 3 showed the worst case after the solution for intermittent energy.It can be seen that the worst case for intermittent tend to have a negative deviation (η + t,i = 1) when the load is relatively larger and have a positive deviation (η − t,i = 1) when the load is relatively smaller.The optimization result for both energy storage devices and power regulation devices are shown in Figures 5 and 6  It should be noticed that CCHP is connected to the ShuiPei feeder.As the rated power for CCHP is relatively small compared to the load along the feeder, when the active power for CCHP is rising, the benefit for power regulation devices and the benefit for network loss are increasing at the same time, so the active power for CCHP rose to the upper limit as shown in Figure 6a.
The optimization effects are shown in Figures 7 and 8.The initial state before optimization is recorded as (22a) and (23a).The total load after the optimization is shown as the red line in Figure 7 that has already taken the worst intermittent energy case into consideration.The peak-valley difference has reduced by 1531.36 kW (from 4218.08 kW to 2686.72 kW).The network loss has reduced by 591.689 kW (from 1538.78 kW to 947.091 kW).It should be noticed that CCHP is connected to the ShuiPei feeder.As the rated power for CCHP is relatively small compared to the load along the feeder, when the active power for CCHP is rising, the benefit for power regulation devices and the benefit for network loss are increasing at the same time, so the active power for CCHP rose to the upper limit as shown in Figure 6a.
The optimization effects are shown in Figures 7 and 8.The initial state before optimization is recorded as (22a) and (23a).The total load after the optimization is shown as the red line in Figure 7 that has already taken the worst intermittent energy case into consideration.The peak-valley difference has reduced by 1531.36 kW (from 4218.08 kW to 2686.72 kW).The network loss has reduced by 591.689 kW (from 1538.78 kW to 947.091 kW).It should be noticed that CCHP is connected to the ShuiPei feeder.As the rated power for CCHP is relatively small compared to the load along the feeder, when the active power for CCHP is rising, the benefit for power regulation devices and the benefit for network loss are increasing at the same time, so the active power for CCHP rose to the upper limit as shown in Figure 6a.
The optimization effects are shown in Figures 7 and 8.The initial state before optimization is recorded as (22a) and (23a).The total load after the optimization is shown as the red line in Figure 7 that has already taken the worst intermittent energy case into consideration.The peak-valley difference has reduced by 1531.36 kW (from 4218.08 kW to 2686.72 kW).The network loss has reduced by 591.689 kW (from 1538.78 kW to 947.091 kW).It should be noticed that CCHP is connected to the ShuiPei feeder.As the rated power for CCHP is relatively small compared to the load along the feeder, when the active power for CCHP is rising, the benefit for power regulation devices and the benefit for network loss are increasing at the same time, so the active power for CCHP rose to the upper limit as shown in Figure 6a.
The optimization effects are shown in Figures 7 and 8.The initial state before optimization is recorded as (22a) and (23a).The total load after the optimization is shown as the red line in Figure 7 that has already taken the worst intermittent energy case into consideration.The peak-valley difference has reduced by 1531.36 kW (from 4218.08 kW to 2686.72 kW).The network loss has reduced by 591.689 kW (from 1538.78 kW to 947.091 kW).Then the influence of both intermittent energy power output uncertainty and the objective function weight selection to the optimization are discussed under different scenarios.

Different Intermittent Energy Uncertainty
In this part of the paper we select two more representative scenarios where =0  The absolute difference of load is shown in Figure 10 for a more explicit analysis.It can be observed that the time periods when the load difference is relatively large are basically the same periods of intermittent energy prediction uncertainty selection periods.Then the influence of both intermittent energy power output uncertainty and the objective function weight selection to the optimization are discussed under different scenarios.

Different Intermittent Energy Uncertainty
In this part of the paper we select two more representative scenarios where i = 0 and i = 16 to discuss the influence of different uncertainty for intermittent energy i .i represents the number of time intervals when the intermittent energy output reaches the limits p t ψ,i − p t ψ−,i or p t ψ,i + p t ψ+,i .When i = 0 the active power for all intermittent energy will be strictly the predicted value, which means there is no 'worst scenario' for the optimization equlation.Figure 9 shows the different optimization results in ADN when i = 0 compared to the loads in ADN when i = 8.The peak-valley difference is reduced to 2561.18 kW when i = 0, which was better than i = 8.Then the influence of both intermittent energy power output uncertainty and the objective function weight selection to the optimization are discussed under different scenarios.

Different Intermittent Energy Uncertainty
In this part of the paper we select two more representative scenarios where =0  The absolute difference of load is shown in Figure 10 for a more explicit analysis.It can be observed that the time periods when the load difference is relatively large are basically the same periods of intermittent energy prediction uncertainty selection periods.The absolute difference of load is shown in Figure 10 for a more explicit analysis.It can be observed that the time periods when the load difference is relatively large are basically the same periods of intermittent energy prediction uncertainty selection periods.
As the active power for intermittent energy is small, the network loss wouldn't be influenced that much.The total network loss when i = 0 is 949.29 kW, which is only a 0.23% difference compared to the network loss when i = 8.
When i = 16, the intermittent power supply uncertainty has more choices, which will lead to a worse scenario shown in Table 4.As the active power for intermittent energy is small, the network loss wouldn't be influenced that much.The total network loss when =0 i ϖ is 949.29 kW, which is only a 0.23% difference compared to the network loss when =8 i ϖ .
When =16 i ϖ , the intermittent power supply uncertainty has more choices, which will lead to a worse scenario shown in Table 4.
Figure 11 compares the optimization result when =16 i ϖ with the result when =8 i ϖ .The peak- valley difference increased to 2714.12 kW, which is the worst among all three scenarios, but the network loss is 945.74 kW, which has only a −0.14% difference compared to the network loss when =8 i ϖ .

Different Objective Function Weight Selection
In this part, we will discuss the influence of different objective function weight selections.In all scenarios of this part, i ϖ is set to 8 to exclude the impact of intermittent energy uncertainty.Figure 11 compares the optimization result when i = 16 with the result when i = 8.The peak-valley difference increased to 2714.12 kW, which is the worst among all three scenarios, but the network loss is 945.74 kW, which has only a −0.14% difference compared to the network loss when i = 8.As the active power for intermittent energy is small, the network loss wouldn't be influenced that much.The total network loss when =0 i ϖ is 949.29 kW, which is only a 0.23% difference compared to the network loss when =8 i ϖ .
When =16 i ϖ , the intermittent power supply uncertainty has more choices, which will lead to a worse scenario shown in Table 4.
Figure 11 compares the optimization result when =16 i ϖ with the result when =8 i ϖ .The peak- valley difference increased to 2714.12 kW, which is the worst among all three scenarios, but the network loss is 945.74 kW, which has only a −0.14% difference compared to the network loss when =8 i ϖ .

Different Objective Function Weight Selection
In this part, we will discuss the influence of different objective function weight selections.In all scenarios of this part, i ϖ is set to 8 to exclude the impact of intermittent energy uncertainty.

Different Objective Function Weight Selection
In this part, we will discuss the influence of different objective function weight selections.In all scenarios of this part, i is set to 8 to exclude the impact of intermittent energy uncertainty.
The first scenario is set to neglect the benefit of all controllable devices including both energy storage devices and power regulation devices.This scenario happens when all controllable devices are owned by the user, so the benefit of controllable devices does not affect the DSO's choice of optimization strategy.The weight selection for the objective function is set as in Table 5.

Name
Weight Selection We take the basic optimization scenario discussed in the first part of this section as the initial scenario.The optimization results for total load in ADN is shown in Figure 12.
The first scenario is set to neglect the benefit of all controllable devices including both energy storage devices and power regulation devices.This scenario happens when all controllable devices are owned by the user, so the benefit of controllable devices does not affect the DSO's choice of optimization strategy.The weight selection for the objective function is set as in Table 5.

Name
Weight Selection We take the basic optimization scenario discussed in the first part of this section as the initial scenario.The optimization results for total load in ADN is shown in Figure 12.The peak-valley difference in this scenario is reduced to 2648.93 kW, which is better than the initial scenario.It can be seen from Figure 12 that the total load in ADN in the first scenario is larger than the total load in the initial scenario.That's because as the benefit brought by controllable devices was neglected, the objective function wouldn't encourage the output of controllable devices.The network loss comparison is shown in Figure 13.The total network loss reduced from 947.091 kW in the initial scenario to 834.38 kW in this scenario.The peak-valley difference in this scenario is reduced to 2648.93 kW, which is better than the initial scenario.It can be seen from Figure 12 that the total load in ADN in the first scenario is larger than the total load in the initial scenario.That's because as the benefit brought by controllable devices was neglected, the objective function wouldn't encourage the output of controllable devices.The network loss comparison is shown in Figure 13.The total network loss reduced from 947.091 kW in the initial scenario to 834.38 kW in this scenario.
The first scenario is set to neglect the benefit of all controllable devices including both energy storage devices and power regulation devices.This scenario happens when all controllable devices are owned by the user, so the benefit of controllable devices does not affect the DSO's choice of optimization strategy.The weight selection for the objective function is set as in Table 5.

Name
Weight Selection We take the basic optimization scenario discussed in the first part of this section as the initial scenario.The optimization results for total load in ADN is shown in Figure 12.The peak-valley difference in this scenario is reduced to 2648.93 kW, which is better than the initial scenario.It can be seen from Figure 12 that the total load in ADN in the first scenario is larger than the total load in the initial scenario.That's because as the benefit brought by controllable devices was neglected, the objective function wouldn't encourage the output of controllable devices.The network loss comparison is shown in Figure 13.The total network loss reduced from 947.091 kW in the initial scenario to 834.38 kW in this scenario.The second scenario is set to be more biased in favor of the benefit brought by controllable devices.The weight selection for both ε 1 and ε 3 are set to be higher as in Table 6.The optimization results for both load and network loss in ADN are shown in Figures 14 and 15.As the objective function was set to encourage the benefit brought by controllable devices, the active power for controllable devices appears to rise.The total load in ADN decreased as shown in Figure 14.The peak-valley difference in this scenario was increased to 2711.80 kW.The network loss was also increased to 1279.946 kW.The active power for different distributed generations are shown in Figures 16  and 17.The total active power is larger than in the initial scenario.
The second scenario is set to be more biased in favor of the benefit brought by controllable devices.The weight selection for both 1 ε and 3 ε are set to be higher as in Table 6.The optimization results for both load and network loss in ADN are shown in Figures 14 and 15.As the objective function was set to encourage the benefit brought by controllable devices, the active power for controllable devices appears to rise.The total load in ADN decreased as shown in Figure 14.The peak-valley difference in this scenario was increased to 2711.80 kW.The network loss was also increased to 1279.946 kW.The active power for different distributed generations are shown in Figures 16 and 17.The total active power is larger than in the initial scenario.The second scenario is set to be more biased in favor of the benefit brought by controllable devices.The weight selection for both 1 ε and 3 ε are set to be higher as in Table 6.The optimization results for both load and network loss in ADN are shown in Figures 14 and 15.As the objective function was set to encourage the benefit brought by controllable devices, the active power for controllable devices appears to rise.The total load in ADN decreased as shown in Figure 14.The peak-valley difference in this scenario was increased to 2711.80 kW.The network loss was also increased to 1279.946 kW.The active power for different distributed generations are shown in Figures 16 and 17.The total active power is larger than in the initial scenario.Based on the former result and discussion, different weight selection will lead to a different optimization effect.In practice, we can flexibly adjust the weight as needed in order to obtain an optimized result.

Optimization Results Analysis
The summary of optimization results for the former scenarios is shown in Figure 18.The optimal operation strategy proposed in this paper realizes an efficient usage of all kinds of controllable resources.It can be seen from the figure that both network losses and the peak-valley differences are improved in all scenarios compared to the original operation state.Based on the former result and discussion, different weight selection will lead to a different optimization effect.In practice, we can flexibly adjust the weight as needed in order to obtain an optimized result.

Optimization Results Analysis
The summary of optimization results for the former scenarios is shown in Figure 18.The optimal operation strategy proposed in this paper realizes an efficient usage of all kinds of controllable resources.It can be seen from the figure that both network losses and the peak-valley differences are improved in all scenarios compared to the original operation state.Based on the former result and discussion, different weight selection will lead to a different optimization effect.In practice, we can flexibly adjust the weight as needed in order to obtain an optimized result.

Optimization Results Analysis
The summary of optimization results for the former scenarios is shown in Figure 18.The optimal operation strategy proposed in this paper realizes an efficient usage of all kinds of controllable resources.It can be seen from the figure that both network losses and the peak-valley differences are improved in all scenarios compared to the original operation state.Based on the former result and discussion, different weight selection will lead to a different optimization effect.In practice, we can flexibly adjust the weight as needed in order to obtain an optimized result.

Optimization Results Analysis
The summary of optimization results for the former scenarios is shown in Figure 18.The optimal operation strategy proposed in this paper realizes an efficient usage of all kinds of controllable resources.It can be seen from the figure that both network losses and the peak-valley differences are improved in all scenarios compared to the original operation state.The left part of Figure 18a,b show the influence of the intermittent energy uncertainties on the optimization result.The increase of intermittent energy uncertainties will lead to the decrease of the optimization effect, while increasing the compatibility for intermittent energy fluctuations in ADN at the same time.
The right part of Figure 18a,b shows the influence of different objective function weight selection on the optimization results.By adjusting the objective function weight, we can choose to obtain better power grid operation effect or to encourage more distributed power supply.

Conclusions
In this paper, we have developed an optimal operation strategy to realize an efficient usage of all kinds of controllable resources in active distribution networks including distributed generations and flexible loads.To decrease the formulation complexity, the models for all resources are summarized as three kinds of devices: intermittent energy, energy storage devices and power regulation devices.Uncertainty for intermittent is taken into account in this paper to ensure a high utilization of intermittent energy even under the worst scenario.The prediction error can be flexibly adjusted according to the requirements.Then, we establish an objective function taking two main indicators reflecting the operation state of distribution network into consideration, the peak-valley difference and the network loss.We can set the weight of optimization objection to realize different objective function selection.The mathematical equations are reformulated to a two-stage max-min problem.The Benders decomposition algorithm is used in this paper to solve the nonlinear programming problem.Finally, the robustness of the strategy is verified in the demonstration application project for ADN located in Guizhou, China.The simulation is performed under different simulation settings to ensure an optimal operation for ADN.However, in all demand side loads only the controllable loads are taken into consideration in this paper.In further research we will take both demand responses (such as price incentives) and direct load control as responsible resources to realize comprehensive optimization for both active control resources and passive response resources.

Figure 2 .
Figure 2. Demonstration Project of ADN located in Guizhou, China.

Figure 1 .
Figure 1.Framework for computational algorithm based on Benders' decomposition.

Figure 2 .
Figure 2. Demonstration Project of ADN located in Guizhou, China.

Figure 2 .
Figure 2. Demonstration Project of ADN located in Guizhou, China.

Figure 5 .Figure 6 .
Figure 5. Optimization result for energy storage devices: (a) Active Power for BESS; (b) Active Power for EV.

Figure 7 .
Figure 7. Load comparison before and after optimization.

Figure 7 .
Figure 7. Load comparison before and after optimization.

Figure 6 .
Figure 6.Optimization result for power regulation devices: (a) Active Power for CCHP and Hydro; (b) Active Power for Flexild.

Figure 5 .Figure 6 .
Figure 5. Optimization result for energy storage devices: (a) Active Power for BESS; (b) Active Power for EV.

Figure 7 .
Figure 7. Load comparison before and after optimization.

Figure 7 .
Figure 7. Load comparison before and after optimization.

Figure 8 .
Figure 8. Network loss comparison before and after optimization.
the influence of different uncertainty for intermittent energy i ϖ .i ϖ represents the number of time intervals when the intermittent energy output reaches the limits , for all intermittent energy will be strictly the predicted value, which means there is no 'worst scenario' for the optimization equlation.Figure9shows the different optimization results in ADN when =0 i ϖ compared to the loads in ADN when =8 i ϖ .The peak-valley difference is reduced to 2561.18 kW when =0 i ϖ , which was better than =8 i ϖ .

Figure 8 .
Figure 8. Network loss comparison before and after optimization.
the influence of different uncertainty for intermittent energy i ϖ .i ϖ represents the number of time intervals when the intermittent energy output reaches the limits , for all intermittent energy will be strictly the predicted value, which means there is no 'worst scenario' for the optimization equlation.Figure9shows the different optimization results in ADN when =0 i ϖ compared to the loads in ADN when =8 i ϖ .The peak-valley difference is reduced to 2561.18 kW when =0 i ϖ , which was better than =8 i ϖ .

Figure 10 .
Figure 10.Absolute error of load when =0 i ϖ

Figure 10 .
Figure 10.Absolute error of load when i = 0 and i = 8.

Figure 10 .
Figure 10.Absolute error of load when =0 i ϖ

Figure 12 .
Figure 12.Total load comparison for different scenarios.

Figure 13 .
Figure 13.Total loss comparison for different scenarios.

Figure 12 .
Figure 12.Total load comparison for different scenarios.

Figure 12 .
Figure 12.Total load comparison for different scenarios.

Figure 13 .
Figure 13.Total loss comparison for different scenarios.Figure 13.Total loss comparison for different scenarios.

Figure 13 .
Figure 13.Total loss comparison for different scenarios.Figure 13.Total loss comparison for different scenarios.

Figure 14 .
Figure 14.Total load comparison for different scenarios.

Figure 15 .
Figure 15.Total loss comparison for different scenarios.

Figure 14 .
Figure 14.Total load comparison for different scenarios.

Figure 14 .
Figure 14.Total load comparison for different scenarios.

Figure 15 .
Figure 15.Total loss comparison for different scenarios.

Figure 15 .
Figure 15.Total loss comparison for different scenarios.

Figure 16 .Figure 17 .
Figure 16.Optimization result for energy storage devices in the second scenario: (a) Active Power for BESS; (b) Active Power for EV.

Figure 18 .
Figure 18.Summary of Optimization Results.(a) Network Loss Comparison; (b) Peak-valley Difference Comparison.

Figure 16 .Figure 16 .Figure 17 .
Figure 16.Optimization result for energy storage devices in the second scenario: (a) Active Power for BESS; (b) Active Power for EV.

Figure 18 .
Figure 18.Summary of Optimization Results.(a) Network Loss Comparison; (b) Peak-valley Difference Comparison.

Figure 17 .
Figure 17.Optimization result for power regulation devices in the second scenario: (a) Active Power for CCHP and Hydro; (b) Active Power for Flexild.

Figure 16 .Figure 17 .
Figure 16.Optimization result for energy storage devices in the second scenario: (a) Active Power for BESS; (b) Active Power for EV.

Figure 18 .
Figure 18.Summary of Optimization Results.(a) Network Loss Comparison; (b) Peak-valley Difference Comparison.Figure 18. Summary of Optimization Results.(a) Network Loss Comparison; (b) Peak-valley Difference Comparison.

Figure 18 .
Figure 18.Summary of Optimization Results.(a) Network Loss Comparison; (b) Peak-valley Difference Comparison.Figure 18. Summary of Optimization Results.(a) Network Loss Comparison; (b) Peak-valley Difference Comparison.

Table 1 .
Condition for Distributed Generation and Flexible Load in Demonstration Project.

Table 1 .
Condition for Distributed Generation and Flexible Load in Demonstration Project.

Table 1 .
Condition for Distributed Generation and Flexible Load in Demonstration Project.

Table 2 .
Weight Selection for Optimization.

Table 3 .
Intermittent energy uncertainty when

Table 2 .
Weight Selection for Optimization.

Table 4 .
Intermittent Energy Uncertainty when

Table 5 .
Weight Selection for Optimization.

Table 5 .
Weight Selection for Optimization.

Table 5 .
Weight Selection for Optimization.

Table 6 .
Weight Selection for Optimization.

Table 6 .
Weight Selection for Optimization.

Table 6 .
Weight Selection for Optimization.
Time periods in optimization horizon, in this paper the horizon is to be 24 h κ step Time span for optimization, in this paper each time span is to be one hour Output for power regulation device i in time period t Output for energy storage device i in time period t Rated capacity for energy storage device i in time period t Rated power for energy storage device i in time period t Forecasted output for intermittent energy i in time period t Lower deviation for intermittent energy i in time period t Binary decision variables represent the status of deviation for p t Initial state of charge (SOC) for energy storage device i in optimization horizon Final state of charge (SOC) for energy storage device i in optimization horizon State of charge (SOC) for energy storage device i at the start of time period t S max Maximum state of charge for energy storage device i S min Minimum state of charge for energy storage device i Transmission current for feeder l in time period t h up , h low Extra variables for peak-valley difference calculation