1. Introduction
The reduction of greenhouse gases has become a critical constraint in planning the energy mix in power systems [
1]. To address this issue, system operators allow the proportion of renewable energy sources (RESs), such as photovoltaic (PV) generator and wind turbine (WT), to increase in power systems. However, owing to their nature, the introduction of RESs could cause reliability issues in the power grid [
2]. Their unpredictable and variable characteristics could compromise the balance of power systems. Moreover, because, in the distribution system, RES systems are usually installed in the countryside, power quality issues that include local voltage and power flow problems can occur [
3].
Energy storage systems (ESSs) have attracted considerable interest as a promising technology to solve various problems with RESs. Recently, a variety of ESSs have been introduced in the power system [
4]. Among the existing ESSs, lithium-ion batteries have received attention because of their high capacity, efficiency, and response speed. Li-ion batteries are often adopted to compensate for the unpredictable and variable nature of RESs [
5,
6,
7]. However, it is difficult for the system operator to monitor and control individual distributed energy resources (DERs) because of the large number of RESs and locations where they are installed.
In this context, the concept of virtual power plants (VPPs) has been proposed. VPPs aggregate and control the DERs involved in the electricity market as a single generator. By doing so, the system operator can treat multiple DERs as a single generator. VPPs can be classified into two categories: Commercial and technical VPPs [
8]. Commercial VPPs do not consider the physical constraints of the power grid, e.g., voltage and flow limit, whereas technical VPPs do. Nevertheless, both types of VPPs have to participate in the electricity market, and consequently, the VPP operator has to consider revenue. Therefore, system operators usually provide market signals in the form of incentives to operate VPPs in the desired manner [
9]. Pilot VPP programs are conducted in many countries [
10,
11]. The number of VPPs is expected to increase, owing to the increasing number of RESs. Thus, the importance of identifying an optimal DER portfolio increases. On the other hand, finding optimal resources allocation of demand response is also studied in [
12,
13,
14]. Markowitz’s portfolio theory is generally applied to obtain a mean-variance portfolio of demand–response resources [
12]. A two-level gaming approach was made for the optimal demand response management with multiple utilities and users [
13]. The reinforcement learning is applied to find optimal power company selection [
14].
Many studies have been conducted to determine the optimal configuration of DERs in microgrids (MGs) [
15,
16,
17,
18,
19,
20,
21]. The DER allocation problem can be formulated by a similar form of optimal sizing and placement problems because both problems involve choosing an optimal combination of DERs to maximize the revenue or minimize the expenses. The optimal placement of DERs in the MG are studied deterministically [
15,
16,
17]. However, because the portfolio of a VPP cannot be changed frequently, the VPP operator needs to consider the long-term uncertainty of RESs. To this end, stochastic programming has been applied in many studies [
18,
19,
20,
21]. Furthermore, systems’ constraints (e.g., voltage or flow limit) are often considered because of the sizing and placing problems usually addressed in the MG [
17,
18,
19,
20]. However, most studies consider the MG instead of VPPs; thus, there is a difference between determining the optimal investment and optimal portfolio. The MG is usually a single entity that is either connected to the power grid through a single tie line or separated from it. Therefore, the MG operator is responsible for the balance and reliability of its system. Consequently, the MG operator tends to invest in new DERs to support the MG operation. However, the VPP operator aggregates and allocates DERs that are already installed into several portfolios.
The mean-variance portfolio theorem proposed in [
12] can be used to determine the optimal portfolio of VPPs. However, because the operation of dispatchable resources (e.g., ESS, DG) varies with RESs that are in the same VPP, the revenue of the dispatchable resources varies with the portfolio. To solve this issue, a two-stage stochastic mixed-integer programming (SMIP)-based DER allocation method is proposed in this study. The proposed method determines the optimal portfolio with aggregated resources to maximize the VPP operator’s revenue considering market incentives. The uncertainty in the power generation of RESs is reflected in the proposed method by considering the yearly generation pattern. The market incentives considered in this study follow the market incentives considered in [
9]. To the best of our knowledge, this paper presents the optimal DER allocation method, which considers the market incentive for the first time. The rest of this paper is structured as follows:
Section 2 describes the SMIP-based DER allocation problem,
Section 3 presents the numerical results of the proposed method, and
Section 4 presents the conclusions.
2. Optimal Distributed Energy Resource Allocation Method for Virtual Power Plant
This section describes an optimal DER allocation method for VPPs. The proposed method determines an optimal combination of DERs in VPPs to maximize the revenue. In this study, the revenues of the energy market, renewable energy certificate (REC) market, and incentives are considered. The proposed DER allocation problem for VPPs is formulated as a two-stage optimization problem. The composition of VPPs is determined in the first stage of the problem formulation, and then, based on the solution of the first stage, the expected revenue is calculated. The second-stage problem is formulated as a day-ahead market (DAM) bidding problem modified from [
9]. The allocation result needs to be represented as a binary value; the DER allocation problem needs to be formulated as an SMIP problem. The general formulation and algorithm used to solve the proposed problem are based on those proposed in [
22].
Figure 1 summarizes the proposed method.
2.1. First-Stage Problem for DER Allocation
The first-stage problem allocates DERs to compose portfolio as in
Figure 1. It is assumed that the number of RESs, ESSs, and distributed generators (DGs) for the VPP operator are
I,
J, and
L, respectively, and the VPP operator wishes to operate
N VPPs.
With this assumption, the binary variables , , and are introduced. The binary variable is one only if RES i belongs to VPP n; this relationship holds for the other two variables. However, because the two-stage structure is applied, , , and are relaxed to continuous variables within the range 0–1 in the first-stage problem.
Because there are no expenses or revenues from allocating DERs to a VPP, the objective function of the first problem is represented as follows:
Here, represents the expected objective value of second-stage problems. This value is regulated by the optimal cut, which is explained later in this section.
The constraints of the first-stage problems are related to the number of DERs and the capacity of the VPP. DERs are allowed to participate in only one VPP. These constraints are represented as follows:
The minimum and maximum numbers of DER constraints are expressed as follows:
where
and
are the minimum and maximum numbers of DERs in a VPP.
The minimum and maximum capacity of VPP constraints are described as follows:
where
and
are the minimum and maximum capacities of the VPP,
is the maximum discharging power of ESS
j, and
is the maximum generated power of DG
l. In RESs, ESSs, and DGs, the rated capacity, maximum discharging power, and maximum output power are directly used as the capacity of the resource.
The combined PV and ESS scheme proposed in [
9] is adopted in this study. Combined resources need to be in the same VPP to earn additional RECs. These constraints are described as follows:
The set
K consists of combined PV generators and ESSs. The last constraints are the optimality cuts. Generally, optimal cuts are represented as follows:
In this study, the algorithm used to solve the SMIP problem is taken from [
22], and the optimality cut is generated as follows:
where
is the expected objective value of the second stage,
L is the lower bound of
, and
is the set of variables with a value of one. In Equation (9),
s stands for the order of optimal cuts. Generally, feasibility cuts are introduced when the second stage is infeasible. However, feasibility cuts are unnecessary in the proposed method because the second-stage problem is always feasible.
2.2. Second-Stage Problem for DAM Bidding
The second-stage problem is formulated following the scheduling method for DAM bidding proposed in [
9] with some modifications. Each second-stage problem maximizes the revenue for each day. After solving 365 problems, the average revenue is returned. The objective function of the second-stage problem is described as follows:
where
is the system marginal price (SMP) at time
t,
is the net generation of VPP
n at time
t,
is the REC price,
and
are the received REC of VPP
n with weights 1 and 5, respectively,
is the relaxed cost function of DG
l,
is the generation of DG
l in VPP
n at time
t,
is the ramp rate of VPP
n at time
t,
is the capacity of VPP n, and
is the stability incentive price at time
t.
The RESs receive RECs for their power generation. One REC is given for 1 MWh generation; however, additional RECs could be given if the RES is combined with an ESS. The additional RECs are calculated as follows:
where
is the charging time, and
is the discharge amount of ESS
j in VPP n at time
t;
is the charge amount of the ESS from the combined PV generator
i in VPP n at time
t. The number of RECs with weight one are calculated as follows:
where
is the generation of RES
i at time
t,
is the amount of power from PV generator
i in VPP
n, which directly flows to the grid without being charged to the ESS at time
t.
The cost function of DG is linearized because the quadratic term cannot be used for the integer L-shape method [
22]. The linearized cost function of DG is expressed as follows:
where
,
, and
are the coefficients of the original cost function of DG,
is the maximum generation of DG
l, and
is the binary variable, which is one only if DG
l in VPP n is generating power at time
t.
The net generation of each VPP is calculated as follows:
where
is the charging amount of ESS
j in VPP n at time
t.
The ramp rate of each VPP is needed to calculate incentives;
in constraint (10) represents the ramp rate of the VPP. Additionally, the ramp rate needs to be represented by its absolute value; thus,
is related to
as follows:
Note that the denominator is replaced by the capacity of the VPP instead of to avoid the rational form of the objective function.
The constraints for the operation of ESSs are expressed as follows:
where
is the maximum charging power of ESS
j.
The state of charge (SoC) is the indicator of the energy remaining in the ESS, and is calculated as follows:
where
is the SoC of ESS
j at time
t,
is the maximum stored energy of ESS
j, and
is the efficiency of ESS
j. Generally, the SoC of ESSs is limited to a certain range. The SoC range constraint is represented as follows:
Finally, the constraint for the generation of DG is expressed as follows:
where
is a constant introduced to indicate the operation state of the DG, which needs to be set to a value sufficiently small so as to not affect the DAM bidding problem.
3. Numerical Results
In this section, the numerical results of the proposed method are presented. The input data of the DERs are presented first; then, a case study employing the proposed method is conducted in two different scenarios: (1) Low incentive, and (2) high incentive. A total of 12 DERs and 6 RESs are considered in the case study. The capacity of the RESs is presented in
Table 1.
Table 2 lists the properties of the ESSs utilized for the case study. ESS1 and ESS2 are combined with PV1 and PV2, respectively, to earn additional RECs, and ESS3 and ESS4 are independent, which are usually used for arbitrage and fluctuation minimization. In the rest of this section, the maximum charge is treated as the identical value of maximum discharge. The allowed SoC range of all ESS is set to be 10–90%.
Table 3 lists the properties of the DG. Two similar DGs are utilized for the case study.
Table 4 lists the input parameters of the VPPs. Two VPPs with 5–10 DERs and 500 kW to 20 MW capacity are considered. The stability incentive price is set differently in each case. The first case is a low incentive case, where the stability incentive price is set to be 0.9 won/kW, following the AGC price in [
9]. The second case assumes a future scenario, which shows the importance of the ramping capability of the system due to the increasing penetration of RESs. The simulation is conducted in an Intel Core i5 with 8 GB of RAM using the CPLEX solver. The computation time of the proposed method is dependent on the number of DERs and scenarios for second stage. Among the two factors, the number of DERs is the dominant factor because of the combination of VPP will increase exponentially for the number of DERs. In this study, 365 days are considered, and the optimization process takes between an hour or two. However, because the registration of VPP resources into the VPP market is not frequently needed but only a few times in a year, the proposed method is believed to be applicable.
3.1. Low Incentive Case
Table 5 presents the result of the proposed method in the low incentive scenario.
VPP1 and VPP2 have capacities of 1239 and 1106 kW, respectively. The objective function, which represents the expected value of the total revenue from both VPPs, has a value of 1,674,027 won. As presented in
Table 4, the combined PV generator and ESS are allocated in the same VPP.
Figure 2 depicts the DAM bidding results in the second stage.
As depicted in
Figure 2, the bid of the VPPs is determined based on the sum of the generation of the RESs. The bid is generally higher than the sRESs, owing to the generation of the DG. The ESSs discharge when the SMP is high to maximize the SMP revenue.
To show the effectiveness of the proposed method, the bidding results of VPPs with different compositions are compared. Because the VPP can earn the SMP, REC, and incentive revenue without the operation of the ESS, this basic revenue needs to be removed during the comparison. To do so, the basic revenue is calculated by removing the ESS.
Table 6 depicts the expected daily revenue of each VPP in comparison with the basic revenue in the low incentive scenario.
In
Table 6, case 0 represents the results of the proposed method, and the other cases represent the results with VPPs with different compositions. The overall revenue change is increased by 113,663 won, which corresponds to 7.3% of the basic revenue. The SMP and incentive revenue change vary with the composition of the VPP, whereas the REC revenue change remains constant. This is because the additional RECs were maximized in all cases, and the sum of the generation of RESs remains the same regardless of the composition of the VPP. A trade-off between the SMP and incentive revenue was observed. Comparing case 0 with cases 4 and 3, the SMP revenue of case 0 is higher than those in the other cases; in contrast, the increase in the incentive revenue in case 0 is lower than those in the other cases. Because the incentive price is low, the ESSs are operated to maximizing the SMP revenue despite an increase in the variability. As a result, SMP result change in
Table 6 is positive, whereas incentive result change is negative.
3.2. High Incentive Case
For the high incentive case, the incentive price is set to 22 won/kWh, which is the average regulation capability clearing price of PJM.
Table 7 presents the DER allocation result in the high incentive case.
As the incentive price changes, the composition of the VPP also changes. The capacity of the two VPPs is 544.5 and 1800.5 kW. Most of the ESSs are allocated to VPP2 for suppressing the fluctuation of the WTs. DGs are allocated to VPP1, which includes only PV generators to increase the net generation of the VPP when one PV generator cannot operate. The bidding results on the same day in each case are depicted in
Figure 3. Comparing
Figure 3a,b, it can be observed that the fluctuation of both VPPs is significantly decreased in the high incentive scenario.
Table 8 depicts the expected daily revenue of each VPP in comparison with the basic revenue in the high incentive scenario. In the
Table 8, the SMP revenue change of the optimal portfolio is relatively lower than other cases in the high incentive scenario. This indicates that the ESSs are operated for the incentive revenue that is worth more than SMP revenue. The change in the REC revenues are the same in all cases; additionally, they are the same as the REC revenues in the low incentive scenario. Because RECs are calculated based on the amount of generation of the RESs, the revenue will not change if the same generation pattern is used. The most significant difference between the low incentive cases is in the incentive revenue. Unlike in the low incentive case, the optimal portfolio (case 0) has the highest incentive revenue change. As the incentive price increases, the difference in the overall revenue between portfolios increases. Consequently, the DER allocation problem becomes more important as RES penetration increases.