Market-Driven Energy Storage Planning for Microgrids with Renewable Energy Systems Using Stochastic Programming

# Market-Driven Energy Storage Planning for Microgrids with Renewable Energy Systems Using Stochastic Programming

Abdulelah H Habib    Vahid R. Disfani    Jan Kleissl    Raymond de Callafon
###### Abstract:

Battery Energy Storage Systems (BESS) can mitigate effects of intermittent energy production from renewable energy sources and play a critical role in peak shaving and demand charge management. To optimally size the BESS from an economic perspective, the trade-off between BESS investment costs, lifetime, and revenue from utility bill savings along with microgrid ancillary services must be taken into account. The optimal size of a BESS is solved via a stochastic optimization problem considering wholesale market pricing. A stochastic model is used to schedule arbitrage services for energy storage based on the forecasted energy market pricing while accounting for BESS cost trends, the variability of renewable energy resources, and demand prediction. The uniqueness of the approach proposed in this paper lies in the convex optimization programming framework that computes a globally optimal solution to the financial trade-off solution. The approach is illustrated by application to various realistic case studies based on pricing and demand data from the California Independent System Operator (CAISO). The case study results give insight in optimal BESS sizing from a cost perspective, based on both yearly scheduling and daily BESS operation.

, , ,

Mechanical and Aerospace Engineering
University of California San Diego, La Jolla, CA 92093
{ahhabib, disfani, jkleissl, callafon}@ucsd.edu

Keywords: Optimal operation and control of power systems, Smart grids, Control of renewable energy resources

\@xsect

The need for a Battery Energy Storage System (BESS) to serve as a buffer for electric energy is palpable for microgrid systems that have a large penetration of intermittent renewable energy sources. A BESS may be economical for both islanded microgrids and a for grid-connected system, as a BESS increases reliability during outages and provides revenue or grid services such as peak shaving, voltage regulation, and arbitrage power trading during normal operation (Lasseter, 2002; Donadee, 2013; Kousksou et al., 2014) .

Applications of a BESS can be found in various settings to assist with renewable power integration. It has been applied to the problem of harmonic distortion, generally known as voltage regulation, which may occur in standalone operation (islanding) of a microgrid (Yang et al., 2014; Hanley et al., 2008). Specifically, a BESS reduces (or smoothens out) variability in Photo Voltaic (PV) and wind energy production (Teleke et al., 2010; Zheng et al., 2015) by different control strategies such as a rule-based control and a model predictive control (MPC). A BESS in conjunction with PV and demand forecasting can help shift renewable generation to times of higher power demand or lower electricity price via an MPC technique (Sevilla et al., 2015). A mathematical model for a large BESS system was performed in (Zhang et al., 2015) as a reduced four state space equations to model the relation between the bulk power grid and a BESS.

The benefits of BESS in coping with variable renewable energy production are evident, but the costs associated with financing and installing BESS are often prohibitive. A good example is a residential setting (Holbert and Chen, 2015), where a BESS may not produce sufficient revenue from energy arbitrage to achieve investment payback with the current BESS prices without government incentives. At the same time, BESS costs are anticipated to drop in the near future and investment banks are expecting the payback time for unsubsidized investment in electric vehicles (EV) combined with rooftop solar and BESS (Houchois et al., 2014) to reduce to around six to eight years. Also, the economies of scale due to the adoption of EV and rapid improvement of battery technologies will likely reduce BESS prices. The projected drop in pricing of BESS is also expected to lead to an additional three-year reduction in payback time to three years by 2030 (Nykvist and Nilsson, 2015; Sachs, 2014).

Optimal BESS sizing from an economical perspective must find the optimal trade-off between critical design parameters that include BESS sizing, BESS life expectancy due to battery degradation and total revenue from utility bill savings due to energy arbitrage. Holistic BESS scheduling models that aim to capture all cost aspects were developed in (Nguyen et al., 2012) to maximize the overall profit of an existing wind-storage system. Economic models were used in (Ornelas-Tellez et al., 2014) to predict the market price to optimize the operation of existing energy resources in a microgrid, but no future investments were considered. Operational stochastic control and optimization in (Zachar and Daoutidis, 2016) were designed as an MPC to ensure sufficient energy as an economic dispatch problem.

Motivated by the need to find the optimal BESS investment as a function of time considering capital and O&M costs, as well as operational revenues, this paper proposes a stochastic optimization approach that leverages mixed integer and real (convex) optimization to formulate financially optimal BESS sizing solutions. The stochastic optimization is used to address the variability in prediction and forecasting of energy and BESS pricing to determine when is the optimal time to invest in a BESS. The convex optimization is used to compute globally optimal solutions for BESS sizing parameters, given the operational model and the price variability in the day-ahead market.

The paper is outlined as follows. First, the problem formulation and the system topology for financial optimization are summarized in Section Market-Driven Energy Storage Planning for Microgrids with Renewable Energy Systems Using Stochastic Programming. The mathematical framework is summarized in Section Market-Driven Energy Storage Planning for Microgrids with Renewable Energy Systems Using Stochastic Programming, explaining the optimization techniques, objective functions and the constraints. Different operating scenarios are discussed and compared in Section Market-Driven Energy Storage Planning for Microgrids with Renewable Energy Systems Using Stochastic Programming to cover cases of extreme high/low power variability in solar, wind and demand patterns. In Section Market-Driven Energy Storage Planning for Microgrids with Renewable Energy Systems Using Stochastic Programming, different BESS installation cases and optimal BESS sizing for a case study of a real microgrid are presented.

\@xsect\@xsect

Fig. 1 illustrates the structure of power market and microgrids used in this paper. The microgrid is modelled as a subset of the market , and demand, renewable generation, and BESS power in both market () and microgrid () are denoted by , , and , as illustrated in Fig. 1.

The net demand , which is the actual market demand (including all microgrids’ demand) minus the total renewable power available in the market, is computed via

 Pnet=Σi∈N(Pdi−PREi)=Σi∈NPgi (1)

where indicates power provided by generator and

 Pμ=Σj∈μG(Pdj,μ+Pbj,μ−PREj,μ) (2)
\@xsect

Assuming that the microgrids will pay the hourly market clearing price (MCP) in the future instead of predefined constant or time-of-use (TOU) rates, a price model is required to anticipate the MCP at different times for optimal operation of microgrids.

Typically, Independent System Operators (ISO) aggregate the bids received from generators and cross it with the net demand hourly profile of the market to define hourly MCP. It is assumed that the MCP is solely a function of the net demand in that is linearly correlated with the market net demand via

 λP=α Pnet+β. (3)

This pricing modeling has been validated in the literature (Huang et al., 2015; Verzijlbergh et al., 2014). It is assumed for simplicity that the parameters of the MCP model () remain constant throughout the 15 year modeling horizon. However, the optimization could consider more detailed and dynamic models where the pricing model parameters vary as generators are added or removed.

To model the effects of different generators’ bidding strategies and maintenance schedules on different days of the week (weekdays and weekend) and different seasons (summer and non-summer) on MCP, four distinct MCP models are fit from historical CAISO demand and pricing data.

\@xsect

For realistic financial predictions and optimal sizing of the BESS, the financial model considers the annual growth of both the market and the microgrid. The growth of the market and the microgrid takes into account all components, i.e. demand, solar and wind.

For simplicity, we assume a fixed annual solar growth (ASG) defined by

where represents the vector of hourly solar profiles of the current year. Hence, with a fixed ASG, the net solar power contribution is predicted to grow exponentially as

with . Similarly, we assume a fixed annual wind growth (AWG) as

The CAISO historical demand data shows different rates of increase at different hours of the day, specifically power demand at the peak hour has grown faster than at off-peak hours. to account for this effect, we define an annual demand growth profile (ADGP) that varies by hour of the day as

where is the vector of hourly power demand at year and denotes element-wise division.

\@xsect\@xsect

A stochastic programming model is developed to capture all possible scenarios of solar and wind generations, demand variations, and supply bidding strategies in the BESS sizing and operation problem.

The objective function is defined to minimize the expected energy cost, i.e. the sum of energy purchase costs and the BESS investment cost over a time period while considering annual growth in solar, wind and demand. Mathematically, for an optimization horizon and scenario set of , the objective function is defined as

 minPb,¯PbΣt∈T{Jb,t+Σi∈ΩPriJi,t−vb,T}⋅vt , (4)

where refers to the probability of a scenario and

• refers to the investment cost of BESS installed in year .

• is the total cost of energy purchased from the market in year for the scenario , and is given by

and are respectively the hourly vectors of amount of energy purchased from the energy markets and MCP in year and scenario .

• accounts for the remaining value of the unexpired BESS at the end of the simulation period.

• As is common in economic models discounts the monetary value in future years using an annual interest rate of .

\@xsect\@xsect

At any time step, the microgrid control center (MGCC) must ensure that there is adequate power to supply demand. Therefore, any mismatch between the power demand and the summation of solar power output, and BESS discharging power must be purchased from the market to keep the power balance at any time step and scenario . This constraint is summarized as

 PREi,t+Pbi,t+Pi,t=Li,t (5)

where is the power purchased from the market.

\@xsect

First, the battery charging/ discharging power must be between the limits, i.e.

To avoid damages due to a deep (dis)charge cycle of the battery, the stored energy in the battery is constrained by its maximum and minimum SOC limits () as

where and are typically around 10% and 95%. The energy stored in the battery is denoted by and calculated via

with as the initial BESS energy and time difference between two consecutive time steps.

It is also desired to keep the final SOC of the BESS equal to its initial value at the end of each day. This constraint is needed to avoid transferring energy between days and included via

for any . Finally, the ratio between the nominal power rating and energy rating of the BESS implemented by

as the last battery constraint. Obviously, more advanced battery constrainst that take into account parasitic loss and efficiency parameters could be used to provide even more realistic battery constraints.

\@xsect

A power congestion constraint limits the power purchased from the market due to the physical limit of the microgrid at the point of common coupling (PCC) or upstream power lines. Power congestion constraints may, for example, limit the BESS’ ability to charge at during (or within) the cheapest price. By including a power congestion constraint

 −PL≤P≤PL (6)

the BESS will be charged over a longer time frame to accommodate the congestion limit .

\@xsect

The most accurate results would be obtained by simulating a typical meteorological and climatologically representative timeseries over a year (or longer), but this is computationally intensive. Instead, we consider year’s (2015) worth of data, downsampled to a set of typical days and these days are repeated each year.

Subsequently, a manual clustering is applied to classify demand profiles in representative patterns. The clustering assembles the data into four main groups that resemble a summer/non-summer and weekday/weekend separation. Fig. 2 illustrates all demand profiles clustered in those four groups, each identified by a distinct color. The clustering can then be used to formulate an average for each group as depcited in the top plot of Fig. 3.

Although usually intermittent in nature, solar and wind power profile over the complete state of California tends to be smooth and easily seperable into a small number of distinctive patterns. Only a binary classification of high and low is applied in this paper to cover the state-wide range of patterns in solar and wind power generation. Clusters were obtained by the popular clustering method k-means (MacQueen et al., 1967), which aims to partition time series data into two clusters. Clear days are presented as the high solar case, whereas overcast days are denoted by low solar case. The bottom plot of Fig. 3 illustrates the 4 different scenarios for high/low solar and wind.

For unambiguous notation we use H and L as abbreviated notations for the high and low and summer weekday and summer weekend and non-summer weekday and summer weekend as {SWD,SED,NSWD,NSED} for power/demand conditions, while S, W, and D are used for solar, wind and demand. The binary classification with the demand scenarios allows scenarios. A summary of the 16 scenarios based on the binary classification of high and low solar, wind and demand

 Ω= {HS,LS}×{HW,LW} (7) ×{SWD,SED,NSWD,NSED}

is given in Table 1. Clearly, more granular clustering, e.g. by adding seasonal effects on variables such as (solar, wind), will increase the accuracy of the optimization, but also the computational cost.

Each scenario is assigned a probability consistent with climatological data in a certain location. The probability of each scenario is defined by multiplying the corresponding individual probabilities and is used as a weighting of that scenario in the optimization of (Market-Driven Energy Storage Planning for Microgrids with Renewable Energy Systems Using Stochastic Programming), e.g.

 Pr({HS,LW,SWD})=Pr(HS)⋅Pr(LW)⋅Pr(SWD). (8)

Individual probabilities of solar, wind and demand are mutually independent and the probability of all possible scenarios sums to 100%.

\@xsect\@xsect

The MCP models developed for each demand cluster are shown in Fig. 4.

The CAISO MCP derived from Eq. (Market-Driven Energy Storage Planning for Microgrids with Renewable Energy Systems Using Stochastic Programming) is the main input to the market model to determine the size and the daily operation of the BESS. The parameter varies based on the different scenarios as shown in Fig. 5. The highest market price is associated with low solar, low wind and summer weekday demand (scenario 4). Conversely, the scenario with non-summer weekend demand, high solar, and high wind results in the smallest . Negative pricing may appear also as a result of the assumed inability to curtail renewables; after renewable generators lose their protected “must-take” status, they will be curtailed in such a situation to avoid negative pricing. In this case, it is cheaper to temporarily pay market participants to take power rather than turning off base-load power plants.

\@xsect

The case study uses CAISO demand data and the location marginal pricing (LMP) node (UCM_6_N001) located at (3253’00.9”N 11713’21.2”W) which is the trading node containing UC San Diego. The simulated case has a peak market demand around 45 GW and a low demand (base-load) around 18 MW. The 2015 utility scale solar and wind peaks are around 5.7 and 2 GW respectively. Clear solar days are assumed to occur 30% of the time, overcast days 70%, and high wind 40% of the time and low wind 60%. Different demand scenarios follow the calendar with 96 and 36 days for summer (May 1 to Oct 31) weekday and weekend, respectively and 165 and 68 days for non-summer weekday and weekend, respectively. By that, the shown in (Market-Driven Energy Storage Planning for Microgrids with Renewable Energy Systems Using Stochastic Programming) is given by . The time step for all data and optimization schedules is 15 minutes.

The characteristics of the microgrid conform to the UC San Diego microgrid. Similar to CAISO, demand is split into summer and non-summer weekday and weekend based on actual demand data collected from campus with demand peaks of (42, 36, 35, and 32) MW for summer weekday, summer weekend, non-summer weekday, and non-summer weekend and base-load of 34 MW for both summer scenarios and 30 MW for non-summer as shown in Fig. 7 (top plot). Those profiles are matched with the existing market scenarios in Table 1. Microgrid generation is 20 MW from gas turbines and solar power of peak-to-peak ratio is 10 MW and both high and low solar clusters are shown in Fig. 7 (bottom plot). Noted here that the low solar profile for the microgird is more intermittent compared to the market case because of the geospatial effect. The maximum allowable power demand from the grid () is 45 MW. Since microgrid energy sales to the market are not permitted, overgeneration would have to be curtailed.

The growth rates of solar and demand are both for the microgrid. The growth of solar and wind are both assumed to be for the microgrid. To compute annual demand growth profile, CAISO demand data in 2013–2015 is used. The market annual demand growth profiles for non-summer scenarios are assumed scalar and equal to 2% while those for summer scenarios are shown in Fig. 8.

The BESS pricing cases ( in Eq. (Market-Driven Energy Storage Planning for Microgrids with Renewable Energy Systems Using Stochastic Programming)), which all include government subsidies and incentives, are divided into two categories named and .Each category includes 10 cases (called ) which start from a price value between 117 $/kWh and 175.5$/kWh. The price functions of all cases in category converge to 100 $/kWh within 15 years (Nykvist and Nilsson, 2015) while those of the cases in category decay with a constant rate of 1% every year. The life cycle of BESS is assumed 10 years for all cases. \@xsect Fig. 6 shows optimization results for the BESS installation by year. On the axis prices increase from lower to higher. On the axis prices decrease from left to right as the years progress. For both cases no installation was applied before the year 5 (Y5) but as the BESS prices drop faster in case a compared to case b the installation went up to case compared to case . The yearly installation plan of the BESS results to be large at one year followed by smaller installation few years before and after. After case and case no installations have resulted. Fig. 9 shows a sample day of price case as , and , where microgrid power purchase with storage is presented in the left axis and is presented in the right axis for Y1 and Y15. Adding BESS in the microgrid changes the behavior of the microgrid demand with a new peak between 1 and 3 AM during a market price depression. Specifying MW limits the charging of the BESS from hour 1AM to 3AM to not exceed a total microgrid demand of 45 MW. Comparing in Y1 and Y15 shows the effect of larger solar for a midday price minimum and stronger peak demand growth in the evening. Therefore the price curve shows two peaks and a pronounced evening peak in Y15. The price curve triggers two BESS cycles per day to leverage the margins between minima and peaks. \@xsect As the need for Battery Energy Storage System (BESS) is increasing to cope with intermittent energy production from renewable energy sources, optimal BESS sizing from an economical perspective is a challenging problem. To optimally size the BESS in the design stage of a microgrid, the trade-off between BESS cost, energy bill savings, and lifetime must be taken into account. Using a stochastic optimization approach we optimally size and schedule a BESS in a microgrid based on market energy pricing. Variability of wind and solar energy resources, the variability of energy demand, and a dynamic market price model that considers feedback from microgrid energy decisions are considered. Decreasing BESS costs over time are also modeled. The modeling framework contains significant flexibility and realism for microgrid planning. Assuming the market clearance price model and net demand forecasts in our case study for CAISO and a particular trading node, the results show that a microgrid can start saving money with wholesale market energy trading once BESS prices drop below$150/kWh. The operational scheduling of BESS is not targeted to shave the microgrid peak but rather to profit from wholesale energy cost margins. Additional constraints could be added to achieve a hybrid between local and market objectives.

## References

• Donadee (2013) Donadee, J. (2013). Optimal operation of energy storage for arbitrage and ancillary service capacity: The infinite horizon approach. In North American Power Symposium (NAPS), 2013, 1–6.
• Hanley et al. (2008) Hanley, C.J. et al. (2008). Solar energy grid integration systems–energy storage (SEGIS-ES). Sandia Report, SAND2008-4247.
• Holbert and Chen (2015) Holbert, K.E. and Chen, Z. (2015). Contemplating a residential battery system for the Southwestern US. In North American Power Symposium (NAPS), 2015, 1–6.
• Houchois et al. (2014) Houchois, P. et al. (2014). Global utilities, autos & chemicals. UBS Investment Bank.
• Huang et al. (2015) Huang, S. et al. (2015). Distribution locational marginal pricing through quadratic programming for congestion management in distribution networks. Power Systems, IEEE Transactions on, 30(4), 2170–2178.
• Kousksou et al. (2014) Kousksou, T. et al. (2014). Energy storage: Applications and challenges. Solar Energy Materials and Solar Cells, 120, 59–80.
• Lasseter (2002) Lasseter, R.H. (2002). Microgrids. In Power Engineering Society Winter Meeting, 2002. IEEE, volume 1, 305–308 vol.1.
• MacQueen et al. (1967) MacQueen, J. et al. (1967). Some methods for classification and analysis of multivariate observations. In Proceedings of the fifth Berkeley symposium on mathematical statistics and probability, volume 1, 281–297. Oakland, CA, USA.
• Nguyen et al. (2012) Nguyen, M.Y. et al. (2012). A new battery energy storage charging/discharging scheme for wind power producers in real-time markets. Energies, 5(12), 5439–5452.
• Nykvist and Nilsson (2015) Nykvist, B. and Nilsson, M. (2015). Rapidly falling costs of battery packs for electric vehicles. Nature Climate Change, 5(4), 329–332.
• Ornelas-Tellez et al. (2014) Ornelas-Tellez, F. et al. (2014). Optimized operation of a micro-grid for energy resources. IFAC Proceedings Volumes, 47(3), 4578–4583.
• Sachs (2014) Sachs, S. (2014). Indigenous developments (winter 2015). Indigenous Policy Journal, 25(3).
• Sevilla et al. (2015) Sevilla, F.S. et al. (2015). Advanced control of energy storage systems for pv installation maximizing self-consumption. IFAC-PapersOnLine, 48(30), 524–528.
• Teleke et al. (2010) Teleke, S. et al. (2010). Rule-based control of battery energy storage for dispatching intermittent renewable sources. IEEE Transactions on Sustainable Energy, 1(3), 117–124.
• Verzijlbergh et al. (2014) Verzijlbergh, R.A. et al. (2014). Renewable energy sources and responsive demand. do we need congestion management in the distribution grid? Power Systems, IEEE Transactions on, 29(5), 2119–2128.
• Yang et al. (2014) Yang, Y. et al. (2014). Sizing strategy of distributed battery storage system with high penetration of photovoltaic for voltage regulation and peak load shaving. Smart Grid, IEEE Transactions on, 5(2), 982–991.
• Zachar and Daoutidis (2016) Zachar, M. and Daoutidis, P. (2016). Economic dispatch for microgrids with constrained external power exchange. IFAC-PapersOnLine, 49(7), 833–838.
• Zhang et al. (2015) Zhang, D. et al. (2015). A state-space model for integration of battery energy storage systems in bulk power grids. In North American Power Symposium (NAPS), 2015.
• Zheng et al. (2015) Zheng, Y. et al. (2015). Optimal short-term power dispatch scheduling for a wind farm with battery energy storage system. IFAC-PapersOnLine, 48(30), 518–523.
You are adding the first comment!
How to quickly get a good reply:
• Give credit where it’s due by listing out the positive aspects of a paper before getting into which changes should be made.
• Be specific in your critique, and provide supporting evidence with appropriate references to substantiate general statements.
• Your comment should inspire ideas to flow and help the author improves the paper.

The better we are at sharing our knowledge with each other, the faster we move forward.
The feedback must be of minimum 40 characters and the title a minimum of 5 characters