# Stochastic Optimal Dispatch of Virtual Power Plant considering Correlation of Distributed Generations

Authors: Jie Yu; Qizhi Feng; Yang Li; Jinde Cao
Journal: Mathematical Problems in Engineering
 (2015)

---

## Abstract

Virtual power plant (VPP) is an aggregation of multiple distributed generations, energy storage, and controllable loads. Affected by natural conditions, the uncontrollable distributed generations within VPP, such as wind and photovoltaic generations, are extremely random and relative. Considering the randomness and its correlation of uncontrollable distributed generations, this paper constructs the chance constraints stochastic optimal dispatch of VPP including stochastic variables and its random correlation. The probability distributions of independent wind and photovoltaic generations are described by empirical distribution functions, and their joint probability density model is established by Frank-copula function. And then, sample average approximation (SAA) is applied to convert the chance constrained stochastic optimization model into a deterministic optimization model. Simulation cases are calculated based on the AIMMS. Simulation results of this paper mathematic model are compared with the results of deterministic optimization model without stochastic variables and stochastic optimization considering stochastic variables but not random correlation. Furthermore, this paper analyzes how SAA sampling frequency and the confidence level influence the results of stochastic optimization. The numerical example results show the effectiveness of the stochastic optimal dispatch of VPP considering the randomness and its correlations of distributed generations.


---

## Body

## 1. Introduction

The continuing growth of energy consumption and environmental pollution spurs the application of distributed generations. But with more and more distributed generations connecting into the power grid, it became a serious problem to effectively manage a number of diffuse and different distributed generations, which maybe impede the green energy application. Virtual power plant (VPP) provides a practical and feasible solution to operational management of massive distributed generations, so as to make full use of distributed generations and increase the reliability of power supply. Conceptually, VPP is the collection of multiple decentralized distributed generations, energy storage, and some loads, with the characteristic of controllability like conventional power plants. Currently, the VPP is still in theoretical research and early stage of the pilot phase. Early VPP project [1] is mainly concentrated in Europe and the United States, whose research content focuses on interactive information architecture [2], operation control architecture [3], auxiliary services [4], and VPP energy management optimization scheduling.VPP, whose essence is energy management schedule, should realize the optimal generation coordination among distributed generations, controllable loads, and storage devices within itself [5]. VPP contains a number of distributed generations with different types and different features, so the VPP energy management becomes more complicated than traditional power plants. From the view of optimization, the VPP optimal dispatch mainly focuses on the VPP costs minimum or profits maximum. The uncontrolled distributed generations within the VPP, such as wind and photovoltaic, show strong random features affected by natural conditions. The uncertainties need to be given full consideration in the process of VPP optimization scheduling. Vasirani et al. [6] consider electric vehicles to balance the uncertainty of wind generation in the VPP dispatch, which participates in short-term power market. The VPP studied by Shropshire et al. [7] contains a coastal wind farm and a small medium scaled nuclear power plant, so the nuclear power would effectively stabilize the volatility of wind generation. Houwing et al. [8] use deterministic power generation, such as microgas turbine, to burden the volatility of wind generation. From the perspective of demand side, Mohammadi et al. [9] apply flexible loads to counteract the effects of wind generation uncertainties in a VPP. Peikherfeh et al. [10], thinking of the uncertainty caused by distributed generation prediction error, deal with it by VPP spare capacity schedule. Other researchers construct VPP stochastic optimal dispatch, which previously focuses on VPP expectation [11], chance constrained [12], and two-stage stochastic optimization model [13–15]. Pandžić et al. [13], considering the uncertainty of distributed generations and electricity prices in the power market, build VPP two-stage stochastic optimization model with the goal of VPP profits maximum. A little similar VPP stochastic optimization model is built by Handschin et al. [14], aiming at VPP, costs minimum with the constraint conditions that not only contains electrical balance but also considers thermal equilibrium. Moghaddam et al. [15] provide a day-ahead optimal schedule for VPP systems containing wind generations and hydropower units.Within the same region, distributed generations, consisting of VPP, theoretically have output power correlations due to the geographical proximity. But seldom research results considering correlations of distributed generations are published till now. This paper analyzes the problem of VPP optimal dispatch based on the correlations between wind and photovoltaic generations. The probability distributions of independent wind and photovoltaic generations are described by empirical distribution functions, and their joint probability density models are established with Frank-copula function according to their joint histogram and Squared Euclidean Distance. Containing random variables and their correlations, VPP stochastic optimization model is built. Based on sample average approximation (SAA), VPP chance constrained stochastic optimization model is converted into a deterministic optimization model. Numerical cases show effective results.


## 2. The Randomness and Correlations in VPP

The wind and photovoltaic generations in VPP have strong randomness and correlations affected by natural conditions. The probability distributions of independent wind and photovoltaic generations could be described by empirical distribution functions, and copula function could be applied to quantitatively define the corrections of them. The empirical distribution functions are shown as follows:(1)
F
p
m
=
0
p
m
<
p
m
(
min
⁡
)
∑
k
=
1
n
f
k
p
m
(
l
)
<
p
m
<
p
m
(
l
+
1
)
,
l
=
1,2
,
…
,
n
-
1
1
p
m
>
p
m
(
max
⁡
)
.Copula theory was proposed by Sklar in 1959, who pointed that anyn-dimensional joint cumulative distribution function can be divided into n marginal cumulative distribution and a copula function. The marginal cumulative distribution describes the distribution of the variables, and the copula function describes the correlations of the variables, listed as follows:(2)
F
x
1
,
…
,
x
n
,
…
,
x
N
=
C
F
1
x
1
,
…
,
F
n
x
n
,
…
,
F
N
x
N
,where F
(
x
1
,
x
2
,
…
,
x
N
) is the joint probability distribution function of (
x
1
,
x
2
,
…
,
x
N
). F
1
x
1
,
F
2
x
2
,
…
,
F
N
(
x
N
) are the probability distribution function of single variable x
1
,
x
2
,
…
,
x
N. C denotes the copula function.Normality-copula,t-copula, and Archimedes-copula are the most frequently used type of copula function.(1)
Normality-copula function is as follows:(3)
C
u
1
,
u
2
,
…
,
u
N
;
ρ
=
Φ
ρ
Φ
-
1
u
1
,
Φ
-
1
u
2
,
…
,
Φ
-
1
u
N
,
whereρ is the symmetric positive definite matrix whose diagonal elements are 1. Φ
ρ is the standard normal distribution function whose correlation coefficient matrix is ρ, whose marginal distribution is standard normal distributions. Φ
-
1 is the inverse function of standard normal distribution function.
(2)
t-copula function is as follows:(4)
C
u
1
,
u
2
,
…
,
u
N
;
ρ
,
k
=
t
ρ
,
k
t
k
-
1
u
1
,
t
k
-
1
u
2
,
…
,
t
k
-
1
u
N
,
whereρ is the symmetric positive definite matrix whose diagonal elements are all ones. t
ρ
,
k is the t distribution function, whose correlation coefficient matrix is ρ and degrees of freedom are k. t
k
-
1 is the inverse function of t distribution function whose degrees of freedom are k.
(3)
Archimedes-copula function is as follows:(5)
C
u
1
,
u
2
,
…
,
u
N
=
ϕ
-
1
ϕ
u
1
,
ϕ
u
2
,
…
,
ϕ
u
N
,
∑
i
=
1
N
ϕ
u
i
≤
ϕ
0
0
,
others
,
whereφ
(
u
), as a convex decreasing function, is the generator of Archimedes function. φ
-
1
(
u
) is the inverse function of φ
(
u
). Among the different types of Archimedes-copula function, Gumbel-copula, Clayton-copula, and Frank-copula are the most frequently applied.
(a)
Gumbel-copula is as follows:(6)
C
u
,
v
=
exp
⁡
-
-
ln
⁡
u
α
+
-
ln
⁡
v
α
1
/
α
.
(b)
Clayton-copula is as follows:(7)
C
u
,
v
=
max
⁡
u
α
+
v
α
-
1
-
1
/
α
,
0
.
(c)
Frank-copula is as follows:(8)
C
u
,
v
=
-
1
α
ln
⁡
1
+
e
-
α
u
-
1
e
-
α
v
-
1
e
α
-
1
,
whereu, v are the empirical distribution functions of random variables and α indicates the connection parameters of the joint distribution.Different copula function can describe different correlation of the random variables, so we need to select the optimal copula function to describe the correlation of specific variables. Squared Euclidean Distance is applied to select the optimal copula function. Firstly, the Squared Euclidean Distance of all kinds of theoretical copula and empirical copula function are calculated. The smallest distance theoretical copula is the optimal copula to describe the correlations of variables. The expression of Squared Euclidean Distance is listed as follows:(9)
d
2
=
∑
i
=
1
n
C
~
u
,
v
-
C
u
,
v
2
,where C
~
u
,
v expresses the empirical copula of variables. C
u
,
v denotes the theoretical copula of them.


## 3. VPP Stochastic Optimal Dispatch Mathematic Model

The VPP contains a number of uncontrollable generations, such as wind and photovoltaic and controllable generations, such as fuel cell and diesel generators, as well as batteries as energy storage devices. The aim of VPP dispatch model is to maximize the profits of VPP, considering the power grid constraints, the operating constraints of generations, and the energy storage constraints. In view of stochastic generation feature of the uncontrollable generations (wind and photovoltaic), VPP dispatch model would be constructed as stochastic optimal mathematic model as follows.


### 3.1. Objective Function

Consider(10)
max
⁡
F
=
ρ
plan
P
plan
+
ρ
load
P
load
-
C
F
=
ρ
plan
P
plan
+
ρ
load
P
load
-
∑
i
=
1
N
C
i
P
i
-
C
i
M
P
i
,where ρ
plan is the power energy price from VPP selling to the power grid. ρ
load is the load energy price bought by the customers from VPP. P
plan means the plan generation that VPP submits to the power grid control center. P
load represents interior loads in VPP. P
i means the output generation of distributed generator i in the VPP. C
i
M is the maintenance costs of distributed generator i in the VPP. C
i
P
i indicates the fuel costs function of distributed generator i. The expressions of fuel cells and diesels are as follows.(
1
) The costs function of fuel cell is as follows:(11)
C
FC
P
FC
=
C
LHV
×
1
LHV
×
P
FC
,where C
FC
P
FC denotes the fuel costs of fuel cell. C
LHV expresses the price of natural gas per unit volume. LHV is the abbreviation of the calorific value of natural gas. P
FC means the output generation of fuel cell.(
2
) The costs function of the diesel is as follows:(12)
C
DE
P
DE
=
a
×
P
DE
2
+
b
×
P
DE
+
c
,where C
DE
P
DE denotes the fuel costs of diesel. a, b, and c are the coefficients of cost function. P
DE means the output generation of the diesel.


### 3.2. Constraints

(
1
) The generation plan constraint is formulated in (13). The VPP, undertaking power generation like traditional power plants, outputs power generation according to the generation plan from the power grid control center. VPP outputs would be determined by the total generation of all distributed generator i (in the VPP) subtracting the load (in the VPP): (13)
∑
i
=
1
N
P
i
-
P
load
=
P
plan
.(
2
) The upper and lower limits of each controllable distributed generation are as follows:(14)
P
i
min
⁡
<
P
i
<
P
i
max
⁡
,
P
i
min
⁡, P
i
max
⁡ represent the upper and lower limits, respectively.(
3
) The operating constraints of uncontrollable distributed generation are as follows:(15)
Pr
⁡
p
w
≤
P
w
,
max
⁡
,
p
pv
≤
P
pv
,
max
⁡
≥
α
,where P
w
,
max
⁡, P
pv
,
max
⁡ represent the upper limits of wind and photovoltaic generations respectively, whose output power generation meets the copula joint probability distributed Pr
⁡
· denotes the probability values of inequality. α is the confidence level, which is given in advance.(
4
) Power energy storage constraints are as follows:(16)
P
BT
_
ch
min
⁡
≤
P
BT
_
ch
≤
P
BT
_
ch
max
⁡
,
P
BT
_
disch
min
⁡
≤
P
BT
_
disch
≤
P
BT
_
disch
max
⁡
,where P
BT
_
ch, P
BT
_
disch represent the charge and discharge power of the battery, respectively. P
BT
_
ch
min
⁡, P
BT
_
ch
max
⁡ denote the upper and lower limits of charging power. P
BT
_
disch
min
⁡, P
BT
_
disch
max
⁡ denote the upper and lower limits of discharging power.


## 3.1. Objective Function

Consider(10)
max
⁡
F
=
ρ
plan
P
plan
+
ρ
load
P
load
-
C
F
=
ρ
plan
P
plan
+
ρ
load
P
load
-
∑
i
=
1
N
C
i
P
i
-
C
i
M
P
i
,where ρ
plan is the power energy price from VPP selling to the power grid. ρ
load is the load energy price bought by the customers from VPP. P
plan means the plan generation that VPP submits to the power grid control center. P
load represents interior loads in VPP. P
i means the output generation of distributed generator i in the VPP. C
i
M is the maintenance costs of distributed generator i in the VPP. C
i
P
i indicates the fuel costs function of distributed generator i. The expressions of fuel cells and diesels are as follows.(
1
) The costs function of fuel cell is as follows:(11)
C
FC
P
FC
=
C
LHV
×
1
LHV
×
P
FC
,where C
FC
P
FC denotes the fuel costs of fuel cell. C
LHV expresses the price of natural gas per unit volume. LHV is the abbreviation of the calorific value of natural gas. P
FC means the output generation of fuel cell.(
2
) The costs function of the diesel is as follows:(12)
C
DE
P
DE
=
a
×
P
DE
2
+
b
×
P
DE
+
c
,where C
DE
P
DE denotes the fuel costs of diesel. a, b, and c are the coefficients of cost function. P
DE means the output generation of the diesel.


## 3.2. Constraints

(
1
) The generation plan constraint is formulated in (13). The VPP, undertaking power generation like traditional power plants, outputs power generation according to the generation plan from the power grid control center. VPP outputs would be determined by the total generation of all distributed generator i (in the VPP) subtracting the load (in the VPP): (13)
∑
i
=
1
N
P
i
-
P
load
=
P
plan
.(
2
) The upper and lower limits of each controllable distributed generation are as follows:(14)
P
i
min
⁡
<
P
i
<
P
i
max
⁡
,
P
i
min
⁡, P
i
max
⁡ represent the upper and lower limits, respectively.(
3
) The operating constraints of uncontrollable distributed generation are as follows:(15)
Pr
⁡
p
w
≤
P
w
,
max
⁡
,
p
pv
≤
P
pv
,
max
⁡
≥
α
,where P
w
,
max
⁡, P
pv
,
max
⁡ represent the upper limits of wind and photovoltaic generations respectively, whose output power generation meets the copula joint probability distributed Pr
⁡
· denotes the probability values of inequality. α is the confidence level, which is given in advance.(
4
) Power energy storage constraints are as follows:(16)
P
BT
_
ch
min
⁡
≤
P
BT
_
ch
≤
P
BT
_
ch
max
⁡
,
P
BT
_
disch
min
⁡
≤
P
BT
_
disch
≤
P
BT
_
disch
max
⁡
,where P
BT
_
ch, P
BT
_
disch represent the charge and discharge power of the battery, respectively. P
BT
_
ch
min
⁡, P
BT
_
ch
max
⁡ denote the upper and lower limits of charging power. P
BT
_
disch
min
⁡, P
BT
_
disch
max
⁡ denote the upper and lower limits of discharging power.


## 4. Solution Methods and Process

Sample average approximation (SAA) is an effective method based on Monte Carlo simulation to solve stochastic optimization. This method used sample average function to approximately substitute the expected value of the function and specifically use Monte Carlo to generate sample values. Firstly, the average values of the corresponding function are calculated based on the sample values. And then it was determined whether the mean function satisfies the probability, so as to convert the uncertain chance constraints of probability factors into certain constraints. The main solving steps of this method are listed as follows.(
1
) Sample Q groups of wind and photovoltaic outputs power from copula joint probability distributed and shown as p
w
j
,
p
pv
j
j
=
1,2
,
…
,
Q.(
2
) Calculate the number of samples which satisfies the constraints used indicator function I
t. When the value of the samples satisfies the constraints, I
t is 1. Otherwise, I
t is 0:(17)
I
(
0
,
∞
)
t
=
1
,
if
0
≤
p
w
≤
P
w
max
⁡
,
0
≤
p
pv
≤
P
pv
max
⁡
0
,
others
.(
3
) Calculate the probability that the samples satisfied the constraints. The probability is written as P
r
Q
¯:(18)
P
r
Q
¯
=
E
I
(
0
,
∞
)
0
≤
p
w
≤
P
w
max
⁡
,
0
≤
p
pv
≤
P
pv
max
⁡
=
1
Q
∑
q
=
1
Q
I
(
0
,
∞
)
0
≤
p
w
≤
P
w
max
⁡
,
0
≤
p
pv
≤
P
pv
max
⁡
.(
4
) Convert the original uncertainty constraint into certainty constraints:(19)
Pr
⁡
p
w
≤
P
w
,
max
⁡
,
0
≤
p
pv
≤
P
pv
,
max
⁡
=
1
Q
∑
q
=
1
Q
I
0
,
∞
p
w
≤
P
w
,
max
⁡
,
0
≤
p
pv
≤
P
pv
,
max
⁡
≥
α
.(
5
) Judge whether P
r
Q
¯ satisfies P
r
Q
¯
≥
α. If it is satisfied, SAA method is applied to obtain the average outputs power of wind and photovoltaic generations. p
m
¯
=
(
1
/
Q
)
∑
q
=
1
Q
p
m
q
m
=
w
/
pv describes the expected values of wind and photovoltaic generations. Otherwise, return to (
1
) to recalculate.


## 5. Numerical Cases

### 5.1. Initial Data

In this paper’s numerical cases, the VPP contains a wind farm, a photovoltaic station, a fuel cell, a diesel generator, and the storage device—battery. The related data information is listed in Tables1 and 2.Table 1
Initial data of controllable distributed generations.
Types of controllable distributed generation
Rated power/kW
Technical  output/kW
Operation and maintenance coefficient/¥/kWh
Lower limit
Upper limit
Fuel cell
160
0
500
0.0293
Diesel generator
200
0
600
1
Natural gas, calorific value: 10.47 kWh/m3, and price: 3.3 ¥/m3
The power-cost curve parameters of diesel generator:a = 0.0015,b= 1.43, and c = 1
Power price in the power grid: 0.49 ¥/kW and power price for customers: 0.78 ¥/kWTable 2
Initial data of battery.
Battery capacity/kWh
Rated power/kW
Depth limit of discharge and charge capacity
Maximum height of discharge and charge pulse
160
40
0.8
1


### 5.2. Randomness and Correlation of Wind and Photovoltaic Generation

In this paper, the wind farm within the VPP contains 10 wind generation units, and the photovoltaic station consists of 10 photovoltaic cell units. The rate power of single wind generation unit is 30 kW, and upper power is 50 kW. The rated power of single photovoltaic cell unit is 40 kW, and the upper power is 60 kW. Based on the actual data of wind and photovoltaic generation in 1–10 March 2014, we can get the probability distribution histogram, the experience distribution, and the joint probability histogram shown in Figures1–5, respectively.Figure 1
The probability distribution histogram of wind outputs.Figure 2
The probability distribution histogram of photovoltaic outputs.Figure 3
The experience distribution of wind outputs.Figure 4
The experience distribution of photovoltaic outputs.Figure 5
The joint probability histogram of wind and photovoltaic output.In Figure5, the complementary symmetry characters between the wind and photovoltaic generations are shown, whose shape fits the characters of Frank-copula. Furthermore, the Squared Euclidean Distance of all kinds of theoretical copula and empirical copula function are calculated. And then, the smallest distance theoretical copula is selected as the best copula to describe the correlations of wind and photovoltaic generations.After calculating, the Squared Euclidean Distance between different kinds of theoretical copula functions and empirical copula functions denoting wind and photovoltaic generations were listed in Table3. It is clear that the Squared Euclidean Distance between Frank-copula and empirical copula is the smallest, which means that choosing Frank-copula is the most accurate to simulate the outputs of wind and photovoltaic generations.Table 3
The Squared Euclidean Distance between different kinds of theoretical copula and empirical copula functions denoting wind and photovoltaic generations.
Copula function
Frank-copula
Gaussian-copula
Gumbel-copula
Clayton-copula
Squared Euclidean Distance
0.1496
0.1687
0.2631
0.2631Consequently, we choose Frank-copula to build the joint probability distribution model of wind and photovoltaic generations, expressed as (20). Frank-copula joint probability density and Frank-copula copula joint probability distribution as well as empirical probability distribution are shown in Figures 6–8, respectively,(20)
H
p
w
,
p
pv
=
C
F
1
p
w
,
F
2
p
pv
=
-
1
α
ln
⁡
1
+
e
-
α
F
1
(
p
w
)
-
1
e
-
α
F
2
(
p
pv
)
-
1
e
-
α
-
1
,where C is the Frank-copula function. p
w, p
pv represent the outputs of wind and photovoltaic generations, respectively, which all obey (1). F
1
p
w, F
2
p
pv express the empirical distribution functions of p
w, p
pv. Α indicates the connection parameters of the joint distribution, and it is −0.8924 here.Figure 6
Frank-copula probability density of wind and photovoltaic output.Figure 7
Frank-copula joint probability distribution of wind and photovoltaic generations.Figure 8
Empirical probability distribution of wind and photovoltaic generations.


### 5.3. Results and Analysis

Based on SAA, VPP stochastic optimal dispatch model is converted into a deterministic linear optimization model, which could be effectively solved by AIMMS. AIMMS is optimization simulation software, whose development environment possesses a unique combination of advanced features and design tools, such as automatically calling CPLEX to solve optimal model.In three scenarios, the VPP optimal simulation results are analyzed. In Scenario 1, the randomness and correlation of wind and photovoltaic are not considered. In Scenario 2, the randomness of wind and photovoltaic power generation is considered, but not the correlation (the confidence level of wind and photovoltaic is 0.95 and the sampling frequency in SAA is 300). In Scenario 3, both the randomness and correlation of wind and photovoltaic power generation are considered (the confidence level is 0.95 and the sampling frequency in SAA is 300).(1) The VPP Optimal Results in Different Scenarios. The VPP profits and the outputs of each generation are listed in Table 4 and Figure 9. The VPP profit in Scenario 1 is 18Ұ, which is lower than Scenario 2 (46Ұ). But the profit in Scenario 2 is lower than Scenario 3
(
87
Ұ
). From Figure 9 we can see that the outputs of wind and photovoltaic in Scenario 3 are higher than the other two cases, but the output of diesel generator decreased. The reason is that the stochastic optimal dispatch considering correlation can improve the utilization of uncontrollable distributed generations, so as to improve the whole profits of VPP. The simulations in Table 4 are calculated while fixing the confidence level as 0.9.Table 4
The VPP optimal results in different scenarios.
Scenarios
Wind (kW)
Photovoltaic (kW)
Diesel generator (kW)
Fuel cell (kW)
Power output to the main grid (kW)
Costs (Ұ)
Profits (Ұ)
Scenario 1
100
260
278.83
497
100
936
18
Scenario 2
111.17
268.84
269.99
497
100
908
46
Scenario 3
115.86
276.76
257.38
497
100
867
87Figure 9
Different kinds of generations in the three scenarios.(2) The VPP Optimal Results in Different Confidence Level of Scenario 3. Table 5 shows the profits of VPP under different confidence levels. The profits of VPP become higher with chance constrained confidence level lower. That means the whole profits could be increased by decreasing the confidence level appropriately.Table 5
The VPP optimal results in confidence levels.
Confidence levels
Wind farm (kW)
Photovoltaic station (kW)
Diesel generator (kW)
Fuel cell (kW)
Power output to the power grid (kW)
Costs (Ұ)
Profits (Ұ)
0.90
118.24
280.43
251.33
497
100
830
106
0.95
117.04
278.08
254.68
497
100
840
96
0.97
116.42
276.85
256.73
497
100
847
89
0.99
115.86
276.76
257.38
497
100
867
87


## 5.1. Initial Data

In this paper’s numerical cases, the VPP contains a wind farm, a photovoltaic station, a fuel cell, a diesel generator, and the storage device—battery. The related data information is listed in Tables1 and 2.Table 1
Initial data of controllable distributed generations.
Types of controllable distributed generation
Rated power/kW
Technical  output/kW
Operation and maintenance coefficient/¥/kWh
Lower limit
Upper limit
Fuel cell
160
0
500
0.0293
Diesel generator
200
0
600
1
Natural gas, calorific value: 10.47 kWh/m3, and price: 3.3 ¥/m3
The power-cost curve parameters of diesel generator:a = 0.0015,b= 1.43, and c = 1
Power price in the power grid: 0.49 ¥/kW and power price for customers: 0.78 ¥/kWTable 2
Initial data of battery.
Battery capacity/kWh
Rated power/kW
Depth limit of discharge and charge capacity
Maximum height of discharge and charge pulse
160
40
0.8
1


## 5.2. Randomness and Correlation of Wind and Photovoltaic Generation

In this paper, the wind farm within the VPP contains 10 wind generation units, and the photovoltaic station consists of 10 photovoltaic cell units. The rate power of single wind generation unit is 30 kW, and upper power is 50 kW. The rated power of single photovoltaic cell unit is 40 kW, and the upper power is 60 kW. Based on the actual data of wind and photovoltaic generation in 1–10 March 2014, we can get the probability distribution histogram, the experience distribution, and the joint probability histogram shown in Figures1–5, respectively.Figure 1
The probability distribution histogram of wind outputs.Figure 2
The probability distribution histogram of photovoltaic outputs.Figure 3
The experience distribution of wind outputs.Figure 4
The experience distribution of photovoltaic outputs.Figure 5
The joint probability histogram of wind and photovoltaic output.In Figure5, the complementary symmetry characters between the wind and photovoltaic generations are shown, whose shape fits the characters of Frank-copula. Furthermore, the Squared Euclidean Distance of all kinds of theoretical copula and empirical copula function are calculated. And then, the smallest distance theoretical copula is selected as the best copula to describe the correlations of wind and photovoltaic generations.After calculating, the Squared Euclidean Distance between different kinds of theoretical copula functions and empirical copula functions denoting wind and photovoltaic generations were listed in Table3. It is clear that the Squared Euclidean Distance between Frank-copula and empirical copula is the smallest, which means that choosing Frank-copula is the most accurate to simulate the outputs of wind and photovoltaic generations.Table 3
The Squared Euclidean Distance between different kinds of theoretical copula and empirical copula functions denoting wind and photovoltaic generations.
Copula function
Frank-copula
Gaussian-copula
Gumbel-copula
Clayton-copula
Squared Euclidean Distance
0.1496
0.1687
0.2631
0.2631Consequently, we choose Frank-copula to build the joint probability distribution model of wind and photovoltaic generations, expressed as (20). Frank-copula joint probability density and Frank-copula copula joint probability distribution as well as empirical probability distribution are shown in Figures 6–8, respectively,(20)
H
p
w
,
p
pv
=
C
F
1
p
w
,
F
2
p
pv
=
-
1
α
ln
⁡
1
+
e
-
α
F
1
(
p
w
)
-
1
e
-
α
F
2
(
p
pv
)
-
1
e
-
α
-
1
,where C is the Frank-copula function. p
w, p
pv represent the outputs of wind and photovoltaic generations, respectively, which all obey (1). F
1
p
w, F
2
p
pv express the empirical distribution functions of p
w, p
pv. Α indicates the connection parameters of the joint distribution, and it is −0.8924 here.Figure 6
Frank-copula probability density of wind and photovoltaic output.Figure 7
Frank-copula joint probability distribution of wind and photovoltaic generations.Figure 8
Empirical probability distribution of wind and photovoltaic generations.


## 5.3. Results and Analysis

Based on SAA, VPP stochastic optimal dispatch model is converted into a deterministic linear optimization model, which could be effectively solved by AIMMS. AIMMS is optimization simulation software, whose development environment possesses a unique combination of advanced features and design tools, such as automatically calling CPLEX to solve optimal model.In three scenarios, the VPP optimal simulation results are analyzed. In Scenario 1, the randomness and correlation of wind and photovoltaic are not considered. In Scenario 2, the randomness of wind and photovoltaic power generation is considered, but not the correlation (the confidence level of wind and photovoltaic is 0.95 and the sampling frequency in SAA is 300). In Scenario 3, both the randomness and correlation of wind and photovoltaic power generation are considered (the confidence level is 0.95 and the sampling frequency in SAA is 300).(1) The VPP Optimal Results in Different Scenarios. The VPP profits and the outputs of each generation are listed in Table 4 and Figure 9. The VPP profit in Scenario 1 is 18Ұ, which is lower than Scenario 2 (46Ұ). But the profit in Scenario 2 is lower than Scenario 3
(
87
Ұ
). From Figure 9 we can see that the outputs of wind and photovoltaic in Scenario 3 are higher than the other two cases, but the output of diesel generator decreased. The reason is that the stochastic optimal dispatch considering correlation can improve the utilization of uncontrollable distributed generations, so as to improve the whole profits of VPP. The simulations in Table 4 are calculated while fixing the confidence level as 0.9.Table 4
The VPP optimal results in different scenarios.
Scenarios
Wind (kW)
Photovoltaic (kW)
Diesel generator (kW)
Fuel cell (kW)
Power output to the main grid (kW)
Costs (Ұ)
Profits (Ұ)
Scenario 1
100
260
278.83
497
100
936
18
Scenario 2
111.17
268.84
269.99
497
100
908
46
Scenario 3
115.86
276.76
257.38
497
100
867
87Figure 9
Different kinds of generations in the three scenarios.(2) The VPP Optimal Results in Different Confidence Level of Scenario 3. Table 5 shows the profits of VPP under different confidence levels. The profits of VPP become higher with chance constrained confidence level lower. That means the whole profits could be increased by decreasing the confidence level appropriately.Table 5
The VPP optimal results in confidence levels.
Confidence levels
Wind farm (kW)
Photovoltaic station (kW)
Diesel generator (kW)
Fuel cell (kW)
Power output to the power grid (kW)
Costs (Ұ)
Profits (Ұ)
0.90
118.24
280.43
251.33
497
100
830
106
0.95
117.04
278.08
254.68
497
100
840
96
0.97
116.42
276.85
256.73
497
100
847
89
0.99
115.86
276.76
257.38
497
100
867
87


## 6. Conclusion

Theoretically, VPP can effectively solve the issues concerning large-scale distributed generations connected to the power grid. In this paper, we proposed a stochastic optimal dispatch model of VPP considering correlations between uncontrollable distributed generations, such as wind and photovoltaic generations. In different scenarios, the VPP optimal results are compared and analyzed. The empirical distribution functions are used to properly describe the randomness and volatility of wind and photovoltaic generations, and the Frank-copula function is effectively applied to portray the complementary and symmetry of their correlations. Compared with deterministic optimal dispatch, the stochastic optimal dispatch proposed in this paper can improve the operating profits of the VPP and guarantee the security, robustness, and flexibility of VPP. On the other hand, the confidence level may also affect the VPP stochastic optimal dispatch, which is important to set the confidence level appropriately in actual operation based on the needs of VPP and the accuracy requirements.



---

*Source: 135673-2015-04-02.xml*