- Review
- Open Access

# Research on optimal configuration strategy of energy storage capacity in grid-connected microgrid

- Jianlin Li
^{1}, - Yushi Xue
^{1}Email author, - Liting Tian
^{1}and - Xiaodong Yuan
^{2}

**2**:35

https://doi.org/10.1186/s41601-017-0067-8

© The Author(s) 2017

**Received:**25 May 2017**Accepted:**19 September 2017**Published:**2 October 2017

## Abstract

The optimal configuration of battery energy storage system is key to the designing of a microgrid. In this paper, a optimal configuration method of energy storage in grid-connected microgrid is proposed. Firstly, the two-layer decision model to allocate the capacity of storage is established. The decision variables in outer programming model are the capacity and power of the storage system. The objective is the least investment on the battery energy storage system. The decision variable in inner programming model is the charging and discharging power of battery. The objective is the lowest power fluctuation on the connection line. Then a case containing a grid-connected microgrid with wind power, photovoltaic, battery energy storage and load is studied, and the multi-scenario probabilistic method is used. The last result of energy storage configuration is calculated through the probability of each scene.

## Keywords

- Energy storage
- Optimal configuration
- Dynamic programming
- Two-layer decision
- Scene analysis

## 1 Introduction

Renewable energy is volatile and intermittent, therefore to stabilize its energy consumption through the energy storage technology is necessary. The battery energy storage technology is becoming one of the promising development direction with those advantages such as high energy density, flexible installation and high charging and discharging speed [1–3]. The Microgrid technology is an important form of efficient use of distributed renewable energy, and the optimal allocation of energy storage capacity is an important problem in the design of grid-connected microgrid.

There are many related research results about the allocation strategy for storage capacity in micro-grids. In the literature [4–6], the distribution of the fluctuation of the microgrid is summarized by analyzing the historical operational data, and then the capacity of the energy storage system is obtained based on the stabilization effect and cost. In [7, 8], the time constant of the best first-order low-pass filter is determined by the stabilizing effect of the grid-connected output power, and the power and capacity of energy storage system are configured by the time constant. Literature [9, 10] uses the spectrum analysis method to optimize the output power storage, but this method is only a single-objective optimization to stabilize photovoltaic fluctuations without considering the cost factor. In [11, 12], the operation characteristics of important load in industry, and the optimization method of energy storage capacity of industrial photovoltaic microgrid is constructed with the aim of maximizing the utilization ratio of PV and the maximum annual net profit, but the impact of new energy volatility to grid is not involved. In [13, 14], a method of rationally configuring the composite storage capacity is proposed for the microgrid including photovoltaic power generation, wind power generation and typical load. A multi-objective optimization model with the lowest equipment cost, the best power matching and the most smooth renewable energy output power is established and the solution method is an adaptive inertia weight particle swarm optimization algorithm. In view of the randomness of new energy output, literature [15–17] puts forward a hybrid energy storage capacity allocation method based on opportunistic constraint planning, and the genetic algorithm is used to solve the problem with the lowest cost, but the optimization for energy storage to stabilize power fluctuations is not taken into account.

In this paper, the optimal allocation strategy of energy storage capacity in the grid-connected microgrid is studied, and the two-layer decision model is established. The decision variables of the outer programming model are the power and capacity of the energy storage. The objective is the least investment of the energy storage and the fluctuation. The decision variable of the inner-layer programming model is the charging and discharging power of the energy storage at the operation stage, the objective is the lowest power fluctuation of the system connection line. Then a case study of a grid-connected microgrid with wind power, photovoltaic, battery energy storage and load is given. Through the case study, the multi-scenario probability method is used to make the decision of the energy storage configuration.

## 2 The two-layer decision problem

In the above formulas:\( x\in {R}^{n_x} \), \( y\in {R}^{n_y} \)are the decision variables of the outer optimization problem and the inner layer optimization problem, respectively.\( F,f:{R}^{n_x+{n}_y}\to R \)are the objective functions of the outer optimization problem and the inner layer optimization problem. \( g:{R}^{n_x+{n}_y}\to {R}^{n_l} \)are rrespectively the Restrictions of the outer optimization problem and the inner layer optimization problem.

It is usually difficult to obtain the global optimal solution of the two-layer optimization problem, and it is considered that the optimal solution is obtained by the iterative approximation of the numerical solution and satisfying certain convergence conditions.

## 3 Energy storage configuration model

In the two-layer programming model proposed in this paper, the decision variables of the upper-level model are the capacity and power of the storage system and the objective is the lowest cost of the battery energy storage system. The decision variables in the lower-level model is the charging and discharging power of battery. With the increasing number of grid-connected microgrids, the power fluctuations on connection line will adversely affect the stability of the grid. So in the lower-level model, the objective is the lowest power fluctuation of the system connection line.

### 3.1 The upper-level model

In the above formula, *c*
_{1}is the unit power cost, for lithium batteries, lead acid and other battery energy storage, it is mainly the cost of power converter system (PCS); *c*
_{2} is the unit capacity costs, it is mainly the cost of the battery; *λ* is the penalty factor for the power fluctuation of the connection line; *P*
_{
ES
} is the power of energy storage in microgrid; *P*
_{
L
} is the power of load in microgrid; *P*
_{
G
}is the power of generation in microgrid; *P*
_{
base
}is the demand capacity reported to the grid by the microgrid corporation.

Where *N* is the calculated number of time period, *P*
_{
M
} and *E*
_{
M
} are respectively the power and energy capacity of the storage system due to the installation site, grid power, etc., *SOC*
_{
M
} is the highest state of charge that allowed by the battery energy storage system, *SOC*
_{0} is the initial state of charge of the battery energy storage system.

### 3.2 The lower-level model

The above equation shows the fluctuation variance of the power of the connection line within one day. *p*
_{
ES
}(*i*), *p*
_{
L
}(*i*), and*p*
_{
G
}(*i*)are respectively the energy storage power, load power and generation power in the microgrid system in the i time period.

Where *P*
_{
L0}, *P*
_{
G0} are respectively the maximum allowable consumption power and reverse power on the connect line. The first constrain is.

*p*

_{ ES }is maximum the charging and discharging power of the energy storage. Assuming that the energy storage system charging efficiency

*η*

_{ c }and discharge efficiency

*η*

_{ d }remains constant, set

*α*as follows:

*Δt*is the calculating length of the time period.

### 3.3 Solving algorithm

It can be seen that the outer programming model is a quadratic problem and easy to solve. The inner programming mode is a mixed integer nonlinear programming (MINLP) problem, its objective function can be expressed as a form of univariate function and the dynamic programming method can be used to solve the problem. The dynamic programming method decomposes a multi-stage optimization problem into single-stage optimization problem by stage division, which is an effective algorithm to solve the problem. The dynamic programming model needs to determine the calculated decision quantity and state quantity. For each controllable resource, the power of each calculation period is the decision quantity in the dynamic programming model; for the energy storage, the SOC at the end of each calculation period is its state quantity, the initial state quantity and the end state quantity are known quantities.

The optimal strategy of the dynamic programming decision-making process has the property as follows: the rest of the decisions must be an optimal strategy when any of the state is taken as the initial level and initial state, regardless of the initial state and the initial decision. That is, if there is a N-level decision process with initial state of *x*(0), its optimal strategy is{*u*(0), *u*(1), …*u*(*N* − 1)}. Then, for a N-1-level decision process with initial state of *x*(1), the decision set {*u*(1), *u*(2), …*u*(*N* − 1)} must be the optimal strategy.

The constraints in the above formula are:*x*(*k*) ∈ *X* ∈ *R*
^{
n
}, *u*(*k*) ∈ *Ω* ⊂ *R*
^{
m
}. At this point, the programming problem can be described as solving an optimal control (decision) series*u*
^{∗}(*k*) , *k* = 0 , 1 , … *N* − 1, which can make the performance indicator minimum.

The solving method of dynamic programming problem can be divided into two directions: forward and backward. The forward direction means starting from the initial layer and calculating gradually to the end; the backward direction means starting from the end layer and reversing the solution. In practical problems, the backward direction is more commonly used. The paper adopt the backward direction method.

At each stage, SOC at the end is considered as the state quantity, the power of the energy storage *p*
_{
ES
}(*i*) is the decision quantity, the variance of the power becomes the corresponding cost function, and eq. (7) is the dynamic equation.

The power decision set of energy storage can be established through the charging and discharging power limit and the line power limit. The state set of energy storage can be established through the SOC range of operation. Enumeration method is adopted to solve the single stage MINLP problem. According to the second constrain in eq. (5), the state set is composed of discrete value from *SOC*
_{
m
}to *SOC*
_{
M
}by a step of *ΔSOC*. The decision set can be calculated accordingly. The less*ΔSOC* value, the larger the decision set. As a result, it takes more time to calculate the optimal decision.

## 4 Case study

In this system, the installed capacity of photovoltaic is 300 kW, the installed capacity of wind power is 500 kW, the maximum load is 1200 kW, the maximum power limit of the connection line is 1000 kW, and the reverse transmission power is limited to 500 kW.

For the uncertainties of wind power, photovoltaic power and load, the multi-scene probability method is used to make the decision of the energy storage configuration. That is to say, the energy storage configuration is calculated in several scenes, and decisions are made according to the probability level of each scene. Scene analysis is an effective method to solve stochastic problems. By modeling the possible scenes, the uncertainties in the model are transformed into multiple deterministic scene problems, where the difficulty of modeling and solving is reduced. The time series of a possible operating state in the period being studied is called a scene s, and the set of all possible scenes of the system is called the scene set S. The uncertainty of the system can be simulated by generating a scene set.

Energy storage configuration scenes

Scene | The maximum wind power(kW) | The maximum PV power (kW) | The maximum load (kW) | probability |
---|---|---|---|---|

S1 | 280 | 195 | 896 | 17% |

S2 | 288 | 192 | 1132 | 21% |

S3 | 414 | 205 | 1063 | 26% |

S4 | 423 | 236 | 1031 | 19% |

Optimize configuration results for energy storage in each SCENE

Scene | The power of energy storage system(kW) | The capacity of energy storage system(kWh) | The cost of energy storage system(k$) |
---|---|---|---|

S1 | 294. 7 | 364. 3 | 127. 1 |

S2 | 361. 0 | 425. 9 | 149. 8 |

S3 | 136. 9 | 132. 3 | 48. 3 |

S4 | 143. 5 | 73. 8 | 31. 78 |

*c*

_{1}and

*c*

_{2}is given as an example for Lithium energy storage system cost nowadays.

*λ*is given considering the total cost of construction of distribution network and the reserve capacity of system.

Optimal configuration of energy storage in each scenario

Parameter | c $·kW-1 | c $·kWh-1 | λ $·kW-1 | SOC |
---|---|---|---|---|

Value | 72 | 290 | 2180 | 0. 2 |

Parameter | SOC | P | P | |

Value | 1. 0 | 800 | −500 |

After calculation, the standard deviation of the power fluctuation of connection line in the grid-connected microgrid can be suppressed within 50 kW (expected value) under this energy storage configuration.

## 5 Summary

This paper studies an optimal configuration strategy of energy storage in grid-connected microgrid and detail work is as follows:

(1) The two-layer decision model of energy storage capacity configuration is given. The decision variables of the upper-level model are the power and capacity of the energy storage and the objective is to minimize the initial investment and the fluctuation on the connection line. The decision variable of the lower-level programming model is the charging and discharging power of the energy storage, and the objective is the lowest power fluctuation of the connection line. The upper-level model is a quadratic programming problem, which is easy to solve. For the lower-level model which is not easy to be solved, the dynamic programming method can be used.

(2) A case study of a grid-connected microgrid containing wind power, photovoltaic, battery energy storage and load is given. The multi-scene probability method is used to make the decision on the configuration of energy storage according to the probability level of each scene. Finally, the result of the energy storage configuration is 227.4 kW / 240.7kWh under which the power fluctuation of connection line in the grid-connected microgrid can be suppressed within 50 kW.

## Declarations

### Funding

The National Key Research and Development Plan(2017YFB0903504); Science and Technology Project of the SGCC(5210EF17001c).

### Competing interests

The authors declare that they have no competing interests.

**Open Access**This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.

## Authors’ Affiliations

## References

- Li, X., Hui, D., & Lai, X. (2013). Battery Energy Storage Station (BESS)-Based Smoothing Control of Photovoltaic (PV) and Wind Power Generation Fluctuations[J].
*IEEE Transactions on Sustainable Energy, 4*(2), 464–473.MathSciNetView ArticleGoogle Scholar - Kawakami, N., Ota, S., Kon, H., et al. (2014). Development of a 500-kW Modular Multilevel Cascade Converter for Battery Energy Storage Systems[J].
*Industry Applications IEEE Transactions on, 50*(6), 3902–3910.View ArticleGoogle Scholar - Huang, A. Q., Crow, M. L., Heydt, G. T., et al. (2010). The Future Renewable Electric Energy Delivery and Management (FREEDM) System: The Energy Internet[J].
*Proc IEEE, 99*(1), 133–148.View ArticleGoogle Scholar - Wang, G., Ciobotaru, M., & Agelidis, V. G. (2015). Optimal capacity design for hybrid energy storage system supporting dispatch of large-scale photovoltaic power plant[J].
*Journal of Energy Storage, 3*, 25–35.View ArticleGoogle Scholar - Ogimi, K., Yoza, A., Yona, A., et al. (2012). A study on optimum capacity of battery energy storage system for wind farm operation with wind power forecast data[C]// IEEE, International Conference on Harmonics and Quality of Power. IEEE, 118–123.Google Scholar
- Kargarian, A., & Hug, G. (2016). Optimal sizing of energy storage systems: a combination of hourly and intra-hour time perspectives[J].
*IET Generation Transmission & Distribution, 10*(3), 594–600.View ArticleGoogle Scholar - Asao, T., Takahashi, R., Murata, T., et al. (2008). Evaluation method of power rating and energy capacity of Superconducting Magnetic Energy Storage system for output smoothing control of wind farm[C]// International Conference on Electrical Machines. IEEE, 1–6.Google Scholar
- Liang L, Li J, Dong H. An optimal energy storage capacity calculation method for 100MW wind farm[C]// International Conference on Power System Technology. 2010:1–4.Google Scholar
- Jia, H., Fu, Y., Zhang, Y., et al. (2010). Design of Hybrid Energy Storage Control System for Wind Farms Based on Flow Battery and Electric Double-Layer Capacitor[C]// Power and Energy Engineering Conference. IEEE, 1–6.Google Scholar
- Makarov, Y. V., Du, P., Kintner-Meyer, M. C. W., et al. (2012). Sizing Energy Storage to Accommodate High Penetration of Variable Energy Resources[J].
*IEEE Transactions on Sustainable Energy, 3*(1), 34–40.View ArticleGoogle Scholar - Jian, X., Nian, L., Lei, Y., et al. (2016). Optimal allocation of energy storage system of PV microgrid for industries considering important load[J].
*Power System Protection and Control, 09*, 29–37.Google Scholar - Kornelakis, A., & Koutroulis, E. (2009). Methodology fo r the design optimisation and the economic analysis of grid-connected photovoltaic systems[J]. IET Renewable Power Generation, 3(4), 476–492.Google Scholar
- Tan, X., Wang, H., & Li, Z. (2014). Multi-objective Optimization of Hybrid Energy Storage and Assessment Indices in Microgrid[J].
*Automation of Electric Power Systems, 08*, 7–14.Google Scholar - Jemaa, A. B., Essounbouli, N., & Hamzaoui, A. (2014). Optimum sizing of hybrid PV/Wind/battery installation using a fuzzy PSO[C]// International Symposium on Environmental Friendly Energies and Applications. IEEE, 1–6.Google Scholar
- Xie, S., Yang, L., & Lina, L. (2012). A Chance Constrained Programming Based Optimal Configuration Method of Hybrid Energy Storage System[J].
*Power System Technology, 05*, 79–84.Google Scholar - Bludszuweit, H., & Dominguez-Navarro, J. A. (2011). A Probabilistic Method for Energy Storage Sizing Based on Wind Power Forecast Uncertainty[J].
*IEEE Trans Power Syst, 26*(3), 1651–1658.View ArticleGoogle Scholar - Yuan, Y., Li, Q., & Wang, W. (2009). Optimal operation strategy of energy storage applied in wind power integration based on chance-constrained programming[C]// International Conference on Sustainable Power Generation and Supply, 2009. Supergen IEEE, 1–6.Google Scholar